Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480+6a644f195f70d064d428f19fecf7196d621efa3d (0b3a2a99bb3929c899f86a76058478605b00f544) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3215’ is offline Running on prd-centos7-docker-4c-2g-3223 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 Merge succeeded, producing 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 Checking out Revision 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 (PR-582) > git config core.sparsecheckout # timeout=10 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # 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 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-03T11:56:06.157Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk bdbfb1dccb295d19687bf0dfe2ebe5114ed8c708 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-03T11:56:06.461Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-03T11:56:06.558Z] ========================================================= [2020-10-03T11:56:06.558Z] EdgeX Global Pipelines Version Info [2020-10-03T11:56:06.558Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-03T11:56:08.414Z] ------------------- [2020-10-03T11:56:08.414Z] stable info: [2020-10-03T11:56:08.414Z] ------------------- [2020-10-03T11:56:08.414Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-03T11:56:08.414Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-03T11:56:08.414Z] Message: update stable to v1.0.131 [2020-10-03T11:56:08.988Z] ------------------- [2020-10-03T11:56:08.988Z] experimental info: [2020-10-03T11:56:08.988Z] ------------------- [2020-10-03T11:56:08.988Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-03T11:56:08.988Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-03T11:56:08.989Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-03T11:56:09.350Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-03T11:56:09.446Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-03T11:56:09.540Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-03T11:56:09.650Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-03T11:56:09.738Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-03T11:56:09.824Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-03T11:56:09.918Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-03T11:56:10.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-03T11:56:10.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-03T11:56:10.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-03T11:56:10.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-03T11:56:10.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-03T11:56:10.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-03T11:56:10.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-03T11:56:10.823Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-03T11:56:10.970Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-03T11:56:11.055Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-03T11:56:11.146Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-03T11:56:11.238Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-03T11:56:11.337Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-03T11:56:11.433Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-10-03T11:56:11.532Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-10-03T11:56:11.619Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-03T11:56:11.703Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-03T11:56:11.788Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-03T11:56:11.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-10-03T11:56:11.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-10-03T11:56:12.063Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-10-03T11:56:12.148Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [Pipeline] echo [2020-10-03T11:56:12.257Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9375b7f [Pipeline] echo [2020-10-03T11:56:12.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-03T11:56:12.951Z] + git log --format=format:%s -1 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [Pipeline] echo [2020-10-03T11:56:13.019Z] GIT_COMMIT: 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo [2020-10-03T11:56:13.068Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-03T11:56:13.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-03T11:56:13.870Z] [2020-10-03T11:56:13.870Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-03T11:56:14.251Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-03T11:56:14.251Z] latest: Pulling from edgex-devops/git-semver [2020-10-03T11:56:14.251Z] 31603596830f: Pulling fs layer [2020-10-03T11:56:14.251Z] 2a8b12db71e7: Pulling fs layer [2020-10-03T11:56:14.251Z] 6ca5941a6612: Pulling fs layer [2020-10-03T11:56:14.251Z] ecc8261a40a4: Pulling fs layer [2020-10-03T11:56:14.251Z] ecc8261a40a4: Waiting [2020-10-03T11:56:14.251Z] 2a8b12db71e7: Verifying Checksum [2020-10-03T11:56:14.251Z] 2a8b12db71e7: Download complete [2020-10-03T11:56:14.516Z] 31603596830f: Verifying Checksum [2020-10-03T11:56:14.516Z] 31603596830f: Download complete [2020-10-03T11:56:14.516Z] 6ca5941a6612: Verifying Checksum [2020-10-03T11:56:14.516Z] 6ca5941a6612: Download complete [2020-10-03T11:56:14.516Z] ecc8261a40a4: Verifying Checksum [2020-10-03T11:56:14.516Z] ecc8261a40a4: Download complete [2020-10-03T11:56:14.783Z] 31603596830f: Pull complete [2020-10-03T11:56:15.048Z] 2a8b12db71e7: Pull complete [2020-10-03T11:56:15.627Z] 6ca5941a6612: Pull complete [2020-10-03T11:56:15.890Z] ecc8261a40a4: Pull complete [2020-10-03T11:56:15.890Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-03T11:56:16.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-03T11:56:16.154Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-03T11:56:16.289Z] prd-centos7-docker-4c-2g-3223 does not seem to be running inside a container [2020-10-03T11:56:16.342Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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-03T11:56:18.722Z] $ docker top 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-03T11:56:19.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-03T11:56:19.058Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-03T11:56:19.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-03T11:56:19.272Z] $ docker exec 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 ssh-agent [2020-10-03T11:56:19.450Z] SSH_AUTH_SOCK=/tmp/ssh-cbrAWtJmWYUN/agent.11 [2020-10-03T11:56:19.450Z] SSH_AGENT_PID=16 [2020-10-03T11:56:19.463Z] Running ssh-add (command line suppressed) [2020-10-03T11:56:19.587Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5354802305207289479.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5354802305207289479.key) [2020-10-03T11:56:19.637Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-03T11:56:19.979Z] + git describe --exact-match --tags HEAD [2020-10-03T11:56:19.979Z] fatal: no tag exactly matches '9375b7f525fed189b1e4f3d517ca2f0a3bc3a480' [Pipeline] } [2020-10-03T11:56:20.004Z] $ docker exec --env ******** --env ******** 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 ssh-agent -k [2020-10-03T11:56:20.123Z] unset SSH_AUTH_SOCK; [2020-10-03T11:56:20.123Z] unset SSH_AGENT_PID; [2020-10-03T11:56:20.123Z] echo Agent pid 16 killed; [2020-10-03T11:56:20.169Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-03T11:56:20.292Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-03T11:56:20.292Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-03T11:56:20.492Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-03T11:56:20.492Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-03T11:56:20.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-03T11:56:20.675Z] $ docker exec 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 ssh-agent [2020-10-03T11:56:20.844Z] SSH_AUTH_SOCK=/tmp/ssh-L6jcyF1gO3GH/agent.47 [2020-10-03T11:56:20.844Z] SSH_AGENT_PID=53 [2020-10-03T11:56:20.854Z] Running ssh-add (command line suppressed) [2020-10-03T11:56:20.990Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3897435818958422829.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_3897435818958422829.key) [2020-10-03T11:56:21.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-03T11:56:21.398Z] + git semver init [2020-10-03T11:56:21.398Z] # -> Open(): unable to determine branch for HEAD [2020-10-03T11:56:21.398Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-10-03T11:56:21.398Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-03T11:56:21.398Z] # $SEMVER_REMOTE_NAME = origin [2020-10-03T11:56:21.398Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-03T11:56:21.398Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-03T11:56:21.398Z] # $SEMVER_BRANCH = PR-582 [2020-10-03T11:56:21.398Z] # $SEMVER_TEMP = /tmp/semver-990359621 [2020-10-03T11:56:21.398Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-03T11:56:21.974Z] # '/tmp/semver-990359621' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-10-03T11:56:21.974Z] # -> Force: false [2020-10-03T11:56:21.974Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-10-03T11:56:21.990Z] $ docker exec --env ******** --env ******** 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 ssh-agent -k [2020-10-03T11:56:22.117Z] unset SSH_AUTH_SOCK; [2020-10-03T11:56:22.118Z] unset SSH_AGENT_PID; [2020-10-03T11:56:22.118Z] echo Agent pid 53 killed; [2020-10-03T11:56:22.160Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-03T11:56:22.637Z] + git semver [Pipeline] } [2020-10-03T11:56:22.657Z] $ docker stop --time=1 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 [2020-10-03T11:56:24.061Z] $ docker rm -f 59c1cf1c67a08798424d6312b6e410dc212e01d7abe9b3ac0e978735eb7aeb42 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-03T11:56:25.066Z] Stashed 41 file(s) [Pipeline] echo [2020-10-03T11:56:25.069Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-03T11:56:25.158Z] Archived original 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-03T11:56:40.594Z] Still waiting to schedule task [2020-10-03T11:56:40.595Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-03T11:56:40.597Z] Still waiting to schedule task [2020-10-03T11:56:40.597Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3221’ [2020-10-03T11:58:12.548Z] Running on prd-centos7-docker-4c-2g-3228 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-03T11:58:12.601Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-10-03T11:58:16.007Z] using credential edgex-jenkins-ssh [2020-10-03T11:58:16.064Z] Cloning the remote Git repository [2020-10-03T11:58:16.091Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-03T11:58:16.155Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2020-10-03T11:58:16.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-03T11:58:16.207Z] > git --version # timeout=10 [2020-10-03T11:58:16.214Z] > git --version # 'git version 2.16.5' [2020-10-03T11:58:16.214Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-03T11:58:16.247Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-03T11:58:17.442Z] Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [2020-10-03T11:58:16.955Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-03T11:58:16.965Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-03T11:58:16.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-03T11:58:16.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-03T11:58:16.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-03T11:58:16.991Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-03T11:58:17.456Z] > git config core.sparsecheckout # timeout=10 [2020-10-03T11:58:17.463Z] > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 [2020-10-03T11:58:17.544Z] Merge succeeded, producing 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [2020-10-03T11:58:17.544Z] Checking out Revision 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 (PR-582) [2020-10-03T11:58:17.516Z] > git remote # timeout=10 [2020-10-03T11:58:17.521Z] > git config --get remote.origin.url # timeout=10 [2020-10-03T11:58:17.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-03T11:58:17.531Z] > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 [2020-10-03T11:58:17.541Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-03T11:58:17.550Z] > git config core.sparsecheckout # timeout=10 [2020-10-03T11:58:17.554Z] > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 [2020-10-03T11:58:21.207Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-03T11:58:22.055Z] ========================================================= [2020-10-03T11:58:22.055Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-03T11:58:22.055Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-03T11:58:22.764Z] + 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-03T11:58:23.031Z] Sending build context to Docker daemon 3.45MB [2020-10-03T11:58:23.031Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-03T11:58:23.031Z] Step 2/8 : FROM ${BASE} [2020-10-03T11:58:23.031Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-03T11:58:23.031Z] df20fa9351a1: Pulling fs layer [2020-10-03T11:58:23.031Z] ed8968b2872e: Pulling fs layer [2020-10-03T11:58:23.031Z] a92cc7c5fd73: Pulling fs layer [2020-10-03T11:58:23.031Z] e871e8e8d7a9: Pulling fs layer [2020-10-03T11:58:23.031Z] e73272ec9a57: Pulling fs layer [2020-10-03T11:58:23.031Z] 1e910a182e73: Pulling fs layer [2020-10-03T11:58:23.031Z] 4e634b169226: Pulling fs layer [2020-10-03T11:58:23.031Z] e871e8e8d7a9: Waiting [2020-10-03T11:58:23.031Z] e73272ec9a57: Waiting [2020-10-03T11:58:23.031Z] 1e910a182e73: Waiting [2020-10-03T11:58:23.031Z] 4e634b169226: Waiting [2020-10-03T11:58:23.031Z] a92cc7c5fd73: Verifying Checksum [2020-10-03T11:58:23.031Z] a92cc7c5fd73: Download complete [2020-10-03T11:58:23.031Z] ed8968b2872e: Verifying Checksum [2020-10-03T11:58:23.031Z] ed8968b2872e: Download complete [2020-10-03T11:58:23.031Z] e73272ec9a57: Verifying Checksum [2020-10-03T11:58:23.031Z] e73272ec9a57: Download complete [2020-10-03T11:58:23.031Z] 1e910a182e73: Verifying Checksum [2020-10-03T11:58:23.031Z] 1e910a182e73: Download complete [2020-10-03T11:58:23.295Z] df20fa9351a1: Download complete [2020-10-03T11:58:23.565Z] df20fa9351a1: Pull complete [2020-10-03T11:58:23.565Z] ed8968b2872e: Pull complete [2020-10-03T11:58:23.827Z] a92cc7c5fd73: Pull complete [2020-10-03T11:58:25.222Z] 4e634b169226: Verifying Checksum [2020-10-03T11:58:25.222Z] 4e634b169226: Download complete [2020-10-03T11:58:25.798Z] e871e8e8d7a9: Download complete [2020-10-03T11:58:31.488Z] e871e8e8d7a9: Pull complete [2020-10-03T11:58:31.488Z] e73272ec9a57: Pull complete [2020-10-03T11:58:31.488Z] 1e910a182e73: Pull complete [2020-10-03T11:58:39.659Z] 4e634b169226: Pull complete [2020-10-03T11:58:39.660Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-03T11:58:39.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-03T11:58:39.660Z] ---> f7629b54cfaa [2020-10-03T11:58:39.660Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-03T11:58:39.660Z] ---> Running in fc92d48560e7 [2020-10-03T11:58:39.660Z] Removing intermediate container fc92d48560e7 [2020-10-03T11:58:39.660Z] ---> 6e615550dc21 [2020-10-03T11:58:39.660Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-03T11:58:39.660Z] ---> Running in e2bb480649e3 [2020-10-03T11:58:40.610Z] Removing intermediate container e2bb480649e3 [2020-10-03T11:58:40.610Z] ---> 81813a60ec89 [2020-10-03T11:58:40.610Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-03T11:58:40.610Z] ---> Running in 23f33757c4e7 [2020-10-03T11:58:41.190Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-03T11:58:41.769Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-03T11:58:42.343Z] OK: 166 MiB in 39 packages [2020-10-03T11:58:42.609Z] Removing intermediate container 23f33757c4e7 [2020-10-03T11:58:42.609Z] ---> 48f2494dd3e7 [2020-10-03T11:58:42.609Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-03T11:58:42.609Z] ---> Running in 12789678ef0f [2020-10-03T11:58:42.873Z] Removing intermediate container 12789678ef0f [2020-10-03T11:58:42.873Z] ---> 3e12c1cfbc21 [2020-10-03T11:58:42.873Z] Step 7/8 : COPY . . [2020-10-03T11:58:44.264Z] ---> 4a3b3650dc57 [2020-10-03T11:58:44.264Z] Step 8/8 : RUN go mod download [2020-10-03T11:58:44.264Z] ---> Running in fe0df9687715 [2020-10-03T11:59:02.425Z] Removing intermediate container fe0df9687715 [2020-10-03T11:59:02.425Z] ---> 5b8255fb042b [2020-10-03T11:59:02.425Z] Successfully built 5b8255fb042b [2020-10-03T11:59:02.425Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-03T11:59:02.778Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-03T11:59:02.779Z] . [Pipeline] withDockerContainer [2020-10-03T11:59:02.933Z] prd-centos7-docker-4c-2g-3228 does not seem to be running inside a container [2020-10-03T11:59:03.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-03T11:59:03.733Z] $ docker top 6ff4f6e37de8c3078b758e2b953c17e9bff3ddadb8a8c1d4b5964406cfb004b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-03T11:59:04.231Z] + go version [2020-10-03T11:59:04.231Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-03T11:59:04.247Z] $ docker stop --time=1 6ff4f6e37de8c3078b758e2b953c17e9bff3ddadb8a8c1d4b5964406cfb004b8 [2020-10-03T11:59:05.581Z] $ docker rm -f 6ff4f6e37de8c3078b758e2b953c17e9bff3ddadb8a8c1d4b5964406cfb004b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-03T11:59:06.404Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-03T11:59:06.404Z] . [Pipeline] withDockerContainer [2020-10-03T11:59:06.497Z] prd-centos7-docker-4c-2g-3228 does not seem to be running inside a container [2020-10-03T11:59:06.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-03T11:59:07.168Z] $ docker top 880ac3b23e9796e323e2bffd5d2a823b774bacbb2643fdafb95db63bff32e9a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-03T11:59:07.639Z] + make test [2020-10-03T11:59:07.640Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-03T11:59:14.259Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-03T11:59:29.268Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-03T11:59:29.268Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-03T11:59:29.268Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-03T11:59:29.268Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 21.6% of statements [2020-10-03T11:59:30.227Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.436s coverage: 97.1% of statements [2020-10-03T11:59:57.976Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3231 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-03T11:59:58.030Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2020-10-03T12:00:02.399Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements [2020-10-03T12:00:02.400Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-10-03T12:00:02.400Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-03T12:00:02.400Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.195s coverage: 39.9% of statements [2020-10-03T12:00:02.400Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-03T12:00:02.400Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.277s coverage: 65.4% of statements [2020-10-03T12:00:02.400Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-03T12:00:02.400Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-03T12:00:02.400Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-03T12:00:02.400Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-03T12:00:02.400Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-10-03T12:00:02.400Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-03T12:00:02.400Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.253s coverage: 68.9% of statements [2020-10-03T12:00:02.400Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-03T12:00:02.400Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-03T12:00:02.400Z] GO111MODULE=on go vet ./... [2020-10-03T12:00:03.279Z] using credential edgex-jenkins-ssh [2020-10-03T12:00:03.376Z] Cloning the remote Git repository [2020-10-03T12:00:03.447Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-03T12:00:03.563Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2020-10-03T12:00:03.650Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-03T12:00:03.651Z] > git --version # timeout=10 [2020-10-03T12:00:03.670Z] > git --version # 'git version 2.17.1' [2020-10-03T12:00:03.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-03T12:00:03.750Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-03T12:00:06.512Z] Merging remotes/origin/master commit 6a644f195f70d064d428f19fecf7196d621efa3d into PR head commit 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [2020-10-03T12:00:06.714Z] Merge succeeded, producing 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [2020-10-03T12:00:06.715Z] Checking out Revision 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 (PR-582) [2020-10-03T12:00:05.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-03T12:00:05.964Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-03T12:00:05.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-03T12:00:06.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-03T12:00:06.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-03T12:00:06.055Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-03T12:00:06.531Z] > git config core.sparsecheckout # timeout=10 [2020-10-03T12:00:06.544Z] > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 [2020-10-03T12:00:06.648Z] > git remote # timeout=10 [2020-10-03T12:00:06.662Z] > git config --get remote.origin.url # timeout=10 [2020-10-03T12:00:06.674Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-03T12:00:06.683Z] > git merge 6a644f195f70d064d428f19fecf7196d621efa3d # timeout=10 [2020-10-03T12:00:06.704Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-03T12:00:06.724Z] > git config core.sparsecheckout # timeout=10 [2020-10-03T12:00:06.732Z] > git checkout -f 9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 # timeout=10 [2020-10-03T12:00:09.123Z] gofmt -l . [2020-10-03T12:00:09.124Z] [ "`gofmt -l .`" = "" ] [2020-10-03T12:00:09.124Z] ./bin/test-attribution-txt.sh [2020-10-03T12:00:09.124Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-03T12:00:09.453Z] Stashed 1 file(s) [Pipeline] } [2020-10-03T12:00:09.463Z] $ docker stop --time=1 880ac3b23e9796e323e2bffd5d2a823b774bacbb2643fdafb95db63bff32e9a6 [2020-10-03T12:00:11.312Z] $ docker rm -f 880ac3b23e9796e323e2bffd5d2a823b774bacbb2643fdafb95db63bff32e9a6 [2020-10-03T12:00:11.411Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-03T12:00:13.075Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-03T12:00:13.378Z] + ls -al . [2020-10-03T12:00:13.378Z] total 192 [2020-10-03T12:00:13.378Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 3 12:00 . [2020-10-03T12:00:13.378Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 3 11:58 .. [2020-10-03T12:00:13.378Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 3 11:58 bin [2020-10-03T12:00:13.378Z] -rw-r--r--. 1 jenkins jenkins 111040 Oct 3 11:59 coverage.out [2020-10-03T12:00:13.378Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 3 11:58 Dockerfile.build [2020-10-03T12:00:13.378Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 3 11:58 .dockerignore [2020-10-03T12:00:13.378Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 3 11:58 example [2020-10-03T12:00:13.378Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 3 11:58 .git [2020-10-03T12:00:13.378Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 3 11:58 .github [2020-10-03T12:00:13.378Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 3 11:58 .gitignore [2020-10-03T12:00:13.378Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 3 12:00 go.mod [2020-10-03T12:00:13.378Z] -rw-r--r--. 1 jenkins jenkins 13731 Oct 3 12:00 go.sum [2020-10-03T12:00:13.378Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 3 11:58 internal [2020-10-03T12:00:13.378Z] -rw-rw-r--. 1 jenkins jenkins 785 Oct 3 11:58 Jenkinsfile [2020-10-03T12:00:13.378Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 3 11:58 LICENSE [2020-10-03T12:00:13.378Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 3 11:58 Makefile [2020-10-03T12:00:13.378Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 3 11:58 openapi [2020-10-03T12:00:13.379Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 3 11:58 pkg [2020-10-03T12:00:13.379Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 3 11:58 README.md [2020-10-03T12:00:13.379Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 3 11:58 RELEASE-NOTES.txt [2020-10-03T12:00:13.379Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 3 11:58 .semver [2020-10-03T12:00:13.379Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 3 11:58 snap [2020-10-03T12:00:13.379Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 3 11:56 VERSION [2020-10-03T12:00:13.379Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 3 11:58 version.go [Pipeline] isUnix [Pipeline] sh [Pipeline] echo [2020-10-03T12:00:13.512Z] ========================================================= [2020-10-03T12:00:13.512Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-03T12:00:13.512Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-03T12:00:13.710Z] + 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=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 --label arch=amd64 --label version=0.0.0 . [2020-10-03T12:00:13.975Z] Sending build context to Docker daemon 3.562MB [2020-10-03T12:00:13.975Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-03T12:00:13.975Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-03T12:00:13.975Z] ---> 5b8255fb042b [2020-10-03T12:00:13.975Z] Step 3/24 : ARG MAKE='make build' [2020-10-03T12:00:14.553Z] ---> Running in 034b235975a1 [2020-10-03T12:00:14.553Z] Removing intermediate container 034b235975a1 [2020-10-03T12:00:14.553Z] ---> 117d497434d7 [2020-10-03T12:00:14.553Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-03T12:00:14.553Z] ---> Running in 15921f7d8e21 [2020-10-03T12:00:14.751Z] + 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-03T12:00:14.820Z] Removing intermediate container 15921f7d8e21 [2020-10-03T12:00:14.821Z] ---> 393ebf9d08ea [2020-10-03T12:00:14.821Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-03T12:00:14.821Z] ---> Running in 66074f6768bd [2020-10-03T12:00:15.084Z] Removing intermediate container 66074f6768bd [2020-10-03T12:00:15.084Z] ---> c54fa3cf933f [2020-10-03T12:00:15.084Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-03T12:00:15.084Z] ---> Running in f417463962a5 [2020-10-03T12:00:15.739Z] Sending build context to Docker daemon 3.45MB [2020-10-03T12:00:15.740Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-03T12:00:15.740Z] Step 2/8 : FROM ${BASE} [2020-10-03T12:00:16.011Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-03T12:00:16.011Z] b538f80385f9: Pulling fs layer [2020-10-03T12:00:16.011Z] 74f711af9a0d: Pulling fs layer [2020-10-03T12:00:16.011Z] 99f96fe45779: Pulling fs layer [2020-10-03T12:00:16.011Z] 8529a6b9a6be: Pulling fs layer [2020-10-03T12:00:16.011Z] 45590311c82a: Pulling fs layer [2020-10-03T12:00:16.011Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-03T12:00:16.011Z] 209524e5b208: Pulling fs layer [2020-10-03T12:00:16.011Z] 45590311c82a: Waiting [2020-10-03T12:00:16.011Z] 69ca0ff8b7b3: Waiting [2020-10-03T12:00:16.011Z] 209524e5b208: Waiting [2020-10-03T12:00:16.011Z] 8529a6b9a6be: Waiting [2020-10-03T12:00:16.011Z] 99f96fe45779: Verifying Checksum [2020-10-03T12:00:16.011Z] 99f96fe45779: Download complete [2020-10-03T12:00:16.011Z] 74f711af9a0d: Verifying Checksum [2020-10-03T12:00:16.011Z] 74f711af9a0d: Download complete [2020-10-03T12:00:16.011Z] 45590311c82a: Verifying Checksum [2020-10-03T12:00:16.011Z] 45590311c82a: Download complete [2020-10-03T12:00:16.011Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-03T12:00:16.011Z] 69ca0ff8b7b3: Download complete [2020-10-03T12:00:16.045Z] Removing intermediate container f417463962a5 [2020-10-03T12:00:16.045Z] ---> ac4db55e28a0 [2020-10-03T12:00:16.045Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-03T12:00:16.045Z] ---> Running in 81be785f7e6e [2020-10-03T12:00:16.283Z] b538f80385f9: Verifying Checksum [2020-10-03T12:00:16.283Z] b538f80385f9: Download complete [2020-10-03T12:00:16.630Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-03T12:00:16.881Z] b538f80385f9: Pull complete [2020-10-03T12:00:17.204Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-03T12:00:18.153Z] OK: 166 MiB in 39 packages [2020-10-03T12:00:18.417Z] Removing intermediate container 81be785f7e6e [2020-10-03T12:00:18.417Z] ---> 1220dd6e3a6e [2020-10-03T12:00:18.417Z] Step 8/24 : COPY . . [2020-10-03T12:00:18.884Z] 209524e5b208: Verifying Checksum [2020-10-03T12:00:18.884Z] 209524e5b208: Download complete [2020-10-03T12:00:19.824Z] ---> 1f7166ac9e72 [2020-10-03T12:00:19.824Z] Step 9/24 : RUN ${MAKE} [2020-10-03T12:00:19.824Z] ---> Running in dea93c046bd7 [2020-10-03T12:00:19.859Z] 8529a6b9a6be: Verifying Checksum [2020-10-03T12:00:19.859Z] 8529a6b9a6be: Download complete [2020-10-03T12:00:20.099Z] 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-03T12:00:20.833Z] 74f711af9a0d: Pull complete [2020-10-03T12:00:20.833Z] 99f96fe45779: Pull complete [2020-10-03T12:00:28.341Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-03T12:00:29.291Z] Removing intermediate container dea93c046bd7 [2020-10-03T12:00:29.291Z] ---> 3198f2c5f5a3 [2020-10-03T12:00:29.291Z] Step 10/24 : FROM scratch [2020-10-03T12:00:29.291Z] ---> [2020-10-03T12:00:29.291Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-03T12:00:29.554Z] ---> Running in 19105e67203d [2020-10-03T12:00:29.554Z] Removing intermediate container 19105e67203d [2020-10-03T12:00:29.554Z] ---> dd2d08a22d7e [2020-10-03T12:00:29.554Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-03T12:00:29.818Z] ---> Running in 599a15c9cd16 [2020-10-03T12:00:29.818Z] Removing intermediate container 599a15c9cd16 [2020-10-03T12:00:29.818Z] ---> 840ca9fa25d9 [2020-10-03T12:00:29.818Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-03T12:00:29.818Z] ---> Running in 802429112da6 [2020-10-03T12:00:30.080Z] Removing intermediate container 802429112da6 [2020-10-03T12:00:30.080Z] ---> 70ebe7ae592d [2020-10-03T12:00:30.080Z] Step 14/24 : WORKDIR / [2020-10-03T12:00:30.080Z] ---> Running in 099f196330a4 [2020-10-03T12:00:30.344Z] Removing intermediate container 099f196330a4 [2020-10-03T12:00:30.344Z] ---> 3f09e24e326d [2020-10-03T12:00:30.344Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-03T12:00:30.606Z] ---> 60d0d8d1646d [2020-10-03T12:00:30.606Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-03T12:00:30.869Z] ---> 99eef27e3911 [2020-10-03T12:00:30.869Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-03T12:00:31.132Z] ---> a49f603e3de8 [2020-10-03T12:00:31.132Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-03T12:00:31.396Z] ---> c89584a4684e [2020-10-03T12:00:31.396Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-03T12:00:31.658Z] ---> 2371aa38ff6d [2020-10-03T12:00:31.658Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-03T12:00:31.658Z] ---> Running in 9f34fd1fe302 [2020-10-03T12:00:31.658Z] Removing intermediate container 9f34fd1fe302 [2020-10-03T12:00:31.658Z] ---> f64e1f2ed7f3 [2020-10-03T12:00:31.658Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-03T12:00:31.922Z] ---> Running in e1b6535fc8ea [2020-10-03T12:00:31.922Z] Removing intermediate container e1b6535fc8ea [2020-10-03T12:00:31.922Z] ---> 4f678fb72b7e [2020-10-03T12:00:31.922Z] Step 22/24 : LABEL arch=amd64 [2020-10-03T12:00:31.922Z] ---> Running in a55d675499d5 [2020-10-03T12:00:32.189Z] Removing intermediate container a55d675499d5 [2020-10-03T12:00:32.189Z] ---> 51e311552460 [2020-10-03T12:00:32.189Z] Step 23/24 : LABEL git_sha=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [2020-10-03T12:00:32.189Z] ---> Running in f7b20e4def3d [2020-10-03T12:00:32.454Z] Removing intermediate container f7b20e4def3d [2020-10-03T12:00:32.454Z] ---> 78159ae508c8 [2020-10-03T12:00:32.454Z] Step 24/24 : LABEL version=0.0.0 [2020-10-03T12:00:32.454Z] ---> Running in 096dff0bd478 [2020-10-03T12:00:32.716Z] Removing intermediate container 096dff0bd478 [2020-10-03T12:00:32.716Z] ---> 752bd2945876 [2020-10-03T12:00:32.716Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-03T12:00:32.716Z] Successfully built 752bd2945876 [2020-10-03T12:00:32.717Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2020-10-03T12:00:33.244Z] 8529a6b9a6be: Pull complete [2020-10-03T12:00:33.244Z] 45590311c82a: Pull complete [2020-10-03T12:00:33.244Z] 69ca0ff8b7b3: Pull complete Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-03T12:00:35.913Z] 209524e5b208: Pull complete [2020-10-03T12:00:35.913Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-03T12:00:35.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-03T12:00:35.913Z] ---> 5bddaf1c2fca [2020-10-03T12:00:35.913Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-03T12:00:38.562Z] ---> Running in bd0e4e4c373e [2020-10-03T12:00:38.842Z] Removing intermediate container bd0e4e4c373e [2020-10-03T12:00:38.843Z] ---> b9f4b6825f20 [2020-10-03T12:00:38.843Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-03T12:00:38.843Z] ---> Running in ea881ec0baef [2020-10-03T12:00:41.477Z] Removing intermediate container ea881ec0baef [2020-10-03T12:00:41.477Z] ---> e2e58dc062e1 [2020-10-03T12:00:41.477Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-03T12:00:41.755Z] ---> Running in 57d76a8bc4a7 [2020-10-03T12:00:43.198Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-03T12:00:44.178Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-03T12:00:45.164Z] OK: 142 MiB in 39 packages [2020-10-03T12:00:46.150Z] Removing intermediate container 57d76a8bc4a7 [2020-10-03T12:00:46.150Z] ---> d2f2fd4725e5 [2020-10-03T12:00:46.150Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-03T12:00:46.150Z] ---> Running in 22b908662823 [2020-10-03T12:00:46.749Z] Removing intermediate container 22b908662823 [2020-10-03T12:00:46.749Z] ---> 2674e1877f83 [2020-10-03T12:00:46.749Z] Step 7/8 : COPY . . [2020-10-03T12:00:48.196Z] ---> eea3905e4e29 [2020-10-03T12:00:48.196Z] Step 8/8 : RUN go mod download [2020-10-03T12:00:48.196Z] ---> Running in e11ceb51bff8 [2020-10-03T12:01:10.479Z] Removing intermediate container e11ceb51bff8 [2020-10-03T12:01:10.479Z] ---> 3f015133c14d [2020-10-03T12:01:10.479Z] Successfully built 3f015133c14d [2020-10-03T12:01:10.479Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-03T12:01:11.054Z] + docker inspect -f . ci-base-image-arm64 [2020-10-03T12:01:11.054Z] . [Pipeline] withDockerContainer [2020-10-03T12:01:11.487Z] prd-ubuntu18.04-docker-arm64-4c-16g-3231 does not seem to be running inside a container [2020-10-03T12:01:11.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-03T12:01:13.550Z] $ docker top 16faed6ef585b513d11015aa4709db8708bdd291521077e4131174180a8bae7a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-03T12:01:15.047Z] + go version [2020-10-03T12:01:15.047Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-03T12:01:15.089Z] $ docker stop --time=1 16faed6ef585b513d11015aa4709db8708bdd291521077e4131174180a8bae7a [2020-10-03T12:01:17.051Z] $ docker rm -f 16faed6ef585b513d11015aa4709db8708bdd291521077e4131174180a8bae7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-03T12:01:18.196Z] + docker inspect -f . ci-base-image-arm64 [2020-10-03T12:01:18.197Z] . [Pipeline] withDockerContainer [2020-10-03T12:01:18.533Z] prd-ubuntu18.04-docker-arm64-4c-16g-3231 does not seem to be running inside a container [2020-10-03T12:01:18.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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-03T12:01:20.522Z] $ docker top db92588885789d89eba262e4f57f6ed3da3bd762772ae68e5e133b4f54f5adee -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-03T12:01:22.013Z] + make test [2020-10-03T12:01:22.014Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-03T12:01:44.481Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-03T12:02:23.620Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-03T12:02:23.621Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-03T12:02:23.621Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-03T12:02:23.621Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.148s coverage: 21.6% of statements [2020-10-03T12:02:23.896Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.268s coverage: 97.1% of statements [2020-10-03T12:02:56.260Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.120s coverage: 9.4% of statements [2020-10-03T12:02:56.261Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.145s coverage: 21.9% of statements [2020-10-03T12:02:56.261Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-03T12:02:56.261Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.623s coverage: 39.9% of statements [2020-10-03T12:02:56.261Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-03T12:02:56.261Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.746s coverage: 65.4% of statements [2020-10-03T12:02:56.261Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-03T12:02:56.261Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-03T12:02:56.261Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-03T12:02:56.261Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-03T12:02:56.261Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements [2020-10-03T12:02:56.261Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-03T12:02:56.261Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.632s coverage: 68.9% of statements [2020-10-03T12:02:56.261Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-03T12:02:56.261Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-03T12:02:56.261Z] GO111MODULE=on go vet ./... [2020-10-03T12:03:23.132Z] gofmt -l . [2020-10-03T12:03:23.402Z] [ "`gofmt -l .`" = "" ] [2020-10-03T12:03:23.677Z] ./bin/test-attribution-txt.sh [2020-10-03T12:03:24.661Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-03T12:03:25.012Z] Warning: overwriting stash ‘coverage-report’ [2020-10-03T12:03:25.941Z] Stashed 1 file(s) [Pipeline] } [2020-10-03T12:03:25.951Z] $ docker stop --time=1 db92588885789d89eba262e4f57f6ed3da3bd762772ae68e5e133b4f54f5adee [2020-10-03T12:03:28.231Z] $ docker rm -f db92588885789d89eba262e4f57f6ed3da3bd762772ae68e5e133b4f54f5adee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-03T12:03:29.912Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-03T12:03:30.283Z] + ls -al . [2020-10-03T12:03:30.283Z] total 232 [2020-10-03T12:03:30.283Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 12:03 . [2020-10-03T12:03:30.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:00 .. [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 12:00 .dockerignore [2020-10-03T12:03:30.283Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 12:00 .git [2020-10-03T12:03:30.283Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 12:00 .github [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 3 12:00 .gitignore [2020-10-03T12:03:30.283Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 12:00 .semver [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 3 12:00 Dockerfile.build [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 785 Oct 3 12:00 Jenkinsfile [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 12:00 LICENSE [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 3 12:00 Makefile [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 3 12:00 README.md [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 3 12:00 RELEASE-NOTES.txt [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 11:56 VERSION [2020-10-03T12:03:30.283Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 12:00 bin [2020-10-03T12:03:30.283Z] -rw-r--r-- 1 jenkins jenkins 111040 Oct 3 12:02 coverage.out [2020-10-03T12:03:30.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:00 example [2020-10-03T12:03:30.283Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 3 12:03 go.mod [2020-10-03T12:03:30.283Z] -rw-r--r-- 1 jenkins jenkins 13731 Oct 3 12:03 go.sum [2020-10-03T12:03:30.283Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 3 12:00 internal [2020-10-03T12:03:30.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:00 openapi [2020-10-03T12:03:30.283Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 12:00 pkg [2020-10-03T12:03:30.283Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:00 snap [2020-10-03T12:03:30.283Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 12:00 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-03T12:03:30.627Z] + 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=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 --label arch=arm64 --label version=0.0.0 . [2020-10-03T12:03:31.226Z] Sending build context to Docker daemon 3.561MB [2020-10-03T12:03:31.226Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-03T12:03:31.226Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-03T12:03:31.226Z] ---> 3f015133c14d [2020-10-03T12:03:31.226Z] Step 3/24 : ARG MAKE='make build' [2020-10-03T12:03:31.503Z] ---> Running in fdcf73e0d306 [2020-10-03T12:03:32.107Z] Removing intermediate container fdcf73e0d306 [2020-10-03T12:03:32.107Z] ---> c8e9e9f112ef [2020-10-03T12:03:32.107Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-03T12:03:32.107Z] ---> Running in 0970b9241969 [2020-10-03T12:03:32.702Z] Removing intermediate container 0970b9241969 [2020-10-03T12:03:32.703Z] ---> 206a4e425400 [2020-10-03T12:03:32.703Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-03T12:03:32.703Z] ---> Running in ce6525309cb4 [2020-10-03T12:03:32.978Z] Removing intermediate container ce6525309cb4 [2020-10-03T12:03:32.978Z] ---> e6d7909730d9 [2020-10-03T12:03:32.978Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-03T12:03:33.252Z] ---> Running in 02d1e8489bf3 [2020-10-03T12:03:35.872Z] Removing intermediate container 02d1e8489bf3 [2020-10-03T12:03:35.872Z] ---> 494b302638ce [2020-10-03T12:03:35.872Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-03T12:03:35.872Z] ---> Running in b76393be1b42 [2020-10-03T12:03:37.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-03T12:03:37.922Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-03T12:03:38.905Z] OK: 142 MiB in 39 packages [2020-10-03T12:03:39.884Z] Removing intermediate container b76393be1b42 [2020-10-03T12:03:39.884Z] ---> c22aa4009994 [2020-10-03T12:03:39.884Z] Step 8/24 : COPY . . [2020-10-03T12:03:41.326Z] ---> 124c02492266 [2020-10-03T12:03:41.326Z] Step 9/24 : RUN ${MAKE} [2020-10-03T12:03:41.326Z] ---> Running in dc8af54e4a83 [2020-10-03T12:03:42.764Z] 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-03T12:04:09.592Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-03T12:04:09.592Z] Removing intermediate container dc8af54e4a83 [2020-10-03T12:04:09.592Z] ---> 1408b85e718b [2020-10-03T12:04:09.592Z] Step 10/24 : FROM scratch [2020-10-03T12:04:09.592Z] ---> [2020-10-03T12:04:09.592Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-03T12:04:09.592Z] ---> Running in 3bc572977878 [2020-10-03T12:04:09.592Z] Removing intermediate container 3bc572977878 [2020-10-03T12:04:09.592Z] ---> 987b7a78fc7d [2020-10-03T12:04:09.592Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-03T12:04:09.592Z] ---> Running in b4950806e5ed [2020-10-03T12:04:09.592Z] Removing intermediate container b4950806e5ed [2020-10-03T12:04:09.592Z] ---> 4a539d7af924 [2020-10-03T12:04:09.593Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-03T12:04:09.593Z] ---> Running in 13ea8065dbc7 [2020-10-03T12:04:09.869Z] Removing intermediate container 13ea8065dbc7 [2020-10-03T12:04:09.869Z] ---> 2eff1f95c81b [2020-10-03T12:04:09.869Z] Step 14/24 : WORKDIR / [2020-10-03T12:04:09.869Z] ---> Running in 625606d07d54 [2020-10-03T12:04:10.468Z] Removing intermediate container 625606d07d54 [2020-10-03T12:04:10.468Z] ---> 526746635848 [2020-10-03T12:04:10.468Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-03T12:04:11.451Z] ---> ff48b0fd7796 [2020-10-03T12:04:11.451Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-03T12:04:12.430Z] ---> f641050ad104 [2020-10-03T12:04:12.430Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-03T12:04:13.025Z] ---> 842fe90140f1 [2020-10-03T12:04:13.025Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-03T12:04:13.633Z] ---> 72b82de0ffef [2020-10-03T12:04:13.633Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-03T12:04:14.616Z] ---> 562ef3016777 [2020-10-03T12:04:14.616Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-03T12:04:14.616Z] ---> Running in 141b3ed54f1d [2020-10-03T12:04:15.211Z] Removing intermediate container 141b3ed54f1d [2020-10-03T12:04:15.211Z] ---> 0246a04c9be1 [2020-10-03T12:04:15.211Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-03T12:04:15.211Z] ---> Running in e29dff70f86d [2020-10-03T12:04:15.485Z] Removing intermediate container e29dff70f86d [2020-10-03T12:04:15.485Z] ---> 426109204663 [2020-10-03T12:04:15.485Z] Step 22/24 : LABEL arch=arm64 [2020-10-03T12:04:15.764Z] ---> Running in dc902e042e41 [2020-10-03T12:04:16.037Z] Removing intermediate container dc902e042e41 [2020-10-03T12:04:16.037Z] ---> 2b7d46829503 [2020-10-03T12:04:16.037Z] Step 23/24 : LABEL git_sha=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [2020-10-03T12:04:16.312Z] ---> Running in b85e7ba8c968 [2020-10-03T12:04:16.907Z] Removing intermediate container b85e7ba8c968 [2020-10-03T12:04:16.907Z] ---> c6eacc87abdf [2020-10-03T12:04:16.907Z] Step 24/24 : LABEL version=0.0.0 [2020-10-03T12:04:16.907Z] ---> Running in 62d0a3417a49 [2020-10-03T12:04:17.501Z] Removing intermediate container 62d0a3417a49 [2020-10-03T12:04:17.501Z] ---> 15bd1fe93f2a [2020-10-03T12:04:17.501Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-03T12:04:17.501Z] Successfully built 15bd1fe93f2a [2020-10-03T12:04:17.501Z] 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-03T12:04:19.157Z] provisioning config files... [2020-10-03T12:04:19.169Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config6786513606863353099tmp [Pipeline] { [Pipeline] sh [2020-10-03T12:04:19.562Z] + set +x [2020-10-03T12:04:19.562Z] + curl -s https://codecov.io/bash [2020-10-03T12:04:19.562Z] + bash -s -- [2020-10-03T12:04:19.824Z] [2020-10-03T12:04:19.824Z] _____ _ [2020-10-03T12:04:19.824Z] / ____| | | [2020-10-03T12:04:19.824Z] | | ___ __| | ___ ___ _____ __ [2020-10-03T12:04:19.824Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-03T12:04:19.824Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-03T12:04:19.824Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-03T12:04:19.824Z] Bash-20200917-4e8f14b [2020-10-03T12:04:19.824Z] [2020-10-03T12:04:19.824Z] [2020-10-03T12:04:19.824Z] ==> Jenkins CI detected. [2020-10-03T12:04:19.824Z] project root: . [2020-10-03T12:04:19.824Z] --> token set from env [2020-10-03T12:04:19.824Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-03T12:04:19.824Z] ==> Running gcov in . (disable via -X gcov) [2020-10-03T12:04:19.824Z] ==> Python coveragepy not found [2020-10-03T12:04:19.824Z] ==> Searching for coverage reports in: [2020-10-03T12:04:19.824Z] + . [2020-10-03T12:04:19.824Z] -> Found 1 reports [2020-10-03T12:04:19.824Z] ==> Detecting git/mercurial file structure [2020-10-03T12:04:19.824Z] ==> Reading reports [2020-10-03T12:04:19.824Z] + ./coverage.out bytes=111040 [2020-10-03T12:04:19.824Z] ==> Appending adjustments [2020-10-03T12:04:19.824Z] https://docs.codecov.io/docs/fixing-reports [2020-10-03T12:04:20.087Z] + Found adjustments [2020-10-03T12:04:20.351Z] ==> Gzipping contents [2020-10-03T12:04:20.351Z] ==> Uploading reports [2020-10-03T12:04:20.351Z] url: https://codecov.io [2020-10-03T12:04:20.351Z] query: branch=PR-582&commit=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-03T12:04:20.351Z] -> Pinging Codecov [2020-10-03T12:04:20.351Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=9375b7f525fed189b1e4f3d517ca2f0a3bc3a480&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-03T12:04:20.613Z] -> Uploading to [2020-10-03T12:04:20.613Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-03/7E55EF52A471D76F132DFD9A03CDDE97/9375b7f525fed189b1e4f3d517ca2f0a3bc3a480/12c1d135-48a5-4249-86da-f19650707dfb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201003T120420Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c951a1af8703bf7d4711ebdb33431fcd0bd51b1fdfd1a85c962569cdc029d3a [2020-10-03T12:04:20.874Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-03T12:04:20.875Z] Dload Upload Total Spent Left Speed [2020-10-03T12:04:21.135Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18309 0 0 100 18309 0 46935 --:--:-- --:--:-- --:--:-- 46946 [2020-10-03T12:04:21.135Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9375b7f525fed189b1e4f3d517ca2f0a3bc3a480 [Pipeline] } [2020-10-03T12:04:21.145Z] 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-03T12:04:24.365Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-03T12:04:24.949Z] ---> package-listing.sh [2020-10-03T12:04:24.949Z] ++ facter osfamily [2020-10-03T12:04:24.949Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-03T12:04:24.949Z] + OS_FAMILY=redhat [2020-10-03T12:04:24.949Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-03T12:04:24.949Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-03T12:04:24.949Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-03T12:04:24.949Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-03T12:04:24.949Z] + PACKAGES=/tmp/packages_start.txt [2020-10-03T12:04:24.949Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-03T12:04:24.949Z] + PACKAGES=/tmp/packages_end.txt [2020-10-03T12:04:24.949Z] + case "${OS_FAMILY}" in [2020-10-03T12:04:24.949Z] + rpm -qa [2020-10-03T12:04:24.949Z] + sort [2020-10-03T12:04:29.184Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-03T12:04:29.184Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-03T12:04:29.184Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-03T12:04:29.184Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-03T12:04:29.184Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-10-03T12:04:29.184Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-03T12:04:29.389Z] provisioning config files... [2020-10-03T12:04:29.405Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config364994477479355234tmp [Pipeline] { [Pipeline] echo [2020-10-03T12:04:29.485Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-03T12:04:29.802Z] ---> create-netrc.sh [Pipeline] } [2020-10-03T12:04:29.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-03T12:04:29.907Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-03T12:04:30.208Z] ---> python-tools-install.sh [2020-10-03T12:04:30.208Z] Generating Requirements File [2020-10-03T12:05:51.756Z] Python 3.6.8 [2020-10-03T12:05:51.756Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-03T12:05:51.756Z] aiohttp==3.6.2 [2020-10-03T12:05:51.756Z] appdirs==1.4.3 [2020-10-03T12:05:51.756Z] argcomplete==1.12.1 [2020-10-03T12:05:51.756Z] aspy.yaml==1.3.0 [2020-10-03T12:05:51.756Z] async-timeout==3.0.1 [2020-10-03T12:05:51.756Z] attrs==19.3.0 [2020-10-03T12:05:51.756Z] Babel==2.8.0 [2020-10-03T12:05:51.756Z] beautifulsoup4==4.8.2 [2020-10-03T12:05:51.756Z] boto3==1.11.6 [2020-10-03T12:05:51.756Z] botocore==1.14.6 [2020-10-03T12:05:51.756Z] bs4==0.0.1 [2020-10-03T12:05:51.756Z] cachetools==4.1.1 [2020-10-03T12:05:51.756Z] certifi==2019.11.28 [2020-10-03T12:05:51.756Z] cffi==1.14.3 [2020-10-03T12:05:51.756Z] cfgv==2.0.1 [2020-10-03T12:05:51.756Z] chardet==3.0.4 [2020-10-03T12:05:51.756Z] click==7.1 [2020-10-03T12:05:51.756Z] cliff==3.4.0 [2020-10-03T12:05:51.756Z] cmd2==1.3.11 [2020-10-03T12:05:51.756Z] colorama==0.4.3 [2020-10-03T12:05:51.756Z] cryptography==3.1.1 [2020-10-03T12:05:51.756Z] debtcollector==2.2.0 [2020-10-03T12:05:51.756Z] decorator==4.4.2 [2020-10-03T12:05:51.756Z] defusedxml==0.6.0 [2020-10-03T12:05:51.756Z] Deprecated==1.2.7 [2020-10-03T12:05:51.756Z] distlib==0.3.1 [2020-10-03T12:05:51.756Z] distro==1.2.0 [2020-10-03T12:05:51.756Z] dnspython==1.16.0 [2020-10-03T12:05:51.756Z] docker==4.2.0 [2020-10-03T12:05:51.756Z] docutils==0.15.2 [2020-10-03T12:05:51.756Z] dogpile.cache==1.0.2 [2020-10-03T12:05:51.756Z] email-validator==1.0.5 [2020-10-03T12:05:51.756Z] filelock==3.0.12 [2020-10-03T12:05:51.756Z] future==0.18.2 [2020-10-03T12:05:51.756Z] google-auth==1.22.0 [2020-10-03T12:05:51.756Z] httplib2==0.17.0 [2020-10-03T12:05:51.756Z] identify==1.4.11 [2020-10-03T12:05:51.756Z] idna==2.9 [2020-10-03T12:05:51.756Z] idna-ssl==1.1.0 [2020-10-03T12:05:51.756Z] importlib-metadata==1.7.0 [2020-10-03T12:05:51.756Z] importlib-resources==1.5.0 [2020-10-03T12:05:51.756Z] iso8601==0.1.13 [2020-10-03T12:05:51.756Z] Jinja2==2.11.1 [2020-10-03T12:05:51.756Z] jmespath==0.10.0 [2020-10-03T12:05:51.756Z] jsonpatch==1.26 [2020-10-03T12:05:51.756Z] jsonpointer==2.0 [2020-10-03T12:05:51.756Z] jsonschema==3.2.0 [2020-10-03T12:05:51.756Z] keystoneauth1==4.2.1 [2020-10-03T12:05:51.756Z] kubernetes==11.0.0 [2020-10-03T12:05:51.756Z] lftools==0.34.2 [2020-10-03T12:05:51.756Z] lxml==4.5.0 [2020-10-03T12:05:51.756Z] MarkupSafe==0.23 [2020-10-03T12:05:51.756Z] msgpack==1.0.0 [2020-10-03T12:05:51.756Z] multi-key-dict==2.0.3 [2020-10-03T12:05:51.757Z] multidict==4.7.6 [2020-10-03T12:05:51.757Z] munch==2.5.0 [2020-10-03T12:05:51.757Z] netaddr==0.8.0 [2020-10-03T12:05:51.757Z] netifaces==0.10.9 [2020-10-03T12:05:51.757Z] niet==1.4.2 [2020-10-03T12:05:51.757Z] nodeenv==1.3.5 [2020-10-03T12:05:51.757Z] oauth2client==4.1.3 [2020-10-03T12:05:51.757Z] oauthlib==3.1.0 [2020-10-03T12:05:51.757Z] openstacksdk==0.50.0 [2020-10-03T12:05:51.757Z] os-client-config==2.1.0 [2020-10-03T12:05:51.757Z] os-service-types==1.7.0 [2020-10-03T12:05:51.757Z] osc-lib==2.2.1 [2020-10-03T12:05:51.757Z] oslo.config==8.3.2 [2020-10-03T12:05:51.757Z] oslo.context==3.1.1 [2020-10-03T12:05:51.757Z] oslo.i18n==5.0.1 [2020-10-03T12:05:51.757Z] oslo.log==4.4.0 [2020-10-03T12:05:51.757Z] oslo.serialization==4.0.1 [2020-10-03T12:05:51.757Z] oslo.utils==4.6.0 [2020-10-03T12:05:51.757Z] packaging==20.4 [2020-10-03T12:05:51.757Z] pbr==5.4.4 [2020-10-03T12:05:51.757Z] pluggy==0.13.1 [2020-10-03T12:05:51.757Z] prettytable==0.7.2 [2020-10-03T12:05:51.757Z] py==1.9.0 [2020-10-03T12:05:51.757Z] pyasn1==0.4.8 [2020-10-03T12:05:51.757Z] pyasn1-modules==0.2.8 [2020-10-03T12:05:51.757Z] pycparser==2.20 [2020-10-03T12:05:51.757Z] pygerrit2==2.0.10 [2020-10-03T12:05:51.757Z] PyGithub==1.46 [2020-10-03T12:05:51.757Z] pyinotify==0.9.6 [2020-10-03T12:05:51.757Z] PyJWT==1.7.1 [2020-10-03T12:05:51.757Z] pyparsing==2.4.7 [2020-10-03T12:05:51.757Z] pyperclip==1.8.0 [2020-10-03T12:05:51.757Z] pyroute2==0.4.13 [2020-10-03T12:05:51.757Z] pyrsistent==0.15.7 [2020-10-03T12:05:51.757Z] PySocks==1.6.8 [2020-10-03T12:05:51.757Z] python-cinderclient==7.2.0 [2020-10-03T12:05:51.757Z] python-dateutil==2.8.1 [2020-10-03T12:05:51.757Z] python-heatclient==2.2.1 [2020-10-03T12:05:51.757Z] python-jenkins==1.7.0 [2020-10-03T12:05:51.757Z] python-keystoneclient==4.1.1 [2020-10-03T12:05:51.757Z] python-magnumclient==3.2.1 [2020-10-03T12:05:51.757Z] python-novaclient==17.2.1 [2020-10-03T12:05:51.757Z] python-openstackclient==5.4.0 [2020-10-03T12:05:51.757Z] python-swiftclient==3.10.1 [2020-10-03T12:05:51.757Z] pytz==2020.1 [2020-10-03T12:05:51.757Z] PyYAML==5.3 [2020-10-03T12:05:51.757Z] requests==2.23.0 [2020-10-03T12:05:51.757Z] requests-oauthlib==1.3.0 [2020-10-03T12:05:51.757Z] requestsexceptions==1.4.0 [2020-10-03T12:05:51.757Z] rfc3986==1.4.0 [2020-10-03T12:05:51.757Z] rpm==4.11.3 [2020-10-03T12:05:51.757Z] rsa==4.0 [2020-10-03T12:05:51.757Z] ruamel.yaml==0.16.10 [2020-10-03T12:05:51.757Z] ruamel.yaml.clib==0.2.0 [2020-10-03T12:05:51.757Z] s3transfer==0.3.3 [2020-10-03T12:05:51.757Z] shade==1.27.2 [2020-10-03T12:05:51.757Z] simplejson==3.17.2 [2020-10-03T12:05:51.757Z] six==1.14.0 [2020-10-03T12:05:51.757Z] soupsieve==2.0 [2020-10-03T12:05:51.757Z] stevedore==3.2.2 [2020-10-03T12:05:51.757Z] tabulate==0.8.6 [2020-10-03T12:05:51.757Z] toml==0.10.0 [2020-10-03T12:05:51.757Z] tox==3.20.0 [2020-10-03T12:05:51.757Z] tqdm==4.43.0 [2020-10-03T12:05:51.757Z] typing-extensions==3.7.4.3 [2020-10-03T12:05:51.757Z] urllib3==1.25.8 [2020-10-03T12:05:51.757Z] virtualenv==20.0.32 [2020-10-03T12:05:51.757Z] wcwidth==0.2.5 [2020-10-03T12:05:51.757Z] websocket-client==0.57.0 [2020-10-03T12:05:51.757Z] wrapt==1.12.1 [2020-10-03T12:05:51.757Z] xdg==3.0.2 [2020-10-03T12:05:51.757Z] xmltodict==0.12.0 [2020-10-03T12:05:51.757Z] yarl==1.6.0 [2020-10-03T12:05:51.757Z] yq==2.11.1 [2020-10-03T12:05:51.757Z] zipp==3.2.0 [2020-10-03T12:05:51.757Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:05:51.757Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-03T12:05:51.757Z] Python 2.7.5 [2020-10-03T12:05:51.757Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-03T12:05:52.331Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-03T12:05:52.331Z] ansible==2.9.7 [2020-10-03T12:05:52.331Z] Babel==0.9.6 [2020-10-03T12:05:52.331Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-03T12:05:52.331Z] beautifulsoup4==4.4.1 [2020-10-03T12:05:52.331Z] bodhi==2.11.0 [2020-10-03T12:05:52.331Z] bodhi-client==2.11.0 [2020-10-03T12:05:52.331Z] CCColUtils==1.4 [2020-10-03T12:05:52.331Z] cffi==1.6.0 [2020-10-03T12:05:52.331Z] chardet==2.2.1 [2020-10-03T12:05:52.331Z] click==6.7 [2020-10-03T12:05:52.331Z] cloud-init==18.5 [2020-10-03T12:05:52.331Z] configobj==4.7.2 [2020-10-03T12:05:52.331Z] cryptography==1.7.2 [2020-10-03T12:05:52.331Z] decorator==3.4.0 [2020-10-03T12:05:52.331Z] distro==1.2.0 [2020-10-03T12:05:52.331Z] enum34==1.0.4 [2020-10-03T12:05:52.331Z] fedpkg==1.38 [2020-10-03T12:05:52.331Z] futures==3.1.1 [2020-10-03T12:05:52.331Z] gitdb==0.6.4 [2020-10-03T12:05:52.331Z] GitPython==1.0.1 [2020-10-03T12:05:52.331Z] html5lib==0.999 [2020-10-03T12:05:52.331Z] httplib2==0.9.2 [2020-10-03T12:05:52.331Z] idna==2.4 [2020-10-03T12:05:52.331Z] iniparse==0.4 [2020-10-03T12:05:52.331Z] ipaddress==1.0.16 [2020-10-03T12:05:52.331Z] IPy==0.75 [2020-10-03T12:05:52.331Z] javapackages==1.0.0 [2020-10-03T12:05:52.331Z] Jinja2==2.7.2 [2020-10-03T12:05:52.331Z] jmespath==0.9.4 [2020-10-03T12:05:52.331Z] jsonpatch==1.2 [2020-10-03T12:05:52.331Z] jsonpointer==1.9 [2020-10-03T12:05:52.331Z] kerberos==1.1 [2020-10-03T12:05:52.331Z] kitchen==1.1.1 [2020-10-03T12:05:52.331Z] langtable==0.0.31 [2020-10-03T12:05:52.331Z] lockfile==0.9.1 [2020-10-03T12:05:52.331Z] lxml==3.2.1 [2020-10-03T12:05:52.331Z] MarkupSafe==0.11 [2020-10-03T12:05:52.331Z] munch==2.0.2 [2020-10-03T12:05:52.331Z] offtrac==0.1.0 [2020-10-03T12:05:52.331Z] openidc-client==0.6.0 [2020-10-03T12:05:52.331Z] packagedb-cli==2.14.1 [2020-10-03T12:05:52.331Z] paramiko==2.1.1 [2020-10-03T12:05:52.331Z] perf==0.1 [2020-10-03T12:05:52.331Z] ply==3.4 [2020-10-03T12:05:52.331Z] policycoreutils-default-encoding==0.1 [2020-10-03T12:05:52.331Z] prettytable==0.7.2 [2020-10-03T12:05:52.331Z] pyasn1==0.1.9 [2020-10-03T12:05:52.331Z] pycparser==2.14 [2020-10-03T12:05:52.331Z] pycurl==7.19.0 [2020-10-03T12:05:52.331Z] pygobject==3.22.0 [2020-10-03T12:05:52.331Z] pygpgme==0.3 [2020-10-03T12:05:52.331Z] pyliblzma==0.5.3 [2020-10-03T12:05:52.331Z] pyOpenSSL==0.13.1 [2020-10-03T12:05:52.331Z] pyparsing==1.5.6 [2020-10-03T12:05:52.331Z] pyserial==2.6 [2020-10-03T12:05:52.331Z] python-augeas==0.5.0 [2020-10-03T12:05:52.331Z] python-bugzilla==2.3.0 [2020-10-03T12:05:52.331Z] python-dateutil==1.5 [2020-10-03T12:05:52.331Z] python-fedora==0.10.0 [2020-10-03T12:05:52.331Z] python-linux-procfs==0.4.9 [2020-10-03T12:05:52.331Z] python-yubico==1.2.3 [2020-10-03T12:05:52.331Z] pyudev==0.15 [2020-10-03T12:05:52.331Z] pyusb==1.0.0b1 [2020-10-03T12:05:52.331Z] pyxattr==0.5.1 [2020-10-03T12:05:52.331Z] PyYAML==3.10 [2020-10-03T12:05:52.331Z] requests==2.6.0 [2020-10-03T12:05:52.331Z] requests-kerberos==0.7.0 [2020-10-03T12:05:52.331Z] rpkg==1.60 [2020-10-03T12:05:52.331Z] schedutils==0.4 [2020-10-03T12:05:52.331Z] seobject==0.1 [2020-10-03T12:05:52.331Z] sepolicy==1.1 [2020-10-03T12:05:52.331Z] six==1.9.0 [2020-10-03T12:05:52.331Z] smmap==0.9.0 [2020-10-03T12:05:52.331Z] urlgrabber==3.10 [2020-10-03T12:05:52.331Z] urllib3==1.10.2 [2020-10-03T12:05:52.331Z] virtualenv==15.1.0 [2020-10-03T12:05:52.331Z] yum-langpacks==0.4.2 [2020-10-03T12:05:52.331Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-03T12:05:52.343Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-03T12:05:52.644Z] ---> sudo-logs.sh [2020-10-03T12:05:52.644Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-03T12:05:52.921Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-03T12:05:53.226Z] ---> job-cost.sh [2020-10-03T12:05:53.226Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0nYB [2020-10-03T12:06:03.258Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:03.522Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:04.471Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:04.471Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:04.471Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:04.734Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:04.734Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:05.000Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:05.000Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:05.000Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:05.263Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:05.263Z] Cache entry deserialization failed, entry ignored [2020-10-03T12:06:07.821Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-03T12:06:40.028Z] lf-activate-venv(): INFO: Adding /tmp/venv-0nYB/bin to PATH [2020-10-03T12:06:40.028Z] INFO: No Stack... [2020-10-03T12:06:40.028Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-03T12:06:40.028Z] INFO: Archiving Costs [Pipeline] echo [2020-10-03T12:06:40.046Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-03T12:06:40.353Z] ---> logs-deploy.sh [2020-10-03T12:06:40.353Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/15 [2020-10-03T12:06:40.353Z] INFO: archiving workspace using pattern(s): [2020-10-03T12:06:41.742Z] Archives upload complete. [2020-10-03T12:06:42.011Z] INFO: archiving logs to Nexus