Pull request #625 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 97d215942e84a991c53b707ff2edd046ff47c371+153a43e7e060228c1df4c616c423a5b384e52518 (04b3e0f9fc717d998fc03b40d6880e0a9488d11a) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4969 in /w/workspace/dgexfoundry_device-sdk-go_PR-625 [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-625 # 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 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 97d215942e84a991c53b707ff2edd046ff47c371 > 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/625/head:refs/remotes/origin/PR-625 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97d215942e84a991c53b707ff2edd046ff47c371 # timeout=10 Merge succeeded, producing 97d215942e84a991c53b707ff2edd046ff47c371 Checking out Revision 97d215942e84a991c53b707ff2edd046ff47c371 (PR-625) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97d215942e84a991c53b707ff2edd046ff47c371 # timeout=10 Commit message: "refactor(sdk): fix requested changes in PR" First time build. Skipping changelog. > git rev-list --no-walk 4f14ea6436e03ea1078c81b0c6538e4bd9bf29f5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-13T03:52:38.348Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-13T03:52:38.714Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-13T03:52:38.829Z] ========================================================= [2020-10-13T03:52:38.829Z] EdgeX Global Pipelines Version Info [2020-10-13T03:52:38.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-13T03:52:42.318Z] ------------------- [2020-10-13T03:52:42.318Z] stable info: [2020-10-13T03:52:42.318Z] ------------------- [2020-10-13T03:52:42.318Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-13T03:52:42.318Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-13T03:52:42.318Z] Message: update stable to v1.0.131 [2020-10-13T03:52:43.384Z] ------------------- [2020-10-13T03:52:43.384Z] experimental info: [2020-10-13T03:52:43.384Z] ------------------- [2020-10-13T03:52:43.384Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-13T03:52:43.384Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-13T03:52:43.384Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-13T03:52:43.834Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-13T03:52:43.939Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-13T03:52:44.086Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-13T03:52:44.189Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-13T03:52:44.301Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-13T03:52:44.410Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-13T03:52:44.505Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-13T03:52:44.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-13T03:52:44.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-13T03:52:44.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-13T03:52:44.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-13T03:52:45.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-13T03:52:45.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-13T03:52:45.207Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-13T03:52:45.305Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-13T03:52:45.400Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-13T03:52:45.521Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-13T03:52:45.615Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-13T03:52:45.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-13T03:52:45.812Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-13T03:52:45.914Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-13T03:52:46.032Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-13T03:52:46.127Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-13T03:52:46.232Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-13T03:52:46.330Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-13T03:52:46.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-625 [Pipeline] echo [2020-10-13T03:52:46.523Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-625 [Pipeline] echo [2020-10-13T03:52:46.620Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-625 [Pipeline] echo [2020-10-13T03:52:46.727Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97d215942e84a991c53b707ff2edd046ff47c371 [Pipeline] echo [2020-10-13T03:52:46.828Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97d2159 [Pipeline] echo [2020-10-13T03:52:46.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-13T03:52:47.575Z] + git log --format=format:%s -1 97d215942e84a991c53b707ff2edd046ff47c371 [Pipeline] echo [2020-10-13T03:52:47.882Z] GIT_COMMIT: 97d215942e84a991c53b707ff2edd046ff47c371, Commit Message: refactor(sdk): fix requested changes in PR [Pipeline] echo [2020-10-13T03:52:47.931Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:52:48.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-13T03:52:49.155Z] [2020-10-13T03:52:49.155Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:52:49.646Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-13T03:52:49.990Z] latest: Pulling from edgex-devops/git-semver [2020-10-13T03:52:49.990Z] 31603596830f: Pulling fs layer [2020-10-13T03:52:49.990Z] 2a8b12db71e7: Pulling fs layer [2020-10-13T03:52:49.990Z] 6ca5941a6612: Pulling fs layer [2020-10-13T03:52:49.990Z] ecc8261a40a4: Pulling fs layer [2020-10-13T03:52:49.990Z] ecc8261a40a4: Waiting [2020-10-13T03:52:49.990Z] 2a8b12db71e7: Verifying Checksum [2020-10-13T03:52:49.990Z] 2a8b12db71e7: Download complete [2020-10-13T03:52:50.353Z] 31603596830f: Verifying Checksum [2020-10-13T03:52:50.353Z] 31603596830f: Download complete [2020-10-13T03:52:50.829Z] 31603596830f: Pull complete [2020-10-13T03:52:51.351Z] 2a8b12db71e7: Pull complete [2020-10-13T03:52:51.719Z] ecc8261a40a4: Verifying Checksum [2020-10-13T03:52:51.719Z] ecc8261a40a4: Download complete [2020-10-13T03:52:52.007Z] 6ca5941a6612: Verifying Checksum [2020-10-13T03:52:52.007Z] 6ca5941a6612: Download complete [2020-10-13T03:52:54.146Z] 6ca5941a6612: Pull complete [2020-10-13T03:52:54.544Z] ecc8261a40a4: Pull complete [2020-10-13T03:52:54.544Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-13T03:52:54.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-13T03:52:54.544Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-13T03:52:55.082Z] prd-centos7-docker-4c-2g-4969 does not seem to be running inside a container [2020-10-13T03:52:55.555Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-625 -v /w/workspace/dgexfoundry_device-sdk-go_PR-625:/w/workspace/dgexfoundry_device-sdk-go_PR-625:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-625@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-625@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-13T03:52:58.238Z] $ docker top b7ca0a5a1435f260031bd5916d5c596eba6870cdd8a558db6ef18ac852714292 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-13T03:52:58.725Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-13T03:52:58.725Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-13T03:52:59.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-13T03:52:59.106Z] $ docker exec b7ca0a5a1435f260031bd5916d5c596eba6870cdd8a558db6ef18ac852714292 ssh-agent [2020-10-13T03:52:59.379Z] SSH_AUTH_SOCK=/tmp/ssh-PKKGzvI4IXx6/agent.13 [2020-10-13T03:52:59.379Z] SSH_AGENT_PID=19 [2020-10-13T03:52:59.413Z] Running ssh-add (command line suppressed) [2020-10-13T03:52:59.634Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-625@tmp/private_key_2403691420387190251.key (/w/workspace/dgexfoundry_device-sdk-go_PR-625@tmp/private_key_2403691420387190251.key) [2020-10-13T03:52:59.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-13T03:53:00.183Z] + git describe --exact-match --tags HEAD [2020-10-13T03:53:00.183Z] fatal: no tag exactly matches '97d215942e84a991c53b707ff2edd046ff47c371' [Pipeline] } [2020-10-13T03:53:00.287Z] $ docker exec --env ******** --env ******** b7ca0a5a1435f260031bd5916d5c596eba6870cdd8a558db6ef18ac852714292 ssh-agent -k [2020-10-13T03:53:00.470Z] unset SSH_AUTH_SOCK; [2020-10-13T03:53:00.470Z] unset SSH_AGENT_PID; [2020-10-13T03:53:00.471Z] echo Agent pid 19 killed; [2020-10-13T03:53:00.538Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-13T03:53:00.657Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-13T03:53:00.657Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-13T03:53:00.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-13T03:53:00.770Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-13T03:53:01.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-13T03:53:01.045Z] $ docker exec b7ca0a5a1435f260031bd5916d5c596eba6870cdd8a558db6ef18ac852714292 ssh-agent [2020-10-13T03:53:01.276Z] SSH_AUTH_SOCK=/tmp/ssh-fbKx8TTUYaiS/agent.49 [2020-10-13T03:53:01.276Z] SSH_AGENT_PID=55 [2020-10-13T03:53:01.286Z] Running ssh-add (command line suppressed) [2020-10-13T03:53:01.456Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-625@tmp/private_key_2260812040621764018.key (/w/workspace/dgexfoundry_device-sdk-go_PR-625@tmp/private_key_2260812040621764018.key) [2020-10-13T03:53:01.519Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-13T03:53:01.925Z] + git semver init [2020-10-13T03:53:01.925Z] # -> Open(): unable to determine branch for HEAD [2020-10-13T03:53:01.925Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-625/.git [2020-10-13T03:53:01.925Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-625 [2020-10-13T03:53:01.925Z] # $SEMVER_REMOTE_NAME = origin [2020-10-13T03:53:01.925Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-13T03:53:01.925Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-13T03:53:01.925Z] # $SEMVER_BRANCH = PR-625 [2020-10-13T03:53:01.925Z] # $SEMVER_TEMP = /tmp/semver-684816743 [2020-10-13T03:53:01.925Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-13T03:53:02.900Z] # '/tmp/semver-684816743' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-625/.semver' [2020-10-13T03:53:02.900Z] # -> Force: false [2020-10-13T03:53:02.900Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-625/.semver [Pipeline] } [2020-10-13T03:53:02.930Z] $ docker exec --env ******** --env ******** b7ca0a5a1435f260031bd5916d5c596eba6870cdd8a558db6ef18ac852714292 ssh-agent -k [2020-10-13T03:53:03.187Z] unset SSH_AUTH_SOCK; [2020-10-13T03:53:03.188Z] unset SSH_AGENT_PID; [2020-10-13T03:53:03.189Z] echo Agent pid 55 killed; [2020-10-13T03:53:03.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-13T03:53:03.807Z] + git semver [Pipeline] } [2020-10-13T03:53:03.846Z] $ docker stop --time=1 b7ca0a5a1435f260031bd5916d5c596eba6870cdd8a558db6ef18ac852714292 [2020-10-13T03:53:05.583Z] $ docker rm -f b7ca0a5a1435f260031bd5916d5c596eba6870cdd8a558db6ef18ac852714292 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-13T03:53:07.486Z] Stashed 48 file(s) [Pipeline] echo [2020-10-13T03:53:07.489Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-13T03:53:07.627Z] 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-13T03:53:23.089Z] Still waiting to schedule task [2020-10-13T03:53:23.089Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-13T03:53:23.091Z] Still waiting to schedule task [2020-10-13T03:53:23.091Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-13T03:55:17.523Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4970 in /w/workspace/dgexfoundry_device-sdk-go_PR-625 [Pipeline] { [Pipeline] ws [2020-10-13T03:55:17.591Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-13T03:55:22.490Z] using credential edgex-jenkins-ssh [2020-10-13T03:55:22.552Z] Cloning the remote Git repository [2020-10-13T03:55:22.621Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-13T03:55:22.762Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-13T03:55:22.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-13T03:55:22.833Z] > git --version # timeout=10 [2020-10-13T03:55:22.859Z] > git --version # 'git version 2.17.1' [2020-10-13T03:55:22.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-13T03:55:22.908Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-13T03:55:24.667Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 97d215942e84a991c53b707ff2edd046ff47c371 [2020-10-13T03:55:24.891Z] Merge succeeded, producing 97d215942e84a991c53b707ff2edd046ff47c371 [2020-10-13T03:55:24.892Z] Checking out Revision 97d215942e84a991c53b707ff2edd046ff47c371 (PR-625) [2020-10-13T03:55:23.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-13T03:55:24.008Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-13T03:55:24.040Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-13T03:55:24.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-13T03:55:24.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-13T03:55:24.089Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/625/head:refs/remotes/origin/PR-625 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-13T03:55:24.688Z] > git config core.sparsecheckout # timeout=10 [2020-10-13T03:55:24.709Z] > git checkout -f 97d215942e84a991c53b707ff2edd046ff47c371 # timeout=10 [2020-10-13T03:55:24.815Z] > git remote # timeout=10 [2020-10-13T03:55:24.832Z] > git config --get remote.origin.url # timeout=10 [2020-10-13T03:55:24.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-13T03:55:24.856Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-13T03:55:24.878Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-13T03:55:24.901Z] > git config core.sparsecheckout # timeout=10 [2020-10-13T03:55:24.911Z] > git checkout -f 97d215942e84a991c53b707ff2edd046ff47c371 # timeout=10 [2020-10-13T03:55:29.576Z] Commit message: "refactor(sdk): fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-13T03:55:30.826Z] ========================================================= [2020-10-13T03:55:30.826Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-13T03:55:30.826Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:55:32.029Z] + 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-13T03:55:33.022Z] Sending build context to Docker daemon 3.571MB [2020-10-13T03:55:33.022Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-13T03:55:33.022Z] Step 2/8 : FROM ${BASE} [2020-10-13T03:55:33.308Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-13T03:55:33.308Z] b538f80385f9: Pulling fs layer [2020-10-13T03:55:33.308Z] 74f711af9a0d: Pulling fs layer [2020-10-13T03:55:33.308Z] 99f96fe45779: Pulling fs layer [2020-10-13T03:55:33.308Z] 8529a6b9a6be: Pulling fs layer [2020-10-13T03:55:33.308Z] 45590311c82a: Pulling fs layer [2020-10-13T03:55:33.308Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-13T03:55:33.308Z] 209524e5b208: Pulling fs layer [2020-10-13T03:55:33.308Z] 8529a6b9a6be: Waiting [2020-10-13T03:55:33.308Z] 45590311c82a: Waiting [2020-10-13T03:55:33.308Z] 69ca0ff8b7b3: Waiting [2020-10-13T03:55:33.308Z] 209524e5b208: Waiting [2020-10-13T03:55:33.308Z] 99f96fe45779: Verifying Checksum [2020-10-13T03:55:33.308Z] 99f96fe45779: Download complete [2020-10-13T03:55:33.308Z] 74f711af9a0d: Verifying Checksum [2020-10-13T03:55:33.308Z] 74f711af9a0d: Download complete [2020-10-13T03:55:33.308Z] 45590311c82a: Verifying Checksum [2020-10-13T03:55:33.308Z] 45590311c82a: Download complete [2020-10-13T03:55:33.582Z] b538f80385f9: Verifying Checksum [2020-10-13T03:55:33.582Z] b538f80385f9: Download complete [2020-10-13T03:55:33.582Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-13T03:55:33.582Z] 69ca0ff8b7b3: Download complete [2020-10-13T03:55:34.188Z] b538f80385f9: Pull complete [2020-10-13T03:55:34.791Z] 74f711af9a0d: Pull complete [2020-10-13T03:55:35.065Z] 99f96fe45779: Pull complete [2020-10-13T03:55:36.052Z] 209524e5b208: Verifying Checksum [2020-10-13T03:55:36.052Z] 209524e5b208: Download complete [2020-10-13T03:55:37.497Z] 8529a6b9a6be: Verifying Checksum [2020-10-13T03:55:37.497Z] 8529a6b9a6be: Download complete [2020-10-13T03:55:47.675Z] 8529a6b9a6be: Pull complete [2020-10-13T03:55:47.675Z] 45590311c82a: Pull complete [2020-10-13T03:55:47.948Z] 69ca0ff8b7b3: Pull complete [2020-10-13T03:55:52.278Z] 209524e5b208: Pull complete [2020-10-13T03:55:52.278Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-13T03:55:52.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-13T03:55:52.278Z] ---> 5bddaf1c2fca [2020-10-13T03:55:52.278Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-13T03:55:54.918Z] ---> Running in fdb7018c17c5 [2020-10-13T03:55:55.197Z] Removing intermediate container fdb7018c17c5 [2020-10-13T03:55:55.197Z] ---> 687fa11461e0 [2020-10-13T03:55:55.197Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-13T03:55:55.197Z] ---> Running in 7011e1fd04fa [2020-10-13T03:55:56.628Z] Running on prd-centos7-docker-4c-2g-4971 in /w/workspace/dgexfoundry_device-sdk-go_PR-625 [Pipeline] { [Pipeline] ws [2020-10-13T03:55:56.695Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-13T03:55:57.843Z] Removing intermediate container 7011e1fd04fa [2020-10-13T03:55:57.843Z] ---> 33f31a99abfd [2020-10-13T03:55:57.843Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-13T03:55:58.120Z] ---> Running in 2193e423ae27 [2020-10-13T03:55:59.386Z] using credential edgex-jenkins-ssh [2020-10-13T03:55:59.447Z] Cloning the remote Git repository [2020-10-13T03:55:59.557Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-13T03:55:59.476Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-13T03:55:59.545Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-13T03:55:59.599Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-13T03:55:59.599Z] > git --version # timeout=10 [2020-10-13T03:55:59.607Z] > git --version # 'git version 2.16.5' [2020-10-13T03:55:59.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-13T03:55:59.639Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-13T03:56:00.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-13T03:56:00.275Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-13T03:56:00.287Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-13T03:56:00.301Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-13T03:56:00.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-13T03:56:00.306Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/625/head:refs/remotes/origin/PR-625 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-13T03:56:00.532Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-13T03:56:00.781Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 97d215942e84a991c53b707ff2edd046ff47c371 [2020-10-13T03:56:00.879Z] Merge succeeded, producing 97d215942e84a991c53b707ff2edd046ff47c371 [2020-10-13T03:56:00.880Z] Checking out Revision 97d215942e84a991c53b707ff2edd046ff47c371 (PR-625) [2020-10-13T03:56:01.132Z] OK: 142 MiB in 39 packages [2020-10-13T03:56:00.792Z] > git config core.sparsecheckout # timeout=10 [2020-10-13T03:56:00.798Z] > git checkout -f 97d215942e84a991c53b707ff2edd046ff47c371 # timeout=10 [2020-10-13T03:56:00.849Z] > git remote # timeout=10 [2020-10-13T03:56:00.854Z] > git config --get remote.origin.url # timeout=10 [2020-10-13T03:56:00.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-13T03:56:00.862Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-13T03:56:00.872Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-13T03:56:00.885Z] > git config core.sparsecheckout # timeout=10 [2020-10-13T03:56:00.892Z] > git checkout -f 97d215942e84a991c53b707ff2edd046ff47c371 # timeout=10 [2020-10-13T03:56:02.588Z] Removing intermediate container 2193e423ae27 [2020-10-13T03:56:02.588Z] ---> bc6706facdfc [2020-10-13T03:56:02.588Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-13T03:56:02.588Z] ---> Running in 5054216e8f01 [2020-10-13T03:56:02.867Z] Removing intermediate container 5054216e8f01 [2020-10-13T03:56:02.867Z] ---> 6b7dcb668df0 [2020-10-13T03:56:02.867Z] Step 7/8 : COPY . . [2020-10-13T03:56:04.315Z] ---> ef91d74aedd7 [2020-10-13T03:56:04.315Z] Step 8/8 : RUN go mod download [2020-10-13T03:56:04.588Z] ---> Running in cf65d14be7a1 [2020-10-13T03:56:04.590Z] Commit message: "refactor(sdk): fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-13T03:56:05.564Z] ========================================================= [2020-10-13T03:56:05.564Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-13T03:56:05.564Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:56:06.294Z] + 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-13T03:56:06.557Z] Sending build context to Docker daemon 3.574MB [2020-10-13T03:56:06.557Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-13T03:56:06.557Z] Step 2/8 : FROM ${BASE} [2020-10-13T03:56:06.824Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-13T03:56:06.824Z] df20fa9351a1: Pulling fs layer [2020-10-13T03:56:06.824Z] ed8968b2872e: Pulling fs layer [2020-10-13T03:56:06.824Z] a92cc7c5fd73: Pulling fs layer [2020-10-13T03:56:06.824Z] e871e8e8d7a9: Pulling fs layer [2020-10-13T03:56:06.824Z] e73272ec9a57: Pulling fs layer [2020-10-13T03:56:06.824Z] 1e910a182e73: Pulling fs layer [2020-10-13T03:56:06.824Z] 4e634b169226: Pulling fs layer [2020-10-13T03:56:06.824Z] e73272ec9a57: Waiting [2020-10-13T03:56:06.824Z] e871e8e8d7a9: Waiting [2020-10-13T03:56:06.824Z] 1e910a182e73: Waiting [2020-10-13T03:56:06.824Z] 4e634b169226: Waiting [2020-10-13T03:56:06.824Z] a92cc7c5fd73: Verifying Checksum [2020-10-13T03:56:06.824Z] a92cc7c5fd73: Download complete [2020-10-13T03:56:06.824Z] ed8968b2872e: Verifying Checksum [2020-10-13T03:56:06.824Z] ed8968b2872e: Download complete [2020-10-13T03:56:06.824Z] e73272ec9a57: Verifying Checksum [2020-10-13T03:56:06.824Z] e73272ec9a57: Download complete [2020-10-13T03:56:06.824Z] 1e910a182e73: Download complete [2020-10-13T03:56:06.824Z] df20fa9351a1: Verifying Checksum [2020-10-13T03:56:06.824Z] df20fa9351a1: Download complete [2020-10-13T03:56:07.088Z] df20fa9351a1: Pull complete [2020-10-13T03:56:07.352Z] ed8968b2872e: Pull complete [2020-10-13T03:56:07.352Z] a92cc7c5fd73: Pull complete [2020-10-13T03:56:08.743Z] 4e634b169226: Verifying Checksum [2020-10-13T03:56:09.698Z] e871e8e8d7a9: Verifying Checksum [2020-10-13T03:56:09.698Z] e871e8e8d7a9: Download complete [2020-10-13T03:56:13.928Z] e871e8e8d7a9: Pull complete [2020-10-13T03:56:14.880Z] e73272ec9a57: Pull complete [2020-10-13T03:56:14.880Z] 1e910a182e73: Pull complete [2020-10-13T03:56:19.135Z] 4e634b169226: Pull complete [2020-10-13T03:56:19.135Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-13T03:56:19.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-13T03:56:19.135Z] ---> f7629b54cfaa [2020-10-13T03:56:19.135Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-13T03:56:19.135Z] ---> Running in 8c411705ab7e [2020-10-13T03:56:19.135Z] Removing intermediate container 8c411705ab7e [2020-10-13T03:56:19.135Z] ---> 360c5ea79200 [2020-10-13T03:56:19.135Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-13T03:56:19.135Z] ---> Running in db73ab0640bf [2020-10-13T03:56:20.087Z] Removing intermediate container db73ab0640bf [2020-10-13T03:56:20.087Z] ---> 958ddd074ec2 [2020-10-13T03:56:20.087Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-13T03:56:20.351Z] ---> Running in b387569b4a70 [2020-10-13T03:56:21.308Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-13T03:56:21.883Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-13T03:56:22.463Z] OK: 166 MiB in 39 packages [2020-10-13T03:56:23.041Z] Removing intermediate container b387569b4a70 [2020-10-13T03:56:23.041Z] ---> 0370e8de3a67 [2020-10-13T03:56:23.041Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-13T03:56:23.041Z] ---> Running in c626c2f60be1 [2020-10-13T03:56:23.306Z] Removing intermediate container c626c2f60be1 [2020-10-13T03:56:23.307Z] ---> a2b017e745dd [2020-10-13T03:56:23.307Z] Step 7/8 : COPY . . [2020-10-13T03:56:24.728Z] ---> 3675ad3af83a [2020-10-13T03:56:24.728Z] Step 8/8 : RUN go mod download [2020-10-13T03:56:24.728Z] ---> Running in c34535a587ca [2020-10-13T03:56:26.792Z] Removing intermediate container cf65d14be7a1 [2020-10-13T03:56:26.792Z] ---> d4c6c5d81334 [2020-10-13T03:56:26.792Z] Successfully built d4c6c5d81334 [2020-10-13T03:56:26.792Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:56:27.224Z] + docker inspect -f . ci-base-image-arm64 [2020-10-13T03:56:27.224Z] . [Pipeline] withDockerContainer [2020-10-13T03:56:27.488Z] prd-ubuntu18.04-docker-arm64-4c-16g-4970 does not seem to be running inside a container [2020-10-13T03:56:27.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-13T03:56:29.358Z] $ docker top da2df207983840929b3ded1ba5e30f1ad380162871e61cf7ac3de2bd15586684 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-13T03:56:30.730Z] + go version [2020-10-13T03:56:30.730Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-13T03:56:30.765Z] $ docker stop --time=1 da2df207983840929b3ded1ba5e30f1ad380162871e61cf7ac3de2bd15586684 [2020-10-13T03:56:32.624Z] $ docker rm -f da2df207983840929b3ded1ba5e30f1ad380162871e61cf7ac3de2bd15586684 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:56:33.735Z] + docker inspect -f . ci-base-image-arm64 [2020-10-13T03:56:33.735Z] . [Pipeline] withDockerContainer [2020-10-13T03:56:34.021Z] prd-ubuntu18.04-docker-arm64-4c-16g-4970 does not seem to be running inside a container [2020-10-13T03:56:34.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-13T03:56:35.953Z] $ docker top 314d853e549cb0d3f9ca9927b9485fc8306ee5ee15796b2b6b6c17780946242b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-13T03:56:37.470Z] + make test [2020-10-13T03:56:37.471Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-13T03:56:43.187Z] Removing intermediate container c34535a587ca [2020-10-13T03:56:43.187Z] ---> 06af55104494 [2020-10-13T03:56:43.187Z] Successfully built 06af55104494 [2020-10-13T03:56:43.187Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:56:43.558Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-13T03:56:43.558Z] . [Pipeline] withDockerContainer [2020-10-13T03:56:43.662Z] prd-centos7-docker-4c-2g-4971 does not seem to be running inside a container [2020-10-13T03:56:43.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-13T03:56:45.121Z] $ docker top a74bb5c46279f3221c1cf83b1270678712bf3937bb28e2f015ae4c5afbb57eb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-13T03:56:45.615Z] + go version [2020-10-13T03:56:45.615Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-13T03:56:45.637Z] $ docker stop --time=1 a74bb5c46279f3221c1cf83b1270678712bf3937bb28e2f015ae4c5afbb57eb2 [2020-10-13T03:56:46.988Z] $ docker rm -f a74bb5c46279f3221c1cf83b1270678712bf3937bb28e2f015ae4c5afbb57eb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:56:47.925Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-13T03:56:47.925Z] . [Pipeline] withDockerContainer [2020-10-13T03:56:48.063Z] prd-centos7-docker-4c-2g-4971 does not seem to be running inside a container [2020-10-13T03:56:48.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-13T03:56:48.749Z] $ docker top a2b6018ad22d09211fd8a62c53843965f6161908e6efc1d7cf674eb5b1d29282 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-13T03:56:49.268Z] + make test [2020-10-13T03:56:49.268Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-13T03:56:55.923Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-13T03:56:59.730Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-13T03:57:10.974Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-13T03:57:10.974Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-13T03:57:10.974Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-13T03:57:10.974Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.062s coverage: 21.6% of statements [2020-10-13T03:57:11.237Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.463s coverage: 97.1% of statements [2020-10-13T03:57:38.779Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-13T03:57:38.779Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-13T03:57:38.779Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-13T03:57:38.779Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.125s coverage: 21.6% of statements [2020-10-13T03:57:40.229Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.223s coverage: 97.1% of statements [2020-10-13T03:57:43.397Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.058s coverage: 9.4% of statements [2020-10-13T03:57:43.397Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.9% of statements [2020-10-13T03:57:43.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-13T03:57:43.397Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.199s coverage: 40.0% of statements [2020-10-13T03:57:43.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-13T03:57:43.397Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.271s coverage: 68.9% of statements [2020-10-13T03:57:43.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-13T03:57:43.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-13T03:57:43.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-13T03:57:43.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-13T03:57:43.397Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-13T03:57:43.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-13T03:57:43.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-13T03:57:43.397Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.351s coverage: 68.9% of statements [2020-10-13T03:57:43.398Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-13T03:57:43.398Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-13T03:57:43.398Z] GO111MODULE=on go vet ./... [2020-10-13T03:57:50.086Z] gofmt -l . [2020-10-13T03:57:50.086Z] [ "`gofmt -l .`" = "" ] [2020-10-13T03:57:50.086Z] ./bin/test-attribution-txt.sh [2020-10-13T03:57:50.086Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-13T03:57:50.692Z] Stashed 1 file(s) [Pipeline] } [2020-10-13T03:57:50.701Z] $ docker stop --time=1 a2b6018ad22d09211fd8a62c53843965f6161908e6efc1d7cf674eb5b1d29282 [2020-10-13T03:57:52.606Z] $ docker rm -f a2b6018ad22d09211fd8a62c53843965f6161908e6efc1d7cf674eb5b1d29282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-13T03:57:55.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-13T03:57:56.233Z] + ls -al . [2020-10-13T03:57:56.233Z] total 188 [2020-10-13T03:57:56.233Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 13 03:57 . [2020-10-13T03:57:56.233Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 13 03:55 .. [2020-10-13T03:57:56.233Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 13 03:56 bin [2020-10-13T03:57:56.233Z] -rw-r--r--. 1 jenkins jenkins 110392 Oct 13 03:57 coverage.out [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 13 03:56 Dockerfile.build [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 13 03:56 .dockerignore [2020-10-13T03:57:56.233Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 13 03:56 example [2020-10-13T03:57:56.233Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 13 03:56 .git [2020-10-13T03:57:56.233Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 13 03:56 .github [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 13 03:56 .gitignore [2020-10-13T03:57:56.233Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 13 03:57 go.mod [2020-10-13T03:57:56.233Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 13 03:57 go.sum [2020-10-13T03:57:56.233Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 13 03:56 internal [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 13 03:56 Jenkinsfile [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 13 03:56 LICENSE [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 13 03:56 Makefile [2020-10-13T03:57:56.233Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 13 03:56 openapi [2020-10-13T03:57:56.233Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 13 03:56 pkg [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 13 03:56 README.md [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 13 03:56 RELEASE-NOTES.txt [2020-10-13T03:57:56.233Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 13 03:56 .semver [2020-10-13T03:57:56.233Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 13 03:56 snap [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 13 03:53 VERSION [2020-10-13T03:57:56.233Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 13 03:56 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:57:56.547Z] + 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=97d215942e84a991c53b707ff2edd046ff47c371 --label arch=amd64 --label version=0.0.0 . [2020-10-13T03:57:56.810Z] Sending build context to Docker daemon 3.685MB [2020-10-13T03:57:56.810Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-13T03:57:56.810Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-13T03:57:56.810Z] ---> 06af55104494 [2020-10-13T03:57:56.810Z] Step 3/24 : ARG MAKE='make build' [2020-10-13T03:57:57.385Z] ---> Running in ee24a3324fd6 [2020-10-13T03:57:57.648Z] Removing intermediate container ee24a3324fd6 [2020-10-13T03:57:57.648Z] ---> cc0f3bf12731 [2020-10-13T03:57:57.648Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-13T03:57:57.648Z] ---> Running in 179565a470a5 [2020-10-13T03:57:57.913Z] Removing intermediate container 179565a470a5 [2020-10-13T03:57:57.914Z] ---> dbf59706785a [2020-10-13T03:57:57.914Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-13T03:57:57.914Z] ---> Running in dd01223a99fd [2020-10-13T03:57:57.914Z] Removing intermediate container dd01223a99fd [2020-10-13T03:57:57.914Z] ---> 844a74e992d0 [2020-10-13T03:57:57.914Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-13T03:57:58.179Z] ---> Running in a5f8d0985742 [2020-10-13T03:57:59.130Z] Removing intermediate container a5f8d0985742 [2020-10-13T03:57:59.130Z] ---> ccf3d3eb3f6e [2020-10-13T03:57:59.130Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-13T03:57:59.130Z] ---> Running in 059efa8cce48 [2020-10-13T03:57:59.395Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-13T03:58:00.342Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-13T03:58:00.919Z] OK: 166 MiB in 39 packages [2020-10-13T03:58:01.182Z] Removing intermediate container 059efa8cce48 [2020-10-13T03:58:01.182Z] ---> 9aaa57e3f7f3 [2020-10-13T03:58:01.182Z] Step 8/24 : COPY . . [2020-10-13T03:58:02.594Z] ---> e67633fbba4e [2020-10-13T03:58:02.594Z] Step 9/24 : RUN ${MAKE} [2020-10-13T03:58:02.594Z] ---> Running in 1596e9c6ab81 [2020-10-13T03:58:03.174Z] 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-13T03:58:11.436Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-13T03:58:12.010Z] Removing intermediate container 1596e9c6ab81 [2020-10-13T03:58:12.010Z] ---> b6d17a2c127d [2020-10-13T03:58:12.010Z] Step 10/24 : FROM scratch [2020-10-13T03:58:12.010Z] ---> [2020-10-13T03:58:12.010Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-13T03:58:12.273Z] ---> Running in f54076254c0e [2020-10-13T03:58:12.273Z] Removing intermediate container f54076254c0e [2020-10-13T03:58:12.273Z] ---> 93528a282c34 [2020-10-13T03:58:12.273Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-13T03:58:12.273Z] ---> Running in 940045f6d58a [2020-10-13T03:58:12.537Z] Removing intermediate container 940045f6d58a [2020-10-13T03:58:12.537Z] ---> 5adb5f1226c7 [2020-10-13T03:58:12.537Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-13T03:58:12.537Z] ---> Running in daa27add13ed [2020-10-13T03:58:12.601Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.119s coverage: 9.4% of statements [2020-10-13T03:58:12.601Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.109s coverage: 21.9% of statements [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-13T03:58:12.601Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.570s coverage: 40.0% of statements [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-13T03:58:12.601Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.810s coverage: 68.9% of statements [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-13T03:58:12.601Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.167s coverage: 52.6% of statements [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-13T03:58:12.601Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.653s coverage: 68.9% of statements [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-13T03:58:12.601Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-13T03:58:12.601Z] GO111MODULE=on go vet ./... [2020-10-13T03:58:12.799Z] Removing intermediate container daa27add13ed [2020-10-13T03:58:12.799Z] ---> 7798a605383c [2020-10-13T03:58:12.799Z] Step 14/24 : WORKDIR / [2020-10-13T03:58:12.799Z] ---> Running in 225389593efb [2020-10-13T03:58:12.799Z] Removing intermediate container 225389593efb [2020-10-13T03:58:12.799Z] ---> 08622bf5f423 [2020-10-13T03:58:12.799Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-13T03:58:13.372Z] ---> 4f9443f9daae [2020-10-13T03:58:13.372Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-13T03:58:13.636Z] ---> 22b4d23e63d9 [2020-10-13T03:58:13.636Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-13T03:58:13.902Z] ---> 5a5fbea27446 [2020-10-13T03:58:13.902Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-13T03:58:14.166Z] ---> fc29a6a7d47f [2020-10-13T03:58:14.166Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-13T03:58:15.115Z] ---> 9fadec36b8a2 [2020-10-13T03:58:15.115Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-13T03:58:15.115Z] ---> Running in 9f5579c14dc0 [2020-10-13T03:58:15.115Z] Removing intermediate container 9f5579c14dc0 [2020-10-13T03:58:15.115Z] ---> 86bf477d294c [2020-10-13T03:58:15.115Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-13T03:58:15.115Z] ---> Running in af16ba3c6c88 [2020-10-13T03:58:15.378Z] Removing intermediate container af16ba3c6c88 [2020-10-13T03:58:15.378Z] ---> 28d9d7f13a67 [2020-10-13T03:58:15.378Z] Step 22/24 : LABEL arch=amd64 [2020-10-13T03:58:15.378Z] ---> Running in 3d039b5a7e9a [2020-10-13T03:58:15.640Z] Removing intermediate container 3d039b5a7e9a [2020-10-13T03:58:15.640Z] ---> a303c37719d9 [2020-10-13T03:58:15.640Z] Step 23/24 : LABEL git_sha=97d215942e84a991c53b707ff2edd046ff47c371 [2020-10-13T03:58:15.640Z] ---> Running in c3e18f162fb0 [2020-10-13T03:58:15.902Z] Removing intermediate container c3e18f162fb0 [2020-10-13T03:58:15.902Z] ---> bfdf48239299 [2020-10-13T03:58:15.902Z] Step 24/24 : LABEL version=0.0.0 [2020-10-13T03:58:15.902Z] ---> Running in cf6752181580 [2020-10-13T03:58:16.166Z] Removing intermediate container cf6752181580 [2020-10-13T03:58:16.166Z] ---> ca8602276328 [2020-10-13T03:58:16.166Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-13T03:58:16.166Z] Successfully built ca8602276328 [2020-10-13T03:58:16.166Z] 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-13T03:58:39.633Z] gofmt -l . [2020-10-13T03:58:39.633Z] [ "`gofmt -l .`" = "" ] [2020-10-13T03:58:39.906Z] ./bin/test-attribution-txt.sh [2020-10-13T03:58:40.893Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-13T03:58:41.510Z] Warning: overwriting stash ‘coverage-report’ [2020-10-13T03:58:42.280Z] Stashed 1 file(s) [Pipeline] } [2020-10-13T03:58:42.289Z] $ docker stop --time=1 314d853e549cb0d3f9ca9927b9485fc8306ee5ee15796b2b6b6c17780946242b [2020-10-13T03:58:44.555Z] $ docker rm -f 314d853e549cb0d3f9ca9927b9485fc8306ee5ee15796b2b6b6c17780946242b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-13T03:58:46.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-13T03:58:46.423Z] + ls -al . [2020-10-13T03:58:46.423Z] total 228 [2020-10-13T03:58:46.423Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 03:58 . [2020-10-13T03:58:46.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:55 .. [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 03:55 .dockerignore [2020-10-13T03:58:46.423Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:55 .git [2020-10-13T03:58:46.423Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:55 .github [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 13 03:55 .gitignore [2020-10-13T03:58:46.423Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:55 .semver [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 13 03:55 Dockerfile.build [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 13 03:55 Jenkinsfile [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 03:55 LICENSE [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 13 03:55 Makefile [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 13 03:55 README.md [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 13 03:55 RELEASE-NOTES.txt [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 13 03:53 VERSION [2020-10-13T03:58:46.423Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:55 bin [2020-10-13T03:58:46.423Z] -rw-r--r-- 1 jenkins jenkins 110392 Oct 13 03:58 coverage.out [2020-10-13T03:58:46.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:55 example [2020-10-13T03:58:46.423Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 13 03:58 go.mod [2020-10-13T03:58:46.423Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 13 03:58 go.sum [2020-10-13T03:58:46.423Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 13 03:55 internal [2020-10-13T03:58:46.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:55 openapi [2020-10-13T03:58:46.423Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 03:55 pkg [2020-10-13T03:58:46.423Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:55 snap [2020-10-13T03:58:46.423Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 03:55 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-13T03:58:46.764Z] + 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=97d215942e84a991c53b707ff2edd046ff47c371 --label arch=arm64 --label version=0.0.0 . [2020-10-13T03:58:47.362Z] Sending build context to Docker daemon 3.682MB [2020-10-13T03:58:47.362Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-13T03:58:47.362Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-13T03:58:47.362Z] ---> d4c6c5d81334 [2020-10-13T03:58:47.362Z] Step 3/24 : ARG MAKE='make build' [2020-10-13T03:58:47.635Z] ---> Running in aa63f083a52a [2020-10-13T03:58:48.229Z] Removing intermediate container aa63f083a52a [2020-10-13T03:58:48.229Z] ---> 880f0752e6fb [2020-10-13T03:58:48.229Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-13T03:58:48.504Z] ---> Running in d6ebf0ab193f [2020-10-13T03:58:49.099Z] Removing intermediate container d6ebf0ab193f [2020-10-13T03:58:49.099Z] ---> aa5ff3219ce3 [2020-10-13T03:58:49.099Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-13T03:58:49.099Z] ---> Running in b6b29a97f4fb [2020-10-13T03:58:49.697Z] Removing intermediate container b6b29a97f4fb [2020-10-13T03:58:49.697Z] ---> c5b0d720536d [2020-10-13T03:58:49.697Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-13T03:58:49.972Z] ---> Running in 16e06213d363 [2020-10-13T03:58:52.587Z] Removing intermediate container 16e06213d363 [2020-10-13T03:58:52.587Z] ---> 647de2e3b007 [2020-10-13T03:58:52.587Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-13T03:58:52.587Z] ---> Running in 8f71def62412 [2020-10-13T03:58:54.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-13T03:58:54.617Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-13T03:58:55.207Z] OK: 142 MiB in 39 packages [2020-10-13T03:58:56.185Z] Removing intermediate container 8f71def62412 [2020-10-13T03:58:56.185Z] ---> 1c0887e06a9b [2020-10-13T03:58:56.185Z] Step 8/24 : COPY . . [2020-10-13T03:58:58.163Z] ---> b9158648c0a3 [2020-10-13T03:58:58.163Z] Step 9/24 : RUN ${MAKE} [2020-10-13T03:58:58.163Z] ---> Running in 64e1916b6669 [2020-10-13T03:58:59.597Z] 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-13T03:59:26.416Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-13T03:59:26.416Z] Removing intermediate container 64e1916b6669 [2020-10-13T03:59:26.416Z] ---> 3003091bbda6 [2020-10-13T03:59:26.416Z] Step 10/24 : FROM scratch [2020-10-13T03:59:26.416Z] ---> [2020-10-13T03:59:26.416Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-13T03:59:26.416Z] ---> Running in eec356e53260 [2020-10-13T03:59:26.416Z] Removing intermediate container eec356e53260 [2020-10-13T03:59:26.416Z] ---> 97d99f73d260 [2020-10-13T03:59:26.416Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-13T03:59:26.416Z] ---> Running in 998f9a92c1be [2020-10-13T03:59:26.416Z] Removing intermediate container 998f9a92c1be [2020-10-13T03:59:26.416Z] ---> 166d8a6a3cc8 [2020-10-13T03:59:26.416Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-13T03:59:26.416Z] ---> Running in 8ab77f78d80f [2020-10-13T03:59:26.416Z] Removing intermediate container 8ab77f78d80f [2020-10-13T03:59:26.416Z] ---> 4b0a2ce2be36 [2020-10-13T03:59:26.416Z] Step 14/24 : WORKDIR / [2020-10-13T03:59:26.692Z] ---> Running in 65636bfc55f9 [2020-10-13T03:59:26.964Z] Removing intermediate container 65636bfc55f9 [2020-10-13T03:59:26.964Z] ---> b4deaf6d7efa [2020-10-13T03:59:26.964Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-13T03:59:28.412Z] ---> 544d7b75e9dc [2020-10-13T03:59:28.412Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-13T03:59:29.008Z] ---> 13431dde6d71 [2020-10-13T03:59:29.008Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-13T03:59:29.610Z] ---> 2501f2e65afc [2020-10-13T03:59:29.610Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-13T03:59:30.586Z] ---> c28689537553 [2020-10-13T03:59:30.586Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-13T03:59:31.183Z] ---> 2ae4d18f3e58 [2020-10-13T03:59:31.183Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-13T03:59:31.183Z] ---> Running in 7b69686e0439 [2020-10-13T03:59:31.780Z] Removing intermediate container 7b69686e0439 [2020-10-13T03:59:31.780Z] ---> 7441a953ee1b [2020-10-13T03:59:31.780Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-13T03:59:31.780Z] ---> Running in d585d243f4c7 [2020-10-13T03:59:32.375Z] Removing intermediate container d585d243f4c7 [2020-10-13T03:59:32.375Z] ---> 177861889e86 [2020-10-13T03:59:32.375Z] Step 22/24 : LABEL arch=arm64 [2020-10-13T03:59:32.375Z] ---> Running in c5081daa0bd8 [2020-10-13T03:59:32.651Z] Removing intermediate container c5081daa0bd8 [2020-10-13T03:59:32.651Z] ---> b74d767ec71c [2020-10-13T03:59:32.651Z] Step 23/24 : LABEL git_sha=97d215942e84a991c53b707ff2edd046ff47c371 [2020-10-13T03:59:32.925Z] ---> Running in 6a8fe24c8c22 [2020-10-13T03:59:33.198Z] Removing intermediate container 6a8fe24c8c22 [2020-10-13T03:59:33.198Z] ---> 2088d0384172 [2020-10-13T03:59:33.198Z] Step 24/24 : LABEL version=0.0.0 [2020-10-13T03:59:33.470Z] ---> Running in 8d311992c1c6 [2020-10-13T03:59:34.070Z] Removing intermediate container 8d311992c1c6 [2020-10-13T03:59:34.070Z] ---> 6ad9913803c6 [2020-10-13T03:59:34.070Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-13T03:59:34.070Z] Successfully built 6ad9913803c6 [2020-10-13T03:59:34.070Z] 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-13T03:59:36.377Z] provisioning config files... [2020-10-13T03:59:36.414Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-625@tmp/config6127884212779436709tmp [Pipeline] { [Pipeline] sh [2020-10-13T03:59:36.861Z] + set +x [2020-10-13T03:59:36.861Z] + bash -s -- [2020-10-13T03:59:36.861Z] + curl -s https://codecov.io/bash [2020-10-13T03:59:37.158Z] [2020-10-13T03:59:37.158Z] _____ _ [2020-10-13T03:59:37.158Z] / ____| | | [2020-10-13T03:59:37.158Z] | | ___ __| | ___ ___ _____ __ [2020-10-13T03:59:37.158Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-13T03:59:37.158Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-13T03:59:37.158Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-13T03:59:37.158Z] Bash-20201009-048fee3 [2020-10-13T03:59:37.158Z] [2020-10-13T03:59:37.158Z] [2020-10-13T03:59:37.158Z] ==> Jenkins CI detected. [2020-10-13T03:59:37.158Z] project root: . [2020-10-13T03:59:37.158Z] --> token set from env [2020-10-13T03:59:37.158Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-13T03:59:37.459Z] ==> Running gcov in . (disable via -X gcov) [2020-10-13T03:59:37.459Z] ==> Python coveragepy not found [2020-10-13T03:59:37.459Z] ==> Searching for coverage reports in: [2020-10-13T03:59:37.459Z] + . [2020-10-13T03:59:37.459Z] -> Found 1 reports [2020-10-13T03:59:37.459Z] ==> Detecting git/mercurial file structure [2020-10-13T03:59:37.459Z] ==> Reading reports [2020-10-13T03:59:37.459Z] + ./coverage.out bytes=110392 [2020-10-13T03:59:37.459Z] ==> Appending adjustments [2020-10-13T03:59:37.459Z] https://docs.codecov.io/docs/fixing-reports [2020-10-13T03:59:38.590Z] + Found adjustments [2020-10-13T03:59:38.590Z] ==> Gzipping contents [2020-10-13T03:59:38.590Z] ==> Uploading reports [2020-10-13T03:59:38.590Z] url: https://codecov.io [2020-10-13T03:59:38.590Z] query: branch=PR-625&commit=97d215942e84a991c53b707ff2edd046ff47c371&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-625%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=625&job=&cmd_args= [2020-10-13T03:59:38.590Z] -> Pinging Codecov [2020-10-13T03:59:38.590Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-625&commit=97d215942e84a991c53b707ff2edd046ff47c371&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-625%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=625&job=&cmd_args= [2020-10-13T03:59:38.896Z] -> Uploading to [2020-10-13T03:59:38.897Z] [2020-10-13T03:59:38.897Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-13T03:59:38.897Z] Dload Upload Total Spent Left Speed [2020-10-13T03:59:38.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-13T03:59:38.897Z] X> Failed to upload [2020-10-13T03:59:38.897Z] ==> Uploading to Codecov [2020-10-13T03:59:38.897Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-13T03:59:38.897Z] Dload Upload Total Spent Left Speed [2020-10-13T03:59:40.312Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18543 0 0 100 18543 0 15036 0:00:01 0:00:01 --:--:-- 15038 100 18653 100 110 100 18543 75 12730 0:00:01 0:00:01 --:--:-- 12735 [2020-10-13T03:59:40.312Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/97d215942e84a991c53b707ff2edd046ff47c371 [Pipeline] } [2020-10-13T03:59:40.328Z] 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-13T03:59:46.145Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-13T03:59:46.817Z] ---> package-listing.sh [2020-10-13T03:59:46.817Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-13T03:59:46.817Z] ++ facter osfamily [2020-10-13T03:59:47.083Z] + OS_FAMILY=redhat [2020-10-13T03:59:47.083Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-625 [2020-10-13T03:59:47.083Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-13T03:59:47.083Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-13T03:59:47.083Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-13T03:59:47.083Z] + PACKAGES=/tmp/packages_start.txt [2020-10-13T03:59:47.083Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-625 ']' [2020-10-13T03:59:47.083Z] + PACKAGES=/tmp/packages_end.txt [2020-10-13T03:59:47.083Z] + case "${OS_FAMILY}" in [2020-10-13T03:59:47.083Z] + rpm -qa [2020-10-13T03:59:47.083Z] + sort [2020-10-13T03:59:52.510Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-13T03:59:52.510Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-13T03:59:52.510Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-13T03:59:52.510Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-625 ']' [2020-10-13T03:59:52.510Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-625/archives/ [2020-10-13T03:59:52.510Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-625/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-13T03:59:52.769Z] provisioning config files... [2020-10-13T03:59:52.830Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-625@tmp/config4533581318853403761tmp [Pipeline] { [Pipeline] echo [2020-10-13T03:59:52.914Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-13T03:59:53.354Z] ---> create-netrc.sh [Pipeline] } [2020-10-13T03:59:53.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-13T03:59:53.464Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-13T03:59:53.861Z] ---> python-tools-install.sh [2020-10-13T03:59:53.861Z] Generating Requirements File [2020-10-13T04:01:46.127Z] Python 3.6.8 [2020-10-13T04:01:46.127Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-13T04:01:46.127Z] appdirs==1.4.3 [2020-10-13T04:01:46.127Z] argcomplete==1.12.1 [2020-10-13T04:01:46.127Z] aspy.yaml==1.3.0 [2020-10-13T04:01:46.127Z] attrs==19.3.0 [2020-10-13T04:01:46.127Z] Babel==2.8.0 [2020-10-13T04:01:46.127Z] beautifulsoup4==4.8.2 [2020-10-13T04:01:46.127Z] boto3==1.11.6 [2020-10-13T04:01:46.127Z] botocore==1.14.6 [2020-10-13T04:01:46.127Z] bs4==0.0.1 [2020-10-13T04:01:46.127Z] cachetools==4.1.1 [2020-10-13T04:01:46.127Z] certifi==2019.11.28 [2020-10-13T04:01:46.127Z] cffi==1.14.3 [2020-10-13T04:01:46.127Z] cfgv==2.0.1 [2020-10-13T04:01:46.127Z] chardet==3.0.4 [2020-10-13T04:01:46.127Z] click==7.1 [2020-10-13T04:01:46.127Z] cliff==3.4.0 [2020-10-13T04:01:46.127Z] cmd2==1.3.11 [2020-10-13T04:01:46.127Z] colorama==0.4.4 [2020-10-13T04:01:46.127Z] cryptography==3.1.1 [2020-10-13T04:01:46.127Z] debtcollector==2.2.0 [2020-10-13T04:01:46.127Z] decorator==4.4.2 [2020-10-13T04:01:46.127Z] defusedxml==0.6.0 [2020-10-13T04:01:46.127Z] Deprecated==1.2.7 [2020-10-13T04:01:46.127Z] distlib==0.3.1 [2020-10-13T04:01:46.127Z] distro==1.2.0 [2020-10-13T04:01:46.127Z] dnspython==1.16.0 [2020-10-13T04:01:46.127Z] docker==4.2.0 [2020-10-13T04:01:46.127Z] docutils==0.15.2 [2020-10-13T04:01:46.127Z] dogpile.cache==1.0.2 [2020-10-13T04:01:46.127Z] email-validator==1.0.5 [2020-10-13T04:01:46.127Z] filelock==3.0.12 [2020-10-13T04:01:46.127Z] future==0.18.2 [2020-10-13T04:01:46.127Z] google-auth==1.22.1 [2020-10-13T04:01:46.127Z] httplib2==0.17.0 [2020-10-13T04:01:46.127Z] identify==1.4.11 [2020-10-13T04:01:46.127Z] idna==2.9 [2020-10-13T04:01:46.127Z] importlib-metadata==2.0.0 [2020-10-13T04:01:46.127Z] importlib-resources==1.5.0 [2020-10-13T04:01:46.127Z] iso8601==0.1.13 [2020-10-13T04:01:46.127Z] Jinja2==2.11.1 [2020-10-13T04:01:46.127Z] jmespath==0.10.0 [2020-10-13T04:01:46.127Z] jsonpatch==1.26 [2020-10-13T04:01:46.127Z] jsonpointer==2.0 [2020-10-13T04:01:46.127Z] jsonschema==3.2.0 [2020-10-13T04:01:46.127Z] keystoneauth1==4.2.1 [2020-10-13T04:01:46.127Z] kubernetes==11.0.0 [2020-10-13T04:01:46.127Z] lftools==0.34.2 [2020-10-13T04:01:46.127Z] lxml==4.5.0 [2020-10-13T04:01:46.127Z] MarkupSafe==0.23 [2020-10-13T04:01:46.127Z] msgpack==1.0.0 [2020-10-13T04:01:46.127Z] multi-key-dict==2.0.3 [2020-10-13T04:01:46.127Z] munch==2.5.0 [2020-10-13T04:01:46.127Z] netaddr==0.8.0 [2020-10-13T04:01:46.127Z] netifaces==0.10.9 [2020-10-13T04:01:46.127Z] niet==1.4.2 [2020-10-13T04:01:46.127Z] nodeenv==1.3.5 [2020-10-13T04:01:46.127Z] oauth2client==4.1.3 [2020-10-13T04:01:46.127Z] oauthlib==3.1.0 [2020-10-13T04:01:46.127Z] openstacksdk==0.50.0 [2020-10-13T04:01:46.127Z] os-client-config==2.1.0 [2020-10-13T04:01:46.127Z] os-service-types==1.7.0 [2020-10-13T04:01:46.127Z] osc-lib==2.2.1 [2020-10-13T04:01:46.127Z] oslo.config==8.3.2 [2020-10-13T04:01:46.127Z] oslo.context==3.1.1 [2020-10-13T04:01:46.127Z] oslo.i18n==5.0.1 [2020-10-13T04:01:46.127Z] oslo.log==4.4.0 [2020-10-13T04:01:46.127Z] oslo.serialization==4.0.1 [2020-10-13T04:01:46.127Z] oslo.utils==4.6.0 [2020-10-13T04:01:46.127Z] packaging==20.4 [2020-10-13T04:01:46.127Z] pbr==5.4.4 [2020-10-13T04:01:46.127Z] pluggy==0.13.1 [2020-10-13T04:01:46.127Z] prettytable==0.7.2 [2020-10-13T04:01:46.127Z] py==1.9.0 [2020-10-13T04:01:46.127Z] pyasn1==0.4.8 [2020-10-13T04:01:46.127Z] pyasn1-modules==0.2.8 [2020-10-13T04:01:46.127Z] pycparser==2.20 [2020-10-13T04:01:46.127Z] pygerrit2==2.0.10 [2020-10-13T04:01:46.127Z] PyGithub==1.46 [2020-10-13T04:01:46.127Z] pyinotify==0.9.6 [2020-10-13T04:01:46.127Z] PyJWT==1.7.1 [2020-10-13T04:01:46.127Z] pyparsing==2.4.7 [2020-10-13T04:01:46.127Z] pyperclip==1.8.1 [2020-10-13T04:01:46.127Z] pyroute2==0.4.13 [2020-10-13T04:01:46.127Z] pyrsistent==0.15.7 [2020-10-13T04:01:46.127Z] PySocks==1.6.8 [2020-10-13T04:01:46.127Z] python-cinderclient==7.2.0 [2020-10-13T04:01:46.127Z] python-dateutil==2.8.1 [2020-10-13T04:01:46.127Z] python-heatclient==2.2.1 [2020-10-13T04:01:46.127Z] python-jenkins==1.7.0 [2020-10-13T04:01:46.127Z] python-keystoneclient==4.1.1 [2020-10-13T04:01:46.127Z] python-magnumclient==3.2.1 [2020-10-13T04:01:46.127Z] python-novaclient==17.2.1 [2020-10-13T04:01:46.127Z] python-openstackclient==5.4.0 [2020-10-13T04:01:46.127Z] python-swiftclient==3.10.1 [2020-10-13T04:01:46.127Z] pytz==2020.1 [2020-10-13T04:01:46.127Z] PyYAML==5.3 [2020-10-13T04:01:46.127Z] requests==2.23.0 [2020-10-13T04:01:46.127Z] requests-oauthlib==1.3.0 [2020-10-13T04:01:46.127Z] requestsexceptions==1.4.0 [2020-10-13T04:01:46.127Z] rfc3986==1.4.0 [2020-10-13T04:01:46.127Z] rpm==4.11.3 [2020-10-13T04:01:46.127Z] rsa==4.0 [2020-10-13T04:01:46.127Z] ruamel.yaml==0.16.10 [2020-10-13T04:01:46.127Z] ruamel.yaml.clib==0.2.0 [2020-10-13T04:01:46.127Z] s3transfer==0.3.3 [2020-10-13T04:01:46.127Z] shade==1.27.2 [2020-10-13T04:01:46.127Z] simplejson==3.17.2 [2020-10-13T04:01:46.127Z] six==1.14.0 [2020-10-13T04:01:46.127Z] soupsieve==2.0 [2020-10-13T04:01:46.127Z] stevedore==3.2.2 [2020-10-13T04:01:46.127Z] tabulate==0.8.6 [2020-10-13T04:01:46.127Z] toml==0.10.0 [2020-10-13T04:01:46.127Z] tox==3.20.1 [2020-10-13T04:01:46.127Z] tqdm==4.43.0 [2020-10-13T04:01:46.127Z] urllib3==1.25.8 [2020-10-13T04:01:46.127Z] virtualenv==20.0.34 [2020-10-13T04:01:46.127Z] wcwidth==0.2.5 [2020-10-13T04:01:46.127Z] websocket-client==0.57.0 [2020-10-13T04:01:46.127Z] wrapt==1.12.1 [2020-10-13T04:01:46.127Z] xdg==3.0.2 [2020-10-13T04:01:46.127Z] xmltodict==0.12.0 [2020-10-13T04:01:46.127Z] yq==2.11.1 [2020-10-13T04:01:46.127Z] zipp==3.3.0 [2020-10-13T04:01:46.127Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:01:46.127Z] 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-13T04:01:46.127Z] Python 2.7.5 [2020-10-13T04:01:46.127Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-13T04:01:46.127Z] 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-13T04:01:46.127Z] ansible==2.9.7 [2020-10-13T04:01:46.127Z] Babel==0.9.6 [2020-10-13T04:01:46.127Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-13T04:01:46.127Z] beautifulsoup4==4.4.1 [2020-10-13T04:01:46.127Z] bodhi==2.11.0 [2020-10-13T04:01:46.127Z] bodhi-client==2.11.0 [2020-10-13T04:01:46.127Z] CCColUtils==1.4 [2020-10-13T04:01:46.127Z] cffi==1.6.0 [2020-10-13T04:01:46.127Z] chardet==2.2.1 [2020-10-13T04:01:46.127Z] click==6.7 [2020-10-13T04:01:46.127Z] cloud-init==18.5 [2020-10-13T04:01:46.127Z] configobj==4.7.2 [2020-10-13T04:01:46.127Z] cryptography==1.7.2 [2020-10-13T04:01:46.127Z] decorator==3.4.0 [2020-10-13T04:01:46.127Z] distro==1.2.0 [2020-10-13T04:01:46.127Z] enum34==1.0.4 [2020-10-13T04:01:46.127Z] fedpkg==1.38 [2020-10-13T04:01:46.127Z] futures==3.1.1 [2020-10-13T04:01:46.127Z] gitdb==0.6.4 [2020-10-13T04:01:46.127Z] GitPython==1.0.1 [2020-10-13T04:01:46.127Z] html5lib==0.999 [2020-10-13T04:01:46.127Z] httplib2==0.9.2 [2020-10-13T04:01:46.127Z] idna==2.4 [2020-10-13T04:01:46.127Z] iniparse==0.4 [2020-10-13T04:01:46.127Z] ipaddress==1.0.16 [2020-10-13T04:01:46.127Z] IPy==0.75 [2020-10-13T04:01:46.127Z] javapackages==1.0.0 [2020-10-13T04:01:46.127Z] Jinja2==2.7.2 [2020-10-13T04:01:46.127Z] jmespath==0.9.4 [2020-10-13T04:01:46.127Z] jsonpatch==1.2 [2020-10-13T04:01:46.127Z] jsonpointer==1.9 [2020-10-13T04:01:46.127Z] kerberos==1.1 [2020-10-13T04:01:46.127Z] kitchen==1.1.1 [2020-10-13T04:01:46.127Z] langtable==0.0.31 [2020-10-13T04:01:46.127Z] lockfile==0.9.1 [2020-10-13T04:01:46.127Z] lxml==3.2.1 [2020-10-13T04:01:46.127Z] MarkupSafe==0.11 [2020-10-13T04:01:46.127Z] munch==2.0.2 [2020-10-13T04:01:46.127Z] offtrac==0.1.0 [2020-10-13T04:01:46.127Z] openidc-client==0.6.0 [2020-10-13T04:01:46.127Z] packagedb-cli==2.14.1 [2020-10-13T04:01:46.127Z] paramiko==2.1.1 [2020-10-13T04:01:46.127Z] perf==0.1 [2020-10-13T04:01:46.127Z] ply==3.4 [2020-10-13T04:01:46.127Z] policycoreutils-default-encoding==0.1 [2020-10-13T04:01:46.127Z] prettytable==0.7.2 [2020-10-13T04:01:46.127Z] pyasn1==0.1.9 [2020-10-13T04:01:46.127Z] pycparser==2.14 [2020-10-13T04:01:46.127Z] pycurl==7.19.0 [2020-10-13T04:01:46.127Z] pygobject==3.22.0 [2020-10-13T04:01:46.127Z] pygpgme==0.3 [2020-10-13T04:01:46.127Z] pyliblzma==0.5.3 [2020-10-13T04:01:46.127Z] pyOpenSSL==0.13.1 [2020-10-13T04:01:46.127Z] pyparsing==1.5.6 [2020-10-13T04:01:46.127Z] pyserial==2.6 [2020-10-13T04:01:46.127Z] python-augeas==0.5.0 [2020-10-13T04:01:46.127Z] python-bugzilla==2.3.0 [2020-10-13T04:01:46.127Z] python-dateutil==1.5 [2020-10-13T04:01:46.127Z] python-fedora==0.10.0 [2020-10-13T04:01:46.127Z] python-linux-procfs==0.4.9 [2020-10-13T04:01:46.127Z] python-yubico==1.2.3 [2020-10-13T04:01:46.127Z] pyudev==0.15 [2020-10-13T04:01:46.127Z] pyusb==1.0.0b1 [2020-10-13T04:01:46.127Z] pyxattr==0.5.1 [2020-10-13T04:01:46.127Z] PyYAML==3.10 [2020-10-13T04:01:46.127Z] requests==2.6.0 [2020-10-13T04:01:46.127Z] requests-kerberos==0.7.0 [2020-10-13T04:01:46.127Z] rpkg==1.60 [2020-10-13T04:01:46.127Z] schedutils==0.4 [2020-10-13T04:01:46.127Z] seobject==0.1 [2020-10-13T04:01:46.127Z] sepolicy==1.1 [2020-10-13T04:01:46.127Z] six==1.9.0 [2020-10-13T04:01:46.127Z] smmap==0.9.0 [2020-10-13T04:01:46.127Z] urlgrabber==3.10 [2020-10-13T04:01:46.127Z] urllib3==1.10.2 [2020-10-13T04:01:46.127Z] virtualenv==15.1.0 [2020-10-13T04:01:46.127Z] yum-langpacks==0.4.2 [2020-10-13T04:01:46.127Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-13T04:01:46.143Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-13T04:01:47.248Z] ---> sudo-logs.sh [2020-10-13T04:01:47.248Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-13T04:01:47.856Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-13T04:01:48.225Z] ---> job-cost.sh [2020-10-13T04:01:48.225Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xLJ6 [2020-10-13T04:02:00.993Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:00.994Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:00.994Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:00.994Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:00.994Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:01.265Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:01.265Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:01.911Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:01.911Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:02.180Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:02.180Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:02.447Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:02.447Z] Cache entry deserialization failed, entry ignored [2020-10-13T04:02:07.891Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-13T04:02:55.255Z] lf-activate-venv(): INFO: Adding /tmp/venv-xLJ6/bin to PATH [2020-10-13T04:02:55.255Z] INFO: No Stack... [2020-10-13T04:02:55.255Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-13T04:02:55.255Z] INFO: Archiving Costs [Pipeline] echo [2020-10-13T04:02:55.285Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-13T04:02:55.614Z] ---> logs-deploy.sh [2020-10-13T04:02:55.614Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-625/3 [2020-10-13T04:02:55.614Z] INFO: archiving workspace using pattern(s): [2020-10-13T04:02:57.566Z] Archives upload complete. [2020-10-13T04:02:57.830Z] INFO: archiving logs to Nexus