Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a61210e4bab0a8e935d14f6878a7610afcc83bb0+2d9730a214a0d2600c47b6e1f4d312ee14057382 (958f2612c5eb8b2ef307eb16c7d707ca90f07124) 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-6223 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 a61210e4bab0a8e935d14f6878a7610afcc83bb0 > 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 a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 Merge succeeded, producing a61210e4bab0a8e935d14f6878a7610afcc83bb0 Checking out Revision a61210e4bab0a8e935d14f6878a7610afcc83bb0 (PR-614) > 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 a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-19T07:30:25.442Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-19T07:30:25.732Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T07:30:25.834Z] ========================================================= [2020-10-19T07:30:25.834Z] EdgeX Global Pipelines Version Info [2020-10-19T07:30:25.834Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk af773452b0b919b6d7fecf3302e438e42853c964 # timeout=10 [2020-10-19T07:30:30.332Z] ------------------- [2020-10-19T07:30:30.332Z] stable info: [2020-10-19T07:30:30.332Z] ------------------- [2020-10-19T07:30:30.332Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:30:30.332Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:30:30.332Z] Message: update stable to v1.0.144 [2020-10-19T07:30:31.604Z] ------------------- [2020-10-19T07:30:31.604Z] experimental info: [2020-10-19T07:30:31.604Z] ------------------- [2020-10-19T07:30:31.604Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:30:31.604Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:30:31.604Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T07:30:32.164Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-19T07:30:32.254Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-19T07:30:32.347Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T07:30:32.442Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T07:30:32.548Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T07:30:32.711Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T07:30:32.813Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T07:30:32.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T07:30:33.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-19T07:30:33.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T07:30:33.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T07:30:33.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-19T07:30:33.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T07:30:33.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T07:30:33.611Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-19T07:30:33.698Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:30:33.791Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:30:33.875Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:30:34.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-19T07:30:34.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T07:30:34.205Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-19T07:30:34.297Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-19T07:30:34.393Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T07:30:34.481Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T07:30:34.569Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-19T07:30:34.664Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-19T07:30:34.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-19T07:30:34.840Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-19T07:30:34.931Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a61210e4bab0a8e935d14f6878a7610afcc83bb0 [Pipeline] echo [2020-10-19T07:30:35.028Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a61210e [Pipeline] echo [2020-10-19T07:30:35.117Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:30:35.939Z] + git log --format=format:%s -1 a61210e4bab0a8e935d14f6878a7610afcc83bb0 [Pipeline] echo [2020-10-19T07:30:36.467Z] GIT_COMMIT: a61210e4bab0a8e935d14f6878a7610afcc83bb0, Commit Message: build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 [Pipeline] echo [2020-10-19T07:30:36.544Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:30:37.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:30:39.136Z] [2020-10-19T07:30:39.136Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:30:39.996Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:30:40.752Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T07:30:40.752Z] 31603596830f: Pulling fs layer [2020-10-19T07:30:40.752Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T07:30:40.752Z] 6ca5941a6612: Pulling fs layer [2020-10-19T07:30:40.752Z] ecc8261a40a4: Pulling fs layer [2020-10-19T07:30:40.752Z] 2a8b12db71e7: Download complete [2020-10-19T07:30:41.200Z] 31603596830f: Verifying Checksum [2020-10-19T07:30:41.200Z] 31603596830f: Download complete [2020-10-19T07:30:41.649Z] ecc8261a40a4: Verifying Checksum [2020-10-19T07:30:41.649Z] ecc8261a40a4: Download complete [2020-10-19T07:30:42.542Z] 6ca5941a6612: Verifying Checksum [2020-10-19T07:30:42.542Z] 6ca5941a6612: Download complete [2020-10-19T07:30:43.253Z] 31603596830f: Pull complete [2020-10-19T07:30:43.594Z] 2a8b12db71e7: Pull complete [2020-10-19T07:30:47.447Z] 6ca5941a6612: Pull complete [2020-10-19T07:30:47.793Z] ecc8261a40a4: Pull complete [2020-10-19T07:30:48.213Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T07:30:48.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:30:48.213Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T07:30:48.756Z] prd-centos7-docker-4c-2g-6223 does not seem to be running inside a container [2020-10-19T07:30:49.091Z] $ 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:30:53.807Z] $ docker top 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T07:30:54.825Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:30:54.826Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:30:55.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:30:55.895Z] $ docker exec 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 ssh-agent [2020-10-19T07:30:56.744Z] SSH_AUTH_SOCK=/tmp/ssh-uEkqNfQKu81Z/agent.11 [2020-10-19T07:30:56.744Z] SSH_AGENT_PID=17 [2020-10-19T07:30:56.855Z] Running ssh-add (command line suppressed) [2020-10-19T07:30:57.900Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7654133746654849908.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7654133746654849908.key) [2020-10-19T07:30:58.598Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:31:00.000Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T07:31:00.167Z] $ docker exec --env ******** --env ******** 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 ssh-agent -k [2020-10-19T07:31:01.231Z] unset SSH_AUTH_SOCK; [2020-10-19T07:31:01.235Z] unset SSH_AGENT_PID; [2020-10-19T07:31:01.235Z] echo Agent pid 17 killed; [2020-10-19T07:31:01.596Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T07:31:01.751Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:31:01.751Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:31:03.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:31:03.185Z] $ docker exec 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 ssh-agent [2020-10-19T07:31:04.248Z] SSH_AUTH_SOCK=/tmp/ssh-QQEQF1QLDtyt/agent.45 [2020-10-19T07:31:04.248Z] SSH_AGENT_PID=50 [2020-10-19T07:31:04.326Z] Running ssh-add (command line suppressed) [2020-10-19T07:31:05.151Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3725272110620625154.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3725272110620625154.key) [2020-10-19T07:31:05.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:31:07.250Z] + git semver init [2020-10-19T07:31:07.250Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T07:31:07.250Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-19T07:31:07.250Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-19T07:31:07.250Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T07:31:07.250Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T07:31:07.250Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T07:31:07.250Z] # $SEMVER_BRANCH = PR-614 [2020-10-19T07:31:07.250Z] # $SEMVER_TEMP = /tmp/semver-553406067 [2020-10-19T07:31:07.250Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-19T07:31:09.118Z] # '/tmp/semver-553406067' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-19T07:31:09.118Z] # -> Force: false [2020-10-19T07:31:09.118Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-19T07:31:09.218Z] $ docker exec --env ******** --env ******** 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 ssh-agent -k [2020-10-19T07:31:10.342Z] unset SSH_AUTH_SOCK; [2020-10-19T07:31:10.345Z] unset SSH_AGENT_PID; [2020-10-19T07:31:10.346Z] echo Agent pid 50 killed; [2020-10-19T07:31:10.618Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T07:31:11.714Z] + git semver [Pipeline] } [2020-10-19T07:31:12.126Z] $ docker stop --time=1 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 [2020-10-19T07:31:14.785Z] $ docker rm -f 26c189e9e97d414190fd7efc1d9d63cdfd10ce63e4ab6f7fe415d8034d6ca7b8 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T07:31:16.156Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T07:31:17.715Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T07:31:17.718Z] [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:31:33.280Z] Still waiting to schedule task [2020-10-19T07:31:33.280Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6218’ is offline; ‘prd-centos7-docker-4c-2g-6219’ is offline; ‘prd-centos7-docker-4c-2g-6226’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6206’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6228’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-19T07:31:33.282Z] Still waiting to schedule task [2020-10-19T07:31:33.282Z] ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-6218’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-6219’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-6226’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6206’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6228’ is offline [2020-10-19T07:33:35.506Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6230 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-19T07:33:35.568Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-10-19T07:33:40.418Z] using credential edgex-jenkins-ssh [2020-10-19T07:33:40.501Z] Cloning the remote Git repository [2020-10-19T07:33:40.563Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:33:40.672Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2020-10-19T07:33:40.761Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:33:40.762Z] > git --version # timeout=10 [2020-10-19T07:33:40.778Z] > git --version # 'git version 2.17.1' [2020-10-19T07:33:40.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:33:40.840Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:33:42.558Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit a61210e4bab0a8e935d14f6878a7610afcc83bb0 [2020-10-19T07:33:42.797Z] Merge succeeded, producing a61210e4bab0a8e935d14f6878a7610afcc83bb0 [2020-10-19T07:33:42.797Z] Checking out Revision a61210e4bab0a8e935d14f6878a7610afcc83bb0 (PR-614) [2020-10-19T07:33:41.943Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:33:41.961Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:33:41.992Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:33:42.023Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:33:42.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:33:42.036Z] > 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:33:42.580Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:33:42.600Z] > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 [2020-10-19T07:33:42.711Z] > git remote # timeout=10 [2020-10-19T07:33:42.728Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:33:42.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:33:42.753Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:33:42.777Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:33:42.807Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:33:42.817Z] > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 [2020-10-19T07:33:47.239Z] Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:33:48.194Z] ========================================================= [2020-10-19T07:33:48.194Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T07:33:48.194Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:33:49.065Z] + 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:33:50.053Z] Sending build context to Docker daemon 2.318MB [2020-10-19T07:33:50.053Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:33:50.053Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:33:50.331Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T07:33:50.331Z] b538f80385f9: Pulling fs layer [2020-10-19T07:33:50.331Z] 74f711af9a0d: Pulling fs layer [2020-10-19T07:33:50.331Z] 99f96fe45779: Pulling fs layer [2020-10-19T07:33:50.331Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T07:33:50.331Z] 45590311c82a: Pulling fs layer [2020-10-19T07:33:50.331Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T07:33:50.331Z] 209524e5b208: Pulling fs layer [2020-10-19T07:33:50.331Z] 8529a6b9a6be: Waiting [2020-10-19T07:33:50.331Z] 45590311c82a: Waiting [2020-10-19T07:33:50.331Z] 69ca0ff8b7b3: Waiting [2020-10-19T07:33:50.331Z] 209524e5b208: Waiting [2020-10-19T07:33:50.331Z] 99f96fe45779: Verifying Checksum [2020-10-19T07:33:50.331Z] 99f96fe45779: Download complete [2020-10-19T07:33:50.331Z] 74f711af9a0d: Verifying Checksum [2020-10-19T07:33:50.331Z] 74f711af9a0d: Download complete [2020-10-19T07:33:50.928Z] b538f80385f9: Verifying Checksum [2020-10-19T07:33:50.928Z] b538f80385f9: Download complete [2020-10-19T07:33:50.928Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-19T07:33:50.928Z] 69ca0ff8b7b3: Download complete [2020-10-19T07:33:51.537Z] 45590311c82a: Verifying Checksum [2020-10-19T07:33:51.537Z] 45590311c82a: Download complete [2020-10-19T07:33:51.817Z] b538f80385f9: Pull complete [2020-10-19T07:33:52.430Z] 74f711af9a0d: Pull complete [2020-10-19T07:33:52.705Z] 99f96fe45779: Pull complete [2020-10-19T07:33:53.338Z] 209524e5b208: Verifying Checksum [2020-10-19T07:33:53.338Z] 209524e5b208: Download complete [2020-10-19T07:33:54.789Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T07:33:54.789Z] 8529a6b9a6be: Download complete [2020-10-19T07:34:04.970Z] 8529a6b9a6be: Pull complete [2020-10-19T07:34:05.566Z] 45590311c82a: Pull complete [2020-10-19T07:34:05.850Z] 69ca0ff8b7b3: Pull complete [2020-10-19T07:34:10.178Z] 209524e5b208: Pull complete [2020-10-19T07:34:10.178Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T07:34:10.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T07:34:10.178Z] ---> 5bddaf1c2fca [2020-10-19T07:34:10.178Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:34:12.807Z] ---> Running in 1fb5dca0bebb [2020-10-19T07:34:12.807Z] Removing intermediate container 1fb5dca0bebb [2020-10-19T07:34:12.807Z] ---> 35b835449a44 [2020-10-19T07:34:12.807Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:34:13.080Z] ---> Running in d028e9cfa917 [2020-10-19T07:34:15.709Z] Removing intermediate container d028e9cfa917 [2020-10-19T07:34:15.709Z] ---> ec848c3aa6d2 [2020-10-19T07:34:15.709Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:34:15.709Z] ---> Running in 6e1fe597a645 [2020-10-19T07:34:17.704Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:34:18.300Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:34:19.735Z] OK: 142 MiB in 39 packages [2020-10-19T07:34:20.716Z] Removing intermediate container 6e1fe597a645 [2020-10-19T07:34:20.716Z] ---> 205ba2951d71 [2020-10-19T07:34:20.716Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:34:20.994Z] ---> Running in 9113c1cf95cf [2020-10-19T07:34:21.271Z] Removing intermediate container 9113c1cf95cf [2020-10-19T07:34:21.271Z] ---> 48544d3a8cdd [2020-10-19T07:34:21.271Z] Step 7/8 : COPY . . [2020-10-19T07:34:22.714Z] ---> 3e17e3e8e4e1 [2020-10-19T07:34:22.714Z] Step 8/8 : RUN go mod download [2020-10-19T07:34:22.992Z] ---> Running in a1d02090452a [2020-10-19T07:34:45.183Z] Removing intermediate container a1d02090452a [2020-10-19T07:34:45.183Z] ---> 0f56113758cb [2020-10-19T07:34:45.183Z] Successfully built 0f56113758cb [2020-10-19T07:34:45.183Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:34:45.578Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:34:45.578Z] . [Pipeline] withDockerContainer [2020-10-19T07:34:45.819Z] prd-ubuntu18.04-docker-arm64-4c-16g-6230 does not seem to be running inside a container [2020-10-19T07:34:45.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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:34:47.609Z] $ docker top 32c24c62391001d69817ad4453e6ac02a3d694b8291bba4e3dfa0b5878b18bcb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:34:48.963Z] + go version [2020-10-19T07:34:48.963Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T07:34:48.986Z] $ docker stop --time=1 32c24c62391001d69817ad4453e6ac02a3d694b8291bba4e3dfa0b5878b18bcb [2020-10-19T07:34:50.884Z] $ docker rm -f 32c24c62391001d69817ad4453e6ac02a3d694b8291bba4e3dfa0b5878b18bcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:34:51.870Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:34:51.870Z] . [Pipeline] withDockerContainer [2020-10-19T07:34:52.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-6230 does not seem to be running inside a container [2020-10-19T07:34:52.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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:34:54.144Z] $ docker top 9b06d3978fcf76dda9e073b0793bfde85462372f70050690d13d14686be9a04c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:34:55.555Z] + make test [2020-10-19T07:34:55.555Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:35:17.724Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:35:56.792Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:35:56.792Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:35:56.792Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:35:56.792Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.149s coverage: 21.6% of statements [2020-10-19T07:36:00.201Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.188s coverage: 97.1% of statements [2020-10-19T07:36:27.233Z] Running on prd-centos7-docker-4c-2g-6231 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-19T07:36:27.286Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2020-10-19T07:36:30.198Z] using credential edgex-jenkins-ssh [2020-10-19T07:36:30.250Z] Cloning the remote Git repository [2020-10-19T07:36:30.277Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:36:30.363Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2020-10-19T07:36:30.420Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:36:30.421Z] > git --version # timeout=10 [2020-10-19T07:36:30.429Z] > git --version # 'git version 2.16.5' [2020-10-19T07:36:30.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:36:30.458Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:36:31.686Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit a61210e4bab0a8e935d14f6878a7610afcc83bb0 [2020-10-19T07:36:31.785Z] Merge succeeded, producing a61210e4bab0a8e935d14f6878a7610afcc83bb0 [2020-10-19T07:36:31.786Z] Checking out Revision a61210e4bab0a8e935d14f6878a7610afcc83bb0 (PR-614) [2020-10-19T07:36:31.205Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:36:31.212Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:36:31.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:36:31.235Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:36:31.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:36:31.239Z] > 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:36:31.697Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:36:31.704Z] > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 [2020-10-19T07:36:31.755Z] > git remote # timeout=10 [2020-10-19T07:36:31.760Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:36:31.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:36:31.771Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:36:31.782Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:36:31.791Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:36:31.796Z] > git checkout -f a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 [2020-10-19T07:36:32.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.130s coverage: 9.4% of statements [2020-10-19T07:36:32.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.105s coverage: 21.9% of statements [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:36:32.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.571s coverage: 42.6% of statements [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:36:32.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.819s coverage: 68.9% of statements [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:36:32.562Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.164s coverage: 52.6% of statements [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:36:32.562Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.845s coverage: 68.9% of statements [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:36:32.562Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:36:32.562Z] GO111MODULE=on go vet ./... [2020-10-19T07:36:35.457Z] Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:36:36.275Z] ========================================================= [2020-10-19T07:36:36.275Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T07:36:36.275Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:36:36.964Z] + 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:36:37.227Z] Sending build context to Docker daemon 2.315MB [2020-10-19T07:36:37.227Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:36:37.227Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:36:37.227Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T07:36:37.227Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:36:37.227Z] ed8968b2872e: Pulling fs layer [2020-10-19T07:36:37.227Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T07:36:37.227Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T07:36:37.227Z] e73272ec9a57: Pulling fs layer [2020-10-19T07:36:37.227Z] 1e910a182e73: Pulling fs layer [2020-10-19T07:36:37.227Z] 4e634b169226: Pulling fs layer [2020-10-19T07:36:37.227Z] e871e8e8d7a9: Waiting [2020-10-19T07:36:37.227Z] e73272ec9a57: Waiting [2020-10-19T07:36:37.227Z] 1e910a182e73: Waiting [2020-10-19T07:36:37.227Z] 4e634b169226: Waiting [2020-10-19T07:36:37.227Z] a92cc7c5fd73: Verifying Checksum [2020-10-19T07:36:37.227Z] a92cc7c5fd73: Download complete [2020-10-19T07:36:37.227Z] ed8968b2872e: Verifying Checksum [2020-10-19T07:36:37.227Z] ed8968b2872e: Download complete [2020-10-19T07:36:37.227Z] e73272ec9a57: Verifying Checksum [2020-10-19T07:36:37.227Z] e73272ec9a57: Download complete [2020-10-19T07:36:37.489Z] 1e910a182e73: Download complete [2020-10-19T07:36:37.489Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:36:37.489Z] df20fa9351a1: Download complete [2020-10-19T07:36:37.754Z] df20fa9351a1: Pull complete [2020-10-19T07:36:37.754Z] ed8968b2872e: Pull complete [2020-10-19T07:36:38.021Z] a92cc7c5fd73: Pull complete [2020-10-19T07:36:39.427Z] 4e634b169226: Verifying Checksum [2020-10-19T07:36:39.427Z] 4e634b169226: Download complete [2020-10-19T07:36:40.380Z] e871e8e8d7a9: Download complete [2020-10-19T07:36:45.707Z] e871e8e8d7a9: Pull complete [2020-10-19T07:36:45.707Z] e73272ec9a57: Pull complete [2020-10-19T07:36:45.707Z] 1e910a182e73: Pull complete [2020-10-19T07:36:55.750Z] 4e634b169226: Pull complete [2020-10-19T07:36:55.750Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T07:36:55.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T07:36:55.751Z] ---> f7629b54cfaa [2020-10-19T07:36:55.751Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:36:55.751Z] ---> Running in 18d665814cc5 [2020-10-19T07:36:55.751Z] Removing intermediate container 18d665814cc5 [2020-10-19T07:36:55.751Z] ---> 54054c827486 [2020-10-19T07:36:55.751Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:36:55.751Z] ---> Running in b223d643d6f4 [2020-10-19T07:36:56.706Z] Removing intermediate container b223d643d6f4 [2020-10-19T07:36:56.706Z] ---> 064ac8e39797 [2020-10-19T07:36:56.706Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:36:56.970Z] ---> Running in 68232af0a9cc [2020-10-19T07:36:57.547Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:36:58.124Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:36:59.448Z] gofmt -l . [2020-10-19T07:36:59.448Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:36:59.448Z] ./bin/test-attribution-txt.sh [2020-10-19T07:36:59.448Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:36:59.517Z] OK: 166 MiB in 39 packages [2020-10-19T07:36:59.780Z] Removing intermediate container 68232af0a9cc [2020-10-19T07:36:59.780Z] ---> 091b802ab494 [2020-10-19T07:36:59.780Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:36:59.780Z] ---> Running in f2330b85f49a [2020-10-19T07:37:00.043Z] Removing intermediate container f2330b85f49a [2020-10-19T07:37:00.043Z] ---> 0425b59d3394 [2020-10-19T07:37:00.043Z] Step 7/8 : COPY . . [2020-10-19T07:37:00.275Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:37:00.281Z] $ docker stop --time=1 9b06d3978fcf76dda9e073b0793bfde85462372f70050690d13d14686be9a04c [2020-10-19T07:37:01.485Z] ---> bb079f116efc [2020-10-19T07:37:01.485Z] Step 8/8 : RUN go mod download [2020-10-19T07:37:01.485Z] ---> Running in 46420bfbf9f4 [2020-10-19T07:37:02.599Z] $ docker rm -f 9b06d3978fcf76dda9e073b0793bfde85462372f70050690d13d14686be9a04c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:37:04.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:37:04.910Z] + ls -al . [2020-10-19T07:37:04.910Z] total 224 [2020-10-19T07:37:04.910Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:36 . [2020-10-19T07:37:04.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:33 .. [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:33 .dockerignore [2020-10-19T07:37:04.910Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:33 .git [2020-10-19T07:37:04.910Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:33 .github [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:33 .gitignore [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:33 Dockerfile.build [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:33 Jenkinsfile [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:33 LICENSE [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:33 Makefile [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:33 README.md [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:33 RELEASE-NOTES.txt [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:31 VERSION [2020-10-19T07:37:04.910Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:33 bin [2020-10-19T07:37:04.910Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:36 coverage.out [2020-10-19T07:37:04.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:33 example [2020-10-19T07:37:04.910Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 19 07:36 go.mod [2020-10-19T07:37:04.910Z] -rw-r--r-- 1 jenkins jenkins 13742 Oct 19 07:36 go.sum [2020-10-19T07:37:04.910Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:33 internal [2020-10-19T07:37:04.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:33 openapi [2020-10-19T07:37:04.910Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:33 pkg [2020-10-19T07:37:04.910Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:33 snap [2020-10-19T07:37:04.910Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:37:05.257Z] + 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=a61210e4bab0a8e935d14f6878a7610afcc83bb0 --label arch=arm64 --label version=0.0.0 . [2020-10-19T07:37:05.533Z] Sending build context to Docker daemon 2.429MB [2020-10-19T07:37:05.533Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:37:05.533Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:37:05.533Z] ---> 0f56113758cb [2020-10-19T07:37:05.533Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:37:06.138Z] ---> Running in a1f32145f52d [2020-10-19T07:37:06.411Z] Removing intermediate container a1f32145f52d [2020-10-19T07:37:06.411Z] ---> 4d83c4cdea2a [2020-10-19T07:37:06.411Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:37:06.411Z] ---> Running in 9025aea5b85e [2020-10-19T07:37:07.007Z] Removing intermediate container 9025aea5b85e [2020-10-19T07:37:07.007Z] ---> 2da347fee93f [2020-10-19T07:37:07.007Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:37:07.007Z] ---> Running in 0ed22cbb25ae [2020-10-19T07:37:07.607Z] Removing intermediate container 0ed22cbb25ae [2020-10-19T07:37:07.607Z] ---> bd107aa36162 [2020-10-19T07:37:07.607Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:37:07.607Z] ---> Running in df971298aed4 [2020-10-19T07:37:10.231Z] Removing intermediate container df971298aed4 [2020-10-19T07:37:10.231Z] ---> 9df8c7a614c1 [2020-10-19T07:37:10.231Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:37:10.231Z] ---> Running in b8d7eb557e66 [2020-10-19T07:37:12.223Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:37:12.817Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:37:14.247Z] OK: 142 MiB in 39 packages [2020-10-19T07:37:15.227Z] Removing intermediate container b8d7eb557e66 [2020-10-19T07:37:15.227Z] ---> 9caeb23b9ea1 [2020-10-19T07:37:15.227Z] Step 8/24 : COPY . . [2020-10-19T07:37:16.657Z] ---> 6504c80b261e [2020-10-19T07:37:16.657Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:37:16.657Z] ---> Running in a4abb2e8ff19 [2020-10-19T07:37:18.088Z] 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:37:19.694Z] Removing intermediate container 46420bfbf9f4 [2020-10-19T07:37:19.694Z] ---> 671c3c56dbd6 [2020-10-19T07:37:19.694Z] Successfully built 671c3c56dbd6 [2020-10-19T07:37:19.694Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:37:20.042Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:37:20.042Z] . [Pipeline] withDockerContainer [2020-10-19T07:37:20.153Z] prd-centos7-docker-4c-2g-6231 does not seem to be running inside a container [2020-10-19T07:37:20.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 [2020-10-19T07:37:20.996Z] $ docker top e3a00a7509685cc85ae62dc089323693876e98e5fd40c8a142605b6e37350bfe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:37:21.506Z] + go version [2020-10-19T07:37:21.506Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T07:37:21.522Z] $ docker stop --time=1 e3a00a7509685cc85ae62dc089323693876e98e5fd40c8a142605b6e37350bfe [2020-10-19T07:37:22.878Z] $ docker rm -f e3a00a7509685cc85ae62dc089323693876e98e5fd40c8a142605b6e37350bfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:37:23.759Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:37:23.759Z] . [Pipeline] withDockerContainer [2020-10-19T07:37:23.862Z] prd-centos7-docker-4c-2g-6231 does not seem to be running inside a container [2020-10-19T07:37:23.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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 [2020-10-19T07:37:24.538Z] $ docker top ee50f18051a3c00c442355f9711a27acc159d0cce313ca58cded9ef6f1032a41 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:37:25.021Z] + make test [2020-10-19T07:37:25.021Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:37:31.760Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:37:44.908Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:37:44.908Z] Removing intermediate container a4abb2e8ff19 [2020-10-19T07:37:44.908Z] ---> a858ab103c2a [2020-10-19T07:37:44.908Z] Step 10/24 : FROM scratch [2020-10-19T07:37:44.908Z] ---> [2020-10-19T07:37:44.908Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:37:44.908Z] ---> Running in cec4de2fee5b [2020-10-19T07:37:45.505Z] Removing intermediate container cec4de2fee5b [2020-10-19T07:37:45.505Z] ---> e16900967a32 [2020-10-19T07:37:45.505Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:37:45.505Z] ---> Running in a19896d15ae6 [2020-10-19T07:37:45.777Z] Removing intermediate container a19896d15ae6 [2020-10-19T07:37:45.777Z] ---> 663552e9f762 [2020-10-19T07:37:45.777Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:37:46.051Z] ---> Running in 9a9532ad2bb2 [2020-10-19T07:37:46.326Z] Removing intermediate container 9a9532ad2bb2 [2020-10-19T07:37:46.326Z] ---> d9b679ea499a [2020-10-19T07:37:46.327Z] Step 14/24 : WORKDIR / [2020-10-19T07:37:46.603Z] ---> Running in 2e74ff34cdd3 [2020-10-19T07:37:46.782Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:37:46.782Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:37:46.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:37:46.782Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.086s coverage: 21.6% of statements [2020-10-19T07:37:46.889Z] Removing intermediate container 2e74ff34cdd3 [2020-10-19T07:37:46.889Z] ---> 9a1c2dd30490 [2020-10-19T07:37:46.889Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:37:47.754Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.446s coverage: 97.1% of statements [2020-10-19T07:37:48.362Z] ---> f6045ef593ff [2020-10-19T07:37:48.362Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:37:48.959Z] ---> 648c76dce6ea [2020-10-19T07:37:48.959Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:37:49.554Z] ---> 796be5bb76a1 [2020-10-19T07:37:49.554Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:37:50.534Z] ---> 9d8119047e49 [2020-10-19T07:37:50.534Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:37:51.127Z] ---> e2ac121ae236 [2020-10-19T07:37:51.127Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:37:51.400Z] ---> Running in f28f14baef1c [2020-10-19T07:37:51.679Z] Removing intermediate container f28f14baef1c [2020-10-19T07:37:51.679Z] ---> 24afcb951632 [2020-10-19T07:37:51.679Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:37:51.679Z] ---> Running in ff770e7e7839 [2020-10-19T07:37:52.275Z] Removing intermediate container ff770e7e7839 [2020-10-19T07:37:52.275Z] ---> 704014f0372f [2020-10-19T07:37:52.275Z] Step 22/24 : LABEL arch=arm64 [2020-10-19T07:37:52.275Z] ---> Running in 1c935c6be379 [2020-10-19T07:37:52.872Z] Removing intermediate container 1c935c6be379 [2020-10-19T07:37:52.872Z] ---> 2ac3553e54f2 [2020-10-19T07:37:52.872Z] Step 23/24 : LABEL git_sha=a61210e4bab0a8e935d14f6878a7610afcc83bb0 [2020-10-19T07:37:52.872Z] ---> Running in 2f456632ade3 [2020-10-19T07:37:53.468Z] Removing intermediate container 2f456632ade3 [2020-10-19T07:37:53.468Z] ---> 4b79b6aaebf4 [2020-10-19T07:37:53.468Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:37:53.468Z] ---> Running in 9a0d71bdc47b [2020-10-19T07:37:54.060Z] Removing intermediate container 9a0d71bdc47b [2020-10-19T07:37:54.060Z] ---> d79309c6a80c [2020-10-19T07:37:54.060Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:37:54.060Z] Successfully built d79309c6a80c [2020-10-19T07:37:54.060Z] 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] } [2020-10-19T07:38:19.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements [2020-10-19T07:38:19.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:38:19.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 42.6% of statements [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:38:19.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.282s coverage: 68.9% of statements [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:38:19.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:38:19.931Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.552s coverage: 68.9% of statements [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:38:19.931Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:38:19.931Z] GO111MODULE=on go vet ./... [2020-10-19T07:38:26.614Z] gofmt -l . [2020-10-19T07:38:26.614Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:38:26.614Z] ./bin/test-attribution-txt.sh [2020-10-19T07:38:26.875Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:38:27.152Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T07:38:27.496Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:38:27.505Z] $ docker stop --time=1 ee50f18051a3c00c442355f9711a27acc159d0cce313ca58cded9ef6f1032a41 [2020-10-19T07:38:29.364Z] $ docker rm -f ee50f18051a3c00c442355f9711a27acc159d0cce313ca58cded9ef6f1032a41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-19T07:38:30.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:38:30.619Z] + ls -al . [2020-10-19T07:38:30.619Z] total 188 [2020-10-19T07:38:30.619Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:38 . [2020-10-19T07:38:30.619Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 19 07:36 .. [2020-10-19T07:38:30.619Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:36 bin [2020-10-19T07:38:30.619Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:38 coverage.out [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:36 Dockerfile.build [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:36 .dockerignore [2020-10-19T07:38:30.619Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:36 example [2020-10-19T07:38:30.619Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:36 .git [2020-10-19T07:38:30.619Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:36 .github [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:36 .gitignore [2020-10-19T07:38:30.619Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 19 07:38 go.mod [2020-10-19T07:38:30.619Z] -rw-r--r--. 1 jenkins jenkins 13742 Oct 19 07:38 go.sum [2020-10-19T07:38:30.619Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:36 internal [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:36 Jenkinsfile [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:36 LICENSE [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:36 Makefile [2020-10-19T07:38:30.619Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:36 openapi [2020-10-19T07:38:30.619Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:36 pkg [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:36 README.md [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:36 RELEASE-NOTES.txt [2020-10-19T07:38:30.619Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:36 snap [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:31 VERSION [2020-10-19T07:38:30.619Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:38:30.929Z] + 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=a61210e4bab0a8e935d14f6878a7610afcc83bb0 --label arch=amd64 --label version=0.0.0 . [2020-10-19T07:38:31.192Z] Sending build context to Docker daemon 2.426MB [2020-10-19T07:38:31.192Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:38:31.192Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:38:31.192Z] ---> 671c3c56dbd6 [2020-10-19T07:38:31.192Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:38:31.767Z] ---> Running in 44b3230913ff [2020-10-19T07:38:31.767Z] Removing intermediate container 44b3230913ff [2020-10-19T07:38:31.767Z] ---> fd197da9bcc7 [2020-10-19T07:38:31.767Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:38:32.030Z] ---> Running in 680c96c57c08 [2020-10-19T07:38:32.030Z] Removing intermediate container 680c96c57c08 [2020-10-19T07:38:32.030Z] ---> 96f735c2fc1c [2020-10-19T07:38:32.030Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:38:32.294Z] ---> Running in 6550e5385ad5 [2020-10-19T07:38:32.294Z] Removing intermediate container 6550e5385ad5 [2020-10-19T07:38:32.294Z] ---> bec56f20a25e [2020-10-19T07:38:32.294Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:38:32.294Z] ---> Running in 06b948a56c45 [2020-10-19T07:38:33.245Z] Removing intermediate container 06b948a56c45 [2020-10-19T07:38:33.245Z] ---> f61fa75c3a38 [2020-10-19T07:38:33.245Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:38:33.245Z] ---> Running in 8762fab8834d [2020-10-19T07:38:33.819Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:38:34.766Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:38:35.341Z] OK: 166 MiB in 39 packages [2020-10-19T07:38:35.604Z] Removing intermediate container 8762fab8834d [2020-10-19T07:38:35.604Z] ---> fb8723dd1c86 [2020-10-19T07:38:35.604Z] Step 8/24 : COPY . . [2020-10-19T07:38:37.000Z] ---> 6a38eb3697ba [2020-10-19T07:38:37.000Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:38:37.000Z] ---> Running in 9c95d9e51c28 [2020-10-19T07:38:37.272Z] 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:38:45.482Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:38:46.879Z] Removing intermediate container 9c95d9e51c28 [2020-10-19T07:38:46.879Z] ---> 0cf0a7e5ede6 [2020-10-19T07:38:46.879Z] Step 10/24 : FROM scratch [2020-10-19T07:38:46.879Z] ---> [2020-10-19T07:38:46.879Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:38:46.879Z] ---> Running in 2c453f2211a0 [2020-10-19T07:38:46.879Z] Removing intermediate container 2c453f2211a0 [2020-10-19T07:38:46.879Z] ---> eeb379d94ddf [2020-10-19T07:38:46.879Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:38:47.143Z] ---> Running in 695dd59d8327 [2020-10-19T07:38:47.143Z] Removing intermediate container 695dd59d8327 [2020-10-19T07:38:47.143Z] ---> 62d9475e9d81 [2020-10-19T07:38:47.143Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:38:47.143Z] ---> Running in 76ebf2261f2c [2020-10-19T07:38:47.406Z] Removing intermediate container 76ebf2261f2c [2020-10-19T07:38:47.406Z] ---> a9e21aa07b9d [2020-10-19T07:38:47.406Z] Step 14/24 : WORKDIR / [2020-10-19T07:38:47.406Z] ---> Running in 24c77cd8514e [2020-10-19T07:38:47.667Z] Removing intermediate container 24c77cd8514e [2020-10-19T07:38:47.667Z] ---> 1fe14c90fb51 [2020-10-19T07:38:47.667Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:38:48.245Z] ---> 3f129ab0c61d [2020-10-19T07:38:48.245Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:38:48.245Z] ---> e6f40d1d8563 [2020-10-19T07:38:48.245Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:38:48.508Z] ---> 68ff6ddbea39 [2020-10-19T07:38:48.508Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:38:48.772Z] ---> 81fcc87bb160 [2020-10-19T07:38:48.772Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:38:49.038Z] ---> 96e54b6678b4 [2020-10-19T07:38:49.038Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:38:49.038Z] ---> Running in e36cd11ec0bb [2020-10-19T07:38:49.303Z] Removing intermediate container e36cd11ec0bb [2020-10-19T07:38:49.303Z] ---> e642436d8c7e [2020-10-19T07:38:49.303Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:38:49.303Z] ---> Running in 58a2b952670d [2020-10-19T07:38:49.564Z] Removing intermediate container 58a2b952670d [2020-10-19T07:38:49.564Z] ---> 49b7b29c241f [2020-10-19T07:38:49.564Z] Step 22/24 : LABEL arch=amd64 [2020-10-19T07:38:49.564Z] ---> Running in 71fc5ef05d26 [2020-10-19T07:38:49.828Z] Removing intermediate container 71fc5ef05d26 [2020-10-19T07:38:49.828Z] ---> 5b7a03624a46 [2020-10-19T07:38:49.828Z] Step 23/24 : LABEL git_sha=a61210e4bab0a8e935d14f6878a7610afcc83bb0 [2020-10-19T07:38:49.828Z] ---> Running in baf67392da9e [2020-10-19T07:38:50.092Z] Removing intermediate container baf67392da9e [2020-10-19T07:38:50.092Z] ---> b9b604b75141 [2020-10-19T07:38:50.092Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:38:50.092Z] ---> Running in bd6959d119b7 [2020-10-19T07:38:50.354Z] Removing intermediate container bd6959d119b7 [2020-10-19T07:38:50.354Z] ---> 7370c9de9971 [2020-10-19T07:38:50.354Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:38:50.354Z] Successfully built 7370c9de9971 [2020-10-19T07:38:50.354Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-19T07:38:52.354Z] provisioning config files... [2020-10-19T07:38:52.384Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config5183749025725807311tmp [Pipeline] { [Pipeline] sh [2020-10-19T07:38:52.902Z] + set +x [2020-10-19T07:38:52.902Z] + curl -s https://codecov.io/bash [2020-10-19T07:38:52.902Z] + bash -s -- [2020-10-19T07:38:53.196Z] [2020-10-19T07:38:53.196Z] _____ _ [2020-10-19T07:38:53.196Z] / ____| | | [2020-10-19T07:38:53.196Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T07:38:53.196Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T07:38:53.196Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T07:38:53.196Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T07:38:53.196Z] Bash-20201009-048fee3 [2020-10-19T07:38:53.196Z] [2020-10-19T07:38:53.196Z] [2020-10-19T07:38:53.196Z] ==> Jenkins CI detected. [2020-10-19T07:38:53.196Z] project root: . [2020-10-19T07:38:53.196Z] --> token set from env [2020-10-19T07:38:53.196Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T07:38:53.196Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T07:38:53.196Z] ==> Python coveragepy not found [2020-10-19T07:38:53.196Z] ==> Searching for coverage reports in: [2020-10-19T07:38:53.196Z] + . [2020-10-19T07:38:53.196Z] -> Found 1 reports [2020-10-19T07:38:53.196Z] ==> Detecting git/mercurial file structure [2020-10-19T07:38:53.196Z] ==> Reading reports [2020-10-19T07:38:53.196Z] + ./coverage.out bytes=110398 [2020-10-19T07:38:53.493Z] ==> Appending adjustments [2020-10-19T07:38:53.493Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T07:38:54.092Z] + Found adjustments [2020-10-19T07:38:54.092Z] ==> Gzipping contents [2020-10-19T07:38:54.092Z] ==> Uploading reports [2020-10-19T07:38:54.092Z] url: https://codecov.io [2020-10-19T07:38:54.092Z] query: branch=PR-614&commit=a61210e4bab0a8e935d14f6878a7610afcc83bb0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-19T07:38:54.092Z] -> Pinging Codecov [2020-10-19T07:38:54.092Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=a61210e4bab0a8e935d14f6878a7610afcc83bb0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-19T07:38:54.378Z] -> Uploading to [2020-10-19T07:38:54.378Z] [2020-10-19T07:38:54.378Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:38:54.378Z] Dload Upload Total Spent Left Speed [2020-10-19T07:38:54.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T07:38:54.378Z] X> Failed to upload [2020-10-19T07:38:54.378Z] ==> Uploading to Codecov [2020-10-19T07:38:54.378Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:38:54.378Z] Dload Upload Total Spent Left Speed [2020-10-19T07:38:54.972Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19187 100 110 100 19077 157 27329 --:--:-- --:--:-- --:--:-- 27370 [2020-10-19T07:38:55.255Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a61210e4bab0a8e935d14f6878a7610afcc83bb0 [Pipeline] } [2020-10-19T07:38:55.278Z] 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:38:57.976Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:38:58.582Z] ---> package-listing.sh [2020-10-19T07:38:58.583Z] ++ facter osfamily [2020-10-19T07:38:58.583Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T07:38:58.852Z] + OS_FAMILY=redhat [2020-10-19T07:38:58.852Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-19T07:38:58.852Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T07:38:58.852Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T07:38:58.852Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T07:38:58.852Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T07:38:58.852Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-19T07:38:58.852Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T07:38:58.852Z] + case "${OS_FAMILY}" in [2020-10-19T07:38:58.852Z] + rpm -qa [2020-10-19T07:38:58.852Z] + sort [2020-10-19T07:39:03.141Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T07:39:03.141Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T07:39:03.141Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T07:39:03.141Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-19T07:39:03.141Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-19T07:39:03.141Z] + 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:39:03.165Z] 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:39:03.488Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:39:03.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:39:04.151Z] [2020-10-19T07:39:04.151Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:39:04.556Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:39:04.556Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T07:39:04.556Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:39:04.556Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T07:39:04.556Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T07:39:04.556Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T07:39:04.556Z] 93b61091891f: Pulling fs layer [2020-10-19T07:39:04.556Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T07:39:04.556Z] 5e14af77c1be: Pulling fs layer [2020-10-19T07:39:04.556Z] 01666e4c0597: Pulling fs layer [2020-10-19T07:39:04.556Z] aa168da1d23b: Pulling fs layer [2020-10-19T07:39:04.556Z] 93b9cdb0e59b: Waiting [2020-10-19T07:39:04.556Z] 01666e4c0597: Waiting [2020-10-19T07:39:04.556Z] aa168da1d23b: Waiting [2020-10-19T07:39:04.556Z] 5e14af77c1be: Waiting [2020-10-19T07:39:04.556Z] 46f8f816bc3b: Waiting [2020-10-19T07:39:04.556Z] 93b61091891f: Waiting [2020-10-19T07:39:04.556Z] 36b3adc4ff6f: Verifying Checksum [2020-10-19T07:39:04.556Z] 36b3adc4ff6f: Download complete [2020-10-19T07:39:04.828Z] 46f8f816bc3b: Verifying Checksum [2020-10-19T07:39:04.828Z] 46f8f816bc3b: Download complete [2020-10-19T07:39:04.828Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:39:04.828Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T07:39:04.828Z] 93b9cdb0e59b: Download complete [2020-10-19T07:39:04.828Z] 5e14af77c1be: Verifying Checksum [2020-10-19T07:39:04.828Z] 5e14af77c1be: Download complete [2020-10-19T07:39:04.828Z] 93b61091891f: Verifying Checksum [2020-10-19T07:39:04.828Z] 93b61091891f: Download complete [2020-10-19T07:39:04.828Z] 01666e4c0597: Verifying Checksum [2020-10-19T07:39:04.828Z] 01666e4c0597: Download complete [2020-10-19T07:39:05.475Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T07:39:05.475Z] 8ad3a11d3b57: Download complete [2020-10-19T07:39:05.475Z] df20fa9351a1: Pull complete [2020-10-19T07:39:05.814Z] 36b3adc4ff6f: Pull complete [2020-10-19T07:39:07.487Z] 8ad3a11d3b57: Pull complete [2020-10-19T07:39:07.487Z] 46f8f816bc3b: Pull complete [2020-10-19T07:39:07.837Z] 93b61091891f: Pull complete [2020-10-19T07:39:08.126Z] 93b9cdb0e59b: Pull complete [2020-10-19T07:39:08.126Z] 5e14af77c1be: Pull complete [2020-10-19T07:39:08.472Z] 01666e4c0597: Pull complete [2020-10-19T07:39:12.134Z] aa168da1d23b: Verifying Checksum [2020-10-19T07:39:12.134Z] aa168da1d23b: Download complete [2020-10-19T07:39:24.655Z] aa168da1d23b: Pull complete [2020-10-19T07:39:24.656Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T07:39:24.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:39:24.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T07:39:24.951Z] prd-centos7-docker-4c-2g-6223 does not seem to be running inside a container [2020-10-19T07:39:25.128Z] $ 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:39:29.383Z] $ docker top 8f10d593283a214afbe353f58ae1262f2041a33d48123dc73b395c7c5b5feb5a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:39:30.034Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T07:39:30.376Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T07:39:30.729Z] + ls /var/log/sa-host [2020-10-19T07:39:30.995Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T07:39:30.995Z] file_magic: OK [2020-10-19T07:39:30.995Z] HZ: Using current value: 100 [2020-10-19T07:39:30.995Z] file_header: OK [2020-10-19T07:39:30.995Z] 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:39:30.995Z] Statistics: [2020-10-19T07:39:30.995Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:39:30.995Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T07:39:30.995Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T07:39:30.995Z] file_magic: OK [2020-10-19T07:39:30.995Z] HZ: Using current value: 100 [2020-10-19T07:39:30.995Z] file_header: OK [2020-10-19T07:39:30.995Z] 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:39:30.995Z] Statistics: [2020-10-19T07:39:30.995Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:39:30.995Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T07:39:31.201Z] provisioning config files... [2020-10-19T07:39:31.221Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config7165619385522627837tmp [Pipeline] { [Pipeline] echo [2020-10-19T07:39:31.341Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:39:31.662Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T07:39:31.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T07:39:32.043Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:39:32.359Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T07:39:32.377Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:39:32.698Z] ---> sudo-logs.sh [2020-10-19T07:39:32.698Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T07:39:32.713Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:39:33.043Z] ---> job-cost.sh [2020-10-19T07:39:33.319Z] lf-activate-venv: SKIPPING [2020-10-19T07:39:33.319Z] INFO: No Stack... [2020-10-19T07:39:33.905Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T07:39:34.508Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T07:39:34.526Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:39:34.854Z] ---> logs-deploy.sh [2020-10-19T07:39:34.854Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/12 [2020-10-19T07:39:34.854Z] INFO: archiving workspace using pattern(s): [2020-10-19T07:39:36.826Z] Archives upload complete. [2020-10-19T07:39:37.093Z] INFO: archiving logs to Nexus