Pull request #619 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 069809ce141705ee6c7736dfa7a0da157719a99a+833c05b782f270c396ee40879762f076aaf9331e (da2591f9a033508e3e6659376d68d7a9c965dff5) 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-4187 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [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-619 # 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/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 069809ce141705ee6c7736dfa7a0da157719a99a Merge succeeded, producing 069809ce141705ee6c7736dfa7a0da157719a99a Checking out Revision 069809ce141705ee6c7736dfa7a0da157719a99a (PR-619) > git config core.sparsecheckout # timeout=10 > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # 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 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 Commit message: "feat: update request changes in PR" > git rev-list --no-walk 94b886a23a0bf02234eb0faf53f26584ce8520af # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-08T07:48:11.559Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-08T07:48:12.058Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-08T07:48:12.170Z] ========================================================= [2020-10-08T07:48:12.170Z] EdgeX Global Pipelines Version Info [2020-10-08T07:48:12.170Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-08T07:48:14.466Z] ------------------- [2020-10-08T07:48:14.466Z] stable info: [2020-10-08T07:48:14.466Z] ------------------- [2020-10-08T07:48:14.466Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-08T07:48:14.466Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-08T07:48:14.466Z] Message: update stable to v1.0.131 [2020-10-08T07:48:15.422Z] ------------------- [2020-10-08T07:48:15.422Z] experimental info: [2020-10-08T07:48:15.422Z] ------------------- [2020-10-08T07:48:15.422Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-08T07:48:15.422Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-08T07:48:15.422Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-08T07:48:15.846Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-08T07:48:15.955Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-08T07:48:16.058Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-08T07:48:16.162Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-08T07:48:16.268Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-08T07:48:16.374Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-08T07:48:16.492Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-08T07:48:16.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-08T07:48:16.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-08T07:48:16.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-08T07:48:16.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-08T07:48:17.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-08T07:48:17.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-08T07:48:17.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-08T07:48:17.397Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-08T07:48:17.515Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-08T07:48:17.623Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-08T07:48:17.727Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-08T07:48:17.827Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-08T07:48:17.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-08T07:48:18.033Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-08T07:48:18.130Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-08T07:48:18.227Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-08T07:48:18.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-08T07:48:18.441Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-08T07:48:18.536Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo [2020-10-08T07:48:18.632Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo [2020-10-08T07:48:18.724Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo [2020-10-08T07:48:18.816Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 069809ce141705ee6c7736dfa7a0da157719a99a [Pipeline] echo [2020-10-08T07:48:18.934Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 069809c [Pipeline] echo [2020-10-08T07:48:19.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-08T07:48:19.692Z] + git log --format=format:%s -1 069809ce141705ee6c7736dfa7a0da157719a99a [Pipeline] echo [2020-10-08T07:48:19.792Z] GIT_COMMIT: 069809ce141705ee6c7736dfa7a0da157719a99a, Commit Message: feat: update request changes in PR [Pipeline] echo [2020-10-08T07:48:19.844Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:48:20.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-08T07:48:21.156Z] [2020-10-08T07:48:21.156Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:48:21.547Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-08T07:48:21.833Z] latest: Pulling from edgex-devops/git-semver [2020-10-08T07:48:21.833Z] 31603596830f: Pulling fs layer [2020-10-08T07:48:21.833Z] 2a8b12db71e7: Pulling fs layer [2020-10-08T07:48:21.833Z] 6ca5941a6612: Pulling fs layer [2020-10-08T07:48:21.833Z] ecc8261a40a4: Pulling fs layer [2020-10-08T07:48:21.833Z] ecc8261a40a4: Waiting [2020-10-08T07:48:21.833Z] 2a8b12db71e7: Download complete [2020-10-08T07:48:22.096Z] 31603596830f: Verifying Checksum [2020-10-08T07:48:22.096Z] 31603596830f: Download complete [2020-10-08T07:48:22.096Z] ecc8261a40a4: Verifying Checksum [2020-10-08T07:48:22.096Z] ecc8261a40a4: Download complete [2020-10-08T07:48:22.376Z] 6ca5941a6612: Verifying Checksum [2020-10-08T07:48:22.376Z] 6ca5941a6612: Download complete [2020-10-08T07:48:22.376Z] 31603596830f: Pull complete [2020-10-08T07:48:22.648Z] 2a8b12db71e7: Pull complete [2020-10-08T07:48:24.121Z] 6ca5941a6612: Pull complete [2020-10-08T07:48:24.391Z] ecc8261a40a4: Pull complete [2020-10-08T07:48:24.391Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-08T07:48:24.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-08T07:48:24.391Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-08T07:48:24.548Z] prd-centos7-docker-4c-2g-4187 does not seem to be running inside a container [2020-10-08T07:48:24.662Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-08T07:48:27.195Z] $ docker top fa60563c966ce9d3c7c35ee53c2ffce1bbce6960e10e9a585c546b413662f99d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-08T07:48:27.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-08T07:48:27.585Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-08T07:48:27.928Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-08T07:48:27.935Z] $ docker exec fa60563c966ce9d3c7c35ee53c2ffce1bbce6960e10e9a585c546b413662f99d ssh-agent [2020-10-08T07:48:28.203Z] SSH_AUTH_SOCK=/tmp/ssh-4XgpUejpMmt9/agent.11 [2020-10-08T07:48:28.203Z] SSH_AGENT_PID=16 [2020-10-08T07:48:28.217Z] Running ssh-add (command line suppressed) [2020-10-08T07:48:28.543Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_8523663225124516055.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_8523663225124516055.key) [2020-10-08T07:48:28.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-08T07:48:29.050Z] + git describe --exact-match --tags HEAD [2020-10-08T07:48:29.050Z] fatal: no tag exactly matches '069809ce141705ee6c7736dfa7a0da157719a99a' [Pipeline] } [2020-10-08T07:48:29.080Z] $ docker exec --env ******** --env ******** fa60563c966ce9d3c7c35ee53c2ffce1bbce6960e10e9a585c546b413662f99d ssh-agent -k [2020-10-08T07:48:29.240Z] unset SSH_AUTH_SOCK; [2020-10-08T07:48:29.241Z] unset SSH_AGENT_PID; [2020-10-08T07:48:29.241Z] echo Agent pid 16 killed; [2020-10-08T07:48:29.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-08T07:48:29.398Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-08T07:48:29.398Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-08T07:48:29.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-08T07:48:29.504Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-08T07:48:29.754Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-08T07:48:29.763Z] $ docker exec fa60563c966ce9d3c7c35ee53c2ffce1bbce6960e10e9a585c546b413662f99d ssh-agent [2020-10-08T07:48:29.995Z] SSH_AUTH_SOCK=/tmp/ssh-dDovskVIyWr9/agent.45 [2020-10-08T07:48:29.995Z] SSH_AGENT_PID=51 [2020-10-08T07:48:30.007Z] Running ssh-add (command line suppressed) [2020-10-08T07:48:30.178Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7172912957467189348.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7172912957467189348.key) [2020-10-08T07:48:30.245Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-08T07:48:30.597Z] + git semver init [2020-10-08T07:48:30.597Z] # -> Open(): unable to determine branch for HEAD [2020-10-08T07:48:30.597Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git [2020-10-08T07:48:30.597Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-08T07:48:30.597Z] # $SEMVER_REMOTE_NAME = origin [2020-10-08T07:48:30.597Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-08T07:48:30.597Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-08T07:48:30.597Z] # $SEMVER_BRANCH = PR-619 [2020-10-08T07:48:30.597Z] # $SEMVER_TEMP = /tmp/semver-907272735 [2020-10-08T07:48:30.597Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-08T07:48:31.552Z] # '/tmp/semver-907272735' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' [2020-10-08T07:48:31.552Z] # -> Force: false [2020-10-08T07:48:31.552Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } [2020-10-08T07:48:31.577Z] $ docker exec --env ******** --env ******** fa60563c966ce9d3c7c35ee53c2ffce1bbce6960e10e9a585c546b413662f99d ssh-agent -k [2020-10-08T07:48:31.771Z] unset SSH_AUTH_SOCK; [2020-10-08T07:48:31.783Z] unset SSH_AGENT_PID; [2020-10-08T07:48:31.783Z] echo Agent pid 51 killed; [2020-10-08T07:48:31.841Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-08T07:48:32.346Z] + git semver [Pipeline] } [2020-10-08T07:48:32.369Z] $ docker stop --time=1 fa60563c966ce9d3c7c35ee53c2ffce1bbce6960e10e9a585c546b413662f99d [2020-10-08T07:48:33.946Z] $ docker rm -f fa60563c966ce9d3c7c35ee53c2ffce1bbce6960e10e9a585c546b413662f99d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-08T07:48:35.096Z] Stashed 46 file(s) [Pipeline] echo [2020-10-08T07:48:35.099Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-08T07:48:35.244Z] 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-08T07:48:50.678Z] Still waiting to schedule task [2020-10-08T07:48:50.679Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-08T07:48:50.681Z] Still waiting to schedule task [2020-10-08T07:48:50.681Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-08T07:50:38.724Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4188 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-08T07:50:38.785Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-08T07:50:43.626Z] using credential edgex-jenkins-ssh [2020-10-08T07:50:43.690Z] Cloning the remote Git repository [2020-10-08T07:50:43.747Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T07:50:43.855Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-08T07:50:43.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T07:50:43.925Z] > git --version # timeout=10 [2020-10-08T07:50:43.949Z] > git --version # 'git version 2.17.1' [2020-10-08T07:50:43.951Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T07:50:44.035Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T07:50:45.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T07:50:45.058Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T07:50:45.729Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 069809ce141705ee6c7736dfa7a0da157719a99a [2020-10-08T07:50:45.986Z] Merge succeeded, producing 069809ce141705ee6c7736dfa7a0da157719a99a [2020-10-08T07:50:45.987Z] Checking out Revision 069809ce141705ee6c7736dfa7a0da157719a99a (PR-619) [2020-10-08T07:50:45.089Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T07:50:45.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T07:50:45.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T07:50:45.148Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-08T07:50:45.755Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T07:50:45.778Z] > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [2020-10-08T07:50:45.903Z] > git remote # timeout=10 [2020-10-08T07:50:45.924Z] > git config --get remote.origin.url # timeout=10 [2020-10-08T07:50:45.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T07:50:45.953Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-08T07:50:45.978Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-08T07:50:46.001Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T07:50:46.012Z] > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [2020-10-08T07:50:50.379Z] Commit message: "feat: update request changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-08T07:50:51.691Z] ========================================================= [2020-10-08T07:50:51.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-08T07:50:51.691Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:50:52.754Z] + 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-08T07:50:53.737Z] Sending build context to Docker daemon 3.599MB [2020-10-08T07:50:53.737Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-08T07:50:53.737Z] Step 2/8 : FROM ${BASE} [2020-10-08T07:50:54.018Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-08T07:50:54.018Z] b538f80385f9: Pulling fs layer [2020-10-08T07:50:54.018Z] 74f711af9a0d: Pulling fs layer [2020-10-08T07:50:54.018Z] 99f96fe45779: Pulling fs layer [2020-10-08T07:50:54.018Z] 8529a6b9a6be: Pulling fs layer [2020-10-08T07:50:54.018Z] 45590311c82a: Pulling fs layer [2020-10-08T07:50:54.018Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-08T07:50:54.018Z] 209524e5b208: Pulling fs layer [2020-10-08T07:50:54.018Z] 45590311c82a: Waiting [2020-10-08T07:50:54.018Z] 69ca0ff8b7b3: Waiting [2020-10-08T07:50:54.018Z] 8529a6b9a6be: Waiting [2020-10-08T07:50:54.018Z] 209524e5b208: Waiting [2020-10-08T07:50:54.018Z] 99f96fe45779: Verifying Checksum [2020-10-08T07:50:54.018Z] 99f96fe45779: Download complete [2020-10-08T07:50:54.018Z] 74f711af9a0d: Verifying Checksum [2020-10-08T07:50:54.018Z] 74f711af9a0d: Download complete [2020-10-08T07:50:54.018Z] 45590311c82a: Verifying Checksum [2020-10-08T07:50:54.018Z] 45590311c82a: Download complete [2020-10-08T07:50:54.018Z] 69ca0ff8b7b3: Download complete [2020-10-08T07:50:54.616Z] b538f80385f9: Download complete [2020-10-08T07:50:55.219Z] b538f80385f9: Pull complete [2020-10-08T07:50:55.824Z] 74f711af9a0d: Pull complete [2020-10-08T07:50:56.099Z] 99f96fe45779: Pull complete [2020-10-08T07:50:57.084Z] 209524e5b208: Download complete [2020-10-08T07:50:58.531Z] 8529a6b9a6be: Download complete [2020-10-08T07:51:10.985Z] 8529a6b9a6be: Pull complete [2020-10-08T07:51:10.985Z] 45590311c82a: Pull complete [2020-10-08T07:51:10.985Z] 69ca0ff8b7b3: Pull complete [2020-10-08T07:51:13.617Z] 209524e5b208: Pull complete [2020-10-08T07:51:13.617Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-08T07:51:13.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-08T07:51:13.617Z] ---> 5bddaf1c2fca [2020-10-08T07:51:13.617Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T07:51:16.226Z] ---> Running in 81800cc9f33a [2020-10-08T07:51:16.497Z] Removing intermediate container 81800cc9f33a [2020-10-08T07:51:16.497Z] ---> cc2915ebefc8 [2020-10-08T07:51:16.497Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T07:51:16.768Z] ---> Running in 9a49a79137c3 [2020-10-08T07:51:19.407Z] Removing intermediate container 9a49a79137c3 [2020-10-08T07:51:19.407Z] ---> 84d43f187505 [2020-10-08T07:51:19.407Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-08T07:51:19.407Z] ---> Running in fe634dcb44fb [2020-10-08T07:51:20.850Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-08T07:51:21.444Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-08T07:51:22.046Z] OK: 142 MiB in 39 packages [2020-10-08T07:51:23.481Z] Removing intermediate container fe634dcb44fb [2020-10-08T07:51:23.481Z] ---> e7ed5e83a243 [2020-10-08T07:51:23.481Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-08T07:51:23.481Z] ---> Running in 9be13b60239f [2020-10-08T07:51:24.078Z] Removing intermediate container 9be13b60239f [2020-10-08T07:51:24.078Z] ---> fda7133d559e [2020-10-08T07:51:24.078Z] Step 7/8 : COPY . . [2020-10-08T07:51:25.526Z] ---> dd08df08f488 [2020-10-08T07:51:25.526Z] Step 8/8 : RUN go mod download [2020-10-08T07:51:25.800Z] ---> Running in 4677a05a3b6b [2020-10-08T07:51:26.746Z] Running on prd-centos7-docker-4c-2g-4189 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-08T07:51:26.804Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-08T07:51:29.643Z] using credential edgex-jenkins-ssh [2020-10-08T07:51:29.697Z] Cloning the remote Git repository [2020-10-08T07:51:29.727Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T07:51:29.796Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-08T07:51:29.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T07:51:29.854Z] > git --version # timeout=10 [2020-10-08T07:51:29.861Z] > git --version # 'git version 2.16.5' [2020-10-08T07:51:29.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T07:51:29.886Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T07:51:31.096Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit 069809ce141705ee6c7736dfa7a0da157719a99a [2020-10-08T07:51:31.204Z] Merge succeeded, producing 069809ce141705ee6c7736dfa7a0da157719a99a [2020-10-08T07:51:31.204Z] Checking out Revision 069809ce141705ee6c7736dfa7a0da157719a99a (PR-619) [2020-10-08T07:51:30.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T07:51:30.532Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-08T07:51:30.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-08T07:51:30.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-08T07:51:30.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T07:51:30.569Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-08T07:51:31.108Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T07:51:31.114Z] > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [2020-10-08T07:51:31.171Z] > git remote # timeout=10 [2020-10-08T07:51:31.176Z] > git config --get remote.origin.url # timeout=10 [2020-10-08T07:51:31.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-08T07:51:31.186Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-08T07:51:31.198Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-08T07:51:31.210Z] > git config core.sparsecheckout # timeout=10 [2020-10-08T07:51:31.214Z] > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [2020-10-08T07:51:36.131Z] Commit message: "feat: update request changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-08T07:51:37.013Z] ========================================================= [2020-10-08T07:51:37.013Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-08T07:51:37.013Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:51:37.678Z] + 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-08T07:51:37.941Z] Sending build context to Docker daemon 3.6MB [2020-10-08T07:51:37.941Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-08T07:51:37.941Z] Step 2/8 : FROM ${BASE} [2020-10-08T07:51:38.203Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-08T07:51:38.203Z] df20fa9351a1: Pulling fs layer [2020-10-08T07:51:38.203Z] ed8968b2872e: Pulling fs layer [2020-10-08T07:51:38.203Z] a92cc7c5fd73: Pulling fs layer [2020-10-08T07:51:38.203Z] e871e8e8d7a9: Pulling fs layer [2020-10-08T07:51:38.203Z] e73272ec9a57: Pulling fs layer [2020-10-08T07:51:38.203Z] 1e910a182e73: Pulling fs layer [2020-10-08T07:51:38.203Z] 4e634b169226: Pulling fs layer [2020-10-08T07:51:38.203Z] e73272ec9a57: Waiting [2020-10-08T07:51:38.203Z] 1e910a182e73: Waiting [2020-10-08T07:51:38.203Z] 4e634b169226: Waiting [2020-10-08T07:51:38.203Z] a92cc7c5fd73: Verifying Checksum [2020-10-08T07:51:38.203Z] a92cc7c5fd73: Download complete [2020-10-08T07:51:38.203Z] e73272ec9a57: Verifying Checksum [2020-10-08T07:51:38.203Z] e73272ec9a57: Download complete [2020-10-08T07:51:38.780Z] 1e910a182e73: Download complete [2020-10-08T07:51:38.780Z] df20fa9351a1: Verifying Checksum [2020-10-08T07:51:38.780Z] df20fa9351a1: Download complete [2020-10-08T07:51:39.044Z] df20fa9351a1: Pull complete [2020-10-08T07:51:39.044Z] ed8968b2872e: Pull complete [2020-10-08T07:51:39.306Z] a92cc7c5fd73: Pull complete [2020-10-08T07:51:40.709Z] 4e634b169226: Verifying Checksum [2020-10-08T07:51:40.709Z] 4e634b169226: Download complete [2020-10-08T07:51:41.286Z] e871e8e8d7a9: Verifying Checksum [2020-10-08T07:51:41.286Z] e871e8e8d7a9: Download complete [2020-10-08T07:51:46.608Z] e871e8e8d7a9: Pull complete [2020-10-08T07:51:46.608Z] e73272ec9a57: Pull complete [2020-10-08T07:51:46.608Z] 1e910a182e73: Pull complete [2020-10-08T07:51:48.101Z] Removing intermediate container 4677a05a3b6b [2020-10-08T07:51:48.101Z] ---> e4c2b5f9758e [2020-10-08T07:51:48.101Z] Successfully built e4c2b5f9758e [2020-10-08T07:51:48.101Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:51:48.519Z] + docker inspect -f . ci-base-image-arm64 [2020-10-08T07:51:48.519Z] . [Pipeline] withDockerContainer [2020-10-08T07:51:48.764Z] prd-ubuntu18.04-docker-arm64-4c-16g-4188 does not seem to be running inside a container [2020-10-08T07:51:48.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-08T07:51:50.657Z] $ docker top 75344a14e613f4742dc94703866095d44afe02bb3a1223b2f80c2d08f9a9a63c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T07:51:51.929Z] 4e634b169226: Pull complete [2020-10-08T07:51:51.929Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-08T07:51:51.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-08T07:51:51.929Z] ---> f7629b54cfaa [2020-10-08T07:51:51.929Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T07:51:51.929Z] ---> Running in 136a4853d38a [2020-10-08T07:51:52.019Z] + go version [2020-10-08T07:51:52.019Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-08T07:51:52.049Z] $ docker stop --time=1 75344a14e613f4742dc94703866095d44afe02bb3a1223b2f80c2d08f9a9a63c [2020-10-08T07:51:52.194Z] Removing intermediate container 136a4853d38a [2020-10-08T07:51:52.194Z] ---> 2abaa5b867a3 [2020-10-08T07:51:52.194Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T07:51:52.194Z] ---> Running in c5f106b78032 [2020-10-08T07:51:53.589Z] Removing intermediate container c5f106b78032 [2020-10-08T07:51:53.589Z] ---> dda14f6d705f [2020-10-08T07:51:53.589Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-08T07:51:53.589Z] ---> Running in 70745fad8294 [2020-10-08T07:51:54.125Z] $ docker rm -f 75344a14e613f4742dc94703866095d44afe02bb3a1223b2f80c2d08f9a9a63c [2020-10-08T07:51:54.165Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-10-08T07:51:54.744Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:51:55.246Z] + docker inspect -f . ci-base-image-arm64 [2020-10-08T07:51:55.246Z] . [Pipeline] withDockerContainer [2020-10-08T07:51:55.318Z] OK: 166 MiB in 39 packages [2020-10-08T07:51:55.512Z] prd-ubuntu18.04-docker-arm64-4c-16g-4188 does not seem to be running inside a container [2020-10-08T07:51:55.580Z] Removing intermediate container 70745fad8294 [2020-10-08T07:51:55.580Z] ---> 658cd4ead815 [2020-10-08T07:51:55.580Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-08T07:51:55.580Z] ---> Running in 6c3038487519 [2020-10-08T07:51:55.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-08T07:51:55.843Z] Removing intermediate container 6c3038487519 [2020-10-08T07:51:55.843Z] ---> 25dd6d866cde [2020-10-08T07:51:55.843Z] Step 7/8 : COPY . . [2020-10-08T07:51:57.244Z] ---> 1322dd01a7fa [2020-10-08T07:51:57.244Z] Step 8/8 : RUN go mod download [2020-10-08T07:51:57.244Z] ---> Running in b8a6d8ffce6a [2020-10-08T07:51:57.590Z] $ docker top 2c303d2e25c817d00c0d0f3c32bfa792eeb62e883661391a042525088745a34d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T07:51:59.004Z] + make test [2020-10-08T07:51:59.004Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-08T07:52:15.425Z] Removing intermediate container b8a6d8ffce6a [2020-10-08T07:52:15.425Z] ---> b78152be1a96 [2020-10-08T07:52:15.425Z] Successfully built b78152be1a96 [2020-10-08T07:52:15.425Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:52:15.786Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-08T07:52:15.786Z] . [Pipeline] withDockerContainer [2020-10-08T07:52:15.974Z] prd-centos7-docker-4c-2g-4189 does not seem to be running inside a container [2020-10-08T07:52:16.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-08T07:52:17.055Z] $ docker top f971a65f25f15a3a5ee3832c4bfc481374cbd8380f63f4ebfa7f3fcf32d2a059 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T07:52:17.564Z] + go version [2020-10-08T07:52:17.564Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-08T07:52:17.581Z] $ docker stop --time=1 f971a65f25f15a3a5ee3832c4bfc481374cbd8380f63f4ebfa7f3fcf32d2a059 [2020-10-08T07:52:18.913Z] $ docker rm -f f971a65f25f15a3a5ee3832c4bfc481374cbd8380f63f4ebfa7f3fcf32d2a059 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:52:20.039Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-08T07:52:20.040Z] . [Pipeline] withDockerContainer [2020-10-08T07:52:20.140Z] prd-centos7-docker-4c-2g-4189 does not seem to be running inside a container [2020-10-08T07:52:20.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-08T07:52:20.962Z] $ docker top 4a28efd1ec23e08ccd26c169c8f75b993d4fbd148ef888fa2192f8c36848c0eb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-08T07:52:21.225Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-08T07:52:21.464Z] + make test [2020-10-08T07:52:21.464Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-08T07:52:28.119Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-08T07:52:43.164Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-08T07:52:43.164Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-08T07:52:43.164Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-08T07:52:43.164Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.065s coverage: 21.6% of statements [2020-10-08T07:52:45.130Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.458s coverage: 97.1% of statements [2020-10-08T07:53:00.321Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-08T07:53:00.321Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-08T07:53:00.321Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-08T07:53:00.321Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.129s coverage: 21.6% of statements [2020-10-08T07:53:03.753Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.245s coverage: 97.1% of statements [2020-10-08T07:53:17.298Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.052s coverage: 9.4% of statements [2020-10-08T07:53:17.298Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.9% of statements [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-08T07:53:17.298Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.216s coverage: 41.0% of statements [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-08T07:53:17.298Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.280s coverage: 65.4% of statements [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-08T07:53:17.298Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-08T07:53:17.298Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.351s coverage: 68.9% of statements [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-08T07:53:17.298Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-08T07:53:17.298Z] GO111MODULE=on go vet ./... [2020-10-08T07:53:24.096Z] gofmt -l . [2020-10-08T07:53:24.096Z] [ "`gofmt -l .`" = "" ] [2020-10-08T07:53:24.096Z] ./bin/test-attribution-txt.sh [2020-10-08T07:53:24.694Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-08T07:53:25.464Z] Stashed 1 file(s) [Pipeline] } [2020-10-08T07:53:25.473Z] $ docker stop --time=1 4a28efd1ec23e08ccd26c169c8f75b993d4fbd148ef888fa2192f8c36848c0eb [2020-10-08T07:53:27.479Z] $ docker rm -f 4a28efd1ec23e08ccd26c169c8f75b993d4fbd148ef888fa2192f8c36848c0eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-08T07:53:30.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-08T07:53:31.226Z] + ls -al . [2020-10-08T07:53:31.227Z] total 192 [2020-10-08T07:53:31.227Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 8 07:53 . [2020-10-08T07:53:31.227Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 8 07:51 .. [2020-10-08T07:53:31.227Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 8 07:51 bin [2020-10-08T07:53:31.227Z] -rw-r--r--. 1 jenkins jenkins 111045 Oct 8 07:53 coverage.out [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 8 07:51 Dockerfile.build [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 07:51 .dockerignore [2020-10-08T07:53:31.227Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 8 07:51 example [2020-10-08T07:53:31.227Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 8 07:51 .git [2020-10-08T07:53:31.227Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 8 07:51 .github [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 8 07:51 .gitignore [2020-10-08T07:53:31.227Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 8 07:53 go.mod [2020-10-08T07:53:31.227Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 8 07:53 go.sum [2020-10-08T07:53:31.227Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 8 07:51 internal [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 8 07:51 Jenkinsfile [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 07:51 LICENSE [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 8 07:51 Makefile [2020-10-08T07:53:31.227Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 8 07:51 openapi [2020-10-08T07:53:31.227Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 07:51 pkg [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 8 07:51 README.md [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 8 07:51 RELEASE-NOTES.txt [2020-10-08T07:53:31.227Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 8 07:51 .semver [2020-10-08T07:53:31.227Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 07:51 snap [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 8 07:48 VERSION [2020-10-08T07:53:31.227Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 07:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:53:31.568Z] + 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=069809ce141705ee6c7736dfa7a0da157719a99a --label arch=amd64 --label version=0.0.0 . [2020-10-08T07:53:31.837Z] Sending build context to Docker daemon 3.712MB [2020-10-08T07:53:31.837Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-08T07:53:31.837Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-08T07:53:31.837Z] ---> b78152be1a96 [2020-10-08T07:53:31.837Z] Step 3/24 : ARG MAKE='make build' [2020-10-08T07:53:32.436Z] ---> Running in 75ad4292cd31 [2020-10-08T07:53:32.706Z] Removing intermediate container 75ad4292cd31 [2020-10-08T07:53:32.706Z] ---> ac583d5acb4b [2020-10-08T07:53:32.706Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-08T07:53:32.706Z] ---> Running in b836da54554f [2020-10-08T07:53:32.706Z] Removing intermediate container b836da54554f [2020-10-08T07:53:32.706Z] ---> a4526f80f50d [2020-10-08T07:53:32.706Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T07:53:32.972Z] ---> Running in 071520b9f082 [2020-10-08T07:53:32.972Z] Removing intermediate container 071520b9f082 [2020-10-08T07:53:32.972Z] ---> 6d22339841e2 [2020-10-08T07:53:32.972Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T07:53:33.240Z] ---> Running in 940eaa0ea6ee [2020-10-08T07:53:33.869Z] Removing intermediate container 940eaa0ea6ee [2020-10-08T07:53:33.869Z] ---> 3c461acec950 [2020-10-08T07:53:33.869Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-08T07:53:33.869Z] ---> Running in 459a7822fcfc [2020-10-08T07:53:34.467Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-08T07:53:35.070Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-08T07:53:36.055Z] OK: 166 MiB in 39 packages [2020-10-08T07:53:36.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.125s coverage: 9.4% of statements [2020-10-08T07:53:36.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.159s coverage: 21.9% of statements [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-08T07:53:36.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.535s coverage: 41.0% of statements [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-08T07:53:36.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.802s coverage: 65.4% of statements [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-08T07:53:36.154Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.173s coverage: 52.6% of statements [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-08T07:53:36.154Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.874s coverage: 68.9% of statements [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-08T07:53:36.154Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-08T07:53:36.154Z] GO111MODULE=on go vet ./... [2020-10-08T07:53:36.319Z] Removing intermediate container 459a7822fcfc [2020-10-08T07:53:36.319Z] ---> e9f534e0806e [2020-10-08T07:53:36.319Z] Step 8/24 : COPY . . [2020-10-08T07:53:37.721Z] ---> bf0dce19eb3f [2020-10-08T07:53:37.721Z] Step 9/24 : RUN ${MAKE} [2020-10-08T07:53:37.721Z] ---> Running in 4ae3dd811d56 [2020-10-08T07:53:37.995Z] 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-08T07:53:46.579Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-08T07:53:48.712Z] Removing intermediate container 4ae3dd811d56 [2020-10-08T07:53:48.712Z] ---> 459303902437 [2020-10-08T07:53:48.712Z] Step 10/24 : FROM scratch [2020-10-08T07:53:48.712Z] ---> [2020-10-08T07:53:48.712Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T07:53:48.712Z] ---> Running in f509c96ad327 [2020-10-08T07:53:48.712Z] Removing intermediate container f509c96ad327 [2020-10-08T07:53:48.712Z] ---> 572f6c90bb53 [2020-10-08T07:53:48.712Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-08T07:53:48.999Z] ---> Running in 8bbe75a6b9db [2020-10-08T07:53:48.999Z] Removing intermediate container 8bbe75a6b9db [2020-10-08T07:53:48.999Z] ---> 2f9d4cb162d6 [2020-10-08T07:53:48.999Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-08T07:53:48.999Z] ---> Running in 840c8f15eb2a [2020-10-08T07:53:49.279Z] Removing intermediate container 840c8f15eb2a [2020-10-08T07:53:49.279Z] ---> b17ef2fd2e23 [2020-10-08T07:53:49.279Z] Step 14/24 : WORKDIR / [2020-10-08T07:53:49.279Z] ---> Running in f3d77ebef894 [2020-10-08T07:53:49.279Z] Removing intermediate container f3d77ebef894 [2020-10-08T07:53:49.279Z] ---> 01fc3c02cf5f [2020-10-08T07:53:49.279Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-08T07:53:49.904Z] ---> a545e2754c0c [2020-10-08T07:53:49.904Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-08T07:53:50.179Z] ---> 366052574324 [2020-10-08T07:53:50.179Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-08T07:53:50.470Z] ---> 880895dfb65b [2020-10-08T07:53:50.470Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-08T07:53:50.470Z] ---> d6e3e3c2a45a [2020-10-08T07:53:50.470Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-08T07:53:50.753Z] ---> b5fcd4b9ff90 [2020-10-08T07:53:50.753Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-08T07:53:50.753Z] ---> Running in 000d3adb6997 [2020-10-08T07:53:51.042Z] Removing intermediate container 000d3adb6997 [2020-10-08T07:53:51.042Z] ---> f61db0f354f5 [2020-10-08T07:53:51.042Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-08T07:53:51.042Z] ---> Running in bb330d932bc1 [2020-10-08T07:53:51.307Z] Removing intermediate container bb330d932bc1 [2020-10-08T07:53:51.307Z] ---> f5835845558e [2020-10-08T07:53:51.307Z] Step 22/24 : LABEL arch=amd64 [2020-10-08T07:53:51.307Z] ---> Running in fabb92a54399 [2020-10-08T07:53:51.307Z] Removing intermediate container fabb92a54399 [2020-10-08T07:53:51.307Z] ---> a2f7ddc8668f [2020-10-08T07:53:51.307Z] Step 23/24 : LABEL git_sha=069809ce141705ee6c7736dfa7a0da157719a99a [2020-10-08T07:53:51.575Z] ---> Running in da8cca27b5c5 [2020-10-08T07:53:51.575Z] Removing intermediate container da8cca27b5c5 [2020-10-08T07:53:51.575Z] ---> 724f8ea42346 [2020-10-08T07:53:51.575Z] Step 24/24 : LABEL version=0.0.0 [2020-10-08T07:53:51.844Z] ---> Running in d0536b29daed [2020-10-08T07:53:51.844Z] Removing intermediate container d0536b29daed [2020-10-08T07:53:51.844Z] ---> 2ca4da085cfc [2020-10-08T07:53:51.844Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-08T07:53:51.844Z] Successfully built 2ca4da085cfc [2020-10-08T07:53:51.844Z] 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-08T07:54:03.282Z] gofmt -l . [2020-10-08T07:54:03.282Z] [ "`gofmt -l .`" = "" ] [2020-10-08T07:54:03.282Z] ./bin/test-attribution-txt.sh [2020-10-08T07:54:03.282Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-08T07:54:03.303Z] Warning: overwriting stash ‘coverage-report’ [2020-10-08T07:54:04.237Z] Stashed 1 file(s) [Pipeline] } [2020-10-08T07:54:04.250Z] $ docker stop --time=1 2c303d2e25c817d00c0d0f3c32bfa792eeb62e883661391a042525088745a34d [2020-10-08T07:54:06.533Z] $ docker rm -f 2c303d2e25c817d00c0d0f3c32bfa792eeb62e883661391a042525088745a34d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-08T07:54:08.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-08T07:54:08.412Z] + ls -al . [2020-10-08T07:54:08.412Z] total 232 [2020-10-08T07:54:08.412Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 07:54 . [2020-10-08T07:54:08.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 07:50 .. [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 07:50 .dockerignore [2020-10-08T07:54:08.412Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 07:50 .git [2020-10-08T07:54:08.412Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 07:50 .github [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 8 07:50 .gitignore [2020-10-08T07:54:08.412Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 07:50 .semver [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 8 07:50 Dockerfile.build [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 8 07:50 Jenkinsfile [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 07:50 LICENSE [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 8 07:50 Makefile [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 8 07:50 README.md [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 8 07:50 RELEASE-NOTES.txt [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 07:48 VERSION [2020-10-08T07:54:08.412Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 07:50 bin [2020-10-08T07:54:08.412Z] -rw-r--r-- 1 jenkins jenkins 111045 Oct 8 07:53 coverage.out [2020-10-08T07:54:08.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 07:50 example [2020-10-08T07:54:08.412Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 8 07:54 go.mod [2020-10-08T07:54:08.412Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 8 07:54 go.sum [2020-10-08T07:54:08.412Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 07:50 internal [2020-10-08T07:54:08.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 07:50 openapi [2020-10-08T07:54:08.412Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 07:50 pkg [2020-10-08T07:54:08.412Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 07:50 snap [2020-10-08T07:54:08.412Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 07:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-08T07:54:08.810Z] + 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=069809ce141705ee6c7736dfa7a0da157719a99a --label arch=arm64 --label version=0.0.0 . [2020-10-08T07:54:09.418Z] Sending build context to Docker daemon 3.71MB [2020-10-08T07:54:09.418Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-08T07:54:09.418Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-08T07:54:09.418Z] ---> e4c2b5f9758e [2020-10-08T07:54:09.418Z] Step 3/24 : ARG MAKE='make build' [2020-10-08T07:54:09.691Z] ---> Running in b13d3e8042ef [2020-10-08T07:54:10.291Z] Removing intermediate container b13d3e8042ef [2020-10-08T07:54:10.291Z] ---> dd61917c7012 [2020-10-08T07:54:10.291Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-08T07:54:10.291Z] ---> Running in b757910dccac [2020-10-08T07:54:10.884Z] Removing intermediate container b757910dccac [2020-10-08T07:54:10.884Z] ---> dd11820cacf4 [2020-10-08T07:54:10.884Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T07:54:10.884Z] ---> Running in 99a83e7e7138 [2020-10-08T07:54:11.478Z] Removing intermediate container 99a83e7e7138 [2020-10-08T07:54:11.478Z] ---> c47724fca000 [2020-10-08T07:54:11.478Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-08T07:54:11.478Z] ---> Running in 6de009c436af [2020-10-08T07:54:14.090Z] Removing intermediate container 6de009c436af [2020-10-08T07:54:14.090Z] ---> 37486ab33205 [2020-10-08T07:54:14.090Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-08T07:54:14.090Z] ---> Running in 4923dde760ee [2020-10-08T07:54:15.534Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-08T07:54:16.129Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-08T07:54:17.104Z] OK: 142 MiB in 39 packages [2020-10-08T07:54:18.084Z] Removing intermediate container 4923dde760ee [2020-10-08T07:54:18.084Z] ---> 491114344ec4 [2020-10-08T07:54:18.084Z] Step 8/24 : COPY . . [2020-10-08T07:54:19.515Z] ---> 2aa7d16c5f74 [2020-10-08T07:54:19.515Z] Step 9/24 : RUN ${MAKE} [2020-10-08T07:54:19.788Z] ---> Running in f128584c60a6 [2020-10-08T07:54:21.223Z] 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-08T07:54:48.042Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-08T07:54:48.042Z] Removing intermediate container f128584c60a6 [2020-10-08T07:54:48.042Z] ---> fe77a1c0fce9 [2020-10-08T07:54:48.042Z] Step 10/24 : FROM scratch [2020-10-08T07:54:48.042Z] ---> [2020-10-08T07:54:48.042Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-08T07:54:48.042Z] ---> Running in 588dc69cd0da [2020-10-08T07:54:48.042Z] Removing intermediate container 588dc69cd0da [2020-10-08T07:54:48.042Z] ---> b12669a1f091 [2020-10-08T07:54:48.042Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-08T07:54:48.042Z] ---> Running in d61fda90c8c3 [2020-10-08T07:54:48.314Z] Removing intermediate container d61fda90c8c3 [2020-10-08T07:54:48.314Z] ---> d38ee0e1dd59 [2020-10-08T07:54:48.314Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-08T07:54:48.588Z] ---> Running in cc1a8922ec1f [2020-10-08T07:54:48.862Z] Removing intermediate container cc1a8922ec1f [2020-10-08T07:54:48.862Z] ---> 2e16f9691ed3 [2020-10-08T07:54:48.862Z] Step 14/24 : WORKDIR / [2020-10-08T07:54:49.133Z] ---> Running in 2de6c743d9cb [2020-10-08T07:54:49.406Z] Removing intermediate container 2de6c743d9cb [2020-10-08T07:54:49.406Z] ---> 0b5213bc9501 [2020-10-08T07:54:49.406Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-08T07:54:50.386Z] ---> 78b73bb15396 [2020-10-08T07:54:50.386Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-08T07:54:51.383Z] ---> 4d505a1215da [2020-10-08T07:54:51.383Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-08T07:54:51.975Z] ---> 27eab10660db [2020-10-08T07:54:51.975Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-08T07:54:52.567Z] ---> bc8dd46ee5a6 [2020-10-08T07:54:52.568Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-08T07:54:53.164Z] ---> 018a07e17136 [2020-10-08T07:54:53.165Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-08T07:54:53.439Z] ---> Running in 51afdbfea795 [2020-10-08T07:54:53.717Z] Removing intermediate container 51afdbfea795 [2020-10-08T07:54:53.717Z] ---> 562e73a6e2d1 [2020-10-08T07:54:53.717Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-08T07:54:53.988Z] ---> Running in 7632c85ed46e [2020-10-08T07:54:54.259Z] Removing intermediate container 7632c85ed46e [2020-10-08T07:54:54.259Z] ---> cc4a40f14f31 [2020-10-08T07:54:54.259Z] Step 22/24 : LABEL arch=arm64 [2020-10-08T07:54:54.533Z] ---> Running in 9e5752423718 [2020-10-08T07:54:54.805Z] Removing intermediate container 9e5752423718 [2020-10-08T07:54:54.805Z] ---> 2c08ad97f822 [2020-10-08T07:54:54.805Z] Step 23/24 : LABEL git_sha=069809ce141705ee6c7736dfa7a0da157719a99a [2020-10-08T07:54:55.078Z] ---> Running in e3a0dd3044f6 [2020-10-08T07:54:55.350Z] Removing intermediate container e3a0dd3044f6 [2020-10-08T07:54:55.350Z] ---> 63bce614c561 [2020-10-08T07:54:55.350Z] Step 24/24 : LABEL version=0.0.0 [2020-10-08T07:54:55.624Z] ---> Running in 4e398fb47c1a [2020-10-08T07:54:55.899Z] Removing intermediate container 4e398fb47c1a [2020-10-08T07:54:55.899Z] ---> 6bbe5e9acc72 [2020-10-08T07:54:55.899Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-08T07:54:56.173Z] Successfully built 6bbe5e9acc72 [2020-10-08T07:54:56.173Z] 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-08T07:54:58.219Z] provisioning config files... [2020-10-08T07:54:58.236Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config8955399089017879280tmp [Pipeline] { [Pipeline] sh [2020-10-08T07:54:58.636Z] + set +x [2020-10-08T07:54:58.636Z] + curl -s https://codecov.io/bash [2020-10-08T07:54:58.636Z] + bash -s -- [2020-10-08T07:54:58.903Z] [2020-10-08T07:54:58.903Z] _____ _ [2020-10-08T07:54:58.903Z] / ____| | | [2020-10-08T07:54:58.903Z] | | ___ __| | ___ ___ _____ __ [2020-10-08T07:54:58.903Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-08T07:54:58.903Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-08T07:54:58.903Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-08T07:54:58.903Z] Bash-20201007-7e25d0a [2020-10-08T07:54:58.903Z] [2020-10-08T07:54:58.903Z] [2020-10-08T07:54:58.903Z] ==> Jenkins CI detected. [2020-10-08T07:54:58.903Z] project root: . [2020-10-08T07:54:58.903Z] --> token set from env [2020-10-08T07:54:58.903Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-08T07:54:58.903Z] ==> Running gcov in . (disable via -X gcov) [2020-10-08T07:54:58.903Z] ==> Python coveragepy not found [2020-10-08T07:54:58.903Z] ==> Searching for coverage reports in: [2020-10-08T07:54:58.903Z] + . [2020-10-08T07:54:58.903Z] -> Found 1 reports [2020-10-08T07:54:58.903Z] ==> Detecting git/mercurial file structure [2020-10-08T07:54:58.903Z] ==> Reading reports [2020-10-08T07:54:59.168Z] + ./coverage.out bytes=111045 [2020-10-08T07:54:59.168Z] ==> Appending adjustments [2020-10-08T07:54:59.169Z] https://docs.codecov.io/docs/fixing-reports [2020-10-08T07:54:59.748Z] + Found adjustments [2020-10-08T07:54:59.748Z] ==> Gzipping contents [2020-10-08T07:54:59.748Z] ==> Uploading reports [2020-10-08T07:54:59.748Z] url: https://codecov.io [2020-10-08T07:54:59.748Z] query: branch=PR-619&commit=069809ce141705ee6c7736dfa7a0da157719a99a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-08T07:54:59.748Z] -> Pinging Codecov [2020-10-08T07:54:59.748Z] https://codecov.io/upload/v4?package=bash-20201007-7e25d0a&token=secret&branch=PR-619&commit=069809ce141705ee6c7736dfa7a0da157719a99a&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-08T07:54:59.748Z] -> Uploading to [2020-10-08T07:54:59.748Z] [2020-10-08T07:54:59.748Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-08T07:54:59.748Z] Dload Upload Total Spent Left Speed [2020-10-08T07:55:00.012Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-08T07:55:00.012Z] X> Failed to upload [2020-10-08T07:55:00.012Z] ==> Uploading to Codecov [2020-10-08T07:55:00.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-08T07:55:00.012Z] Dload Upload Total Spent Left Speed [2020-10-08T07:55:01.011Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 20609 0 0 100 20499 0 21878 --:--:-- --:--:-- --:--:-- 21877 100 20609 100 110 100 20499 117 21855 --:--:-- --:--:-- --:--:-- 21853 [2020-10-08T07:55:01.011Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/069809ce141705ee6c7736dfa7a0da157719a99a [Pipeline] } [2020-10-08T07:55:01.028Z] 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-08T07:55:03.591Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T07:55:04.240Z] ---> package-listing.sh [2020-10-08T07:55:04.240Z] ++ facter osfamily [2020-10-08T07:55:04.240Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-08T07:55:04.505Z] + OS_FAMILY=redhat [2020-10-08T07:55:04.505Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-08T07:55:04.505Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-08T07:55:04.505Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-08T07:55:04.505Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-08T07:55:04.505Z] + PACKAGES=/tmp/packages_start.txt [2020-10-08T07:55:04.505Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-08T07:55:04.505Z] + PACKAGES=/tmp/packages_end.txt [2020-10-08T07:55:04.505Z] + case "${OS_FAMILY}" in [2020-10-08T07:55:04.505Z] + rpm -qa [2020-10-08T07:55:04.505Z] + sort [2020-10-08T07:55:08.856Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-08T07:55:08.856Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-08T07:55:08.856Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-08T07:55:08.856Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-08T07:55:08.856Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [2020-10-08T07:55:08.856Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-08T07:55:09.555Z] provisioning config files... [2020-10-08T07:55:09.573Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config1424264831979521132tmp [Pipeline] { [Pipeline] echo [2020-10-08T07:55:09.642Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T07:55:09.959Z] ---> create-netrc.sh [Pipeline] } [2020-10-08T07:55:09.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-08T07:55:10.114Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T07:55:10.446Z] ---> python-tools-install.sh [2020-10-08T07:55:10.446Z] Generating Requirements File [2020-10-08T07:56:47.176Z] Python 3.6.8 [2020-10-08T07:56:47.176Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-08T07:56:47.176Z] appdirs==1.4.3 [2020-10-08T07:56:47.176Z] argcomplete==1.12.1 [2020-10-08T07:56:47.176Z] aspy.yaml==1.3.0 [2020-10-08T07:56:47.176Z] attrs==19.3.0 [2020-10-08T07:56:47.176Z] Babel==2.8.0 [2020-10-08T07:56:47.176Z] beautifulsoup4==4.8.2 [2020-10-08T07:56:47.176Z] boto3==1.11.6 [2020-10-08T07:56:47.176Z] botocore==1.14.6 [2020-10-08T07:56:47.176Z] bs4==0.0.1 [2020-10-08T07:56:47.176Z] cachetools==4.1.1 [2020-10-08T07:56:47.176Z] certifi==2019.11.28 [2020-10-08T07:56:47.176Z] cffi==1.14.3 [2020-10-08T07:56:47.176Z] cfgv==2.0.1 [2020-10-08T07:56:47.176Z] chardet==3.0.4 [2020-10-08T07:56:47.176Z] click==7.1 [2020-10-08T07:56:47.176Z] cliff==3.4.0 [2020-10-08T07:56:47.176Z] cmd2==1.3.11 [2020-10-08T07:56:47.176Z] colorama==0.4.3 [2020-10-08T07:56:47.176Z] cryptography==3.1.1 [2020-10-08T07:56:47.176Z] debtcollector==2.2.0 [2020-10-08T07:56:47.176Z] decorator==4.4.2 [2020-10-08T07:56:47.176Z] defusedxml==0.6.0 [2020-10-08T07:56:47.176Z] Deprecated==1.2.7 [2020-10-08T07:56:47.176Z] distlib==0.3.1 [2020-10-08T07:56:47.176Z] distro==1.2.0 [2020-10-08T07:56:47.176Z] dnspython==1.16.0 [2020-10-08T07:56:47.176Z] docker==4.2.0 [2020-10-08T07:56:47.176Z] docutils==0.15.2 [2020-10-08T07:56:47.176Z] dogpile.cache==1.0.2 [2020-10-08T07:56:47.176Z] email-validator==1.0.5 [2020-10-08T07:56:47.176Z] filelock==3.0.12 [2020-10-08T07:56:47.176Z] future==0.18.2 [2020-10-08T07:56:47.176Z] google-auth==1.22.1 [2020-10-08T07:56:47.176Z] httplib2==0.17.0 [2020-10-08T07:56:47.176Z] identify==1.4.11 [2020-10-08T07:56:47.176Z] idna==2.9 [2020-10-08T07:56:47.176Z] importlib-metadata==1.7.0 [2020-10-08T07:56:47.176Z] importlib-resources==1.5.0 [2020-10-08T07:56:47.176Z] iso8601==0.1.13 [2020-10-08T07:56:47.176Z] Jinja2==2.11.1 [2020-10-08T07:56:47.176Z] jmespath==0.10.0 [2020-10-08T07:56:47.176Z] jsonpatch==1.26 [2020-10-08T07:56:47.176Z] jsonpointer==2.0 [2020-10-08T07:56:47.176Z] jsonschema==3.2.0 [2020-10-08T07:56:47.176Z] keystoneauth1==4.2.1 [2020-10-08T07:56:47.176Z] kubernetes==11.0.0 [2020-10-08T07:56:47.176Z] lftools==0.34.2 [2020-10-08T07:56:47.176Z] lxml==4.5.0 [2020-10-08T07:56:47.176Z] MarkupSafe==0.23 [2020-10-08T07:56:47.176Z] msgpack==1.0.0 [2020-10-08T07:56:47.176Z] multi-key-dict==2.0.3 [2020-10-08T07:56:47.176Z] munch==2.5.0 [2020-10-08T07:56:47.176Z] netaddr==0.8.0 [2020-10-08T07:56:47.176Z] netifaces==0.10.9 [2020-10-08T07:56:47.176Z] niet==1.4.2 [2020-10-08T07:56:47.176Z] nodeenv==1.3.5 [2020-10-08T07:56:47.176Z] oauth2client==4.1.3 [2020-10-08T07:56:47.176Z] oauthlib==3.1.0 [2020-10-08T07:56:47.176Z] openstacksdk==0.50.0 [2020-10-08T07:56:47.176Z] os-client-config==2.1.0 [2020-10-08T07:56:47.176Z] os-service-types==1.7.0 [2020-10-08T07:56:47.176Z] osc-lib==2.2.1 [2020-10-08T07:56:47.176Z] oslo.config==8.3.2 [2020-10-08T07:56:47.176Z] oslo.context==3.1.1 [2020-10-08T07:56:47.176Z] oslo.i18n==5.0.1 [2020-10-08T07:56:47.176Z] oslo.log==4.4.0 [2020-10-08T07:56:47.176Z] oslo.serialization==4.0.1 [2020-10-08T07:56:47.176Z] oslo.utils==4.6.0 [2020-10-08T07:56:47.176Z] packaging==20.4 [2020-10-08T07:56:47.176Z] pbr==5.4.4 [2020-10-08T07:56:47.176Z] pluggy==0.13.1 [2020-10-08T07:56:47.176Z] prettytable==0.7.2 [2020-10-08T07:56:47.176Z] py==1.9.0 [2020-10-08T07:56:47.176Z] pyasn1==0.4.8 [2020-10-08T07:56:47.176Z] pyasn1-modules==0.2.8 [2020-10-08T07:56:47.176Z] pycparser==2.20 [2020-10-08T07:56:47.176Z] pygerrit2==2.0.10 [2020-10-08T07:56:47.176Z] PyGithub==1.46 [2020-10-08T07:56:47.176Z] pyinotify==0.9.6 [2020-10-08T07:56:47.176Z] PyJWT==1.7.1 [2020-10-08T07:56:47.176Z] pyparsing==2.4.7 [2020-10-08T07:56:47.176Z] pyperclip==1.8.0 [2020-10-08T07:56:47.176Z] pyroute2==0.4.13 [2020-10-08T07:56:47.176Z] pyrsistent==0.15.7 [2020-10-08T07:56:47.176Z] PySocks==1.6.8 [2020-10-08T07:56:47.176Z] python-cinderclient==7.2.0 [2020-10-08T07:56:47.176Z] python-dateutil==2.8.1 [2020-10-08T07:56:47.176Z] python-heatclient==2.2.1 [2020-10-08T07:56:47.176Z] python-jenkins==1.7.0 [2020-10-08T07:56:47.176Z] python-keystoneclient==4.1.1 [2020-10-08T07:56:47.176Z] python-magnumclient==3.2.1 [2020-10-08T07:56:47.176Z] python-novaclient==17.2.1 [2020-10-08T07:56:47.176Z] python-openstackclient==5.4.0 [2020-10-08T07:56:47.176Z] python-swiftclient==3.10.1 [2020-10-08T07:56:47.176Z] pytz==2020.1 [2020-10-08T07:56:47.176Z] PyYAML==5.3 [2020-10-08T07:56:47.176Z] requests==2.23.0 [2020-10-08T07:56:47.176Z] requests-oauthlib==1.3.0 [2020-10-08T07:56:47.176Z] requestsexceptions==1.4.0 [2020-10-08T07:56:47.176Z] rfc3986==1.4.0 [2020-10-08T07:56:47.176Z] rpm==4.11.3 [2020-10-08T07:56:47.176Z] rsa==4.0 [2020-10-08T07:56:47.176Z] ruamel.yaml==0.16.10 [2020-10-08T07:56:47.176Z] ruamel.yaml.clib==0.2.0 [2020-10-08T07:56:47.176Z] s3transfer==0.3.3 [2020-10-08T07:56:47.176Z] shade==1.27.2 [2020-10-08T07:56:47.176Z] simplejson==3.17.2 [2020-10-08T07:56:47.176Z] six==1.14.0 [2020-10-08T07:56:47.176Z] soupsieve==2.0 [2020-10-08T07:56:47.176Z] stevedore==3.2.2 [2020-10-08T07:56:47.176Z] tabulate==0.8.6 [2020-10-08T07:56:47.176Z] toml==0.10.0 [2020-10-08T07:56:47.176Z] tox==3.20.0 [2020-10-08T07:56:47.176Z] tqdm==4.43.0 [2020-10-08T07:56:47.176Z] urllib3==1.25.8 [2020-10-08T07:56:47.176Z] virtualenv==20.0.33 [2020-10-08T07:56:47.176Z] wcwidth==0.2.5 [2020-10-08T07:56:47.176Z] websocket-client==0.57.0 [2020-10-08T07:56:47.176Z] wrapt==1.12.1 [2020-10-08T07:56:47.176Z] xdg==3.0.2 [2020-10-08T07:56:47.176Z] xmltodict==0.12.0 [2020-10-08T07:56:47.176Z] yq==2.11.1 [2020-10-08T07:56:47.176Z] zipp==3.3.0 [2020-10-08T07:56:47.176Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:56:47.780Z] 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-08T07:56:52.092Z] Python 2.7.5 [2020-10-08T07:56:52.359Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-08T07:56:52.956Z] 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-08T07:56:53.219Z] ansible==2.9.7 [2020-10-08T07:56:53.219Z] Babel==0.9.6 [2020-10-08T07:56:53.219Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-08T07:56:53.219Z] beautifulsoup4==4.4.1 [2020-10-08T07:56:53.219Z] bodhi==2.11.0 [2020-10-08T07:56:53.219Z] bodhi-client==2.11.0 [2020-10-08T07:56:53.219Z] CCColUtils==1.4 [2020-10-08T07:56:53.219Z] cffi==1.6.0 [2020-10-08T07:56:53.219Z] chardet==2.2.1 [2020-10-08T07:56:53.219Z] click==6.7 [2020-10-08T07:56:53.219Z] cloud-init==18.5 [2020-10-08T07:56:53.219Z] configobj==4.7.2 [2020-10-08T07:56:53.219Z] cryptography==1.7.2 [2020-10-08T07:56:53.219Z] decorator==3.4.0 [2020-10-08T07:56:53.219Z] distro==1.2.0 [2020-10-08T07:56:53.219Z] enum34==1.0.4 [2020-10-08T07:56:53.219Z] fedpkg==1.38 [2020-10-08T07:56:53.219Z] futures==3.1.1 [2020-10-08T07:56:53.219Z] gitdb==0.6.4 [2020-10-08T07:56:53.219Z] GitPython==1.0.1 [2020-10-08T07:56:53.219Z] html5lib==0.999 [2020-10-08T07:56:53.219Z] httplib2==0.9.2 [2020-10-08T07:56:53.219Z] idna==2.4 [2020-10-08T07:56:53.219Z] iniparse==0.4 [2020-10-08T07:56:53.219Z] ipaddress==1.0.16 [2020-10-08T07:56:53.219Z] IPy==0.75 [2020-10-08T07:56:53.219Z] javapackages==1.0.0 [2020-10-08T07:56:53.219Z] Jinja2==2.7.2 [2020-10-08T07:56:53.219Z] jmespath==0.9.4 [2020-10-08T07:56:53.219Z] jsonpatch==1.2 [2020-10-08T07:56:53.219Z] jsonpointer==1.9 [2020-10-08T07:56:53.219Z] kerberos==1.1 [2020-10-08T07:56:53.219Z] kitchen==1.1.1 [2020-10-08T07:56:53.219Z] langtable==0.0.31 [2020-10-08T07:56:53.219Z] lockfile==0.9.1 [2020-10-08T07:56:53.219Z] lxml==3.2.1 [2020-10-08T07:56:53.220Z] MarkupSafe==0.11 [2020-10-08T07:56:53.220Z] munch==2.0.2 [2020-10-08T07:56:53.220Z] offtrac==0.1.0 [2020-10-08T07:56:53.220Z] openidc-client==0.6.0 [2020-10-08T07:56:53.220Z] packagedb-cli==2.14.1 [2020-10-08T07:56:53.220Z] paramiko==2.1.1 [2020-10-08T07:56:53.220Z] perf==0.1 [2020-10-08T07:56:53.220Z] ply==3.4 [2020-10-08T07:56:53.220Z] policycoreutils-default-encoding==0.1 [2020-10-08T07:56:53.220Z] prettytable==0.7.2 [2020-10-08T07:56:53.220Z] pyasn1==0.1.9 [2020-10-08T07:56:53.220Z] pycparser==2.14 [2020-10-08T07:56:53.220Z] pycurl==7.19.0 [2020-10-08T07:56:53.220Z] pygobject==3.22.0 [2020-10-08T07:56:53.220Z] pygpgme==0.3 [2020-10-08T07:56:53.220Z] pyliblzma==0.5.3 [2020-10-08T07:56:53.220Z] pyOpenSSL==0.13.1 [2020-10-08T07:56:53.220Z] pyparsing==1.5.6 [2020-10-08T07:56:53.220Z] pyserial==2.6 [2020-10-08T07:56:53.220Z] python-augeas==0.5.0 [2020-10-08T07:56:53.220Z] python-bugzilla==2.3.0 [2020-10-08T07:56:53.220Z] python-dateutil==1.5 [2020-10-08T07:56:53.220Z] python-fedora==0.10.0 [2020-10-08T07:56:53.220Z] python-linux-procfs==0.4.9 [2020-10-08T07:56:53.220Z] python-yubico==1.2.3 [2020-10-08T07:56:53.220Z] pyudev==0.15 [2020-10-08T07:56:53.220Z] pyusb==1.0.0b1 [2020-10-08T07:56:53.220Z] pyxattr==0.5.1 [2020-10-08T07:56:53.220Z] PyYAML==3.10 [2020-10-08T07:56:53.220Z] requests==2.6.0 [2020-10-08T07:56:53.220Z] requests-kerberos==0.7.0 [2020-10-08T07:56:53.220Z] rpkg==1.60 [2020-10-08T07:56:53.220Z] schedutils==0.4 [2020-10-08T07:56:53.220Z] seobject==0.1 [2020-10-08T07:56:53.220Z] sepolicy==1.1 [2020-10-08T07:56:53.220Z] six==1.9.0 [2020-10-08T07:56:53.220Z] smmap==0.9.0 [2020-10-08T07:56:53.220Z] urlgrabber==3.10 [2020-10-08T07:56:53.220Z] urllib3==1.10.2 [2020-10-08T07:56:53.220Z] virtualenv==15.1.0 [2020-10-08T07:56:53.220Z] yum-langpacks==0.4.2 [2020-10-08T07:56:53.220Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-08T07:56:53.235Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T07:56:53.806Z] ---> sudo-logs.sh [2020-10-08T07:56:53.806Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-08T07:56:54.171Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T07:56:54.521Z] ---> job-cost.sh [2020-10-08T07:56:54.521Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OtL8 [2020-10-08T07:57:06.978Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:06.978Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:07.969Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:08.242Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:08.508Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:08.785Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:09.052Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:09.052Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:09.325Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:09.325Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:09.615Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:09.615Z] Cache entry deserialization failed, entry ignored [2020-10-08T07:57:14.000Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-08T07:57:52.997Z] lf-activate-venv(): INFO: Adding /tmp/venv-OtL8/bin to PATH [2020-10-08T07:57:52.998Z] INFO: No Stack... [2020-10-08T07:57:52.998Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-08T07:57:52.998Z] INFO: Archiving Costs [Pipeline] echo [2020-10-08T07:57:53.055Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-08T07:57:53.498Z] ---> logs-deploy.sh [2020-10-08T07:57:53.498Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/5 [2020-10-08T07:57:53.498Z] INFO: archiving workspace using pattern(s): [2020-10-08T07:57:56.128Z] Archives upload complete. [2020-10-08T07:57:56.128Z] INFO: archiving logs to Nexus