Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9645b71a9e834bf0990a1dfff8d8da39d1637c28+51b10ba24d09b5e22132647652f16c288a0af487 (54daf636163186a753b2b87dfc4a29008cf78e25) 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, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-3648 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-614 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 9645b71a9e834bf0990a1dfff8d8da39d1637c28 Merge succeeded, producing 1179726d2677d63f569ab050fb83b666aaf36d55 Checking out Revision 1179726d2677d63f569ab050fb83b666aaf36d55 (PR-614) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9645b71a9e834bf0990a1dfff8d8da39d1637c28 # 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 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1179726d2677d63f569ab050fb83b666aaf36d55 # timeout=10 Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" > git rev-list --no-walk 9645b71a9e834bf0990a1dfff8d8da39d1637c28 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T05:17:46.867Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T05:17:47.144Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T05:17:47.266Z] ========================================================= [2020-10-06T05:17:47.266Z] EdgeX Global Pipelines Version Info [2020-10-06T05:17:47.266Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:17:48.840Z] ------------------- [2020-10-06T05:17:48.840Z] stable info: [2020-10-06T05:17:48.840Z] ------------------- [2020-10-06T05:17:48.840Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T05:17:48.840Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T05:17:48.840Z] Message: update stable to v1.0.131 [2020-10-06T05:17:49.786Z] ------------------- [2020-10-06T05:17:49.786Z] experimental info: [2020-10-06T05:17:49.786Z] ------------------- [2020-10-06T05:17:49.786Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T05:17:49.786Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T05:17:49.786Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T05:17:50.159Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T05:17:50.294Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T05:17:50.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T05:17:50.581Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T05:17:50.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T05:17:50.790Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T05:17:50.933Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T05:17:51.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T05:17:51.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T05:17:51.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T05:17:51.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T05:17:51.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T05:17:51.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T05:17:51.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T05:17:51.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T05:17:51.819Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T05:17:51.914Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T05:17:52.012Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T05:17:52.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T05:17:52.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T05:17:52.356Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-06T05:17:52.461Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-06T05:17:52.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T05:17:52.643Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T05:17:52.737Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T05:17:52.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-06T05:17:52.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-06T05:17:53.057Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-06T05:17:53.151Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1179726d2677d63f569ab050fb83b666aaf36d55 [Pipeline] echo [2020-10-06T05:17:53.242Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1179726 [Pipeline] echo [2020-10-06T05:17:53.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T05:17:54.019Z] + git log --format=format:%s -1 1179726d2677d63f569ab050fb83b666aaf36d55 [Pipeline] echo [2020-10-06T05:17:54.082Z] GIT_COMMIT: 1179726d2677d63f569ab050fb83b666aaf36d55, Commit Message: Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD [Pipeline] echo [2020-10-06T05:17:54.131Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:17:54.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T05:17:54.971Z] [2020-10-06T05:17:54.971Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:17:55.322Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T05:17:55.322Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T05:17:55.322Z] 31603596830f: Pulling fs layer [2020-10-06T05:17:55.322Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T05:17:55.322Z] 6ca5941a6612: Pulling fs layer [2020-10-06T05:17:55.322Z] ecc8261a40a4: Pulling fs layer [2020-10-06T05:17:55.322Z] ecc8261a40a4: Waiting [2020-10-06T05:17:55.322Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T05:17:55.322Z] 2a8b12db71e7: Download complete [2020-10-06T05:17:55.587Z] 31603596830f: Verifying Checksum [2020-10-06T05:17:55.588Z] 31603596830f: Download complete [2020-10-06T05:17:55.588Z] ecc8261a40a4: Verifying Checksum [2020-10-06T05:17:55.588Z] ecc8261a40a4: Download complete [2020-10-06T05:17:55.588Z] 6ca5941a6612: Verifying Checksum [2020-10-06T05:17:55.588Z] 6ca5941a6612: Download complete [2020-10-06T05:17:55.855Z] 31603596830f: Pull complete [2020-10-06T05:17:55.855Z] 2a8b12db71e7: Pull complete [2020-10-06T05:17:56.808Z] 6ca5941a6612: Pull complete [2020-10-06T05:17:56.808Z] ecc8261a40a4: Pull complete [2020-10-06T05:17:56.808Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T05:17:56.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T05:17:56.808Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T05:17:56.915Z] prd-centos7-docker-4c-2g-3648 does not seem to be running inside a container [2020-10-06T05:17:56.963Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-06T05:17:58.830Z] $ docker top 4d97b14df89f21fe99399b63fadc9f560fd1e6cbacc906d8400fb24532997b19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T05:17:59.155Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T05:17:59.155Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T05:17:59.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T05:17:59.366Z] $ docker exec 4d97b14df89f21fe99399b63fadc9f560fd1e6cbacc906d8400fb24532997b19 ssh-agent [2020-10-06T05:17:59.518Z] SSH_AUTH_SOCK=/tmp/ssh-DU3Ubzr36JGc/agent.11 [2020-10-06T05:17:59.518Z] SSH_AGENT_PID=16 [2020-10-06T05:17:59.529Z] Running ssh-add (command line suppressed) [2020-10-06T05:17:59.651Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_5026074452614342650.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_5026074452614342650.key) [2020-10-06T05:17:59.700Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T05:18:00.042Z] + git describe --exact-match --tags HEAD [2020-10-06T05:18:00.042Z] fatal: no tag exactly matches '1179726d2677d63f569ab050fb83b666aaf36d55' [Pipeline] } [2020-10-06T05:18:00.064Z] $ docker exec --env ******** --env ******** 4d97b14df89f21fe99399b63fadc9f560fd1e6cbacc906d8400fb24532997b19 ssh-agent -k [2020-10-06T05:18:00.174Z] unset SSH_AUTH_SOCK; [2020-10-06T05:18:00.175Z] unset SSH_AGENT_PID; [2020-10-06T05:18:00.175Z] echo Agent pid 16 killed; [2020-10-06T05:18:00.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T05:18:00.371Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T05:18:00.371Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T05:18:00.481Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T05:18:00.481Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T05:18:00.643Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T05:18:00.648Z] $ docker exec 4d97b14df89f21fe99399b63fadc9f560fd1e6cbacc906d8400fb24532997b19 ssh-agent [2020-10-06T05:18:00.854Z] SSH_AUTH_SOCK=/tmp/ssh-v8g4lE8TIHMH/agent.45 [2020-10-06T05:18:00.854Z] SSH_AGENT_PID=50 [2020-10-06T05:18:00.880Z] Running ssh-add (command line suppressed) [2020-10-06T05:18:01.017Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3513564432018458658.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3513564432018458658.key) [2020-10-06T05:18:01.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T05:18:01.429Z] + git semver init [2020-10-06T05:18:01.429Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T05:18:01.429Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-06T05:18:01.429Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-06T05:18:01.429Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T05:18:01.429Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T05:18:01.429Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T05:18:01.429Z] # $SEMVER_BRANCH = PR-614 [2020-10-06T05:18:01.429Z] # $SEMVER_TEMP = /tmp/semver-876297764 [2020-10-06T05:18:01.429Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T05:18:02.833Z] # '/tmp/semver-876297764' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-06T05:18:02.833Z] # -> Force: false [2020-10-06T05:18:02.833Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-06T05:18:02.847Z] $ docker exec --env ******** --env ******** 4d97b14df89f21fe99399b63fadc9f560fd1e6cbacc906d8400fb24532997b19 ssh-agent -k [2020-10-06T05:18:03.017Z] unset SSH_AUTH_SOCK; [2020-10-06T05:18:03.017Z] unset SSH_AGENT_PID; [2020-10-06T05:18:03.017Z] echo Agent pid 50 killed; [2020-10-06T05:18:03.065Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T05:18:03.545Z] + git semver [Pipeline] } [2020-10-06T05:18:03.562Z] $ docker stop --time=1 4d97b14df89f21fe99399b63fadc9f560fd1e6cbacc906d8400fb24532997b19 [2020-10-06T05:18:04.929Z] $ docker rm -f 4d97b14df89f21fe99399b63fadc9f560fd1e6cbacc906d8400fb24532997b19 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T05:18:05.869Z] Stashed 44 file(s) [Pipeline] echo [2020-10-06T05:18:05.872Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T05:18:05.968Z] 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-06T05:18:21.409Z] Still waiting to schedule task [2020-10-06T05:18:21.409Z] ‘prd-centos7-docker-4c-2g-3640’ is offline; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-3650’ is offline; ‘prd-centos7-docker-4c-2g-3651’ is offline [2020-10-06T05:18:21.413Z] Still waiting to schedule task [2020-10-06T05:18:21.413Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-06T05:21:01.139Z] Running on prd-centos7-docker-4c-2g-3659 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-06T05:21:01.198Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-06T05:21:04.593Z] using credential edgex-jenkins-ssh [2020-10-06T05:21:04.655Z] Cloning the remote Git repository [2020-10-06T05:21:04.687Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:21:04.759Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-06T05:21:04.813Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:21:04.814Z] > git --version # timeout=10 [2020-10-06T05:21:04.819Z] > git --version # 'git version 2.16.5' [2020-10-06T05:21:04.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:21:04.865Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:21:05.910Z] Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 9645b71a9e834bf0990a1dfff8d8da39d1637c28 [2020-10-06T05:21:06.022Z] Merge succeeded, producing b5a8232b1fd6e46e1db4d41d5f62f12518c6689c [2020-10-06T05:21:06.023Z] Checking out Revision b5a8232b1fd6e46e1db4d41d5f62f12518c6689c (PR-614) [2020-10-06T05:21:05.495Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:21:05.503Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:21:05.520Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:21:05.532Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:21:05.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:21:05.538Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T05:21:05.921Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:21:05.926Z] > git checkout -f 9645b71a9e834bf0990a1dfff8d8da39d1637c28 # timeout=10 [2020-10-06T05:21:05.977Z] > git remote # timeout=10 [2020-10-06T05:21:05.983Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T05:21:05.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:21:05.991Z] > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 [2020-10-06T05:21:06.017Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T05:21:06.028Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:21:06.032Z] > git checkout -f b5a8232b1fd6e46e1db4d41d5f62f12518c6689c # timeout=10 [2020-10-06T05:21:09.735Z] Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" [2020-10-06T05:21:09.741Z] > git rev-list --no-walk 9645b71a9e834bf0990a1dfff8d8da39d1637c28 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T05:21:10.694Z] ========================================================= [2020-10-06T05:21:10.694Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T05:21:10.694Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:21:11.403Z] + 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-06T05:21:11.667Z] Sending build context to Docker daemon 3.515MB [2020-10-06T05:21:11.931Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T05:21:11.931Z] Step 2/8 : FROM ${BASE} [2020-10-06T05:21:11.931Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T05:21:11.931Z] df20fa9351a1: Pulling fs layer [2020-10-06T05:21:11.931Z] ed8968b2872e: Pulling fs layer [2020-10-06T05:21:11.931Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T05:21:11.931Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T05:21:11.931Z] e73272ec9a57: Pulling fs layer [2020-10-06T05:21:11.931Z] 1e910a182e73: Pulling fs layer [2020-10-06T05:21:11.931Z] 4e634b169226: Pulling fs layer [2020-10-06T05:21:11.931Z] e73272ec9a57: Waiting [2020-10-06T05:21:11.931Z] 1e910a182e73: Waiting [2020-10-06T05:21:11.931Z] 4e634b169226: Waiting [2020-10-06T05:21:11.931Z] e871e8e8d7a9: Waiting [2020-10-06T05:21:11.931Z] a92cc7c5fd73: Verifying Checksum [2020-10-06T05:21:11.931Z] a92cc7c5fd73: Download complete [2020-10-06T05:21:11.931Z] ed8968b2872e: Verifying Checksum [2020-10-06T05:21:11.931Z] ed8968b2872e: Download complete [2020-10-06T05:21:11.931Z] e73272ec9a57: Verifying Checksum [2020-10-06T05:21:11.931Z] e73272ec9a57: Download complete [2020-10-06T05:21:12.510Z] 1e910a182e73: Download complete [2020-10-06T05:21:12.510Z] df20fa9351a1: Download complete [2020-10-06T05:21:12.781Z] df20fa9351a1: Pull complete [2020-10-06T05:21:12.781Z] ed8968b2872e: Pull complete [2020-10-06T05:21:13.049Z] a92cc7c5fd73: Pull complete [2020-10-06T05:21:14.459Z] 4e634b169226: Verifying Checksum [2020-10-06T05:21:14.459Z] 4e634b169226: Download complete [2020-10-06T05:21:15.411Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T05:21:15.411Z] e871e8e8d7a9: Download complete [2020-10-06T05:21:20.821Z] e871e8e8d7a9: Pull complete [2020-10-06T05:21:20.821Z] e73272ec9a57: Pull complete [2020-10-06T05:21:20.821Z] 1e910a182e73: Pull complete [2020-10-06T05:21:21.027Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3656 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-06T05:21:21.110Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-06T05:21:25.119Z] 4e634b169226: Pull complete [2020-10-06T05:21:25.119Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T05:21:25.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T05:21:25.119Z] ---> f7629b54cfaa [2020-10-06T05:21:25.119Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:21:25.119Z] ---> Running in fdcc990224ab [2020-10-06T05:21:25.119Z] Removing intermediate container fdcc990224ab [2020-10-06T05:21:25.119Z] ---> 1c1bc4f5229c [2020-10-06T05:21:25.119Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:21:25.119Z] ---> Running in 8baa69fc975f [2020-10-06T05:21:27.072Z] Removing intermediate container 8baa69fc975f [2020-10-06T05:21:27.072Z] ---> 505deab3ef11 [2020-10-06T05:21:27.072Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T05:21:27.072Z] ---> Running in ad7fdecbd100 [2020-10-06T05:21:27.272Z] using credential edgex-jenkins-ssh [2020-10-06T05:21:27.338Z] Cloning the remote Git repository [2020-10-06T05:21:27.667Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T05:21:28.620Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T05:21:27.411Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:21:27.555Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-06T05:21:27.769Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:21:27.772Z] > git --version # timeout=10 [2020-10-06T05:21:27.796Z] > git --version # 'git version 2.17.1' [2020-10-06T05:21:27.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:21:27.880Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:21:29.671Z] Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit 9645b71a9e834bf0990a1dfff8d8da39d1637c28 [2020-10-06T05:21:28.982Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:21:29.010Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:21:29.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:21:29.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:21:29.102Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:21:29.120Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T05:21:29.688Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:21:29.716Z] > git checkout -f 9645b71a9e834bf0990a1dfff8d8da39d1637c28 # timeout=10 [2020-10-06T05:21:29.892Z] > git remote # timeout=10 [2020-10-06T05:21:29.927Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T05:21:29.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:21:29.993Z] > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 [2020-10-06T05:21:30.019Z] OK: 166 MiB in 39 packages [2020-10-06T05:21:30.177Z] Merge succeeded, producing 06fdb6aee6f28aeda8d86e044c4895737c5870c6 [2020-10-06T05:21:30.178Z] Checking out Revision 06fdb6aee6f28aeda8d86e044c4895737c5870c6 (PR-614) [2020-10-06T05:21:30.600Z] Removing intermediate container ad7fdecbd100 [2020-10-06T05:21:30.600Z] ---> cbd0515e6968 [2020-10-06T05:21:30.600Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T05:21:30.600Z] ---> Running in ea6ecca86f47 [2020-10-06T05:21:30.600Z] Removing intermediate container ea6ecca86f47 [2020-10-06T05:21:30.600Z] ---> 658485573ba9 [2020-10-06T05:21:30.600Z] Step 7/8 : COPY . . [2020-10-06T05:21:30.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T05:21:30.185Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:21:30.213Z] > git checkout -f 06fdb6aee6f28aeda8d86e044c4895737c5870c6 # timeout=10 [2020-10-06T05:21:32.004Z] ---> 4108ce57ef21 [2020-10-06T05:21:32.004Z] Step 8/8 : RUN go mod download [2020-10-06T05:21:32.004Z] ---> Running in 2d6be33513dc [2020-10-06T05:21:34.637Z] Commit message: "Merge commit '51b10ba24d09b5e22132647652f16c288a0af487' into HEAD" [2020-10-06T05:21:34.642Z] > git rev-list --no-walk 9645b71a9e834bf0990a1dfff8d8da39d1637c28 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T05:21:36.099Z] ========================================================= [2020-10-06T05:21:36.099Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T05:21:36.100Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:21:37.318Z] + 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-06T05:21:38.305Z] Sending build context to Docker daemon 3.515MB [2020-10-06T05:21:38.305Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T05:21:38.305Z] Step 2/8 : FROM ${BASE} [2020-10-06T05:21:38.580Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T05:21:38.580Z] b538f80385f9: Pulling fs layer [2020-10-06T05:21:38.580Z] 74f711af9a0d: Pulling fs layer [2020-10-06T05:21:38.580Z] 99f96fe45779: Pulling fs layer [2020-10-06T05:21:38.580Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T05:21:38.580Z] 45590311c82a: Pulling fs layer [2020-10-06T05:21:38.580Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T05:21:38.580Z] 209524e5b208: Pulling fs layer [2020-10-06T05:21:38.580Z] 45590311c82a: Waiting [2020-10-06T05:21:38.580Z] 69ca0ff8b7b3: Waiting [2020-10-06T05:21:38.580Z] 209524e5b208: Waiting [2020-10-06T05:21:38.580Z] 8529a6b9a6be: Waiting [2020-10-06T05:21:38.580Z] 99f96fe45779: Verifying Checksum [2020-10-06T05:21:38.580Z] 99f96fe45779: Download complete [2020-10-06T05:21:38.580Z] 74f711af9a0d: Download complete [2020-10-06T05:21:38.580Z] 45590311c82a: Download complete [2020-10-06T05:21:38.580Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-06T05:21:38.580Z] 69ca0ff8b7b3: Download complete [2020-10-06T05:21:38.856Z] b538f80385f9: Verifying Checksum [2020-10-06T05:21:38.856Z] b538f80385f9: Download complete [2020-10-06T05:21:39.456Z] b538f80385f9: Pull complete [2020-10-06T05:21:40.063Z] 74f711af9a0d: Pull complete [2020-10-06T05:21:40.345Z] 99f96fe45779: Pull complete [2020-10-06T05:21:41.332Z] 209524e5b208: Verifying Checksum [2020-10-06T05:21:41.332Z] 209524e5b208: Download complete [2020-10-06T05:21:42.786Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T05:21:42.786Z] 8529a6b9a6be: Download complete [2020-10-06T05:21:50.208Z] Removing intermediate container 2d6be33513dc [2020-10-06T05:21:50.208Z] ---> bf113af4cdce [2020-10-06T05:21:50.208Z] Successfully built bf113af4cdce [2020-10-06T05:21:50.208Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:21:50.570Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T05:21:50.570Z] . [Pipeline] withDockerContainer [2020-10-06T05:21:50.679Z] prd-centos7-docker-4c-2g-3659 does not seem to be running inside a container [2020-10-06T05:21:50.734Z] $ 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 ******** ci-base-image-x86_64 cat [2020-10-06T05:21:51.732Z] $ docker top 1606102a70d5b3693b96fa79351593ebd2440db0083927f5c661b9babb12b00c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:21:52.249Z] + go version [2020-10-06T05:21:52.249Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T05:21:52.273Z] $ docker stop --time=1 1606102a70d5b3693b96fa79351593ebd2440db0083927f5c661b9babb12b00c [2020-10-06T05:21:53.003Z] 8529a6b9a6be: Pull complete [2020-10-06T05:21:53.003Z] 45590311c82a: Pull complete [2020-10-06T05:21:53.277Z] 69ca0ff8b7b3: Pull complete [2020-10-06T05:21:53.645Z] $ docker rm -f 1606102a70d5b3693b96fa79351593ebd2440db0083927f5c661b9babb12b00c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:21:54.576Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T05:21:54.576Z] . [Pipeline] withDockerContainer [2020-10-06T05:21:54.673Z] prd-centos7-docker-4c-2g-3659 does not seem to be running inside a container [2020-10-06T05:21:54.724Z] $ 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 ******** ci-base-image-x86_64 cat [2020-10-06T05:21:55.420Z] $ docker top 781eed0c1ec8d978da3aaf92f772a907555adce66f7ec6ca7ea566fc53b050c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:21:55.970Z] + make test [2020-10-06T05:21:55.970Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T05:21:56.685Z] 209524e5b208: Pull complete [2020-10-06T05:21:56.685Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T05:21:56.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T05:21:56.685Z] ---> 5bddaf1c2fca [2020-10-06T05:21:56.685Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:22:00.094Z] ---> Running in 4a2a8ea92c8e [2020-10-06T05:22:00.691Z] Removing intermediate container 4a2a8ea92c8e [2020-10-06T05:22:00.691Z] ---> 3ad8b32dfcc6 [2020-10-06T05:22:00.691Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:22:00.691Z] ---> Running in c84513b63c22 [2020-10-06T05:22:02.636Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T05:22:03.371Z] Removing intermediate container c84513b63c22 [2020-10-06T05:22:03.371Z] ---> adc31e92dd01 [2020-10-06T05:22:03.371Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T05:22:03.371Z] ---> Running in 04d16df8a350 [2020-10-06T05:22:04.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T05:22:06.342Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T05:22:07.335Z] OK: 142 MiB in 39 packages [2020-10-06T05:22:08.314Z] Removing intermediate container 04d16df8a350 [2020-10-06T05:22:08.314Z] ---> 2b5b249edd44 [2020-10-06T05:22:08.314Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T05:22:08.591Z] ---> Running in 35e5f2775bc1 [2020-10-06T05:22:09.186Z] Removing intermediate container 35e5f2775bc1 [2020-10-06T05:22:09.186Z] ---> 26751e50c12a [2020-10-06T05:22:09.186Z] Step 7/8 : COPY . . [2020-10-06T05:22:10.637Z] ---> 56a41df3c7fe [2020-10-06T05:22:10.637Z] Step 8/8 : RUN go mod download [2020-10-06T05:22:10.637Z] ---> Running in ba488e787245 [2020-10-06T05:22:17.715Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T05:22:17.715Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T05:22:17.715Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T05:22:17.715Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.071s coverage: 21.6% of statements [2020-10-06T05:22:18.306Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.422s coverage: 97.1% of statements [2020-10-06T05:22:37.483Z] Removing intermediate container ba488e787245 [2020-10-06T05:22:37.483Z] ---> a99aee1d0801 [2020-10-06T05:22:37.483Z] Successfully built a99aee1d0801 [2020-10-06T05:22:37.483Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:22:37.911Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T05:22:37.911Z] . [Pipeline] withDockerContainer [2020-10-06T05:22:38.198Z] prd-ubuntu18.04-docker-arm64-4c-16g-3656 does not seem to be running inside a container [2020-10-06T05:22:38.321Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-06T05:22:40.334Z] $ docker top 96c8f430e0784f17824f91e10f6ada01251b58d6311fbf2847d4d1b73ef20967 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:22:41.826Z] + go version [2020-10-06T05:22:41.826Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T05:22:41.866Z] $ docker stop --time=1 96c8f430e0784f17824f91e10f6ada01251b58d6311fbf2847d4d1b73ef20967 [2020-10-06T05:22:43.981Z] $ docker rm -f 96c8f430e0784f17824f91e10f6ada01251b58d6311fbf2847d4d1b73ef20967 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:22:45.150Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T05:22:45.150Z] . [Pipeline] withDockerContainer [2020-10-06T05:22:45.452Z] prd-ubuntu18.04-docker-arm64-4c-16g-3656 does not seem to be running inside a container [2020-10-06T05:22:45.552Z] $ 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 ******** ci-base-image-arm64 cat [2020-10-06T05:22:47.546Z] $ docker top ec98f465f98c2988a0256385733935884eef49fd00bf4c33941771ec51e04399 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:22:48.979Z] + make test [2020-10-06T05:22:48.979Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T05:22:50.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.071s coverage: 9.4% of statements [2020-10-06T05:22:50.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements [2020-10-06T05:22:50.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T05:22:50.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.224s coverage: 39.9% of statements [2020-10-06T05:22:50.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T05:22:50.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.287s coverage: 65.4% of statements [2020-10-06T05:22:50.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T05:22:50.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T05:22:50.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T05:22:50.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T05:22:50.610Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 52.6% of statements [2020-10-06T05:22:50.610Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T05:22:50.610Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.480s coverage: 68.9% of statements [2020-10-06T05:22:50.610Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T05:22:50.610Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T05:22:50.610Z] GO111MODULE=on go vet ./... [2020-10-06T05:22:57.281Z] gofmt -l . [2020-10-06T05:22:57.281Z] [ "`gofmt -l .`" = "" ] [2020-10-06T05:22:57.281Z] ./bin/test-attribution-txt.sh [2020-10-06T05:22:57.281Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T05:22:58.007Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T05:22:58.016Z] $ docker stop --time=1 781eed0c1ec8d978da3aaf92f772a907555adce66f7ec6ca7ea566fc53b050c9 [2020-10-06T05:23:00.027Z] $ docker rm -f 781eed0c1ec8d978da3aaf92f772a907555adce66f7ec6ca7ea566fc53b050c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-06T05:23:02.393Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T05:23:02.699Z] + ls -al . [2020-10-06T05:23:02.699Z] total 192 [2020-10-06T05:23:02.699Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 05:22 . [2020-10-06T05:23:02.699Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 05:21 .. [2020-10-06T05:23:02.699Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 05:21 bin [2020-10-06T05:23:02.699Z] -rw-r--r--. 1 jenkins jenkins 111040 Oct 6 05:22 coverage.out [2020-10-06T05:23:02.699Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 05:21 Dockerfile.build [2020-10-06T05:23:02.699Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 05:21 .dockerignore [2020-10-06T05:23:02.699Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 05:21 example [2020-10-06T05:23:02.700Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 05:21 .git [2020-10-06T05:23:02.700Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 05:21 .github [2020-10-06T05:23:02.700Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 05:21 .gitignore [2020-10-06T05:23:02.700Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 05:22 go.mod [2020-10-06T05:23:02.700Z] -rw-r--r--. 1 jenkins jenkins 13736 Oct 6 05:22 go.sum [2020-10-06T05:23:02.700Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 05:21 internal [2020-10-06T05:23:02.700Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 05:21 Jenkinsfile [2020-10-06T05:23:02.700Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 05:21 LICENSE [2020-10-06T05:23:02.700Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 05:21 Makefile [2020-10-06T05:23:02.700Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 05:21 openapi [2020-10-06T05:23:02.700Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 05:21 pkg [2020-10-06T05:23:02.700Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 05:21 README.md [2020-10-06T05:23:02.700Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 05:21 RELEASE-NOTES.txt [2020-10-06T05:23:02.700Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 05:21 .semver [2020-10-06T05:23:02.700Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 05:21 snap [2020-10-06T05:23:02.700Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 05:18 VERSION [2020-10-06T05:23:02.700Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 05:21 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:23:03.021Z] + 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=1179726d2677d63f569ab050fb83b666aaf36d55 --label arch=amd64 --label version=0.0.0 . [2020-10-06T05:23:03.297Z] Sending build context to Docker daemon 3.626MB [2020-10-06T05:23:03.297Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T05:23:03.297Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T05:23:03.297Z] ---> bf113af4cdce [2020-10-06T05:23:03.297Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T05:23:03.873Z] ---> Running in 003ad81b6fe9 [2020-10-06T05:23:04.135Z] Removing intermediate container 003ad81b6fe9 [2020-10-06T05:23:04.135Z] ---> 54a75d85df6c [2020-10-06T05:23:04.135Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T05:23:04.135Z] ---> Running in 2284958a5951 [2020-10-06T05:23:04.398Z] Removing intermediate container 2284958a5951 [2020-10-06T05:23:04.398Z] ---> d353623c2a15 [2020-10-06T05:23:04.398Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:23:04.398Z] ---> Running in fe847462e858 [2020-10-06T05:23:04.398Z] Removing intermediate container fe847462e858 [2020-10-06T05:23:04.398Z] ---> 0a47dc514fd4 [2020-10-06T05:23:04.398Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:23:04.662Z] ---> Running in f32e5f010252 [2020-10-06T05:23:05.628Z] Removing intermediate container f32e5f010252 [2020-10-06T05:23:05.628Z] ---> 85ba3d18445a [2020-10-06T05:23:05.628Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T05:23:05.628Z] ---> Running in d65520b0dc4e [2020-10-06T05:23:05.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T05:23:10.113Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T05:23:11.218Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T05:23:12.684Z] OK: 166 MiB in 39 packages [2020-10-06T05:23:12.684Z] Removing intermediate container d65520b0dc4e [2020-10-06T05:23:12.684Z] ---> dd7ff5e28163 [2020-10-06T05:23:12.684Z] Step 8/24 : COPY . . [2020-10-06T05:23:14.079Z] ---> c8902c96c125 [2020-10-06T05:23:14.079Z] Step 9/24 : RUN ${MAKE} [2020-10-06T05:23:14.079Z] ---> Running in 611523dda702 [2020-10-06T05:23:14.345Z] 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-06T05:23:22.603Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T05:23:24.525Z] Removing intermediate container 611523dda702 [2020-10-06T05:23:24.525Z] ---> 2b3a25c31580 [2020-10-06T05:23:24.525Z] Step 10/24 : FROM scratch [2020-10-06T05:23:24.525Z] ---> [2020-10-06T05:23:24.525Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:23:24.525Z] ---> Running in 43d24ff8b66b [2020-10-06T05:23:24.525Z] Removing intermediate container 43d24ff8b66b [2020-10-06T05:23:24.525Z] ---> d0be456f915d [2020-10-06T05:23:24.525Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T05:23:24.525Z] ---> Running in 9cfd0bf67320 [2020-10-06T05:23:24.786Z] Removing intermediate container 9cfd0bf67320 [2020-10-06T05:23:24.786Z] ---> 19cc33eb7117 [2020-10-06T05:23:24.786Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T05:23:24.786Z] ---> Running in 7326a1d62573 [2020-10-06T05:23:25.046Z] Removing intermediate container 7326a1d62573 [2020-10-06T05:23:25.046Z] ---> 1ae1944f7aa8 [2020-10-06T05:23:25.046Z] Step 14/24 : WORKDIR / [2020-10-06T05:23:25.046Z] ---> Running in a6c836f65ebf [2020-10-06T05:23:25.046Z] Removing intermediate container a6c836f65ebf [2020-10-06T05:23:25.046Z] ---> 64eb2032767d [2020-10-06T05:23:25.046Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T05:23:25.620Z] ---> e6848b8cddd5 [2020-10-06T05:23:25.620Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T05:23:25.880Z] ---> 67bb0626fb77 [2020-10-06T05:23:25.880Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T05:23:26.142Z] ---> 77f2b0de56b5 [2020-10-06T05:23:26.142Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T05:23:26.142Z] ---> 3edbcd21bbe5 [2020-10-06T05:23:26.142Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T05:23:26.403Z] ---> ddbb9b989b19 [2020-10-06T05:23:26.403Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T05:23:26.664Z] ---> Running in 71e0e5dd9a2c [2020-10-06T05:23:26.664Z] Removing intermediate container 71e0e5dd9a2c [2020-10-06T05:23:26.664Z] ---> fc0e61812d8c [2020-10-06T05:23:26.664Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T05:23:26.664Z] ---> Running in 6f1626bd68cb [2020-10-06T05:23:26.924Z] Removing intermediate container 6f1626bd68cb [2020-10-06T05:23:26.924Z] ---> 750b2da573e0 [2020-10-06T05:23:26.924Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T05:23:26.924Z] ---> Running in 4a866f51716d [2020-10-06T05:23:27.186Z] Removing intermediate container 4a866f51716d [2020-10-06T05:23:27.186Z] ---> 4d3ff71838a0 [2020-10-06T05:23:27.186Z] Step 23/24 : LABEL git_sha=1179726d2677d63f569ab050fb83b666aaf36d55 [2020-10-06T05:23:27.186Z] ---> Running in c64abdfd1113 [2020-10-06T05:23:27.186Z] Removing intermediate container c64abdfd1113 [2020-10-06T05:23:27.186Z] ---> a8fe9b6e7849 [2020-10-06T05:23:27.186Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T05:23:27.447Z] ---> Running in f3319988e7b6 [2020-10-06T05:23:27.447Z] Removing intermediate container f3319988e7b6 [2020-10-06T05:23:27.447Z] ---> 3572bea61956 [2020-10-06T05:23:27.447Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T05:23:27.447Z] Successfully built 3572bea61956 [2020-10-06T05:23:27.447Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-06T05:23:58.299Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T05:23:58.299Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T05:23:58.299Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T05:23:58.299Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.114s coverage: 21.6% of statements [2020-10-06T05:24:01.715Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.151s coverage: 97.1% of statements [2020-10-06T05:24:28.564Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.116s coverage: 9.4% of statements [2020-10-06T05:24:28.564Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.144s coverage: 21.9% of statements [2020-10-06T05:24:28.564Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T05:24:28.564Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.560s coverage: 39.9% of statements [2020-10-06T05:24:28.564Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T05:24:28.564Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.776s coverage: 65.4% of statements [2020-10-06T05:24:28.564Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T05:24:28.564Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T05:24:28.564Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T05:24:28.564Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T05:24:28.564Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.173s coverage: 52.6% of statements [2020-10-06T05:24:28.564Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T05:24:28.564Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.878s coverage: 68.9% of statements [2020-10-06T05:24:28.564Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T05:24:28.564Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T05:24:28.841Z] GO111MODULE=on go vet ./... [2020-10-06T05:25:01.257Z] gofmt -l . [2020-10-06T05:25:01.257Z] [ "`gofmt -l .`" = "" ] [2020-10-06T05:25:01.257Z] ./bin/test-attribution-txt.sh [2020-10-06T05:25:01.257Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T05:25:01.281Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T05:25:02.246Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T05:25:02.264Z] $ docker stop --time=1 ec98f465f98c2988a0256385733935884eef49fd00bf4c33941771ec51e04399 [2020-10-06T05:25:04.636Z] $ docker rm -f ec98f465f98c2988a0256385733935884eef49fd00bf4c33941771ec51e04399 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T05:25:06.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T05:25:06.516Z] + ls -al . [2020-10-06T05:25:06.516Z] total 232 [2020-10-06T05:25:06.516Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 05:25 . [2020-10-06T05:25:06.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:21 .. [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 05:21 .dockerignore [2020-10-06T05:25:06.516Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 05:21 .git [2020-10-06T05:25:06.516Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:21 .github [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 05:21 .gitignore [2020-10-06T05:25:06.516Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 05:21 .semver [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 05:21 Dockerfile.build [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 05:21 Jenkinsfile [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 05:21 LICENSE [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 05:21 Makefile [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 05:21 README.md [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 05:21 RELEASE-NOTES.txt [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 05:18 VERSION [2020-10-06T05:25:06.516Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:21 bin [2020-10-06T05:25:06.516Z] -rw-r--r-- 1 jenkins jenkins 111040 Oct 6 05:24 coverage.out [2020-10-06T05:25:06.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:21 example [2020-10-06T05:25:06.516Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 05:25 go.mod [2020-10-06T05:25:06.516Z] -rw-r--r-- 1 jenkins jenkins 13736 Oct 6 05:25 go.sum [2020-10-06T05:25:06.516Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 05:21 internal [2020-10-06T05:25:06.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:21 openapi [2020-10-06T05:25:06.516Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 05:21 pkg [2020-10-06T05:25:06.516Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:21 snap [2020-10-06T05:25:06.516Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 05:21 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:25:06.933Z] + 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=1179726d2677d63f569ab050fb83b666aaf36d55 --label arch=arm64 --label version=0.0.0 . [2020-10-06T05:25:07.531Z] Sending build context to Docker daemon 3.626MB [2020-10-06T05:25:07.531Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T05:25:07.531Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T05:25:07.531Z] ---> a99aee1d0801 [2020-10-06T05:25:07.531Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T05:25:07.804Z] ---> Running in 84b56533a2e8 [2020-10-06T05:25:08.077Z] Removing intermediate container 84b56533a2e8 [2020-10-06T05:25:08.077Z] ---> c2f84d0780e0 [2020-10-06T05:25:08.077Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T05:25:08.351Z] ---> Running in 9fd2631c6684 [2020-10-06T05:25:08.944Z] Removing intermediate container 9fd2631c6684 [2020-10-06T05:25:08.944Z] ---> 97d16acb541f [2020-10-06T05:25:08.944Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:25:08.944Z] ---> Running in 97ed37d9564f [2020-10-06T05:25:09.220Z] Removing intermediate container 97ed37d9564f [2020-10-06T05:25:09.220Z] ---> 237fd4cf7c00 [2020-10-06T05:25:09.220Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:25:09.494Z] ---> Running in f673c7c93cdc [2020-10-06T05:25:12.120Z] Removing intermediate container f673c7c93cdc [2020-10-06T05:25:12.120Z] ---> a3ec3648985a [2020-10-06T05:25:12.120Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T05:25:12.120Z] ---> Running in 5b11eea8d52d [2020-10-06T05:25:13.556Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T05:25:14.150Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T05:25:15.132Z] OK: 142 MiB in 39 packages [2020-10-06T05:25:16.119Z] Removing intermediate container 5b11eea8d52d [2020-10-06T05:25:16.119Z] ---> 9c0cf6f2fd01 [2020-10-06T05:25:16.119Z] Step 8/24 : COPY . . [2020-10-06T05:25:17.550Z] ---> e121b66f2f6c [2020-10-06T05:25:17.550Z] Step 9/24 : RUN ${MAKE} [2020-10-06T05:25:17.825Z] ---> Running in 560ec634f223 [2020-10-06T05:25:19.265Z] 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-06T05:25:46.099Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T05:25:46.695Z] Removing intermediate container 560ec634f223 [2020-10-06T05:25:46.695Z] ---> d3f3aa60b48d [2020-10-06T05:25:46.695Z] Step 10/24 : FROM scratch [2020-10-06T05:25:46.695Z] ---> [2020-10-06T05:25:46.695Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:25:46.695Z] ---> Running in 0e463a8b5f32 [2020-10-06T05:25:47.293Z] Removing intermediate container 0e463a8b5f32 [2020-10-06T05:25:47.293Z] ---> be10b3469ec0 [2020-10-06T05:25:47.293Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T05:25:47.294Z] ---> Running in f4c97a11a53c [2020-10-06T05:25:47.889Z] Removing intermediate container f4c97a11a53c [2020-10-06T05:25:47.889Z] ---> df9bad84a41c [2020-10-06T05:25:47.889Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T05:25:47.889Z] ---> Running in 4d2135c4bc07 [2020-10-06T05:25:48.164Z] Removing intermediate container 4d2135c4bc07 [2020-10-06T05:25:48.164Z] ---> 9e4a1e2234db [2020-10-06T05:25:48.164Z] Step 14/24 : WORKDIR / [2020-10-06T05:25:48.439Z] ---> Running in 27c8de7bc9c6 [2020-10-06T05:25:49.037Z] Removing intermediate container 27c8de7bc9c6 [2020-10-06T05:25:49.037Z] ---> 490ab4b3db38 [2020-10-06T05:25:49.037Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T05:25:50.017Z] ---> aaf1eff13b0b [2020-10-06T05:25:50.017Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T05:25:50.996Z] ---> cc121d03c054 [2020-10-06T05:25:50.996Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T05:25:51.592Z] ---> 0836d31769b5 [2020-10-06T05:25:51.592Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T05:25:52.196Z] ---> a3f519d1e2c7 [2020-10-06T05:25:52.196Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T05:25:53.174Z] ---> 929c3e11a14d [2020-10-06T05:25:53.174Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T05:25:53.174Z] ---> Running in 6f1d5c88088c [2020-10-06T05:25:53.772Z] Removing intermediate container 6f1d5c88088c [2020-10-06T05:25:53.772Z] ---> b5133819d210 [2020-10-06T05:25:53.772Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T05:25:53.772Z] ---> Running in 902195a1e0fb [2020-10-06T05:25:54.369Z] Removing intermediate container 902195a1e0fb [2020-10-06T05:25:54.369Z] ---> b4d5badb4018 [2020-10-06T05:25:54.369Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T05:25:54.369Z] ---> Running in b60449cbab29 [2020-10-06T05:25:54.964Z] Removing intermediate container b60449cbab29 [2020-10-06T05:25:54.964Z] ---> 7901a48b31cd [2020-10-06T05:25:54.964Z] Step 23/24 : LABEL git_sha=1179726d2677d63f569ab050fb83b666aaf36d55 [2020-10-06T05:25:54.964Z] ---> Running in c0d90b39f9ca [2020-10-06T05:25:55.560Z] Removing intermediate container c0d90b39f9ca [2020-10-06T05:25:55.560Z] ---> a05e4cef3d24 [2020-10-06T05:25:55.560Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T05:25:55.560Z] ---> Running in 3a25df2e8dd3 [2020-10-06T05:25:56.154Z] Removing intermediate container 3a25df2e8dd3 [2020-10-06T05:25:56.154Z] ---> a1725ecc1cb5 [2020-10-06T05:25:56.154Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T05:25:56.154Z] Successfully built a1725ecc1cb5 [2020-10-06T05:25:56.154Z] 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-06T05:25:58.266Z] provisioning config files... [2020-10-06T05:25:58.278Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config7199318749556609603tmp [Pipeline] { [Pipeline] sh [2020-10-06T05:25:58.651Z] + set +x [2020-10-06T05:25:58.651Z] + curl -s https://codecov.io/bash [2020-10-06T05:25:58.651Z] + bash -s -- [2020-10-06T05:25:58.912Z] [2020-10-06T05:25:58.912Z] _____ _ [2020-10-06T05:25:58.912Z] / ____| | | [2020-10-06T05:25:58.912Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T05:25:58.912Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T05:25:58.912Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T05:25:58.912Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T05:25:58.912Z] Bash-20200917-4e8f14b [2020-10-06T05:25:58.912Z] [2020-10-06T05:25:58.912Z] [2020-10-06T05:25:58.912Z] ==> Jenkins CI detected. [2020-10-06T05:25:58.912Z] project root: . [2020-10-06T05:25:58.912Z] Fixing merge commit SHA [2020-10-06T05:25:58.912Z] --> token set from env [2020-10-06T05:25:58.912Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T05:25:58.912Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T05:25:58.912Z] ==> Python coveragepy not found [2020-10-06T05:25:58.912Z] ==> Searching for coverage reports in: [2020-10-06T05:25:58.912Z] + . [2020-10-06T05:25:58.912Z] -> Found 1 reports [2020-10-06T05:25:58.912Z] ==> Detecting git/mercurial file structure [2020-10-06T05:25:58.912Z] ==> Reading reports [2020-10-06T05:25:58.912Z] + ./coverage.out bytes=111040 [2020-10-06T05:25:58.912Z] ==> Appending adjustments [2020-10-06T05:25:58.912Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T05:25:59.485Z] + Found adjustments [2020-10-06T05:25:59.486Z] ==> Gzipping contents [2020-10-06T05:25:59.486Z] ==> Uploading reports [2020-10-06T05:25:59.486Z] url: https://codecov.io [2020-10-06T05:25:59.486Z] query: branch=PR-614&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-06T05:25:59.486Z] -> Pinging Codecov [2020-10-06T05:25:59.486Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-614&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-06T05:25:59.750Z] -> Uploading to [2020-10-06T05:25:59.750Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/51b10ba24d09b5e22132647652f16c288a0af487/c71a5d97-3716-415b-974c-a6297afa16ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T052559Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a1301d65df89001e7480a09a17b3dfa9c65bdbf0c3a8d8275af93b4af372b005 [2020-10-06T05:25:59.750Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T05:25:59.750Z] Dload Upload Total Spent Left Speed [2020-10-06T05:26:00.323Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18311 0 0 100 18311 0 40870 --:--:-- --:--:-- --:--:-- 40872 100 18311 0 0 100 18311 0 40857 --:--:-- --:--:-- --:--:-- 40781 [2020-10-06T05:26:00.323Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/51b10ba24d09b5e22132647652f16c288a0af487 [Pipeline] } [2020-10-06T05:26:00.332Z] 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-06T05:26:03.072Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:26:03.631Z] ---> package-listing.sh [2020-10-06T05:26:03.631Z] ++ facter osfamily [2020-10-06T05:26:03.631Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T05:26:03.631Z] + OS_FAMILY=redhat [2020-10-06T05:26:03.631Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-06T05:26:03.631Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T05:26:03.631Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T05:26:03.631Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T05:26:03.631Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T05:26:03.631Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-06T05:26:03.631Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T05:26:03.631Z] + case "${OS_FAMILY}" in [2020-10-06T05:26:03.631Z] + rpm -qa [2020-10-06T05:26:03.631Z] + sort [2020-10-06T05:26:07.841Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T05:26:07.841Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T05:26:07.841Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T05:26:07.841Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-06T05:26:07.841Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-06T05:26:07.841Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T05:26:08.031Z] provisioning config files... [2020-10-06T05:26:08.053Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config7878368323813388245tmp [Pipeline] { [Pipeline] echo [2020-10-06T05:26:08.126Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:26:08.420Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T05:26:08.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T05:26:08.519Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:26:08.811Z] ---> python-tools-install.sh [2020-10-06T05:26:08.811Z] Generating Requirements File [2020-10-06T05:27:16.612Z] Python 3.6.8 [2020-10-06T05:27:16.612Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T05:27:16.612Z] appdirs==1.4.3 [2020-10-06T05:27:16.612Z] argcomplete==1.12.1 [2020-10-06T05:27:16.612Z] aspy.yaml==1.3.0 [2020-10-06T05:27:16.612Z] attrs==19.3.0 [2020-10-06T05:27:16.612Z] Babel==2.8.0 [2020-10-06T05:27:16.612Z] beautifulsoup4==4.8.2 [2020-10-06T05:27:16.612Z] boto3==1.11.6 [2020-10-06T05:27:16.612Z] botocore==1.14.6 [2020-10-06T05:27:16.612Z] bs4==0.0.1 [2020-10-06T05:27:16.612Z] cachetools==4.1.1 [2020-10-06T05:27:16.612Z] certifi==2019.11.28 [2020-10-06T05:27:16.612Z] cffi==1.14.3 [2020-10-06T05:27:16.612Z] cfgv==2.0.1 [2020-10-06T05:27:16.612Z] chardet==3.0.4 [2020-10-06T05:27:16.612Z] click==7.1 [2020-10-06T05:27:16.612Z] cliff==3.4.0 [2020-10-06T05:27:16.612Z] cmd2==1.3.11 [2020-10-06T05:27:16.612Z] colorama==0.4.3 [2020-10-06T05:27:16.612Z] cryptography==3.1.1 [2020-10-06T05:27:16.612Z] debtcollector==2.2.0 [2020-10-06T05:27:16.612Z] decorator==4.4.2 [2020-10-06T05:27:16.612Z] defusedxml==0.6.0 [2020-10-06T05:27:16.612Z] Deprecated==1.2.7 [2020-10-06T05:27:16.612Z] distlib==0.3.1 [2020-10-06T05:27:16.612Z] distro==1.2.0 [2020-10-06T05:27:16.612Z] dnspython==1.16.0 [2020-10-06T05:27:16.612Z] docker==4.2.0 [2020-10-06T05:27:16.612Z] docutils==0.15.2 [2020-10-06T05:27:16.612Z] dogpile.cache==1.0.2 [2020-10-06T05:27:16.612Z] email-validator==1.0.5 [2020-10-06T05:27:16.612Z] filelock==3.0.12 [2020-10-06T05:27:16.612Z] future==0.18.2 [2020-10-06T05:27:16.612Z] google-auth==1.22.1 [2020-10-06T05:27:16.612Z] httplib2==0.17.0 [2020-10-06T05:27:16.612Z] identify==1.4.11 [2020-10-06T05:27:16.612Z] idna==2.9 [2020-10-06T05:27:16.612Z] importlib-metadata==1.7.0 [2020-10-06T05:27:16.612Z] importlib-resources==1.5.0 [2020-10-06T05:27:16.612Z] iso8601==0.1.13 [2020-10-06T05:27:16.612Z] Jinja2==2.11.1 [2020-10-06T05:27:16.612Z] jmespath==0.10.0 [2020-10-06T05:27:16.612Z] jsonpatch==1.26 [2020-10-06T05:27:16.612Z] jsonpointer==2.0 [2020-10-06T05:27:16.612Z] jsonschema==3.2.0 [2020-10-06T05:27:16.612Z] keystoneauth1==4.2.1 [2020-10-06T05:27:16.612Z] kubernetes==11.0.0 [2020-10-06T05:27:16.612Z] lftools==0.34.2 [2020-10-06T05:27:16.612Z] lxml==4.5.0 [2020-10-06T05:27:16.612Z] MarkupSafe==0.23 [2020-10-06T05:27:16.612Z] msgpack==1.0.0 [2020-10-06T05:27:16.612Z] multi-key-dict==2.0.3 [2020-10-06T05:27:16.612Z] munch==2.5.0 [2020-10-06T05:27:16.612Z] netaddr==0.8.0 [2020-10-06T05:27:16.612Z] netifaces==0.10.9 [2020-10-06T05:27:16.612Z] niet==1.4.2 [2020-10-06T05:27:16.612Z] nodeenv==1.3.5 [2020-10-06T05:27:16.612Z] oauth2client==4.1.3 [2020-10-06T05:27:16.612Z] oauthlib==3.1.0 [2020-10-06T05:27:16.612Z] openstacksdk==0.50.0 [2020-10-06T05:27:16.612Z] os-client-config==2.1.0 [2020-10-06T05:27:16.612Z] os-service-types==1.7.0 [2020-10-06T05:27:16.612Z] osc-lib==2.2.1 [2020-10-06T05:27:16.612Z] oslo.config==8.3.2 [2020-10-06T05:27:16.612Z] oslo.context==3.1.1 [2020-10-06T05:27:16.612Z] oslo.i18n==5.0.1 [2020-10-06T05:27:16.612Z] oslo.log==4.4.0 [2020-10-06T05:27:16.612Z] oslo.serialization==4.0.1 [2020-10-06T05:27:16.612Z] oslo.utils==4.6.0 [2020-10-06T05:27:16.612Z] packaging==20.4 [2020-10-06T05:27:16.612Z] pbr==5.4.4 [2020-10-06T05:27:16.612Z] pluggy==0.13.1 [2020-10-06T05:27:16.612Z] prettytable==0.7.2 [2020-10-06T05:27:16.612Z] py==1.9.0 [2020-10-06T05:27:16.612Z] pyasn1==0.4.8 [2020-10-06T05:27:16.612Z] pyasn1-modules==0.2.8 [2020-10-06T05:27:16.612Z] pycparser==2.20 [2020-10-06T05:27:16.612Z] pygerrit2==2.0.10 [2020-10-06T05:27:16.612Z] PyGithub==1.46 [2020-10-06T05:27:16.612Z] pyinotify==0.9.6 [2020-10-06T05:27:16.612Z] PyJWT==1.7.1 [2020-10-06T05:27:16.612Z] pyparsing==2.4.7 [2020-10-06T05:27:16.612Z] pyperclip==1.8.0 [2020-10-06T05:27:16.612Z] pyroute2==0.4.13 [2020-10-06T05:27:16.612Z] pyrsistent==0.15.7 [2020-10-06T05:27:16.612Z] PySocks==1.6.8 [2020-10-06T05:27:16.612Z] python-cinderclient==7.2.0 [2020-10-06T05:27:16.612Z] python-dateutil==2.8.1 [2020-10-06T05:27:16.612Z] python-heatclient==2.2.1 [2020-10-06T05:27:16.612Z] python-jenkins==1.7.0 [2020-10-06T05:27:16.612Z] python-keystoneclient==4.1.1 [2020-10-06T05:27:16.612Z] python-magnumclient==3.2.1 [2020-10-06T05:27:16.612Z] python-novaclient==17.2.1 [2020-10-06T05:27:16.612Z] python-openstackclient==5.4.0 [2020-10-06T05:27:16.612Z] python-swiftclient==3.10.1 [2020-10-06T05:27:16.612Z] pytz==2020.1 [2020-10-06T05:27:16.612Z] PyYAML==5.3 [2020-10-06T05:27:16.612Z] requests==2.23.0 [2020-10-06T05:27:16.612Z] requests-oauthlib==1.3.0 [2020-10-06T05:27:16.612Z] requestsexceptions==1.4.0 [2020-10-06T05:27:16.612Z] rfc3986==1.4.0 [2020-10-06T05:27:16.612Z] rpm==4.11.3 [2020-10-06T05:27:16.612Z] rsa==4.0 [2020-10-06T05:27:16.612Z] ruamel.yaml==0.16.10 [2020-10-06T05:27:16.612Z] ruamel.yaml.clib==0.2.0 [2020-10-06T05:27:16.612Z] s3transfer==0.3.3 [2020-10-06T05:27:16.612Z] shade==1.27.2 [2020-10-06T05:27:16.612Z] simplejson==3.17.2 [2020-10-06T05:27:16.612Z] six==1.14.0 [2020-10-06T05:27:16.612Z] soupsieve==2.0 [2020-10-06T05:27:16.612Z] stevedore==3.2.2 [2020-10-06T05:27:16.612Z] tabulate==0.8.6 [2020-10-06T05:27:16.612Z] toml==0.10.0 [2020-10-06T05:27:16.612Z] tox==3.20.0 [2020-10-06T05:27:16.612Z] tqdm==4.43.0 [2020-10-06T05:27:16.612Z] urllib3==1.25.8 [2020-10-06T05:27:16.612Z] virtualenv==20.0.33 [2020-10-06T05:27:16.612Z] wcwidth==0.2.5 [2020-10-06T05:27:16.612Z] websocket-client==0.57.0 [2020-10-06T05:27:16.612Z] wrapt==1.12.1 [2020-10-06T05:27:16.612Z] xdg==3.0.2 [2020-10-06T05:27:16.612Z] xmltodict==0.12.0 [2020-10-06T05:27:16.612Z] yq==2.11.1 [2020-10-06T05:27:16.612Z] zipp==3.3.0 [2020-10-06T05:27:16.612Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:18.535Z] 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-06T05:27:21.091Z] Python 2.7.5 [2020-10-06T05:27:21.353Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T05:27:21.926Z] 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-06T05:27:21.926Z] ansible==2.9.7 [2020-10-06T05:27:21.926Z] Babel==0.9.6 [2020-10-06T05:27:21.926Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T05:27:21.926Z] beautifulsoup4==4.4.1 [2020-10-06T05:27:21.926Z] bodhi==2.11.0 [2020-10-06T05:27:21.926Z] bodhi-client==2.11.0 [2020-10-06T05:27:21.926Z] CCColUtils==1.4 [2020-10-06T05:27:21.926Z] cffi==1.6.0 [2020-10-06T05:27:21.926Z] chardet==2.2.1 [2020-10-06T05:27:21.926Z] click==6.7 [2020-10-06T05:27:21.926Z] cloud-init==18.5 [2020-10-06T05:27:21.926Z] configobj==4.7.2 [2020-10-06T05:27:21.926Z] cryptography==1.7.2 [2020-10-06T05:27:21.926Z] decorator==3.4.0 [2020-10-06T05:27:21.926Z] distro==1.2.0 [2020-10-06T05:27:21.926Z] enum34==1.0.4 [2020-10-06T05:27:21.926Z] fedpkg==1.38 [2020-10-06T05:27:21.926Z] futures==3.1.1 [2020-10-06T05:27:21.926Z] gitdb==0.6.4 [2020-10-06T05:27:21.926Z] GitPython==1.0.1 [2020-10-06T05:27:21.926Z] html5lib==0.999 [2020-10-06T05:27:21.926Z] httplib2==0.9.2 [2020-10-06T05:27:21.926Z] idna==2.4 [2020-10-06T05:27:21.926Z] iniparse==0.4 [2020-10-06T05:27:21.926Z] ipaddress==1.0.16 [2020-10-06T05:27:21.926Z] IPy==0.75 [2020-10-06T05:27:21.926Z] javapackages==1.0.0 [2020-10-06T05:27:21.926Z] Jinja2==2.7.2 [2020-10-06T05:27:21.926Z] jmespath==0.9.4 [2020-10-06T05:27:21.926Z] jsonpatch==1.2 [2020-10-06T05:27:21.926Z] jsonpointer==1.9 [2020-10-06T05:27:21.926Z] kerberos==1.1 [2020-10-06T05:27:21.926Z] kitchen==1.1.1 [2020-10-06T05:27:21.926Z] langtable==0.0.31 [2020-10-06T05:27:21.926Z] lockfile==0.9.1 [2020-10-06T05:27:21.926Z] lxml==3.2.1 [2020-10-06T05:27:21.926Z] MarkupSafe==0.11 [2020-10-06T05:27:21.926Z] munch==2.0.2 [2020-10-06T05:27:21.926Z] offtrac==0.1.0 [2020-10-06T05:27:21.926Z] openidc-client==0.6.0 [2020-10-06T05:27:21.926Z] packagedb-cli==2.14.1 [2020-10-06T05:27:21.926Z] paramiko==2.1.1 [2020-10-06T05:27:21.926Z] perf==0.1 [2020-10-06T05:27:21.926Z] ply==3.4 [2020-10-06T05:27:21.926Z] policycoreutils-default-encoding==0.1 [2020-10-06T05:27:21.926Z] prettytable==0.7.2 [2020-10-06T05:27:21.926Z] pyasn1==0.1.9 [2020-10-06T05:27:21.926Z] pycparser==2.14 [2020-10-06T05:27:21.926Z] pycurl==7.19.0 [2020-10-06T05:27:21.926Z] pygobject==3.22.0 [2020-10-06T05:27:21.926Z] pygpgme==0.3 [2020-10-06T05:27:21.926Z] pyliblzma==0.5.3 [2020-10-06T05:27:21.926Z] pyOpenSSL==0.13.1 [2020-10-06T05:27:21.926Z] pyparsing==1.5.6 [2020-10-06T05:27:21.926Z] pyserial==2.6 [2020-10-06T05:27:21.926Z] python-augeas==0.5.0 [2020-10-06T05:27:21.926Z] python-bugzilla==2.3.0 [2020-10-06T05:27:21.926Z] python-dateutil==1.5 [2020-10-06T05:27:21.926Z] python-fedora==0.10.0 [2020-10-06T05:27:21.926Z] python-linux-procfs==0.4.9 [2020-10-06T05:27:21.926Z] python-yubico==1.2.3 [2020-10-06T05:27:21.926Z] pyudev==0.15 [2020-10-06T05:27:21.926Z] pyusb==1.0.0b1 [2020-10-06T05:27:21.926Z] pyxattr==0.5.1 [2020-10-06T05:27:21.926Z] PyYAML==3.10 [2020-10-06T05:27:21.926Z] requests==2.6.0 [2020-10-06T05:27:21.926Z] requests-kerberos==0.7.0 [2020-10-06T05:27:21.926Z] rpkg==1.60 [2020-10-06T05:27:21.926Z] schedutils==0.4 [2020-10-06T05:27:21.926Z] seobject==0.1 [2020-10-06T05:27:21.926Z] sepolicy==1.1 [2020-10-06T05:27:21.926Z] six==1.9.0 [2020-10-06T05:27:21.926Z] smmap==0.9.0 [2020-10-06T05:27:21.926Z] urlgrabber==3.10 [2020-10-06T05:27:21.926Z] urllib3==1.10.2 [2020-10-06T05:27:21.926Z] virtualenv==15.1.0 [2020-10-06T05:27:21.926Z] yum-langpacks==0.4.2 [2020-10-06T05:27:21.926Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T05:27:21.938Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:27:22.237Z] ---> sudo-logs.sh [2020-10-06T05:27:22.238Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T05:27:22.511Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:27:22.807Z] ---> job-cost.sh [2020-10-06T05:27:22.807Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yN3N [2020-10-06T05:27:32.818Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:32.818Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:33.391Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:33.391Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:33.391Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:33.391Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:33.652Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:33.652Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:33.652Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:33.915Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:33.915Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:34.177Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:27:38.420Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T05:28:05.059Z] lf-activate-venv(): INFO: Adding /tmp/venv-yN3N/bin to PATH [2020-10-06T05:28:05.059Z] INFO: No Stack... [2020-10-06T05:28:05.659Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T05:28:06.606Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T05:28:06.620Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:28:06.915Z] ---> logs-deploy.sh [2020-10-06T05:28:06.915Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/2 [2020-10-06T05:28:06.915Z] INFO: archiving workspace using pattern(s): [2020-10-06T05:28:08.313Z] Archives upload complete. [2020-10-06T05:28:08.574Z] INFO: archiving logs to Nexus