Pull request #631 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6+6cec193abf44cabffe02bbcaff9748adb3f719d5 (c9b16cf2a15a2c1e5c0cf6e28d9992a1ce7bd296) 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-6234 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [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-631 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 Merge succeeded, producing 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c Checking out Revision 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c (PR-631) > git config core.sparsecheckout # timeout=10 > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c # timeout=10 Commit message: "Merge commit '6cec193abf44cabffe02bbcaff9748adb3f719d5' into HEAD" > git rev-list --no-walk 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-19T07:49:33.623Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-19T07:49:33.872Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T07:49:33.992Z] ========================================================= [2020-10-19T07:49:33.992Z] EdgeX Global Pipelines Version Info [2020-10-19T07:49:33.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:49:37.092Z] ------------------- [2020-10-19T07:49:37.092Z] stable info: [2020-10-19T07:49:37.092Z] ------------------- [2020-10-19T07:49:37.092Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:49:37.092Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:49:37.092Z] Message: update stable to v1.0.144 [2020-10-19T07:49:37.731Z] ------------------- [2020-10-19T07:49:37.731Z] experimental info: [2020-10-19T07:49:37.731Z] ------------------- [2020-10-19T07:49:37.731Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:49:37.731Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:49:37.731Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T07:49:38.126Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-19T07:49:38.216Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-19T07:49:38.309Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T07:49:38.406Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T07:49:38.520Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T07:49:38.616Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T07:49:38.708Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T07:49:38.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T07:49:38.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-19T07:49:38.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T07:49:39.082Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T07:49:39.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-19T07:49:39.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T07:49:39.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T07:49:39.446Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-19T07:49:39.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:49:39.633Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:49:39.720Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:49:39.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-19T07:49:39.918Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T07:49:40.048Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-19T07:49:40.144Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-19T07:49:40.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T07:49:40.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T07:49:40.695Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-19T07:49:40.788Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-631 [Pipeline] echo [2020-10-19T07:49:40.881Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-631 [Pipeline] echo [2020-10-19T07:49:40.981Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-631 [Pipeline] echo [2020-10-19T07:49:41.107Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c [Pipeline] echo [2020-10-19T07:49:41.201Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e1cc3a [Pipeline] echo [2020-10-19T07:49:41.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:49:41.890Z] + git log --format=format:%s -1 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c [Pipeline] echo [2020-10-19T07:49:42.047Z] GIT_COMMIT: 5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c, Commit Message: Merge commit '6cec193abf44cabffe02bbcaff9748adb3f719d5' into HEAD [Pipeline] echo [2020-10-19T07:49:42.096Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:49:42.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:49:43.353Z] [2020-10-19T07:49:43.353Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:49:44.070Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:49:44.070Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T07:49:44.070Z] 31603596830f: Pulling fs layer [2020-10-19T07:49:44.070Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T07:49:44.070Z] 6ca5941a6612: Pulling fs layer [2020-10-19T07:49:44.070Z] ecc8261a40a4: Pulling fs layer [2020-10-19T07:49:44.070Z] ecc8261a40a4: Waiting [2020-10-19T07:49:44.070Z] 2a8b12db71e7: Download complete [2020-10-19T07:49:44.360Z] 31603596830f: Verifying Checksum [2020-10-19T07:49:44.360Z] 31603596830f: Download complete [2020-10-19T07:49:44.633Z] ecc8261a40a4: Verifying Checksum [2020-10-19T07:49:44.634Z] ecc8261a40a4: Download complete [2020-10-19T07:49:44.634Z] 6ca5941a6612: Verifying Checksum [2020-10-19T07:49:44.634Z] 6ca5941a6612: Download complete [2020-10-19T07:49:45.259Z] 31603596830f: Pull complete [2020-10-19T07:49:45.259Z] 2a8b12db71e7: Pull complete [2020-10-19T07:49:46.754Z] 6ca5941a6612: Pull complete [2020-10-19T07:49:47.759Z] ecc8261a40a4: Pull complete [2020-10-19T07:49:47.759Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T07:49:47.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:49:47.759Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T07:49:48.006Z] prd-centos7-docker-4c-2g-6234 does not seem to be running inside a container [2020-10-19T07:49:48.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-631 -v /w/workspace/dgexfoundry_device-sdk-go_PR-631:/w/workspace/dgexfoundry_device-sdk-go_PR-631:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-631@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:49:51.037Z] $ docker top 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T07:49:51.508Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:49:51.508Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:49:52.043Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:49:52.052Z] $ docker exec 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 ssh-agent [2020-10-19T07:49:52.519Z] SSH_AUTH_SOCK=/tmp/ssh-fbzK9MzB5FJo/agent.11 [2020-10-19T07:49:52.519Z] SSH_AGENT_PID=16 [2020-10-19T07:49:52.540Z] Running ssh-add (command line suppressed) [2020-10-19T07:49:52.860Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_7074953603035226616.key (/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_7074953603035226616.key) [2020-10-19T07:49:52.978Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:49:53.700Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T07:49:53.747Z] $ docker exec --env ******** --env ******** 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 ssh-agent -k [2020-10-19T07:49:54.001Z] unset SSH_AUTH_SOCK; [2020-10-19T07:49:54.002Z] unset SSH_AGENT_PID; [2020-10-19T07:49:54.002Z] echo Agent pid 16 killed; [2020-10-19T07:49:54.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T07:49:54.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:49:54.283Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:49:54.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:49:54.647Z] $ docker exec 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 ssh-agent [2020-10-19T07:49:54.983Z] SSH_AUTH_SOCK=/tmp/ssh-gXEvbocfUxop/agent.45 [2020-10-19T07:49:54.983Z] SSH_AGENT_PID=50 [2020-10-19T07:49:54.992Z] Running ssh-add (command line suppressed) [2020-10-19T07:49:55.211Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_5964596861627525017.key (/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_5964596861627525017.key) [2020-10-19T07:49:55.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:49:55.782Z] + git semver init [2020-10-19T07:49:55.782Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T07:49:55.782Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-631/.git [2020-10-19T07:49:55.782Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-631 [2020-10-19T07:49:55.782Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T07:49:55.782Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T07:49:55.782Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T07:49:55.782Z] # $SEMVER_BRANCH = PR-631 [2020-10-19T07:49:55.782Z] # $SEMVER_TEMP = /tmp/semver-540595729 [2020-10-19T07:49:55.782Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-19T07:49:57.231Z] # '/tmp/semver-540595729' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-631/.semver' [2020-10-19T07:49:57.231Z] # -> Force: false [2020-10-19T07:49:57.231Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-631/.semver [Pipeline] } [2020-10-19T07:49:57.254Z] $ docker exec --env ******** --env ******** 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 ssh-agent -k [2020-10-19T07:49:57.766Z] unset SSH_AUTH_SOCK; [2020-10-19T07:49:57.778Z] unset SSH_AGENT_PID; [2020-10-19T07:49:57.778Z] echo Agent pid 50 killed; [2020-10-19T07:49:57.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T07:49:58.412Z] + git semver [Pipeline] } [2020-10-19T07:49:58.480Z] $ docker stop --time=1 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 [2020-10-19T07:50:00.295Z] $ docker rm -f 45ec21789c70ac130fb5792a830b24ee66ce4960be33952d1d17da9df6c0cbb8 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T07:50:00.857Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T07:50:01.508Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T07:50:01.510Z] [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:50:17.090Z] Still waiting to schedule task [2020-10-19T07:50:17.091Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-19T07:50:17.093Z] Still waiting to schedule task [2020-10-19T07:50:17.093Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-19T07:51:34.910Z] Running on prd-centos7-docker-4c-2g-6241 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [Pipeline] { [Pipeline] ws [2020-10-19T07:51:34.968Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-10-19T07:51:37.545Z] using credential edgex-jenkins-ssh [2020-10-19T07:51:37.600Z] Cloning the remote Git repository [2020-10-19T07:51:37.632Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:51:37.709Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-10-19T07:51:37.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:51:37.760Z] > git --version # timeout=10 [2020-10-19T07:51:37.769Z] > git --version # 'git version 2.16.5' [2020-10-19T07:51:37.770Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:51:37.803Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:51:38.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:51:38.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:51:38.531Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:51:38.545Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:51:38.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:51:39.027Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [2020-10-19T07:51:39.166Z] Merge succeeded, producing 62a44a38fee83e988b1e9a0f7a64c59bc44d8b70 [2020-10-19T07:51:39.166Z] Checking out Revision 62a44a38fee83e988b1e9a0f7a64c59bc44d8b70 (PR-631) [2020-10-19T07:51:38.549Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:51:39.035Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:51:39.042Z] > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [2020-10-19T07:51:39.091Z] > git remote # timeout=10 [2020-10-19T07:51:39.099Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:51:39.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:51:39.114Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-19T07:51:39.159Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:51:39.169Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:51:39.172Z] > git checkout -f 62a44a38fee83e988b1e9a0f7a64c59bc44d8b70 # timeout=10 [2020-10-19T07:51:42.790Z] Commit message: "Merge commit '6cec193abf44cabffe02bbcaff9748adb3f719d5' into HEAD" [2020-10-19T07:51:42.793Z] > git rev-list --no-walk 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:51:43.617Z] ========================================================= [2020-10-19T07:51:43.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T07:51:43.617Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:51:44.531Z] + 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:51:45.116Z] Sending build context to Docker daemon 2.32MB [2020-10-19T07:51:45.116Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:51:45.116Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:51:45.116Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T07:51:45.116Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:51:45.116Z] ed8968b2872e: Pulling fs layer [2020-10-19T07:51:45.116Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T07:51:45.116Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T07:51:45.116Z] e73272ec9a57: Pulling fs layer [2020-10-19T07:51:45.116Z] 1e910a182e73: Pulling fs layer [2020-10-19T07:51:45.116Z] 4e634b169226: Pulling fs layer [2020-10-19T07:51:45.116Z] e73272ec9a57: Waiting [2020-10-19T07:51:45.116Z] 4e634b169226: Waiting [2020-10-19T07:51:45.116Z] 1e910a182e73: Waiting [2020-10-19T07:51:45.116Z] e871e8e8d7a9: Waiting [2020-10-19T07:51:45.116Z] a92cc7c5fd73: Verifying Checksum [2020-10-19T07:51:45.116Z] a92cc7c5fd73: Download complete [2020-10-19T07:51:45.116Z] ed8968b2872e: Verifying Checksum [2020-10-19T07:51:45.116Z] ed8968b2872e: Download complete [2020-10-19T07:51:45.116Z] e73272ec9a57: Verifying Checksum [2020-10-19T07:51:45.116Z] e73272ec9a57: Download complete [2020-10-19T07:51:45.116Z] 1e910a182e73: Verifying Checksum [2020-10-19T07:51:45.116Z] 1e910a182e73: Download complete [2020-10-19T07:51:45.706Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:51:45.706Z] df20fa9351a1: Download complete [2020-10-19T07:51:45.975Z] df20fa9351a1: Pull complete [2020-10-19T07:51:46.247Z] ed8968b2872e: Pull complete [2020-10-19T07:51:46.510Z] a92cc7c5fd73: Pull complete [2020-10-19T07:51:47.469Z] 4e634b169226: Verifying Checksum [2020-10-19T07:51:47.469Z] 4e634b169226: Download complete [2020-10-19T07:51:48.053Z] e871e8e8d7a9: Verifying Checksum [2020-10-19T07:51:48.053Z] e871e8e8d7a9: Download complete [2020-10-19T07:51:53.399Z] e871e8e8d7a9: Pull complete [2020-10-19T07:51:53.662Z] e73272ec9a57: Pull complete [2020-10-19T07:51:53.662Z] 1e910a182e73: Pull complete [2020-10-19T07:51:57.900Z] 4e634b169226: Pull complete [2020-10-19T07:51:57.900Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T07:51:57.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T07:51:57.900Z] ---> f7629b54cfaa [2020-10-19T07:51:57.900Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:51:57.900Z] ---> Running in 54375a82ac58 [2020-10-19T07:51:58.170Z] Removing intermediate container 54375a82ac58 [2020-10-19T07:51:58.170Z] ---> fb0af30196bf [2020-10-19T07:51:58.170Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:51:58.170Z] ---> Running in 8d64a582c802 [2020-10-19T07:52:00.103Z] Removing intermediate container 8d64a582c802 [2020-10-19T07:52:00.103Z] ---> 4227534051b7 [2020-10-19T07:52:00.103Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:52:00.103Z] ---> Running in 8aafaa5cdbe3 [2020-10-19T07:52:00.369Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:52:01.318Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:52:02.717Z] OK: 166 MiB in 39 packages [2020-10-19T07:52:02.980Z] Removing intermediate container 8aafaa5cdbe3 [2020-10-19T07:52:02.980Z] ---> fc646824bcde [2020-10-19T07:52:02.980Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:52:03.243Z] ---> Running in d2643935e1d3 [2020-10-19T07:52:03.243Z] Removing intermediate container d2643935e1d3 [2020-10-19T07:52:03.243Z] ---> 2a374c089262 [2020-10-19T07:52:03.243Z] Step 7/8 : COPY . . [2020-10-19T07:52:04.659Z] ---> 48296cf3413a [2020-10-19T07:52:04.659Z] Step 8/8 : RUN go mod download [2020-10-19T07:52:04.659Z] ---> Running in 77b5ffb88d42 [2020-10-19T07:52:22.851Z] Removing intermediate container 77b5ffb88d42 [2020-10-19T07:52:22.851Z] ---> c08faa30f138 [2020-10-19T07:52:22.851Z] Successfully built c08faa30f138 [2020-10-19T07:52:22.851Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:52:23.378Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:52:23.378Z] . [Pipeline] withDockerContainer [2020-10-19T07:52:23.485Z] prd-centos7-docker-4c-2g-6241 does not seem to be running inside a container [2020-10-19T07:52:23.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:52:24.977Z] $ docker top 13b3eb43536573da86405ec804d0b883900cf629fde97daf5c8fc8f58364a4af -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:52:25.498Z] + go version [2020-10-19T07:52:25.498Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T07:52:25.514Z] $ docker stop --time=1 13b3eb43536573da86405ec804d0b883900cf629fde97daf5c8fc8f58364a4af [2020-10-19T07:52:26.859Z] $ docker rm -f 13b3eb43536573da86405ec804d0b883900cf629fde97daf5c8fc8f58364a4af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:52:27.768Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:52:27.768Z] . [Pipeline] withDockerContainer [2020-10-19T07:52:27.882Z] prd-centos7-docker-4c-2g-6241 does not seem to be running inside a container [2020-10-19T07:52:27.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:52:28.608Z] $ docker top 76c2284b788848fae32ff2983267a138178e1c62e0bf9344520d765e15951fe1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:52:29.136Z] + make test [2020-10-19T07:52:29.136Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:52:35.784Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:52:50.870Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:52:50.870Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:52:50.870Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:52:50.870Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 21.6% of statements [2020-10-19T07:52:51.314Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6243 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [Pipeline] { [Pipeline] ws [2020-10-19T07:52:51.366Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [2020-10-19T07:52:51.478Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.437s coverage: 97.1% of statements [Pipeline] checkout [2020-10-19T07:52:56.789Z] using credential edgex-jenkins-ssh [2020-10-19T07:52:56.857Z] Cloning the remote Git repository [2020-10-19T07:52:56.927Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:52:57.041Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-10-19T07:52:57.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:52:57.123Z] > git --version # timeout=10 [2020-10-19T07:52:57.143Z] > git --version # 'git version 2.17.1' [2020-10-19T07:52:57.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:52:57.224Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:52:58.924Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [2020-10-19T07:52:58.320Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:52:58.339Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:52:58.366Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:52:58.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:52:58.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:52:58.417Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:52:58.945Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:52:58.959Z] > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [2020-10-19T07:52:59.079Z] > git remote # timeout=10 [2020-10-19T07:52:59.106Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:52:59.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:52:59.228Z] Merge succeeded, producing d3857d03baecc0df3db07a0e018b02733e94f0ca [2020-10-19T07:52:59.229Z] Checking out Revision d3857d03baecc0df3db07a0e018b02733e94f0ca (PR-631) [2020-10-19T07:52:59.147Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-19T07:52:59.209Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:52:59.237Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:52:59.250Z] > git checkout -f d3857d03baecc0df3db07a0e018b02733e94f0ca # timeout=10 [2020-10-19T07:53:03.836Z] Commit message: "Merge commit '6cec193abf44cabffe02bbcaff9748adb3f719d5' into HEAD" [2020-10-19T07:53:03.847Z] > git rev-list --no-walk 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:53:04.865Z] ========================================================= [2020-10-19T07:53:04.865Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T07:53:04.865Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:53:05.916Z] + 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:53:06.904Z] Sending build context to Docker daemon 2.32MB [2020-10-19T07:53:06.904Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:53:06.904Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:53:07.179Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T07:53:07.179Z] b538f80385f9: Pulling fs layer [2020-10-19T07:53:07.179Z] 74f711af9a0d: Pulling fs layer [2020-10-19T07:53:07.179Z] 99f96fe45779: Pulling fs layer [2020-10-19T07:53:07.179Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T07:53:07.179Z] 45590311c82a: Pulling fs layer [2020-10-19T07:53:07.179Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T07:53:07.179Z] 209524e5b208: Pulling fs layer [2020-10-19T07:53:07.179Z] 8529a6b9a6be: Waiting [2020-10-19T07:53:07.179Z] 45590311c82a: Waiting [2020-10-19T07:53:07.179Z] 69ca0ff8b7b3: Waiting [2020-10-19T07:53:07.179Z] 209524e5b208: Waiting [2020-10-19T07:53:07.179Z] 99f96fe45779: Verifying Checksum [2020-10-19T07:53:07.179Z] 99f96fe45779: Download complete [2020-10-19T07:53:07.179Z] 74f711af9a0d: Verifying Checksum [2020-10-19T07:53:07.179Z] 74f711af9a0d: Download complete [2020-10-19T07:53:07.179Z] 45590311c82a: Download complete [2020-10-19T07:53:07.179Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-19T07:53:07.179Z] 69ca0ff8b7b3: Download complete [2020-10-19T07:53:07.456Z] b538f80385f9: Verifying Checksum [2020-10-19T07:53:07.456Z] b538f80385f9: Download complete [2020-10-19T07:53:08.067Z] b538f80385f9: Pull complete [2020-10-19T07:53:08.693Z] 74f711af9a0d: Pull complete [2020-10-19T07:53:08.973Z] 99f96fe45779: Pull complete [2020-10-19T07:53:09.963Z] 209524e5b208: Verifying Checksum [2020-10-19T07:53:09.963Z] 209524e5b208: Download complete [2020-10-19T07:53:10.960Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T07:53:10.960Z] 8529a6b9a6be: Download complete [2020-10-19T07:53:21.799Z] 8529a6b9a6be: Pull complete [2020-10-19T07:53:21.799Z] 45590311c82a: Pull complete [2020-10-19T07:53:21.799Z] 69ca0ff8b7b3: Pull complete [2020-10-19T07:53:23.668Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 9.4% of statements [2020-10-19T07:53:23.668Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.059s coverage: 21.9% of statements [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:53:23.668Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.213s coverage: 42.6% of statements [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:53:23.668Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.268s coverage: 68.9% of statements [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:53:23.668Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:53:23.668Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.286s coverage: 68.9% of statements [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:53:23.668Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:53:23.668Z] GO111MODULE=on go vet ./... [2020-10-19T07:53:24.439Z] 209524e5b208: Pull complete [2020-10-19T07:53:24.439Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T07:53:24.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T07:53:24.439Z] ---> 5bddaf1c2fca [2020-10-19T07:53:24.439Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:53:27.848Z] ---> Running in 780749b035c4 [2020-10-19T07:53:27.848Z] Removing intermediate container 780749b035c4 [2020-10-19T07:53:27.848Z] ---> 7af17b133b83 [2020-10-19T07:53:27.848Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:53:27.848Z] ---> Running in 4e7d982330d6 [2020-10-19T07:53:30.344Z] gofmt -l . [2020-10-19T07:53:30.344Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:53:30.344Z] ./bin/test-attribution-txt.sh [2020-10-19T07:53:30.479Z] Removing intermediate container 4e7d982330d6 [2020-10-19T07:53:30.479Z] ---> b8b1239cbe39 [2020-10-19T07:53:30.479Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:53:30.757Z] ---> Running in 3f4d614e7c61 [2020-10-19T07:53:30.923Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:53:31.564Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:53:31.570Z] $ docker stop --time=1 76c2284b788848fae32ff2983267a138178e1c62e0bf9344520d765e15951fe1 [2020-10-19T07:53:32.201Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:53:33.455Z] $ docker rm -f 76c2284b788848fae32ff2983267a138178e1c62e0bf9344520d765e15951fe1 [2020-10-19T07:53:33.641Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-19T07:53:35.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:53:35.436Z] + ls -al . [2020-10-19T07:53:35.436Z] total 188 [2020-10-19T07:53:35.436Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:53 . [2020-10-19T07:53:35.436Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 19 07:51 .. [2020-10-19T07:53:35.436Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:51 bin [2020-10-19T07:53:35.436Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:53 coverage.out [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:51 Dockerfile.build [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:51 .dockerignore [2020-10-19T07:53:35.436Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:51 example [2020-10-19T07:53:35.436Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:51 .git [2020-10-19T07:53:35.436Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:51 .github [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:51 .gitignore [2020-10-19T07:53:35.436Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 19 07:53 go.mod [2020-10-19T07:53:35.436Z] -rw-r--r--. 1 jenkins jenkins 13739 Oct 19 07:53 go.sum [2020-10-19T07:53:35.436Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:51 internal [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:51 Jenkinsfile [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:51 LICENSE [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:51 Makefile [2020-10-19T07:53:35.436Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:51 openapi [2020-10-19T07:53:35.436Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:51 pkg [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:51 README.md [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:51 RELEASE-NOTES.txt [2020-10-19T07:53:35.436Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:51 snap [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:50 VERSION [2020-10-19T07:53:35.436Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:53:35.755Z] + 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=5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c --label arch=amd64 --label version=0.0.0 . [2020-10-19T07:53:36.018Z] Sending build context to Docker daemon 2.431MB [2020-10-19T07:53:36.018Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:53:36.018Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:53:36.018Z] ---> c08faa30f138 [2020-10-19T07:53:36.018Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:53:36.593Z] ---> Running in 70279c04203f [2020-10-19T07:53:36.855Z] Removing intermediate container 70279c04203f [2020-10-19T07:53:36.855Z] ---> 94f0659897ec [2020-10-19T07:53:36.855Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:53:36.855Z] ---> Running in e6ec0e491782 [2020-10-19T07:53:37.119Z] Removing intermediate container e6ec0e491782 [2020-10-19T07:53:37.119Z] ---> b08c0dd9670a [2020-10-19T07:53:37.119Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:53:37.119Z] ---> Running in aebeb706afc2 [2020-10-19T07:53:37.389Z] Removing intermediate container aebeb706afc2 [2020-10-19T07:53:37.389Z] ---> d25bc8bf8061 [2020-10-19T07:53:37.389Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:53:37.389Z] ---> Running in 8afcf62c38fe [2020-10-19T07:53:37.952Z] OK: 142 MiB in 39 packages [2020-10-19T07:53:38.341Z] Removing intermediate container 8afcf62c38fe [2020-10-19T07:53:38.341Z] ---> c255c1e522eb [2020-10-19T07:53:38.341Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:53:38.341Z] ---> Running in d03273bb493e [2020-10-19T07:53:38.554Z] Removing intermediate container 3f4d614e7c61 [2020-10-19T07:53:38.554Z] ---> b1831c7a8362 [2020-10-19T07:53:38.554Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:53:38.831Z] ---> Running in 7900c5ef3a15 [2020-10-19T07:53:38.916Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:53:39.108Z] Removing intermediate container 7900c5ef3a15 [2020-10-19T07:53:39.108Z] ---> fa4f4103f6a5 [2020-10-19T07:53:39.108Z] Step 7/8 : COPY . . [2020-10-19T07:53:40.558Z] ---> 0db2e8a48be0 [2020-10-19T07:53:40.558Z] Step 8/8 : RUN go mod download [2020-10-19T07:53:40.837Z] ---> Running in 8ca6e65a894f [2020-10-19T07:53:43.131Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:54:01.283Z] OK: 166 MiB in 39 packages [2020-10-19T07:54:01.283Z] Removing intermediate container d03273bb493e [2020-10-19T07:54:01.283Z] ---> 821399615ba9 [2020-10-19T07:54:01.283Z] Step 8/24 : COPY . . [2020-10-19T07:54:01.283Z] ---> 764cb6352705 [2020-10-19T07:54:01.283Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:54:01.283Z] ---> Running in feea7878731d [2020-10-19T07:54:01.552Z] 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:54:07.629Z] Removing intermediate container 8ca6e65a894f [2020-10-19T07:54:07.629Z] ---> 236dc8d836ed [2020-10-19T07:54:07.629Z] Successfully built 236dc8d836ed [2020-10-19T07:54:07.629Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:54:08.053Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:54:08.054Z] . [Pipeline] withDockerContainer [2020-10-19T07:54:08.304Z] prd-ubuntu18.04-docker-arm64-4c-16g-6243 does not seem to be running inside a container [2020-10-19T07:54:08.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:54:09.812Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:54:10.250Z] $ docker top a5ad166c1a2c0882f46eb74eca120ee1574185b40e7a4ae98bf6d8a42f3def22 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:54:11.735Z] Removing intermediate container feea7878731d [2020-10-19T07:54:11.735Z] ---> 9bd7515424cb [2020-10-19T07:54:11.735Z] Step 10/24 : FROM scratch [2020-10-19T07:54:11.735Z] ---> [2020-10-19T07:54:11.735Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:54:11.735Z] ---> Running in 07f7361a41ad [2020-10-19T07:54:11.735Z] Removing intermediate container 07f7361a41ad [2020-10-19T07:54:11.735Z] ---> 14841a8ce0ea [2020-10-19T07:54:11.735Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:54:11.735Z] ---> Running in 2ae0b941f71b [2020-10-19T07:54:11.769Z] + go version [2020-10-19T07:54:11.769Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T07:54:11.789Z] $ docker stop --time=1 a5ad166c1a2c0882f46eb74eca120ee1574185b40e7a4ae98bf6d8a42f3def22 [2020-10-19T07:54:11.998Z] Removing intermediate container 2ae0b941f71b [2020-10-19T07:54:11.998Z] ---> fe1fa8101e30 [2020-10-19T07:54:11.998Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:54:11.998Z] ---> Running in b31084550dfc [2020-10-19T07:54:12.261Z] Removing intermediate container b31084550dfc [2020-10-19T07:54:12.261Z] ---> 4968f6a1594a [2020-10-19T07:54:12.261Z] Step 14/24 : WORKDIR / [2020-10-19T07:54:12.261Z] ---> Running in ba9d545ddd1f [2020-10-19T07:54:12.522Z] Removing intermediate container ba9d545ddd1f [2020-10-19T07:54:12.522Z] ---> 5dbaa244ba9a [2020-10-19T07:54:12.522Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:54:12.783Z] ---> 12eb367ca775 [2020-10-19T07:54:12.783Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:54:13.045Z] ---> 9e8490e6a657 [2020-10-19T07:54:13.045Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:54:13.306Z] ---> 6d7381200b2a [2020-10-19T07:54:13.306Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:54:13.569Z] ---> 22b2c9aa91bc [2020-10-19T07:54:13.569Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:54:13.649Z] $ docker rm -f a5ad166c1a2c0882f46eb74eca120ee1574185b40e7a4ae98bf6d8a42f3def22 [2020-10-19T07:54:13.831Z] ---> 128687b4e7e3 [2020-10-19T07:54:13.831Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:54:13.831Z] ---> Running in 6243c32e21dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-19T07:54:14.094Z] Removing intermediate container 6243c32e21dd [2020-10-19T07:54:14.094Z] ---> 9ad2f49193dc [2020-10-19T07:54:14.094Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:54:14.094Z] ---> Running in 378dee5d8312 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2020-10-19T07:54:14.359Z] Removing intermediate container 378dee5d8312 [2020-10-19T07:54:14.359Z] ---> 2757e08ef050 [2020-10-19T07:54:14.359Z] Step 22/24 : LABEL arch=amd64 [2020-10-19T07:54:14.359Z] ---> Running in 1426fa9505f8 [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:54:14.621Z] Removing intermediate container 1426fa9505f8 [2020-10-19T07:54:14.621Z] ---> 68240f6c372d [2020-10-19T07:54:14.621Z] Step 23/24 : LABEL git_sha=5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c [2020-10-19T07:54:14.621Z] ---> Running in 2b5d6f11bbda [2020-10-19T07:54:14.746Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:54:14.746Z] . [Pipeline] withDockerContainer [2020-10-19T07:54:14.884Z] Removing intermediate container 2b5d6f11bbda [2020-10-19T07:54:14.884Z] ---> 0035e15d8fd7 [2020-10-19T07:54:14.884Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:54:14.884Z] ---> Running in e6661ddc8500 [2020-10-19T07:54:14.884Z] Removing intermediate container e6661ddc8500 [2020-10-19T07:54:14.884Z] ---> ef85c5b9ff24 [2020-10-19T07:54:14.884Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:54:14.984Z] prd-ubuntu18.04-docker-arm64-4c-16g-6243 does not seem to be running inside a container [2020-10-19T07:54:15.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:54:15.146Z] Successfully built ef85c5b9ff24 [2020-10-19T07:54:15.146Z] Successfully tagged docker-device-sdk-simple:latest [2020-10-19T07:54:16.817Z] $ docker top 6ffe5b8ac0bf4edb7b2b87ee619ebfcde39ff3c9ae7b66693d52869be66d2514 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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 [2020-10-19T07:54:18.247Z] + make test [2020-10-19T07:54:18.247Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-19T07:54:40.468Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:55:19.577Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:55:19.577Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:55:19.577Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:55:21.031Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.117s coverage: 21.6% of statements [2020-10-19T07:55:26.466Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.246s coverage: 97.1% of statements [2020-10-19T07:55:53.300Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.116s coverage: 9.4% of statements [2020-10-19T07:55:53.300Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.117s coverage: 21.9% of statements [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:55:53.300Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.608s coverage: 42.6% of statements [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:55:53.300Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.848s coverage: 68.9% of statements [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:55:53.300Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.169s coverage: 52.6% of statements [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:55:53.300Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.003s coverage: 68.9% of statements [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:55:53.300Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:55:53.300Z] GO111MODULE=on go vet ./... [2020-10-19T07:56:25.710Z] gofmt -l . [2020-10-19T07:56:25.710Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:56:25.710Z] ./bin/test-attribution-txt.sh [2020-10-19T07:56:25.710Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:56:26.000Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T07:56:26.813Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:56:26.818Z] $ docker stop --time=1 6ffe5b8ac0bf4edb7b2b87ee619ebfcde39ff3c9ae7b66693d52869be66d2514 [2020-10-19T07:56:29.189Z] $ docker rm -f 6ffe5b8ac0bf4edb7b2b87ee619ebfcde39ff3c9ae7b66693d52869be66d2514 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:56:30.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:56:31.141Z] + ls -al . [2020-10-19T07:56:31.141Z] total 224 [2020-10-19T07:56:31.141Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:56 . [2020-10-19T07:56:31.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:52 .. [2020-10-19T07:56:31.141Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:52 .dockerignore [2020-10-19T07:56:31.141Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:53 .git [2020-10-19T07:56:31.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:52 .github [2020-10-19T07:56:31.141Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:52 .gitignore [2020-10-19T07:56:31.141Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:52 Dockerfile.build [2020-10-19T07:56:31.141Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:52 Jenkinsfile [2020-10-19T07:56:31.141Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:52 LICENSE [2020-10-19T07:56:31.141Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:52 Makefile [2020-10-19T07:56:31.141Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:52 README.md [2020-10-19T07:56:31.141Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:52 RELEASE-NOTES.txt [2020-10-19T07:56:31.141Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:50 VERSION [2020-10-19T07:56:31.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:52 bin [2020-10-19T07:56:31.141Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:55 coverage.out [2020-10-19T07:56:31.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:52 example [2020-10-19T07:56:31.141Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 19 07:56 go.mod [2020-10-19T07:56:31.141Z] -rw-r--r-- 1 jenkins jenkins 13739 Oct 19 07:56 go.sum [2020-10-19T07:56:31.141Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:52 internal [2020-10-19T07:56:31.142Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:52 openapi [2020-10-19T07:56:31.142Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:52 pkg [2020-10-19T07:56:31.142Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:52 snap [2020-10-19T07:56:31.142Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:56:31.531Z] + 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=5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c --label arch=arm64 --label version=0.0.0 . [2020-10-19T07:56:32.132Z] Sending build context to Docker daemon 2.431MB [2020-10-19T07:56:32.132Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:56:32.132Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:56:32.132Z] ---> 236dc8d836ed [2020-10-19T07:56:32.132Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:56:32.416Z] ---> Running in 0764debadac2 [2020-10-19T07:56:32.698Z] Removing intermediate container 0764debadac2 [2020-10-19T07:56:32.698Z] ---> dc2a7b063c6c [2020-10-19T07:56:32.698Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:56:32.976Z] ---> Running in d03bab067603 [2020-10-19T07:56:33.573Z] Removing intermediate container d03bab067603 [2020-10-19T07:56:33.573Z] ---> 22ab89e3a467 [2020-10-19T07:56:33.573Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:56:33.573Z] ---> Running in c1f326bcab4f [2020-10-19T07:56:33.851Z] Removing intermediate container c1f326bcab4f [2020-10-19T07:56:33.851Z] ---> 3eae64eedc2c [2020-10-19T07:56:33.851Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:56:34.138Z] ---> Running in fbda63652784 [2020-10-19T07:56:36.773Z] Removing intermediate container fbda63652784 [2020-10-19T07:56:36.773Z] ---> 508b592b4d40 [2020-10-19T07:56:36.773Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:56:36.773Z] ---> Running in d0ce29ee2749 [2020-10-19T07:56:38.213Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:56:39.194Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:56:40.630Z] OK: 142 MiB in 39 packages [2020-10-19T07:56:41.611Z] Removing intermediate container d0ce29ee2749 [2020-10-19T07:56:41.611Z] ---> f156885709fa [2020-10-19T07:56:41.611Z] Step 8/24 : COPY . . [2020-10-19T07:56:43.046Z] ---> 10a2e74156c7 [2020-10-19T07:56:43.046Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:56:43.046Z] ---> Running in 8ef14cc32954 [2020-10-19T07:56:44.482Z] 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:57:16.867Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:57:16.867Z] Removing intermediate container 8ef14cc32954 [2020-10-19T07:57:16.867Z] ---> f79482171e66 [2020-10-19T07:57:16.867Z] Step 10/24 : FROM scratch [2020-10-19T07:57:16.867Z] ---> [2020-10-19T07:57:16.867Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:57:16.867Z] ---> Running in 5ee3ce67051a [2020-10-19T07:57:16.867Z] Removing intermediate container 5ee3ce67051a [2020-10-19T07:57:16.867Z] ---> d865530427c3 [2020-10-19T07:57:16.867Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:57:16.867Z] ---> Running in aecf2b94b6a7 [2020-10-19T07:57:16.867Z] Removing intermediate container aecf2b94b6a7 [2020-10-19T07:57:16.867Z] ---> 789536a2ea18 [2020-10-19T07:57:16.867Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:57:16.867Z] ---> Running in 048dcd39059b [2020-10-19T07:57:16.867Z] Removing intermediate container 048dcd39059b [2020-10-19T07:57:16.867Z] ---> 7bbb2e743dcc [2020-10-19T07:57:16.867Z] Step 14/24 : WORKDIR / [2020-10-19T07:57:16.867Z] ---> Running in 3cb5ee11c431 [2020-10-19T07:57:16.867Z] Removing intermediate container 3cb5ee11c431 [2020-10-19T07:57:16.867Z] ---> d492fa9ca52e [2020-10-19T07:57:16.867Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:57:17.843Z] ---> eb245a922e53 [2020-10-19T07:57:17.843Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:57:18.440Z] ---> f5369d1f5659 [2020-10-19T07:57:18.440Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:57:19.034Z] ---> 66a57e5c7f93 [2020-10-19T07:57:19.034Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:57:19.631Z] ---> dd9a4ab527b5 [2020-10-19T07:57:19.631Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:57:20.228Z] ---> 1e444b12dfb5 [2020-10-19T07:57:20.228Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:57:20.501Z] ---> Running in 2aeab7740fe0 [2020-10-19T07:57:21.094Z] Removing intermediate container 2aeab7740fe0 [2020-10-19T07:57:21.094Z] ---> df0d2d1a2291 [2020-10-19T07:57:21.094Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:57:21.094Z] ---> Running in 8ca1f7157b91 [2020-10-19T07:57:21.370Z] Removing intermediate container 8ca1f7157b91 [2020-10-19T07:57:21.370Z] ---> 099397f11d6c [2020-10-19T07:57:21.370Z] Step 22/24 : LABEL arch=arm64 [2020-10-19T07:57:21.644Z] ---> Running in 905eb81458d0 [2020-10-19T07:57:22.241Z] Removing intermediate container 905eb81458d0 [2020-10-19T07:57:22.241Z] ---> ddfb5c30cd83 [2020-10-19T07:57:22.241Z] Step 23/24 : LABEL git_sha=5e1cc3ab54a43baaa623e6c1f878d7880ce26f1c [2020-10-19T07:57:22.241Z] ---> Running in cfbaed2e01c4 [2020-10-19T07:57:22.839Z] Removing intermediate container cfbaed2e01c4 [2020-10-19T07:57:22.839Z] ---> 1c12338ab170 [2020-10-19T07:57:22.839Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:57:22.839Z] ---> Running in 18241eb6dda4 [2020-10-19T07:57:23.432Z] Removing intermediate container 18241eb6dda4 [2020-10-19T07:57:23.432Z] ---> d33dcaa03718 [2020-10-19T07:57:23.432Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:57:23.432Z] Successfully built d33dcaa03718 [2020-10-19T07:57:23.432Z] 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:57:25.640Z] provisioning config files... [2020-10-19T07:57:25.660Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/config5743868566573757833tmp [Pipeline] { [Pipeline] sh [2020-10-19T07:57:26.054Z] + set +x [2020-10-19T07:57:26.054Z] + curl -s https://codecov.io/bash [2020-10-19T07:57:26.054Z] + bash -s -- [2020-10-19T07:57:26.321Z] [2020-10-19T07:57:26.321Z] _____ _ [2020-10-19T07:57:26.321Z] / ____| | | [2020-10-19T07:57:26.321Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T07:57:26.321Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T07:57:26.321Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T07:57:26.321Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T07:57:26.321Z] Bash-20201009-048fee3 [2020-10-19T07:57:26.321Z] [2020-10-19T07:57:26.321Z] [2020-10-19T07:57:26.321Z] ==> Jenkins CI detected. [2020-10-19T07:57:26.321Z] project root: . [2020-10-19T07:57:26.321Z] Fixing merge commit SHA [2020-10-19T07:57:26.321Z] --> token set from env [2020-10-19T07:57:26.321Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T07:57:26.321Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T07:57:26.321Z] ==> Python coveragepy not found [2020-10-19T07:57:26.321Z] ==> Searching for coverage reports in: [2020-10-19T07:57:26.321Z] + . [2020-10-19T07:57:26.321Z] -> Found 1 reports [2020-10-19T07:57:26.321Z] ==> Detecting git/mercurial file structure [2020-10-19T07:57:26.321Z] ==> Reading reports [2020-10-19T07:57:26.589Z] + ./coverage.out bytes=110398 [2020-10-19T07:57:26.589Z] ==> Appending adjustments [2020-10-19T07:57:26.589Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T07:57:27.190Z] + Found adjustments [2020-10-19T07:57:27.190Z] ==> Gzipping contents [2020-10-19T07:57:27.190Z] ==> Uploading reports [2020-10-19T07:57:27.190Z] url: https://codecov.io [2020-10-19T07:57:27.190Z] query: branch=PR-631&commit=6cec193abf44cabffe02bbcaff9748adb3f719d5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-631%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=631&job=&cmd_args= [2020-10-19T07:57:27.190Z] -> Pinging Codecov [2020-10-19T07:57:27.190Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-631&commit=6cec193abf44cabffe02bbcaff9748adb3f719d5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-631%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=631&job=&cmd_args= [2020-10-19T07:57:27.461Z] -> Uploading to [2020-10-19T07:57:27.461Z] [2020-10-19T07:57:27.461Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:57:27.461Z] Dload Upload Total Spent Left Speed [2020-10-19T07:57:27.461Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T07:57:27.461Z] X> Failed to upload [2020-10-19T07:57:27.461Z] ==> Uploading to Codecov [2020-10-19T07:57:27.461Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:57:27.461Z] Dload Upload Total Spent Left Speed [2020-10-19T07:57:28.328Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19145 100 110 100 19035 149 25832 --:--:-- --:--:-- --:--:-- 25827 [2020-10-19T07:57:28.328Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6cec193abf44cabffe02bbcaff9748adb3f719d5 [Pipeline] } [2020-10-19T07:57:28.341Z] 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:57:31.024Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:57:31.656Z] ---> package-listing.sh [2020-10-19T07:57:31.656Z] ++ facter osfamily [2020-10-19T07:57:31.656Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T07:57:31.929Z] + OS_FAMILY=redhat [2020-10-19T07:57:31.929Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-631 [2020-10-19T07:57:31.929Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T07:57:31.929Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T07:57:31.929Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T07:57:31.929Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T07:57:31.929Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-631 ']' [2020-10-19T07:57:31.929Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T07:57:31.929Z] + case "${OS_FAMILY}" in [2020-10-19T07:57:31.929Z] + rpm -qa [2020-10-19T07:57:31.929Z] + sort [2020-10-19T07:57:36.268Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T07:57:36.268Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T07:57:36.268Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T07:57:36.268Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-631 ']' [2020-10-19T07:57:36.268Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-631/archives/ [2020-10-19T07:57:36.268Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-631/archives/ [Pipeline] echo [2020-10-19T07:57:36.310Z] 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-631/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:57:36.698Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:57:37.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:57:37.315Z] [2020-10-19T07:57:37.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:57:37.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:57:37.689Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T07:57:37.689Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:57:37.689Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T07:57:37.689Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T07:57:37.689Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T07:57:37.689Z] 93b61091891f: Pulling fs layer [2020-10-19T07:57:37.689Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T07:57:37.689Z] 5e14af77c1be: Pulling fs layer [2020-10-19T07:57:37.689Z] 01666e4c0597: Pulling fs layer [2020-10-19T07:57:37.689Z] aa168da1d23b: Pulling fs layer [2020-10-19T07:57:37.689Z] 93b9cdb0e59b: Waiting [2020-10-19T07:57:37.689Z] 5e14af77c1be: Waiting [2020-10-19T07:57:37.689Z] 46f8f816bc3b: Waiting [2020-10-19T07:57:37.689Z] 01666e4c0597: Waiting [2020-10-19T07:57:37.689Z] 93b61091891f: Waiting [2020-10-19T07:57:37.689Z] aa168da1d23b: Waiting [2020-10-19T07:57:37.969Z] 36b3adc4ff6f: Verifying Checksum [2020-10-19T07:57:37.969Z] 36b3adc4ff6f: Download complete [2020-10-19T07:57:37.969Z] 46f8f816bc3b: Verifying Checksum [2020-10-19T07:57:37.969Z] 46f8f816bc3b: Download complete [2020-10-19T07:57:37.969Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:57:37.969Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T07:57:37.969Z] 93b9cdb0e59b: Download complete [2020-10-19T07:57:37.969Z] 5e14af77c1be: Verifying Checksum [2020-10-19T07:57:37.969Z] 5e14af77c1be: Download complete [2020-10-19T07:57:37.969Z] 93b61091891f: Verifying Checksum [2020-10-19T07:57:37.969Z] 93b61091891f: Download complete [2020-10-19T07:57:37.969Z] 01666e4c0597: Verifying Checksum [2020-10-19T07:57:37.969Z] 01666e4c0597: Download complete [2020-10-19T07:57:38.576Z] df20fa9351a1: Pull complete [2020-10-19T07:57:38.859Z] 36b3adc4ff6f: Pull complete [2020-10-19T07:57:39.504Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T07:57:39.504Z] 8ad3a11d3b57: Download complete [2020-10-19T07:57:40.975Z] 8ad3a11d3b57: Pull complete [2020-10-19T07:57:41.268Z] 46f8f816bc3b: Pull complete [2020-10-19T07:57:42.302Z] 93b61091891f: Pull complete [2020-10-19T07:57:42.302Z] 93b9cdb0e59b: Pull complete [2020-10-19T07:57:42.618Z] 5e14af77c1be: Pull complete [2020-10-19T07:57:42.906Z] 01666e4c0597: Pull complete [2020-10-19T07:57:43.521Z] aa168da1d23b: Verifying Checksum [2020-10-19T07:57:43.521Z] aa168da1d23b: Download complete [2020-10-19T07:57:53.719Z] aa168da1d23b: Pull complete [2020-10-19T07:57:53.719Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T07:57:53.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:57:53.719Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T07:57:54.072Z] prd-centos7-docker-4c-2g-6234 does not seem to be running inside a container [2020-10-19T07:57:54.151Z] $ 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-631/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-631 -v /w/workspace/dgexfoundry_device-sdk-go_PR-631:/w/workspace/dgexfoundry_device-sdk-go_PR-631:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-631@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:58:02.497Z] $ docker top 5bae206b98d47dd0f285c5831821d503b1bda228b721a04b0c3938723aa458af -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:58:03.250Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T07:58:03.601Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T07:58:04.027Z] + ls /var/log/sa-host [2020-10-19T07:58:04.027Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T07:58:04.027Z] file_magic: OK [2020-10-19T07:58:04.027Z] HZ: Using current value: 100 [2020-10-19T07:58:04.027Z] file_header: OK [2020-10-19T07:58:04.027Z] 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:58:04.027Z] Statistics: [2020-10-19T07:58:04.027Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:58:04.027Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T07:58:04.027Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T07:58:04.027Z] file_magic: OK [2020-10-19T07:58:04.027Z] HZ: Using current value: 100 [2020-10-19T07:58:04.027Z] file_header: OK [2020-10-19T07:58:04.028Z] 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:58:04.028Z] Statistics: [2020-10-19T07:58:04.028Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:58:04.028Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T07:58:04.310Z] provisioning config files... [2020-10-19T07:58:04.333Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/config4974347985045727759tmp [Pipeline] { [Pipeline] echo [2020-10-19T07:58:04.476Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:58:04.870Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T07:58:05.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T07:58:05.257Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:58:05.577Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T07:58:05.588Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:58:05.901Z] ---> sudo-logs.sh [2020-10-19T07:58:05.901Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T07:58:05.914Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:58:06.227Z] ---> job-cost.sh [2020-10-19T07:58:06.227Z] lf-activate-venv: SKIPPING [2020-10-19T07:58:06.227Z] INFO: No Stack... [2020-10-19T07:58:08.792Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T07:58:09.056Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T07:58:09.072Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:58:09.389Z] ---> logs-deploy.sh [2020-10-19T07:58:09.389Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-631/4 [2020-10-19T07:58:09.389Z] INFO: archiving workspace using pattern(s): [2020-10-19T07:58:11.421Z] Archives upload complete. [2020-10-19T07:58:11.712Z] INFO: archiving logs to Nexus