Pull request #641 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 05d1f853f5880cdb9445e60f8b648f3cd2ce42de+6cec193abf44cabffe02bbcaff9748adb3f719d5 (af3e6396ffbde117e23c2005170db0e12d4fb827) 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-8159 in /w/workspace/dgexfoundry_device-sdk-go_PR-641 [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-641 # 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/641/head:refs/remotes/origin/PR-641 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 05d1f853f5880cdb9445e60f8b648f3cd2ce42de Merge succeeded, producing 05d1f853f5880cdb9445e60f8b648f3cd2ce42de Checking out Revision 05d1f853f5880cdb9445e60f8b648f3cd2ce42de (PR-641) > git config core.sparsecheckout # timeout=10 > git checkout -f 05d1f853f5880cdb9445e60f8b648f3cd2ce42de # 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 05d1f853f5880cdb9445e60f8b648f3cd2ce42de # timeout=10 Commit message: "refactor: update LogLevel for pushing event to coredata" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-22T04:50:31.993Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-22T04:50:32.311Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-22T04:50:32.442Z] ========================================================= [2020-10-22T04:50:32.442Z] EdgeX Global Pipelines Version Info [2020-10-22T04:50:32.442Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4f6ce5258a67d5e9552aa0cf618d0a2acf7b7b89 # timeout=10 [2020-10-22T04:50:33.970Z] ------------------- [2020-10-22T04:50:33.970Z] stable info: [2020-10-22T04:50:33.970Z] ------------------- [2020-10-22T04:50:33.971Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-22T04:50:33.971Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-22T04:50:33.971Z] Message: update stable to v1.0.144 [2020-10-22T04:50:34.918Z] ------------------- [2020-10-22T04:50:34.918Z] experimental info: [2020-10-22T04:50:34.918Z] ------------------- [2020-10-22T04:50:34.918Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-22T04:50:34.918Z] Commit SHA: 621c85e0770955ed183ee9564161f3cbfe69c868 [2020-10-22T04:50:34.918Z] Message: update experimental to v1.0.147 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-22T04:50:35.367Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-22T04:50:35.473Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-22T04:50:35.592Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-22T04:50:35.713Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-22T04:50:35.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-22T04:50:35.906Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-22T04:50:36.017Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-22T04:50:36.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-22T04:50:36.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-22T04:50:36.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-22T04:50:36.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-22T04:50:36.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-22T04:50:36.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-22T04:50:36.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-22T04:50:36.859Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-22T04:50:36.964Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-22T04:50:37.059Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-22T04:50:37.152Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-22T04:50:37.263Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-22T04:50:37.380Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-22T04:50:37.477Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-22T04:50:37.573Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-22T04:50:37.674Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-22T04:50:37.821Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-22T04:50:37.934Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-22T04:50:38.036Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-641 [Pipeline] echo [2020-10-22T04:50:38.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-641 [Pipeline] echo [2020-10-22T04:50:38.283Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-641 [Pipeline] echo [2020-10-22T04:50:38.372Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05d1f853f5880cdb9445e60f8b648f3cd2ce42de [Pipeline] echo [2020-10-22T04:50:38.500Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05d1f85 [Pipeline] echo [2020-10-22T04:50:38.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-22T04:50:39.217Z] + git log --format=format:%s -1 05d1f853f5880cdb9445e60f8b648f3cd2ce42de [Pipeline] echo [2020-10-22T04:50:39.277Z] GIT_COMMIT: 05d1f853f5880cdb9445e60f8b648f3cd2ce42de, Commit Message: refactor: update LogLevel for pushing event to coredata [Pipeline] echo [2020-10-22T04:50:39.322Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:50:39.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-22T04:50:40.183Z] [2020-10-22T04:50:40.183Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:50:40.560Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-22T04:50:40.561Z] latest: Pulling from edgex-devops/git-semver [2020-10-22T04:50:40.561Z] 31603596830f: Pulling fs layer [2020-10-22T04:50:40.561Z] 2a8b12db71e7: Pulling fs layer [2020-10-22T04:50:40.561Z] 6ca5941a6612: Pulling fs layer [2020-10-22T04:50:40.561Z] ecc8261a40a4: Pulling fs layer [2020-10-22T04:50:40.561Z] ecc8261a40a4: Waiting [2020-10-22T04:50:40.561Z] 2a8b12db71e7: Verifying Checksum [2020-10-22T04:50:40.561Z] 2a8b12db71e7: Download complete [2020-10-22T04:50:40.827Z] 31603596830f: Download complete [2020-10-22T04:50:40.827Z] ecc8261a40a4: Verifying Checksum [2020-10-22T04:50:40.827Z] ecc8261a40a4: Download complete [2020-10-22T04:50:41.093Z] 6ca5941a6612: Verifying Checksum [2020-10-22T04:50:41.093Z] 6ca5941a6612: Download complete [2020-10-22T04:50:41.356Z] 31603596830f: Pull complete [2020-10-22T04:50:41.356Z] 2a8b12db71e7: Pull complete [2020-10-22T04:50:42.312Z] 6ca5941a6612: Pull complete [2020-10-22T04:50:42.577Z] ecc8261a40a4: Pull complete [2020-10-22T04:50:42.577Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-22T04:50:42.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-22T04:50:42.577Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-22T04:50:42.758Z] prd-centos7-docker-4c-2g-8159 does not seem to be running inside a container [2020-10-22T04:50:42.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-641 -v /w/workspace/dgexfoundry_device-sdk-go_PR-641:/w/workspace/dgexfoundry_device-sdk-go_PR-641:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-641@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:10004/edgex-devops/git-semver:latest cat [2020-10-22T04:50:45.204Z] $ docker top 9ca4719740ebae050a9069cff4b7b52c5584b3e7826c1d3ca6118d7ea85c70cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-22T04:50:45.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-22T04:50:45.520Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-22T04:50:45.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-22T04:50:45.767Z] $ docker exec 9ca4719740ebae050a9069cff4b7b52c5584b3e7826c1d3ca6118d7ea85c70cb ssh-agent [2020-10-22T04:50:45.939Z] SSH_AUTH_SOCK=/tmp/ssh-FV9Pde2wIFn1/agent.11 [2020-10-22T04:50:45.939Z] SSH_AGENT_PID=16 [2020-10-22T04:50:45.954Z] Running ssh-add (command line suppressed) [2020-10-22T04:50:46.072Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_4142909697166626125.key (/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_4142909697166626125.key) [2020-10-22T04:50:46.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-22T04:50:46.465Z] + git tag --points-at HEAD [Pipeline] } [2020-10-22T04:50:46.492Z] $ docker exec --env ******** --env ******** 9ca4719740ebae050a9069cff4b7b52c5584b3e7826c1d3ca6118d7ea85c70cb ssh-agent -k [2020-10-22T04:50:46.607Z] unset SSH_AUTH_SOCK; [2020-10-22T04:50:46.608Z] unset SSH_AGENT_PID; [2020-10-22T04:50:46.608Z] echo Agent pid 16 killed; [2020-10-22T04:50:46.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-22T04:50:46.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-22T04:50:46.866Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-22T04:50:47.033Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-22T04:50:47.039Z] $ docker exec 9ca4719740ebae050a9069cff4b7b52c5584b3e7826c1d3ca6118d7ea85c70cb ssh-agent [2020-10-22T04:50:47.192Z] SSH_AUTH_SOCK=/tmp/ssh-6zgc31UzDMK7/agent.46 [2020-10-22T04:50:47.192Z] SSH_AGENT_PID=52 [2020-10-22T04:50:47.199Z] Running ssh-add (command line suppressed) [2020-10-22T04:50:47.343Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_1023104435118274957.key (/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/private_key_1023104435118274957.key) [2020-10-22T04:50:47.392Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-22T04:50:47.735Z] + git semver init [2020-10-22T04:50:47.736Z] # -> Open(): unable to determine branch for HEAD [2020-10-22T04:50:47.736Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-641/.git [2020-10-22T04:50:47.736Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-641 [2020-10-22T04:50:47.736Z] # $SEMVER_REMOTE_NAME = origin [2020-10-22T04:50:47.736Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-22T04:50:47.736Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-22T04:50:47.736Z] # $SEMVER_BRANCH = PR-641 [2020-10-22T04:50:47.736Z] # $SEMVER_TEMP = /tmp/semver-031705822 [2020-10-22T04:50:47.736Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-22T04:50:48.311Z] # '/tmp/semver-031705822' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-641/.semver' [2020-10-22T04:50:48.311Z] # -> Force: false [2020-10-22T04:50:48.311Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-641/.semver [Pipeline] } [2020-10-22T04:50:48.327Z] $ docker exec --env ******** --env ******** 9ca4719740ebae050a9069cff4b7b52c5584b3e7826c1d3ca6118d7ea85c70cb ssh-agent -k [2020-10-22T04:50:48.444Z] unset SSH_AUTH_SOCK; [2020-10-22T04:50:48.444Z] unset SSH_AGENT_PID; [2020-10-22T04:50:48.444Z] echo Agent pid 52 killed; [2020-10-22T04:50:48.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-22T04:50:49.028Z] + git semver [Pipeline] } [2020-10-22T04:50:49.049Z] $ docker stop --time=1 9ca4719740ebae050a9069cff4b7b52c5584b3e7826c1d3ca6118d7ea85c70cb [2020-10-22T04:50:50.664Z] $ docker rm -f 9ca4719740ebae050a9069cff4b7b52c5584b3e7826c1d3ca6118d7ea85c70cb [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-22T04:50:51.142Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-22T04:50:51.768Z] Stashed 1 file(s) [Pipeline] echo [2020-10-22T04:50:51.772Z] [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-22T04:51:07.389Z] Still waiting to schedule task [2020-10-22T04:51:07.389Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-22T04:51:07.392Z] Still waiting to schedule task [2020-10-22T04:51:07.392Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-22T04:53:54.251Z] Running on prd-centos7-docker-4c-2g-8160 in /w/workspace/dgexfoundry_device-sdk-go_PR-641 [Pipeline] { [Pipeline] ws [2020-10-22T04:53:54.358Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-22T04:53:57.452Z] using credential edgex-jenkins-ssh [2020-10-22T04:53:57.509Z] Cloning the remote Git repository [2020-10-22T04:53:57.555Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T04:53:57.652Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-22T04:53:57.709Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T04:53:57.709Z] > git --version # timeout=10 [2020-10-22T04:53:57.717Z] > git --version # 'git version 2.16.5' [2020-10-22T04:53:57.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T04:53:57.746Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T04:53:58.922Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 05d1f853f5880cdb9445e60f8b648f3cd2ce42de [2020-10-22T04:53:59.024Z] Merge succeeded, producing 05d1f853f5880cdb9445e60f8b648f3cd2ce42de [2020-10-22T04:53:59.025Z] Checking out Revision 05d1f853f5880cdb9445e60f8b648f3cd2ce42de (PR-641) [2020-10-22T04:53:58.395Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T04:53:58.401Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T04:53:58.418Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T04:53:58.444Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T04:53:58.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T04:53:58.448Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-22T04:53:58.936Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T04:53:58.941Z] > git checkout -f 05d1f853f5880cdb9445e60f8b648f3cd2ce42de # timeout=10 [2020-10-22T04:53:58.993Z] > git remote # timeout=10 [2020-10-22T04:53:58.997Z] > git config --get remote.origin.url # timeout=10 [2020-10-22T04:53:59.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T04:53:59.004Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-22T04:53:59.019Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-22T04:53:59.035Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T04:53:59.040Z] > git checkout -f 05d1f853f5880cdb9445e60f8b648f3cd2ce42de # timeout=10 [2020-10-22T04:54:02.706Z] Commit message: "refactor: update LogLevel for pushing event to coredata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-22T04:54:03.617Z] ========================================================= [2020-10-22T04:54:03.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-22T04:54:03.617Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:54:04.435Z] + 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-22T04:54:05.018Z] Sending build context to Docker daemon 2.338MB [2020-10-22T04:54:05.018Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-22T04:54:05.018Z] Step 2/8 : FROM ${BASE} [2020-10-22T04:54:05.018Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-22T04:54:05.018Z] df20fa9351a1: Pulling fs layer [2020-10-22T04:54:05.018Z] ed8968b2872e: Pulling fs layer [2020-10-22T04:54:05.018Z] a92cc7c5fd73: Pulling fs layer [2020-10-22T04:54:05.018Z] e871e8e8d7a9: Pulling fs layer [2020-10-22T04:54:05.018Z] e73272ec9a57: Pulling fs layer [2020-10-22T04:54:05.018Z] 1e910a182e73: Pulling fs layer [2020-10-22T04:54:05.018Z] 4e634b169226: Pulling fs layer [2020-10-22T04:54:05.018Z] e73272ec9a57: Waiting [2020-10-22T04:54:05.018Z] 1e910a182e73: Waiting [2020-10-22T04:54:05.018Z] 4e634b169226: Waiting [2020-10-22T04:54:05.018Z] e871e8e8d7a9: Waiting [2020-10-22T04:54:05.286Z] a92cc7c5fd73: Verifying Checksum [2020-10-22T04:54:05.286Z] a92cc7c5fd73: Download complete [2020-10-22T04:54:05.286Z] ed8968b2872e: Download complete [2020-10-22T04:54:05.286Z] e73272ec9a57: Verifying Checksum [2020-10-22T04:54:05.286Z] e73272ec9a57: Download complete [2020-10-22T04:54:05.286Z] 1e910a182e73: Verifying Checksum [2020-10-22T04:54:05.286Z] 1e910a182e73: Download complete [2020-10-22T04:54:05.286Z] df20fa9351a1: Verifying Checksum [2020-10-22T04:54:05.286Z] df20fa9351a1: Download complete [2020-10-22T04:54:05.548Z] df20fa9351a1: Pull complete [2020-10-22T04:54:05.548Z] ed8968b2872e: Pull complete [2020-10-22T04:54:05.810Z] a92cc7c5fd73: Pull complete [2020-10-22T04:54:07.742Z] 4e634b169226: Verifying Checksum [2020-10-22T04:54:07.742Z] 4e634b169226: Download complete [2020-10-22T04:54:08.320Z] e871e8e8d7a9: Verifying Checksum [2020-10-22T04:54:08.320Z] e871e8e8d7a9: Download complete [2020-10-22T04:54:13.661Z] e871e8e8d7a9: Pull complete [2020-10-22T04:54:13.661Z] e73272ec9a57: Pull complete [2020-10-22T04:54:13.661Z] 1e910a182e73: Pull complete [2020-10-22T04:54:21.842Z] 4e634b169226: Pull complete [2020-10-22T04:54:21.842Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-22T04:54:21.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-22T04:54:21.842Z] ---> f7629b54cfaa [2020-10-22T04:54:21.842Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T04:54:22.107Z] ---> Running in ea6be8d32bed [2020-10-22T04:54:22.371Z] Removing intermediate container ea6be8d32bed [2020-10-22T04:54:22.371Z] ---> af68b875f216 [2020-10-22T04:54:22.371Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T04:54:22.634Z] ---> Running in 3d338f9f1a27 [2020-10-22T04:54:24.566Z] Removing intermediate container 3d338f9f1a27 [2020-10-22T04:54:24.566Z] ---> 2da121b971d2 [2020-10-22T04:54:24.566Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-22T04:54:24.566Z] ---> Running in 7130d901b37a [2020-10-22T04:54:24.828Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-22T04:54:25.406Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-22T04:54:25.981Z] OK: 166 MiB in 39 packages [2020-10-22T04:54:26.557Z] Removing intermediate container 7130d901b37a [2020-10-22T04:54:26.557Z] ---> 32dc47d8f1b4 [2020-10-22T04:54:26.557Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-22T04:54:26.557Z] ---> Running in 8f860d4d438a [2020-10-22T04:54:26.557Z] Removing intermediate container 8f860d4d438a [2020-10-22T04:54:26.557Z] ---> 653e533a11aa [2020-10-22T04:54:26.557Z] Step 7/8 : COPY . . [2020-10-22T04:54:27.963Z] ---> a858efe9a482 [2020-10-22T04:54:27.963Z] Step 8/8 : RUN go mod download [2020-10-22T04:54:27.963Z] ---> Running in b812f5cd230f [2020-10-22T04:54:46.126Z] Removing intermediate container b812f5cd230f [2020-10-22T04:54:46.126Z] ---> 978e6717e152 [2020-10-22T04:54:46.126Z] Successfully built 978e6717e152 [2020-10-22T04:54:46.126Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:54:46.490Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-22T04:54:46.490Z] . [Pipeline] withDockerContainer [2020-10-22T04:54:46.597Z] prd-centos7-docker-4c-2g-8160 does not seem to be running inside a container [2020-10-22T04:54:46.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-22T04:54:47.327Z] $ docker top c79d1963eb8a3d62b5cd3aad7442d89edc972df227c4550a6db8c13730385b5f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T04:54:47.839Z] + go version [2020-10-22T04:54:47.840Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-22T04:54:47.856Z] $ docker stop --time=1 c79d1963eb8a3d62b5cd3aad7442d89edc972df227c4550a6db8c13730385b5f [2020-10-22T04:54:49.214Z] $ docker rm -f c79d1963eb8a3d62b5cd3aad7442d89edc972df227c4550a6db8c13730385b5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:54:50.170Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-22T04:54:50.170Z] . [Pipeline] withDockerContainer [2020-10-22T04:54:50.319Z] prd-centos7-docker-4c-2g-8160 does not seem to be running inside a container [2020-10-22T04:54:50.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-22T04:54:50.967Z] $ docker top 3e3f66e978215eda9d0d2f86b004fc0fb8f3d68e6188eea032f186ac555e2472 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T04:54:51.477Z] + make test [2020-10-22T04:54:51.477Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-22T04:54:58.150Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-22T04:55:02.908Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8161 in /w/workspace/dgexfoundry_device-sdk-go_PR-641 [Pipeline] { [Pipeline] ws [2020-10-22T04:55:02.966Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-22T04:55:08.592Z] using credential edgex-jenkins-ssh [2020-10-22T04:55:08.654Z] Cloning the remote Git repository [2020-10-22T04:55:08.724Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T04:55:08.850Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-22T04:55:08.932Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T04:55:08.933Z] > git --version # timeout=10 [2020-10-22T04:55:08.958Z] > git --version # 'git version 2.17.1' [2020-10-22T04:55:08.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T04:55:09.045Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T04:55:10.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T04:55:10.169Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-22T04:55:10.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-22T04:55:10.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-22T04:55:10.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T04:55:10.257Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/641/head:refs/remotes/origin/PR-641 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-22T04:55:10.844Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 05d1f853f5880cdb9445e60f8b648f3cd2ce42de [2020-10-22T04:55:11.117Z] Merge succeeded, producing 05d1f853f5880cdb9445e60f8b648f3cd2ce42de [2020-10-22T04:55:11.117Z] Checking out Revision 05d1f853f5880cdb9445e60f8b648f3cd2ce42de (PR-641) [2020-10-22T04:55:10.871Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T04:55:10.903Z] > git checkout -f 05d1f853f5880cdb9445e60f8b648f3cd2ce42de # timeout=10 [2020-10-22T04:55:11.027Z] > git remote # timeout=10 [2020-10-22T04:55:11.049Z] > git config --get remote.origin.url # timeout=10 [2020-10-22T04:55:11.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-22T04:55:11.081Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-22T04:55:11.106Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-22T04:55:11.129Z] > git config core.sparsecheckout # timeout=10 [2020-10-22T04:55:11.147Z] > git checkout -f 05d1f853f5880cdb9445e60f8b648f3cd2ce42de # timeout=10 [2020-10-22T04:55:13.171Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-22T04:55:13.172Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-22T04:55:13.172Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-22T04:55:13.172Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.058s coverage: 21.6% of statements [2020-10-22T04:55:14.137Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.449s coverage: 97.1% of statements [2020-10-22T04:55:15.903Z] Commit message: "refactor: update LogLevel for pushing event to coredata" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-22T04:55:16.948Z] ========================================================= [2020-10-22T04:55:16.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-22T04:55:16.948Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:55:17.982Z] + 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-22T04:55:18.987Z] Sending build context to Docker daemon 2.338MB [2020-10-22T04:55:18.987Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-22T04:55:18.987Z] Step 2/8 : FROM ${BASE} [2020-10-22T04:55:19.262Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-22T04:55:19.262Z] b538f80385f9: Pulling fs layer [2020-10-22T04:55:19.262Z] 74f711af9a0d: Pulling fs layer [2020-10-22T04:55:19.262Z] 99f96fe45779: Pulling fs layer [2020-10-22T04:55:19.262Z] 8529a6b9a6be: Pulling fs layer [2020-10-22T04:55:19.262Z] 45590311c82a: Pulling fs layer [2020-10-22T04:55:19.262Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-22T04:55:19.262Z] 209524e5b208: Pulling fs layer [2020-10-22T04:55:19.262Z] 45590311c82a: Waiting [2020-10-22T04:55:19.262Z] 69ca0ff8b7b3: Waiting [2020-10-22T04:55:19.262Z] 209524e5b208: Waiting [2020-10-22T04:55:19.262Z] 8529a6b9a6be: Waiting [2020-10-22T04:55:19.262Z] 99f96fe45779: Verifying Checksum [2020-10-22T04:55:19.262Z] 99f96fe45779: Download complete [2020-10-22T04:55:19.262Z] 74f711af9a0d: Verifying Checksum [2020-10-22T04:55:19.262Z] 74f711af9a0d: Download complete [2020-10-22T04:55:19.262Z] 45590311c82a: Verifying Checksum [2020-10-22T04:55:19.262Z] 45590311c82a: Download complete [2020-10-22T04:55:19.262Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-22T04:55:19.262Z] 69ca0ff8b7b3: Download complete [2020-10-22T04:55:19.865Z] b538f80385f9: Verifying Checksum [2020-10-22T04:55:19.865Z] b538f80385f9: Download complete [2020-10-22T04:55:20.859Z] b538f80385f9: Pull complete [2020-10-22T04:55:21.466Z] 74f711af9a0d: Pull complete [2020-10-22T04:55:22.076Z] 99f96fe45779: Pull complete [2020-10-22T04:55:22.076Z] 209524e5b208: Verifying Checksum [2020-10-22T04:55:22.076Z] 209524e5b208: Download complete [2020-10-22T04:55:23.517Z] 8529a6b9a6be: Verifying Checksum [2020-10-22T04:55:23.517Z] 8529a6b9a6be: Download complete [2020-10-22T04:55:33.660Z] 8529a6b9a6be: Pull complete [2020-10-22T04:55:33.660Z] 45590311c82a: Pull complete [2020-10-22T04:55:33.660Z] 69ca0ff8b7b3: Pull complete [2020-10-22T04:55:37.060Z] 209524e5b208: Pull complete [2020-10-22T04:55:37.060Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-22T04:55:37.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-22T04:55:37.060Z] ---> 5bddaf1c2fca [2020-10-22T04:55:37.060Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T04:55:40.481Z] ---> Running in 4b0b65af1408 [2020-10-22T04:55:40.756Z] Removing intermediate container 4b0b65af1408 [2020-10-22T04:55:40.756Z] ---> e4f1e86adbcd [2020-10-22T04:55:40.756Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T04:55:40.756Z] ---> Running in 572b1d3fd1b2 [2020-10-22T04:55:43.396Z] Removing intermediate container 572b1d3fd1b2 [2020-10-22T04:55:43.396Z] ---> f5a771d665e5 [2020-10-22T04:55:43.396Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-22T04:55:43.672Z] ---> Running in 46435ff994d2 [2020-10-22T04:55:45.114Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-22T04:55:46.100Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-22T04:55:46.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.061s coverage: 9.4% of statements [2020-10-22T04:55:46.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.9% of statements [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-22T04:55:46.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.213s coverage: 42.6% of statements [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-22T04:55:46.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.267s coverage: 68.9% of statements [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-22T04:55:46.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-22T04:55:46.309Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.342s coverage: 68.9% of statements [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-22T04:55:46.309Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-22T04:55:46.309Z] GO111MODULE=on go vet ./... [2020-10-22T04:55:46.697Z] OK: 142 MiB in 39 packages [2020-10-22T04:55:47.679Z] Removing intermediate container 46435ff994d2 [2020-10-22T04:55:47.679Z] ---> 42ccca677bd5 [2020-10-22T04:55:47.679Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-22T04:55:47.952Z] ---> Running in 8f24f3f1a287 [2020-10-22T04:55:48.549Z] Removing intermediate container 8f24f3f1a287 [2020-10-22T04:55:48.549Z] ---> 511853273a56 [2020-10-22T04:55:48.549Z] Step 7/8 : COPY . . [2020-10-22T04:55:49.983Z] ---> aee3699df637 [2020-10-22T04:55:49.983Z] Step 8/8 : RUN go mod download [2020-10-22T04:55:49.983Z] ---> Running in 29817637742f [2020-10-22T04:55:52.993Z] gofmt -l . [2020-10-22T04:55:52.993Z] [ "`gofmt -l .`" = "" ] [2020-10-22T04:55:53.255Z] ./bin/test-attribution-txt.sh [2020-10-22T04:55:53.829Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-22T04:55:54.397Z] Stashed 1 file(s) [Pipeline] } [2020-10-22T04:55:54.407Z] $ docker stop --time=1 3e3f66e978215eda9d0d2f86b004fc0fb8f3d68e6188eea032f186ac555e2472 [2020-10-22T04:55:56.274Z] $ docker rm -f 3e3f66e978215eda9d0d2f86b004fc0fb8f3d68e6188eea032f186ac555e2472 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-22T04:55:58.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-22T04:55:58.343Z] + ls -al . [2020-10-22T04:55:58.343Z] total 188 [2020-10-22T04:55:58.343Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 22 04:55 . [2020-10-22T04:55:58.343Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 22 04:53 .. [2020-10-22T04:55:58.343Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 22 04:53 bin [2020-10-22T04:55:58.343Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 22 04:55 coverage.out [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 22 04:53 Dockerfile.build [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 22 04:53 .dockerignore [2020-10-22T04:55:58.343Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 22 04:53 example [2020-10-22T04:55:58.343Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 22 04:54 .git [2020-10-22T04:55:58.343Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 22 04:53 .github [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 22 04:53 .gitignore [2020-10-22T04:55:58.343Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 22 04:55 go.mod [2020-10-22T04:55:58.343Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 22 04:55 go.sum [2020-10-22T04:55:58.343Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 22 04:53 internal [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 22 04:53 Jenkinsfile [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 22 04:53 LICENSE [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 22 04:53 Makefile [2020-10-22T04:55:58.343Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 22 04:53 openapi [2020-10-22T04:55:58.343Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 22 04:53 pkg [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 22 04:53 README.md [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 22 04:53 RELEASE-NOTES.txt [2020-10-22T04:55:58.343Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 22 04:53 snap [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 22 04:50 VERSION [2020-10-22T04:55:58.343Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 22 04:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:55:58.652Z] + 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=05d1f853f5880cdb9445e60f8b648f3cd2ce42de --label arch=amd64 --label version=0.0.0 . [2020-10-22T04:55:58.914Z] Sending build context to Docker daemon 2.449MB [2020-10-22T04:55:58.914Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-22T04:55:58.914Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-22T04:55:58.914Z] ---> 978e6717e152 [2020-10-22T04:55:58.914Z] Step 3/24 : ARG MAKE='make build' [2020-10-22T04:55:59.487Z] ---> Running in 0e096a435d93 [2020-10-22T04:55:59.487Z] Removing intermediate container 0e096a435d93 [2020-10-22T04:55:59.487Z] ---> fea0713626fa [2020-10-22T04:55:59.487Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-22T04:55:59.749Z] ---> Running in 1d24cbab9a01 [2020-10-22T04:55:59.749Z] Removing intermediate container 1d24cbab9a01 [2020-10-22T04:55:59.749Z] ---> 853d68b03846 [2020-10-22T04:55:59.749Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T04:55:59.749Z] ---> Running in 61e5fcfd1e3c [2020-10-22T04:56:00.011Z] Removing intermediate container 61e5fcfd1e3c [2020-10-22T04:56:00.011Z] ---> 66f37acd4f76 [2020-10-22T04:56:00.011Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T04:56:00.011Z] ---> Running in aaf7feb4cbae [2020-10-22T04:56:00.966Z] Removing intermediate container aaf7feb4cbae [2020-10-22T04:56:00.966Z] ---> fe3b8d55dbea [2020-10-22T04:56:00.966Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-22T04:56:00.966Z] ---> Running in 3baa5c893a3d [2020-10-22T04:56:01.547Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-22T04:56:02.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-22T04:56:03.067Z] OK: 166 MiB in 39 packages [2020-10-22T04:56:03.330Z] Removing intermediate container 3baa5c893a3d [2020-10-22T04:56:03.330Z] ---> 7e895e062408 [2020-10-22T04:56:03.330Z] Step 8/24 : COPY . . [2020-10-22T04:56:04.276Z] ---> a3d19b717145 [2020-10-22T04:56:04.276Z] Step 9/24 : RUN ${MAKE} [2020-10-22T04:56:04.276Z] ---> Running in c034fad8b3bd [2020-10-22T04:56:04.858Z] 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-22T04:56:12.184Z] Removing intermediate container 29817637742f [2020-10-22T04:56:12.184Z] ---> 616209f6fd6e [2020-10-22T04:56:12.184Z] Successfully built 616209f6fd6e [2020-10-22T04:56:12.184Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:56:12.595Z] + docker inspect -f . ci-base-image-arm64 [2020-10-22T04:56:12.595Z] . [Pipeline] withDockerContainer [2020-10-22T04:56:12.859Z] prd-ubuntu18.04-docker-arm64-4c-16g-8161 does not seem to be running inside a container [2020-10-22T04:56:12.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-22T04:56:13.109Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-22T04:56:14.861Z] $ docker top adf132eb2ebb4b123aca2857d84c3c521f917380f0ccc64608dc0794702b2089 -eo pid,comm [2020-10-22T04:56:15.035Z] Removing intermediate container c034fad8b3bd [2020-10-22T04:56:15.035Z] ---> 93e63eb2a970 [2020-10-22T04:56:15.035Z] Step 10/24 : FROM scratch [2020-10-22T04:56:15.035Z] ---> [2020-10-22T04:56:15.035Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T04:56:15.035Z] ---> Running in fae025eab84a [2020-10-22T04:56:15.035Z] Removing intermediate container fae025eab84a [2020-10-22T04:56:15.035Z] ---> c5577f70e82e [2020-10-22T04:56:15.035Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-22T04:56:15.035Z] ---> Running in e55a1976078c [2020-10-22T04:56:15.035Z] Removing intermediate container e55a1976078c [2020-10-22T04:56:15.035Z] ---> 124f48b94a3c [2020-10-22T04:56:15.035Z] Step 13/24 : EXPOSE $APP_PORT [Pipeline] { [Pipeline] sh [2020-10-22T04:56:15.297Z] ---> Running in e30eaad89172 [2020-10-22T04:56:15.297Z] Removing intermediate container e30eaad89172 [2020-10-22T04:56:15.297Z] ---> 99f173ea7e80 [2020-10-22T04:56:15.297Z] Step 14/24 : WORKDIR / [2020-10-22T04:56:15.558Z] ---> Running in f153337fa7fb [2020-10-22T04:56:15.558Z] Removing intermediate container f153337fa7fb [2020-10-22T04:56:15.558Z] ---> 73874e22d0d1 [2020-10-22T04:56:15.558Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-22T04:56:16.132Z] ---> 3d36f13135c7 [2020-10-22T04:56:16.132Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-22T04:56:16.225Z] + go version [2020-10-22T04:56:16.225Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-22T04:56:16.253Z] $ docker stop --time=1 adf132eb2ebb4b123aca2857d84c3c521f917380f0ccc64608dc0794702b2089 [2020-10-22T04:56:16.394Z] ---> 9d2a4506a6ef [2020-10-22T04:56:16.394Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-22T04:56:16.655Z] ---> 00a9e609b3f2 [2020-10-22T04:56:16.655Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-22T04:56:16.655Z] ---> 9af7fab53157 [2020-10-22T04:56:16.655Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-22T04:56:16.916Z] ---> 7d9dd0d1703a [2020-10-22T04:56:16.916Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-22T04:56:17.180Z] ---> Running in 8d0908f91181 [2020-10-22T04:56:17.180Z] Removing intermediate container 8d0908f91181 [2020-10-22T04:56:17.180Z] ---> 3edee4e30880 [2020-10-22T04:56:17.180Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-22T04:56:17.180Z] ---> Running in 5e73797a8938 [2020-10-22T04:56:17.441Z] Removing intermediate container 5e73797a8938 [2020-10-22T04:56:17.441Z] ---> ef30337230fe [2020-10-22T04:56:17.441Z] Step 22/24 : LABEL arch=amd64 [2020-10-22T04:56:17.441Z] ---> Running in 8586141649a8 [2020-10-22T04:56:17.702Z] Removing intermediate container 8586141649a8 [2020-10-22T04:56:17.702Z] ---> c571769ba529 [2020-10-22T04:56:17.702Z] Step 23/24 : LABEL git_sha=05d1f853f5880cdb9445e60f8b648f3cd2ce42de [2020-10-22T04:56:17.702Z] ---> Running in 8749689a85fc [2020-10-22T04:56:17.963Z] Removing intermediate container 8749689a85fc [2020-10-22T04:56:17.963Z] ---> faebfd02c8e8 [2020-10-22T04:56:17.963Z] Step 24/24 : LABEL version=0.0.0 [2020-10-22T04:56:17.963Z] ---> Running in 306a7ad08a50 [2020-10-22T04:56:18.189Z] $ docker rm -f adf132eb2ebb4b123aca2857d84c3c521f917380f0ccc64608dc0794702b2089 [2020-10-22T04:56:18.224Z] Removing intermediate container 306a7ad08a50 [2020-10-22T04:56:18.224Z] ---> 9ce3ca414fd4 [2020-10-22T04:56:18.224Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-22T04:56:18.224Z] Successfully built 9ce3ca414fd4 [2020-10-22T04:56:18.224Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-22T04:56:19.535Z] + docker inspect -f . ci-base-image-arm64 [2020-10-22T04:56:19.535Z] . [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer [2020-10-22T04:56:19.838Z] prd-ubuntu18.04-docker-arm64-4c-16g-8161 does not seem to be running inside a container [2020-10-22T04:56:19.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-22T04:56:21.822Z] $ docker top d6ae5c096bc7ee97697f5b7bcd8d481ace21379ea2fa0fcfd39382b9661231fe -eo pid,comm [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-22T04:56:23.318Z] + make test [2020-10-22T04:56:23.318Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-22T04:56:45.874Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-22T04:57:32.985Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-22T04:57:32.985Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-22T04:57:32.985Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-22T04:57:32.985Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.152s coverage: 21.6% of statements [2020-10-22T04:57:32.985Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.154s coverage: 97.1% of statements [2020-10-22T04:57:59.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.184s coverage: 9.4% of statements [2020-10-22T04:57:59.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.112s coverage: 21.9% of statements [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-22T04:57:59.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.574s coverage: 42.6% of statements [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-22T04:57:59.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.769s coverage: 68.9% of statements [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-22T04:57:59.800Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.179s coverage: 52.6% of statements [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-22T04:57:59.800Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.847s coverage: 68.9% of statements [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-22T04:57:59.800Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-22T04:57:59.800Z] GO111MODULE=on go vet ./... [2020-10-22T04:58:32.216Z] gofmt -l . [2020-10-22T04:58:32.216Z] [ "`gofmt -l .`" = "" ] [2020-10-22T04:58:32.216Z] ./bin/test-attribution-txt.sh [2020-10-22T04:58:32.216Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-22T04:58:32.239Z] Warning: overwriting stash ‘coverage-report’ [2020-10-22T04:58:33.094Z] Stashed 1 file(s) [Pipeline] } [2020-10-22T04:58:33.107Z] $ docker stop --time=1 d6ae5c096bc7ee97697f5b7bcd8d481ace21379ea2fa0fcfd39382b9661231fe [2020-10-22T04:58:35.328Z] $ docker rm -f d6ae5c096bc7ee97697f5b7bcd8d481ace21379ea2fa0fcfd39382b9661231fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-22T04:58:36.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-22T04:58:37.219Z] + ls -al . [2020-10-22T04:58:37.219Z] total 224 [2020-10-22T04:58:37.219Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 04:58 . [2020-10-22T04:58:37.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 04:55 .. [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 04:55 .dockerignore [2020-10-22T04:58:37.219Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 04:55 .git [2020-10-22T04:58:37.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 04:55 .github [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 22 04:55 .gitignore [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 22 04:55 Dockerfile.build [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 22 04:55 Jenkinsfile [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 04:55 LICENSE [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 22 04:55 Makefile [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 22 04:55 README.md [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 22 04:55 RELEASE-NOTES.txt [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 04:50 VERSION [2020-10-22T04:58:37.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 04:55 bin [2020-10-22T04:58:37.219Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 22 04:57 coverage.out [2020-10-22T04:58:37.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 04:55 example [2020-10-22T04:58:37.219Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 22 04:58 go.mod [2020-10-22T04:58:37.219Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 22 04:58 go.sum [2020-10-22T04:58:37.219Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 22 04:55 internal [2020-10-22T04:58:37.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 04:55 openapi [2020-10-22T04:58:37.219Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 04:55 pkg [2020-10-22T04:58:37.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 04:55 snap [2020-10-22T04:58:37.219Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 04:55 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:58:37.562Z] + 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=05d1f853f5880cdb9445e60f8b648f3cd2ce42de --label arch=arm64 --label version=0.0.0 . [2020-10-22T04:58:38.158Z] Sending build context to Docker daemon 2.449MB [2020-10-22T04:58:38.159Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-22T04:58:38.159Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-22T04:58:38.159Z] ---> 616209f6fd6e [2020-10-22T04:58:38.159Z] Step 3/24 : ARG MAKE='make build' [2020-10-22T04:58:38.435Z] ---> Running in fd7208559b48 [2020-10-22T04:58:38.707Z] Removing intermediate container fd7208559b48 [2020-10-22T04:58:38.707Z] ---> 71dc691c5fd0 [2020-10-22T04:58:38.707Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-22T04:58:38.980Z] ---> Running in 596edd2e5eb8 [2020-10-22T04:58:39.572Z] Removing intermediate container 596edd2e5eb8 [2020-10-22T04:58:39.572Z] ---> 813d74b351ac [2020-10-22T04:58:39.572Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T04:58:39.572Z] ---> Running in d2792014ab83 [2020-10-22T04:58:39.845Z] Removing intermediate container d2792014ab83 [2020-10-22T04:58:39.845Z] ---> 609e6b459621 [2020-10-22T04:58:39.845Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-22T04:58:40.124Z] ---> Running in ae096b06f52a [2020-10-22T04:58:42.742Z] Removing intermediate container ae096b06f52a [2020-10-22T04:58:42.742Z] ---> ae4f545234a9 [2020-10-22T04:58:42.742Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-22T04:58:42.742Z] ---> Running in 299a2ace3942 [2020-10-22T04:58:44.174Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-22T04:58:44.768Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-22T04:58:45.761Z] OK: 142 MiB in 39 packages [2020-10-22T04:58:46.747Z] Removing intermediate container 299a2ace3942 [2020-10-22T04:58:46.747Z] ---> c23e6b0c2b73 [2020-10-22T04:58:46.747Z] Step 8/24 : COPY . . [2020-10-22T04:58:48.183Z] ---> d3c6a23a8308 [2020-10-22T04:58:48.183Z] Step 9/24 : RUN ${MAKE} [2020-10-22T04:58:48.183Z] ---> Running in 666ed105f532 [2020-10-22T04:58:49.621Z] 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-22T04:59:16.442Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-22T04:59:16.442Z] Removing intermediate container 666ed105f532 [2020-10-22T04:59:16.442Z] ---> a130a870b8dc [2020-10-22T04:59:16.442Z] Step 10/24 : FROM scratch [2020-10-22T04:59:16.442Z] ---> [2020-10-22T04:59:16.442Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-22T04:59:16.442Z] ---> Running in 516fb70f5c86 [2020-10-22T04:59:16.714Z] Removing intermediate container 516fb70f5c86 [2020-10-22T04:59:16.714Z] ---> 8115fd2e0abe [2020-10-22T04:59:16.714Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-22T04:59:16.714Z] ---> Running in 3e2b155bc743 [2020-10-22T04:59:16.987Z] Removing intermediate container 3e2b155bc743 [2020-10-22T04:59:16.987Z] ---> 6affca456e6a [2020-10-22T04:59:16.987Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-22T04:59:17.259Z] ---> Running in 12585a848c4b [2020-10-22T04:59:17.532Z] Removing intermediate container 12585a848c4b [2020-10-22T04:59:17.532Z] ---> 5424b3d3b0b4 [2020-10-22T04:59:17.532Z] Step 14/24 : WORKDIR / [2020-10-22T04:59:17.808Z] ---> Running in d2b6c7518a66 [2020-10-22T04:59:18.082Z] Removing intermediate container d2b6c7518a66 [2020-10-22T04:59:18.082Z] ---> 36ddb912c68b [2020-10-22T04:59:18.082Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-22T04:59:19.555Z] ---> 55c49bd7d48b [2020-10-22T04:59:19.555Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-22T04:59:20.150Z] ---> 59566127b084 [2020-10-22T04:59:20.150Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-22T04:59:20.751Z] ---> c5cc542726b2 [2020-10-22T04:59:20.752Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-22T04:59:21.733Z] ---> 369f5c4807ef [2020-10-22T04:59:21.733Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-22T04:59:22.332Z] ---> b08200c35d13 [2020-10-22T04:59:22.332Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-22T04:59:22.332Z] ---> Running in d467a46b108d [2020-10-22T04:59:22.926Z] Removing intermediate container d467a46b108d [2020-10-22T04:59:22.927Z] ---> 27f69a94b4b5 [2020-10-22T04:59:22.927Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-22T04:59:22.927Z] ---> Running in 78e35b776281 [2020-10-22T04:59:23.522Z] Removing intermediate container 78e35b776281 [2020-10-22T04:59:23.522Z] ---> c7f9ff422dda [2020-10-22T04:59:23.522Z] Step 22/24 : LABEL arch=arm64 [2020-10-22T04:59:23.522Z] ---> Running in 797eb1876848 [2020-10-22T04:59:24.116Z] Removing intermediate container 797eb1876848 [2020-10-22T04:59:24.116Z] ---> bdd833c52915 [2020-10-22T04:59:24.116Z] Step 23/24 : LABEL git_sha=05d1f853f5880cdb9445e60f8b648f3cd2ce42de [2020-10-22T04:59:24.116Z] ---> Running in b8a9ef5a661b [2020-10-22T04:59:24.712Z] Removing intermediate container b8a9ef5a661b [2020-10-22T04:59:24.712Z] ---> bcae1384e9ca [2020-10-22T04:59:24.712Z] Step 24/24 : LABEL version=0.0.0 [2020-10-22T04:59:24.712Z] ---> Running in ab45b8456a3f [2020-10-22T04:59:24.990Z] Removing intermediate container ab45b8456a3f [2020-10-22T04:59:24.990Z] ---> eff4ebad337b [2020-10-22T04:59:24.990Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-22T04:59:25.263Z] Successfully built eff4ebad337b [2020-10-22T04:59:25.263Z] 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-22T04:59:27.441Z] provisioning config files... [2020-10-22T04:59:27.459Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/config827400961174258590tmp [Pipeline] { [Pipeline] sh [2020-10-22T04:59:27.834Z] + set +x [2020-10-22T04:59:27.834Z] + curl -s https://codecov.io/bash [2020-10-22T04:59:27.834Z] + bash -s -- [2020-10-22T04:59:28.097Z] [2020-10-22T04:59:28.097Z] _____ _ [2020-10-22T04:59:28.097Z] / ____| | | [2020-10-22T04:59:28.097Z] | | ___ __| | ___ ___ _____ __ [2020-10-22T04:59:28.097Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-22T04:59:28.097Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-22T04:59:28.097Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-22T04:59:28.097Z] Bash-20201009-048fee3 [2020-10-22T04:59:28.097Z] [2020-10-22T04:59:28.097Z] [2020-10-22T04:59:28.097Z] ==> Jenkins CI detected. [2020-10-22T04:59:28.097Z] project root: . [2020-10-22T04:59:28.097Z] --> token set from env [2020-10-22T04:59:28.097Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-22T04:59:28.097Z] ==> Running gcov in . (disable via -X gcov) [2020-10-22T04:59:28.097Z] ==> Python coveragepy not found [2020-10-22T04:59:28.097Z] ==> Searching for coverage reports in: [2020-10-22T04:59:28.097Z] + . [2020-10-22T04:59:28.097Z] -> Found 1 reports [2020-10-22T04:59:28.097Z] ==> Detecting git/mercurial file structure [2020-10-22T04:59:28.097Z] ==> Reading reports [2020-10-22T04:59:28.097Z] + ./coverage.out bytes=110398 [2020-10-22T04:59:28.097Z] ==> Appending adjustments [2020-10-22T04:59:28.097Z] https://docs.codecov.io/docs/fixing-reports [2020-10-22T04:59:28.673Z] + Found adjustments [2020-10-22T04:59:28.673Z] ==> Gzipping contents [2020-10-22T04:59:28.673Z] ==> Uploading reports [2020-10-22T04:59:28.673Z] url: https://codecov.io [2020-10-22T04:59:28.673Z] query: branch=PR-641&commit=05d1f853f5880cdb9445e60f8b648f3cd2ce42de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-641%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=641&job=&cmd_args= [2020-10-22T04:59:28.673Z] -> Pinging Codecov [2020-10-22T04:59:28.673Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-641&commit=05d1f853f5880cdb9445e60f8b648f3cd2ce42de&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-641%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=641&job=&cmd_args= [2020-10-22T04:59:28.936Z] -> Uploading to [2020-10-22T04:59:28.936Z] [2020-10-22T04:59:28.936Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-22T04:59:28.936Z] Dload Upload Total Spent Left Speed [2020-10-22T04:59:28.936Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-22T04:59:28.936Z] X> Failed to upload [2020-10-22T04:59:28.936Z] ==> Uploading to Codecov [2020-10-22T04:59:28.936Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-22T04:59:28.936Z] Dload Upload Total Spent Left Speed [2020-10-22T04:59:29.511Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19158 100 110 100 19048 209 36212 --:--:-- --:--:-- --:--:-- 36281 [2020-10-22T04:59:29.511Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/05d1f853f5880cdb9445e60f8b648f3cd2ce42de [Pipeline] } [2020-10-22T04:59:29.521Z] 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-22T04:59:32.238Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T04:59:32.809Z] ---> package-listing.sh [2020-10-22T04:59:32.809Z] ++ facter osfamily [2020-10-22T04:59:32.809Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-22T04:59:32.809Z] + OS_FAMILY=redhat [2020-10-22T04:59:32.809Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-641 [2020-10-22T04:59:32.809Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-22T04:59:32.809Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-22T04:59:32.809Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-22T04:59:32.809Z] + PACKAGES=/tmp/packages_start.txt [2020-10-22T04:59:32.809Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-641 ']' [2020-10-22T04:59:32.809Z] + PACKAGES=/tmp/packages_end.txt [2020-10-22T04:59:32.809Z] + case "${OS_FAMILY}" in [2020-10-22T04:59:32.809Z] + rpm -qa [2020-10-22T04:59:32.809Z] + sort [2020-10-22T04:59:37.048Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-22T04:59:37.048Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-22T04:59:37.048Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-22T04:59:37.048Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-641 ']' [2020-10-22T04:59:37.048Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-641/archives/ [2020-10-22T04:59:37.048Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-641/archives/ [Pipeline] echo [2020-10-22T04:59:37.062Z] 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-641/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-22T04:59:37.353Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:59:37.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-22T04:59:37.663Z] [2020-10-22T04:59:37.663Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-22T04:59:38.061Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-22T04:59:38.061Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-22T04:59:38.061Z] df20fa9351a1: Pulling fs layer [2020-10-22T04:59:38.061Z] 36b3adc4ff6f: Pulling fs layer [2020-10-22T04:59:38.061Z] 8ad3a11d3b57: Pulling fs layer [2020-10-22T04:59:38.061Z] 46f8f816bc3b: Pulling fs layer [2020-10-22T04:59:38.061Z] 93b61091891f: Pulling fs layer [2020-10-22T04:59:38.061Z] 93b9cdb0e59b: Pulling fs layer [2020-10-22T04:59:38.061Z] 5e14af77c1be: Pulling fs layer [2020-10-22T04:59:38.061Z] 01666e4c0597: Pulling fs layer [2020-10-22T04:59:38.061Z] aa168da1d23b: Pulling fs layer [2020-10-22T04:59:38.061Z] 46f8f816bc3b: Waiting [2020-10-22T04:59:38.061Z] 93b61091891f: Waiting [2020-10-22T04:59:38.061Z] 93b9cdb0e59b: Waiting [2020-10-22T04:59:38.061Z] 5e14af77c1be: Waiting [2020-10-22T04:59:38.061Z] 01666e4c0597: Waiting [2020-10-22T04:59:38.061Z] aa168da1d23b: Waiting [2020-10-22T04:59:38.061Z] 36b3adc4ff6f: Verifying Checksum [2020-10-22T04:59:38.061Z] 36b3adc4ff6f: Download complete [2020-10-22T04:59:38.061Z] 46f8f816bc3b: Download complete [2020-10-22T04:59:38.331Z] df20fa9351a1: Verifying Checksum [2020-10-22T04:59:38.331Z] df20fa9351a1: Download complete [2020-10-22T04:59:38.331Z] 93b9cdb0e59b: Verifying Checksum [2020-10-22T04:59:38.331Z] 93b9cdb0e59b: Download complete [2020-10-22T04:59:38.331Z] 93b61091891f: Verifying Checksum [2020-10-22T04:59:38.331Z] 93b61091891f: Download complete [2020-10-22T04:59:38.331Z] 01666e4c0597: Verifying Checksum [2020-10-22T04:59:38.331Z] 01666e4c0597: Download complete [2020-10-22T04:59:38.331Z] 5e14af77c1be: Verifying Checksum [2020-10-22T04:59:38.331Z] 5e14af77c1be: Download complete [2020-10-22T04:59:38.331Z] 8ad3a11d3b57: Verifying Checksum [2020-10-22T04:59:38.331Z] 8ad3a11d3b57: Download complete [2020-10-22T04:59:38.603Z] df20fa9351a1: Pull complete [2020-10-22T04:59:38.867Z] 36b3adc4ff6f: Pull complete [2020-10-22T04:59:39.443Z] 8ad3a11d3b57: Pull complete [2020-10-22T04:59:39.713Z] 46f8f816bc3b: Pull complete [2020-10-22T04:59:39.977Z] 93b61091891f: Pull complete [2020-10-22T04:59:40.243Z] 93b9cdb0e59b: Pull complete [2020-10-22T04:59:40.508Z] 5e14af77c1be: Pull complete [2020-10-22T04:59:40.782Z] 01666e4c0597: Pull complete [2020-10-22T04:59:40.782Z] aa168da1d23b: Verifying Checksum [2020-10-22T04:59:40.782Z] aa168da1d23b: Download complete [2020-10-22T04:59:47.431Z] aa168da1d23b: Pull complete [2020-10-22T04:59:47.694Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-22T04:59:47.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-22T04:59:47.694Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-22T04:59:47.903Z] prd-centos7-docker-4c-2g-8159 does not seem to be running inside a container [2020-10-22T04:59:47.953Z] $ 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-641/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-641 -v /w/workspace/dgexfoundry_device-sdk-go_PR-641:/w/workspace/dgexfoundry_device-sdk-go_PR-641:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-641@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-22T04:59:52.389Z] $ docker top 962ace19e3c6aac89883c0cac1c4410b30021a8868a17df99525e584b61b1fea -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-22T04:59:52.881Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-22T04:59:53.184Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-22T04:59:53.483Z] + ls /var/log/sa-host [2020-10-22T04:59:53.483Z] + sadf -c /var/log/sa-host/sa05 [2020-10-22T04:59:53.483Z] file_magic: OK [2020-10-22T04:59:53.483Z] HZ: Using current value: 100 [2020-10-22T04:59:53.483Z] file_header: OK [2020-10-22T04:59:53.483Z] 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-22T04:59:53.483Z] Statistics: [2020-10-22T04:59:53.483Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-22T04:59:53.483Z] File successfully converted to sysstat format version 12.2.1 [2020-10-22T04:59:53.483Z] + sadf -c /var/log/sa-host/sa22 [2020-10-22T04:59:53.483Z] file_magic: OK [2020-10-22T04:59:53.483Z] HZ: Using current value: 100 [2020-10-22T04:59:53.483Z] file_header: OK [2020-10-22T04:59:53.483Z] 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-22T04:59:53.483Z] Statistics: [2020-10-22T04:59:53.483Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-22T04:59:53.483Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-22T04:59:54.092Z] provisioning config files... [2020-10-22T04:59:54.110Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-641@tmp/config2968328572645232716tmp [Pipeline] { [Pipeline] echo [2020-10-22T04:59:54.184Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T04:59:54.484Z] ---> create-netrc.sh [Pipeline] } [2020-10-22T04:59:54.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-22T04:59:54.603Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T04:59:54.898Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-22T04:59:54.910Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T04:59:55.201Z] ---> sudo-logs.sh [2020-10-22T04:59:55.201Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-22T04:59:55.211Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T04:59:55.504Z] ---> job-cost.sh [2020-10-22T04:59:55.504Z] lf-activate-venv: SKIPPING [2020-10-22T04:59:55.504Z] INFO: No Stack... [2020-10-22T04:59:56.447Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-22T04:59:57.021Z] INFO: Archiving Costs [Pipeline] echo [2020-10-22T04:59:57.034Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-22T04:59:57.329Z] ---> logs-deploy.sh [2020-10-22T04:59:57.329Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-641/2 [2020-10-22T04:59:57.329Z] INFO: archiving workspace using pattern(s): [2020-10-22T04:59:59.254Z] Archives upload complete. [2020-10-22T04:59:59.254Z] INFO: archiving logs to Nexus