Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6d170b70e1a04a00d380c7c5d579fc072917eff5+153a43e7e060228c1df4c616c423a5b384e52518 (9f55a1a1ae958d150f6ce6bbfd7410d0efbb7682) 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-4668 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-614 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 Merge succeeded, producing b048396f8062a42b81cbd110a936457a9c173640 Checking out Revision b048396f8062a42b81cbd110a936457a9c173640 (PR-614) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # 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 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b048396f8062a42b81cbd110a936457a9c173640 # timeout=10 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" > git rev-list --no-walk 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-12T02:42:41.226Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-12T02:42:41.533Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-12T02:42:41.673Z] ========================================================= [2020-10-12T02:42:41.673Z] EdgeX Global Pipelines Version Info [2020-10-12T02:42:41.673Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:42:43.901Z] ------------------- [2020-10-12T02:42:43.901Z] stable info: [2020-10-12T02:42:43.901Z] ------------------- [2020-10-12T02:42:43.901Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-12T02:42:43.901Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-12T02:42:43.901Z] Message: update stable to v1.0.131 [2020-10-12T02:42:44.510Z] ------------------- [2020-10-12T02:42:44.510Z] experimental info: [2020-10-12T02:42:44.510Z] ------------------- [2020-10-12T02:42:44.510Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-12T02:42:44.510Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-12T02:42:44.510Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-12T02:42:44.917Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-12T02:42:45.064Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-12T02:42:45.176Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-12T02:42:45.286Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-12T02:42:45.451Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-12T02:42:45.555Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-12T02:42:45.703Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-12T02:42:45.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-12T02:42:45.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-12T02:42:46.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-12T02:42:46.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-12T02:42:46.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-12T02:42:46.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-12T02:42:46.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-12T02:42:46.684Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T02:42:46.815Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:42:46.916Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:42:47.026Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:42:47.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-12T02:42:47.243Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-12T02:42:47.347Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-12T02:42:47.474Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-12T02:42:47.591Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-12T02:42:47.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-12T02:42:47.806Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-12T02:42:47.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-12T02:42:48.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-12T02:42:48.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-12T02:42:48.252Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b048396f8062a42b81cbd110a936457a9c173640 [Pipeline] echo [2020-10-12T02:42:48.346Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b048396 [Pipeline] echo [2020-10-12T02:42:48.464Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T02:42:49.192Z] + git log --format=format:%s -1 b048396f8062a42b81cbd110a936457a9c173640 [Pipeline] echo [2020-10-12T02:42:49.276Z] GIT_COMMIT: b048396f8062a42b81cbd110a936457a9c173640, Commit Message: Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD [Pipeline] echo [2020-10-12T02:42:49.350Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:42:51.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:42:51.955Z] [2020-10-12T02:42:51.955Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:42:52.340Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:42:52.340Z] latest: Pulling from edgex-devops/git-semver [2020-10-12T02:42:52.341Z] 31603596830f: Pulling fs layer [2020-10-12T02:42:52.341Z] 2a8b12db71e7: Pulling fs layer [2020-10-12T02:42:52.341Z] 6ca5941a6612: Pulling fs layer [2020-10-12T02:42:52.341Z] ecc8261a40a4: Pulling fs layer [2020-10-12T02:42:52.341Z] ecc8261a40a4: Waiting [2020-10-12T02:42:52.341Z] 2a8b12db71e7: Verifying Checksum [2020-10-12T02:42:52.341Z] 2a8b12db71e7: Download complete [2020-10-12T02:42:52.621Z] 31603596830f: Verifying Checksum [2020-10-12T02:42:52.621Z] 31603596830f: Download complete [2020-10-12T02:42:52.621Z] ecc8261a40a4: Verifying Checksum [2020-10-12T02:42:52.621Z] ecc8261a40a4: Download complete [2020-10-12T02:42:52.907Z] 6ca5941a6612: Verifying Checksum [2020-10-12T02:42:52.907Z] 6ca5941a6612: Download complete [2020-10-12T02:42:52.907Z] 31603596830f: Pull complete [2020-10-12T02:42:53.190Z] 2a8b12db71e7: Pull complete [2020-10-12T02:42:54.666Z] 6ca5941a6612: Pull complete [2020-10-12T02:42:54.666Z] ecc8261a40a4: Pull complete [2020-10-12T02:42:54.666Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-12T02:42:54.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:42:54.666Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-12T02:42:54.823Z] prd-centos7-docker-4c-2g-4668 does not seem to be running inside a container [2020-10-12T02:42:54.901Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-12T02:42:57.354Z] $ docker top 43ae183f74b8e5b024958590dde6f0835853f28c338583d62fa45a3a8c5e475f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-12T02:42:57.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T02:42:57.714Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T02:42:58.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T02:42:58.020Z] $ docker exec 43ae183f74b8e5b024958590dde6f0835853f28c338583d62fa45a3a8c5e475f ssh-agent [2020-10-12T02:42:58.254Z] SSH_AUTH_SOCK=/tmp/ssh-741u3SdWmDyi/agent.11 [2020-10-12T02:42:58.254Z] SSH_AGENT_PID=17 [2020-10-12T02:42:58.270Z] Running ssh-add (command line suppressed) [2020-10-12T02:42:58.451Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7647618998500783829.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_7647618998500783829.key) [2020-10-12T02:42:58.517Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T02:42:58.957Z] + git describe --exact-match --tags HEAD [2020-10-12T02:42:58.957Z] fatal: no tag exactly matches 'b048396f8062a42b81cbd110a936457a9c173640' [Pipeline] } [2020-10-12T02:42:59.223Z] $ docker exec --env ******** --env ******** 43ae183f74b8e5b024958590dde6f0835853f28c338583d62fa45a3a8c5e475f ssh-agent -k [2020-10-12T02:42:59.588Z] unset SSH_AUTH_SOCK; [2020-10-12T02:42:59.593Z] unset SSH_AGENT_PID; [2020-10-12T02:42:59.593Z] echo Agent pid 17 killed; [2020-10-12T02:42:59.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-12T02:42:59.794Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-12T02:42:59.795Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-12T02:42:59.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T02:42:59.914Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T02:43:00.365Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T02:43:00.376Z] $ docker exec 43ae183f74b8e5b024958590dde6f0835853f28c338583d62fa45a3a8c5e475f ssh-agent [2020-10-12T02:43:00.686Z] SSH_AUTH_SOCK=/tmp/ssh-v2Jp8NXGrdsC/agent.46 [2020-10-12T02:43:00.687Z] SSH_AGENT_PID=51 [2020-10-12T02:43:00.697Z] Running ssh-add (command line suppressed) [2020-10-12T02:43:00.900Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_1148512623647797219.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_1148512623647797219.key) [2020-10-12T02:43:00.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T02:43:01.392Z] + git semver init [2020-10-12T02:43:01.392Z] # -> Open(): unable to determine branch for HEAD [2020-10-12T02:43:01.392Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-12T02:43:01.392Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-12T02:43:01.392Z] # $SEMVER_REMOTE_NAME = origin [2020-10-12T02:43:01.392Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-12T02:43:01.392Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-12T02:43:01.392Z] # $SEMVER_BRANCH = PR-614 [2020-10-12T02:43:01.392Z] # $SEMVER_TEMP = /tmp/semver-786321230 [2020-10-12T02:43:01.392Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-12T02:43:02.435Z] # '/tmp/semver-786321230' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-12T02:43:02.435Z] # -> Force: false [2020-10-12T02:43:02.435Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-12T02:43:02.495Z] $ docker exec --env ******** --env ******** 43ae183f74b8e5b024958590dde6f0835853f28c338583d62fa45a3a8c5e475f ssh-agent -k [2020-10-12T02:43:02.691Z] unset SSH_AUTH_SOCK; [2020-10-12T02:43:02.691Z] unset SSH_AGENT_PID; [2020-10-12T02:43:02.692Z] echo Agent pid 51 killed; [2020-10-12T02:43:02.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-12T02:43:03.331Z] + git semver [Pipeline] } [2020-10-12T02:43:03.350Z] $ docker stop --time=1 43ae183f74b8e5b024958590dde6f0835853f28c338583d62fa45a3a8c5e475f [2020-10-12T02:43:04.875Z] $ docker rm -f 43ae183f74b8e5b024958590dde6f0835853f28c338583d62fa45a3a8c5e475f [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-12T02:43:05.793Z] Stashed 48 file(s) [Pipeline] echo [2020-10-12T02:43:05.796Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-12T02:43:05.895Z] 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-12T02:43:21.314Z] Still waiting to schedule task [2020-10-12T02:43:21.314Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-12T02:43:21.317Z] Still waiting to schedule task [2020-10-12T02:43:21.317Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-12T02:44:04.831Z] Running on prd-centos7-docker-4c-2g-4677 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-12T02:44:04.885Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-10-12T02:44:07.519Z] using credential edgex-jenkins-ssh [2020-10-12T02:44:07.570Z] Cloning the remote Git repository [2020-10-12T02:44:07.595Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:44:07.659Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-10-12T02:44:08.213Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:44:08.214Z] > git --version # timeout=10 [2020-10-12T02:44:08.220Z] > git --version # 'git version 2.16.5' [2020-10-12T02:44:08.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:44:08.260Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:44:09.342Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-12T02:44:09.466Z] Merge succeeded, producing 54c96d8157d2c3cd5fdc0da0912b37f4ca93ba95 [2020-10-12T02:44:09.467Z] Checking out Revision 54c96d8157d2c3cd5fdc0da0912b37f4ca93ba95 (PR-614) [2020-10-12T02:44:08.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:44:08.964Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:44:08.974Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:44:08.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:44:08.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:44:08.991Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T02:44:09.352Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:44:09.363Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-12T02:44:09.413Z] > git remote # timeout=10 [2020-10-12T02:44:09.419Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T02:44:09.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:44:09.427Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T02:44:09.462Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T02:44:09.473Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:44:09.476Z] > git checkout -f 54c96d8157d2c3cd5fdc0da0912b37f4ca93ba95 # timeout=10 [2020-10-12T02:44:13.127Z] Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" [2020-10-12T02:44:13.132Z] > git rev-list --no-walk 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T02:44:14.197Z] ========================================================= [2020-10-12T02:44:14.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-12T02:44:14.197Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:44:14.984Z] + 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-12T02:44:15.932Z] Sending build context to Docker daemon 3.529MB [2020-10-12T02:44:15.932Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T02:44:15.932Z] Step 2/8 : FROM ${BASE} [2020-10-12T02:44:15.932Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-12T02:44:15.932Z] df20fa9351a1: Pulling fs layer [2020-10-12T02:44:15.932Z] ed8968b2872e: Pulling fs layer [2020-10-12T02:44:15.932Z] a92cc7c5fd73: Pulling fs layer [2020-10-12T02:44:15.932Z] e871e8e8d7a9: Pulling fs layer [2020-10-12T02:44:15.932Z] e73272ec9a57: Pulling fs layer [2020-10-12T02:44:15.932Z] 1e910a182e73: Pulling fs layer [2020-10-12T02:44:15.932Z] 4e634b169226: Pulling fs layer [2020-10-12T02:44:15.932Z] e73272ec9a57: Waiting [2020-10-12T02:44:15.932Z] 1e910a182e73: Waiting [2020-10-12T02:44:15.932Z] e871e8e8d7a9: Waiting [2020-10-12T02:44:15.932Z] a92cc7c5fd73: Verifying Checksum [2020-10-12T02:44:15.932Z] a92cc7c5fd73: Download complete [2020-10-12T02:44:15.932Z] ed8968b2872e: Verifying Checksum [2020-10-12T02:44:15.932Z] ed8968b2872e: Download complete [2020-10-12T02:44:15.932Z] e73272ec9a57: Verifying Checksum [2020-10-12T02:44:15.932Z] e73272ec9a57: Download complete [2020-10-12T02:44:15.932Z] 1e910a182e73: Verifying Checksum [2020-10-12T02:44:15.932Z] 1e910a182e73: Download complete [2020-10-12T02:44:15.932Z] df20fa9351a1: Verifying Checksum [2020-10-12T02:44:15.932Z] df20fa9351a1: Download complete [2020-10-12T02:44:16.196Z] df20fa9351a1: Pull complete [2020-10-12T02:44:16.459Z] ed8968b2872e: Pull complete [2020-10-12T02:44:16.459Z] a92cc7c5fd73: Pull complete [2020-10-12T02:44:17.853Z] 4e634b169226: Verifying Checksum [2020-10-12T02:44:17.853Z] 4e634b169226: Download complete [2020-10-12T02:44:18.446Z] e871e8e8d7a9: Verifying Checksum [2020-10-12T02:44:18.446Z] e871e8e8d7a9: Download complete [2020-10-12T02:44:23.766Z] e871e8e8d7a9: Pull complete [2020-10-12T02:44:23.766Z] e73272ec9a57: Pull complete [2020-10-12T02:44:24.030Z] 1e910a182e73: Pull complete [2020-10-12T02:44:28.259Z] 4e634b169226: Pull complete [2020-10-12T02:44:28.259Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-12T02:44:28.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-12T02:44:28.259Z] ---> f7629b54cfaa [2020-10-12T02:44:28.259Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:44:28.522Z] ---> Running in c94052cd20b0 [2020-10-12T02:44:28.853Z] Removing intermediate container c94052cd20b0 [2020-10-12T02:44:28.853Z] ---> 2fb9a9e474d8 [2020-10-12T02:44:28.853Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:44:28.853Z] ---> Running in beb6f15dbb59 [2020-10-12T02:44:29.800Z] Removing intermediate container beb6f15dbb59 [2020-10-12T02:44:29.801Z] ---> 679f280f77fd [2020-10-12T02:44:29.801Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T02:44:29.801Z] ---> Running in da0a1af999f5 [2020-10-12T02:44:30.754Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T02:44:31.702Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T02:44:32.276Z] OK: 166 MiB in 39 packages [2020-10-12T02:44:32.849Z] Removing intermediate container da0a1af999f5 [2020-10-12T02:44:32.849Z] ---> e7fa28dd9042 [2020-10-12T02:44:32.849Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T02:44:32.849Z] ---> Running in cd74ceba6065 [2020-10-12T02:44:32.849Z] Removing intermediate container cd74ceba6065 [2020-10-12T02:44:32.849Z] ---> 589c927bcc4c [2020-10-12T02:44:32.849Z] Step 7/8 : COPY . . [2020-10-12T02:44:34.240Z] ---> 455e4bbc9a7f [2020-10-12T02:44:34.240Z] Step 8/8 : RUN go mod download [2020-10-12T02:44:34.240Z] ---> Running in d1dcece10da9 [2020-10-12T02:44:52.401Z] Removing intermediate container d1dcece10da9 [2020-10-12T02:44:52.401Z] ---> fec84e3c585b [2020-10-12T02:44:52.401Z] Successfully built fec84e3c585b [2020-10-12T02:44:52.401Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:44:52.739Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T02:44:52.739Z] . [Pipeline] withDockerContainer [2020-10-12T02:44:52.834Z] prd-centos7-docker-4c-2g-4677 does not seem to be running inside a container [2020-10-12T02:44:52.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-12T02:44:53.499Z] $ docker top 67ae197ed80acb1e171278854e62cc893a4af8f33e2acd81b8556bedfa7c9524 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:44:54.009Z] + go version [2020-10-12T02:44:54.010Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-12T02:44:54.028Z] $ docker stop --time=1 67ae197ed80acb1e171278854e62cc893a4af8f33e2acd81b8556bedfa7c9524 [2020-10-12T02:44:55.477Z] $ docker rm -f 67ae197ed80acb1e171278854e62cc893a4af8f33e2acd81b8556bedfa7c9524 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:44:56.280Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T02:44:56.280Z] . [Pipeline] withDockerContainer [2020-10-12T02:44:56.379Z] prd-centos7-docker-4c-2g-4677 does not seem to be running inside a container [2020-10-12T02:44:56.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-12T02:44:56.998Z] $ docker top 3cdc74f03a9a29ba3b33eaff05d7eccf794066629deebd5e14698eab5877ffb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:44:57.495Z] + make test [2020-10-12T02:44:57.495Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T02:45:04.132Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T02:45:19.243Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T02:45:19.243Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T02:45:19.243Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T02:45:19.243Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 21.6% of statements [2020-10-12T02:45:19.509Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.444s coverage: 97.1% of statements [2020-10-12T02:45:51.665Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.053s coverage: 9.4% of statements [2020-10-12T02:45:51.665Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.9% of statements [2020-10-12T02:45:51.665Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T02:45:51.665Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.197s coverage: 40.0% of statements [2020-10-12T02:45:51.665Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T02:45:51.665Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.262s coverage: 68.9% of statements [2020-10-12T02:45:51.665Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T02:45:51.665Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T02:45:51.665Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T02:45:51.665Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T02:45:51.665Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements [2020-10-12T02:45:51.665Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T02:45:51.665Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.267s coverage: 68.9% of statements [2020-10-12T02:45:51.665Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T02:45:51.665Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T02:45:51.665Z] GO111MODULE=on go vet ./... [2020-10-12T02:45:58.342Z] gofmt -l . [2020-10-12T02:45:58.342Z] [ "`gofmt -l .`" = "" ] [2020-10-12T02:45:58.342Z] ./bin/test-attribution-txt.sh [2020-10-12T02:45:58.342Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T02:45:58.721Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T02:45:58.729Z] $ docker stop --time=1 3cdc74f03a9a29ba3b33eaff05d7eccf794066629deebd5e14698eab5877ffb1 [2020-10-12T02:46:00.429Z] $ docker rm -f 3cdc74f03a9a29ba3b33eaff05d7eccf794066629deebd5e14698eab5877ffb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-12T02:46:02.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T02:46:02.562Z] + ls -al . [2020-10-12T02:46:02.562Z] total 188 [2020-10-12T02:46:02.562Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 02:45 . [2020-10-12T02:46:02.562Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 02:44 .. [2020-10-12T02:46:02.562Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 02:44 bin [2020-10-12T02:46:02.562Z] -rw-r--r--. 1 jenkins jenkins 110392 Oct 12 02:45 coverage.out [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 02:44 Dockerfile.build [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 02:44 .dockerignore [2020-10-12T02:46:02.562Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 02:44 example [2020-10-12T02:46:02.562Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 02:44 .git [2020-10-12T02:46:02.562Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 02:44 .github [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 02:44 .gitignore [2020-10-12T02:46:02.562Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 12 02:45 go.mod [2020-10-12T02:46:02.562Z] -rw-r--r--. 1 jenkins jenkins 13736 Oct 12 02:45 go.sum [2020-10-12T02:46:02.562Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 02:44 internal [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 02:44 Jenkinsfile [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 02:44 LICENSE [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 02:44 Makefile [2020-10-12T02:46:02.562Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 02:44 openapi [2020-10-12T02:46:02.562Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 02:44 pkg [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 02:44 README.md [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 02:44 RELEASE-NOTES.txt [2020-10-12T02:46:02.562Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 02:44 .semver [2020-10-12T02:46:02.562Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 02:44 snap [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 02:43 VERSION [2020-10-12T02:46:02.562Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:46:02.876Z] + 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=b048396f8062a42b81cbd110a936457a9c173640 --label arch=amd64 --label version=0.0.0 . [2020-10-12T02:46:03.137Z] Sending build context to Docker daemon 3.64MB [2020-10-12T02:46:03.137Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T02:46:03.137Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T02:46:03.137Z] ---> fec84e3c585b [2020-10-12T02:46:03.137Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T02:46:03.715Z] ---> Running in 727534cd1639 [2020-10-12T02:46:03.715Z] Removing intermediate container 727534cd1639 [2020-10-12T02:46:03.715Z] ---> a7818b1b1803 [2020-10-12T02:46:03.715Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T02:46:03.715Z] ---> Running in 4e623341d720 [2020-10-12T02:46:03.977Z] Removing intermediate container 4e623341d720 [2020-10-12T02:46:03.977Z] ---> 47c0169c0017 [2020-10-12T02:46:03.977Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:46:03.977Z] ---> Running in e816a3c3be72 [2020-10-12T02:46:04.241Z] Removing intermediate container e816a3c3be72 [2020-10-12T02:46:04.241Z] ---> 9d8106a9db56 [2020-10-12T02:46:04.241Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:46:04.241Z] ---> Running in e53a8e9546c3 [2020-10-12T02:46:05.195Z] Removing intermediate container e53a8e9546c3 [2020-10-12T02:46:05.195Z] ---> 7c5efd231da1 [2020-10-12T02:46:05.195Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T02:46:05.195Z] ---> Running in 3df4e3e3f7fd [2020-10-12T02:46:05.458Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T02:46:06.411Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T02:46:06.987Z] OK: 166 MiB in 39 packages [2020-10-12T02:46:07.247Z] Removing intermediate container 3df4e3e3f7fd [2020-10-12T02:46:07.247Z] ---> 880f917d7e35 [2020-10-12T02:46:07.247Z] Step 8/24 : COPY . . [2020-10-12T02:46:08.206Z] ---> 1a38d30602a9 [2020-10-12T02:46:08.206Z] Step 9/24 : RUN ${MAKE} [2020-10-12T02:46:08.206Z] ---> Running in b875e8655312 [2020-10-12T02:46:08.788Z] 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-12T02:46:08.971Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4681 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-12T02:46:09.023Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-10-12T02:46:14.483Z] using credential edgex-jenkins-ssh [2020-10-12T02:46:14.540Z] Cloning the remote Git repository [2020-10-12T02:46:14.595Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:46:14.724Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-10-12T02:46:14.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:46:14.795Z] > git --version # timeout=10 [2020-10-12T02:46:14.814Z] > git --version # 'git version 2.17.1' [2020-10-12T02:46:14.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:46:14.877Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:46:16.613Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-12T02:46:15.978Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:46:16.006Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:46:16.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:46:16.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:46:16.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:46:16.088Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T02:46:16.967Z] Merge succeeded, producing a97b0d6cfc3c0d127c3d896d464f7c855197050b [2020-10-12T02:46:16.968Z] Checking out Revision a97b0d6cfc3c0d127c3d896d464f7c855197050b (PR-614) [2020-10-12T02:46:17.103Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T02:46:16.635Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:46:16.650Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-12T02:46:16.790Z] > git remote # timeout=10 [2020-10-12T02:46:16.811Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T02:46:16.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:46:16.846Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T02:46:16.950Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T02:46:16.975Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:46:16.990Z] > git checkout -f a97b0d6cfc3c0d127c3d896d464f7c855197050b # timeout=10 [2020-10-12T02:46:18.054Z] Removing intermediate container b875e8655312 [2020-10-12T02:46:18.054Z] ---> 768bda414e19 [2020-10-12T02:46:18.054Z] Step 10/24 : FROM scratch [2020-10-12T02:46:18.054Z] ---> [2020-10-12T02:46:18.054Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:46:18.054Z] ---> Running in 2d1e3a27c332 [2020-10-12T02:46:18.054Z] Removing intermediate container 2d1e3a27c332 [2020-10-12T02:46:18.054Z] ---> 19b452da7ef1 [2020-10-12T02:46:18.054Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T02:46:18.317Z] ---> Running in 0713d81956f8 [2020-10-12T02:46:18.317Z] Removing intermediate container 0713d81956f8 [2020-10-12T02:46:18.317Z] ---> 8d3715e073c1 [2020-10-12T02:46:18.317Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T02:46:18.317Z] ---> Running in 6bca3e965c93 [2020-10-12T02:46:18.585Z] Removing intermediate container 6bca3e965c93 [2020-10-12T02:46:18.585Z] ---> 54ff89adf889 [2020-10-12T02:46:18.585Z] Step 14/24 : WORKDIR / [2020-10-12T02:46:18.585Z] ---> Running in 82cf02415329 [2020-10-12T02:46:18.852Z] Removing intermediate container 82cf02415329 [2020-10-12T02:46:18.852Z] ---> 87a68b2b6d3a [2020-10-12T02:46:18.852Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T02:46:19.118Z] ---> bc362d7acd8b [2020-10-12T02:46:19.118Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T02:46:19.380Z] ---> eaaeed8e5e7b [2020-10-12T02:46:19.380Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T02:46:19.647Z] ---> 28a29bcc30da [2020-10-12T02:46:19.647Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T02:46:19.923Z] ---> 45aecefe6a68 [2020-10-12T02:46:19.923Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T02:46:20.185Z] ---> ae5245c25ba7 [2020-10-12T02:46:20.185Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T02:46:20.185Z] ---> Running in d688efdded63 [2020-10-12T02:46:20.447Z] Removing intermediate container d688efdded63 [2020-10-12T02:46:20.447Z] ---> 55d6acd95b83 [2020-10-12T02:46:20.447Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T02:46:20.447Z] ---> Running in d16b4af3ed08 [2020-10-12T02:46:20.447Z] Removing intermediate container d16b4af3ed08 [2020-10-12T02:46:20.447Z] ---> da726d99b531 [2020-10-12T02:46:20.447Z] Step 22/24 : LABEL arch=amd64 [2020-10-12T02:46:20.710Z] ---> Running in bc059d95efc0 [2020-10-12T02:46:20.710Z] Removing intermediate container bc059d95efc0 [2020-10-12T02:46:20.710Z] ---> 06ce525e613a [2020-10-12T02:46:20.710Z] Step 23/24 : LABEL git_sha=b048396f8062a42b81cbd110a936457a9c173640 [2020-10-12T02:46:20.710Z] ---> Running in b47a5a6bd236 [2020-10-12T02:46:20.977Z] Removing intermediate container b47a5a6bd236 [2020-10-12T02:46:20.977Z] ---> 6ae2b523f6a5 [2020-10-12T02:46:20.977Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T02:46:20.977Z] ---> Running in c30255ed48a4 [2020-10-12T02:46:21.242Z] Removing intermediate container c30255ed48a4 [2020-10-12T02:46:21.242Z] ---> f15cf465c1f3 [2020-10-12T02:46:21.242Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T02:46:21.242Z] Successfully built f15cf465c1f3 [2020-10-12T02:46:21.242Z] 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 [2020-10-12T02:46:21.616Z] Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2020-10-12T02:46:21.628Z] > git rev-list --no-walk 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T02:46:23.366Z] ========================================================= [2020-10-12T02:46:23.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-12T02:46:23.366Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:46:24.503Z] + 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-12T02:46:25.510Z] Sending build context to Docker daemon 3.529MB [2020-10-12T02:46:25.510Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T02:46:25.510Z] Step 2/8 : FROM ${BASE} [2020-10-12T02:46:25.801Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-12T02:46:25.801Z] b538f80385f9: Pulling fs layer [2020-10-12T02:46:25.801Z] 74f711af9a0d: Pulling fs layer [2020-10-12T02:46:25.801Z] 99f96fe45779: Pulling fs layer [2020-10-12T02:46:25.801Z] 8529a6b9a6be: Pulling fs layer [2020-10-12T02:46:25.801Z] 45590311c82a: Pulling fs layer [2020-10-12T02:46:25.801Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-12T02:46:25.801Z] 209524e5b208: Pulling fs layer [2020-10-12T02:46:25.801Z] 8529a6b9a6be: Waiting [2020-10-12T02:46:25.801Z] 45590311c82a: Waiting [2020-10-12T02:46:25.801Z] 69ca0ff8b7b3: Waiting [2020-10-12T02:46:25.801Z] 209524e5b208: Waiting [2020-10-12T02:46:25.801Z] 99f96fe45779: Verifying Checksum [2020-10-12T02:46:25.801Z] 99f96fe45779: Download complete [2020-10-12T02:46:25.801Z] 74f711af9a0d: Verifying Checksum [2020-10-12T02:46:25.801Z] 74f711af9a0d: Download complete [2020-10-12T02:46:25.801Z] 45590311c82a: Download complete [2020-10-12T02:46:25.801Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-12T02:46:25.801Z] 69ca0ff8b7b3: Download complete [2020-10-12T02:46:26.103Z] b538f80385f9: Download complete [2020-10-12T02:46:26.733Z] b538f80385f9: Pull complete [2020-10-12T02:46:27.358Z] 74f711af9a0d: Pull complete [2020-10-12T02:46:27.976Z] 99f96fe45779: Pull complete [2020-10-12T02:46:28.589Z] 209524e5b208: Verifying Checksum [2020-10-12T02:46:28.589Z] 209524e5b208: Download complete [2020-10-12T02:46:30.616Z] 8529a6b9a6be: Verifying Checksum [2020-10-12T02:46:30.616Z] 8529a6b9a6be: Download complete [2020-10-12T02:46:40.991Z] 8529a6b9a6be: Pull complete [2020-10-12T02:46:40.991Z] 45590311c82a: Pull complete [2020-10-12T02:46:40.991Z] 69ca0ff8b7b3: Pull complete [2020-10-12T02:46:44.481Z] 209524e5b208: Pull complete [2020-10-12T02:46:44.481Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-12T02:46:44.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-12T02:46:44.481Z] ---> 5bddaf1c2fca [2020-10-12T02:46:44.481Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:46:47.152Z] ---> Running in ab14992a497f [2020-10-12T02:46:47.751Z] Removing intermediate container ab14992a497f [2020-10-12T02:46:47.751Z] ---> 337be40fd5fd [2020-10-12T02:46:47.751Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:46:47.751Z] ---> Running in ffb9062797f2 [2020-10-12T02:46:50.396Z] Removing intermediate container ffb9062797f2 [2020-10-12T02:46:50.396Z] ---> 8cdfdaa20c9c [2020-10-12T02:46:50.396Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T02:46:50.673Z] ---> Running in 367caa26d898 [2020-10-12T02:46:52.128Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T02:46:53.123Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T02:46:54.565Z] OK: 142 MiB in 39 packages [2020-10-12T02:46:55.555Z] Removing intermediate container 367caa26d898 [2020-10-12T02:46:55.555Z] ---> 6fecf12f78c3 [2020-10-12T02:46:55.555Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T02:46:55.829Z] ---> Running in e41ad7bf68d5 [2020-10-12T02:46:56.434Z] Removing intermediate container e41ad7bf68d5 [2020-10-12T02:46:56.434Z] ---> e2191e03e35c [2020-10-12T02:46:56.434Z] Step 7/8 : COPY . . [2020-10-12T02:46:57.876Z] ---> 3805ee573372 [2020-10-12T02:46:57.876Z] Step 8/8 : RUN go mod download [2020-10-12T02:46:58.152Z] ---> Running in 8d83a478951d [2020-10-12T02:47:20.339Z] Removing intermediate container 8d83a478951d [2020-10-12T02:47:20.339Z] ---> f6d383512c9b [2020-10-12T02:47:20.339Z] Successfully built f6d383512c9b [2020-10-12T02:47:20.339Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:47:20.765Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T02:47:20.765Z] . [Pipeline] withDockerContainer [2020-10-12T02:47:21.053Z] prd-ubuntu18.04-docker-arm64-4c-16g-4681 does not seem to be running inside a container [2020-10-12T02:47:21.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T02:47:23.121Z] $ docker top fc55e36c35ab65470add35f62806e657cbb523e7556a7d2f33cf5bda8fd1050c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:47:24.617Z] + go version [2020-10-12T02:47:24.617Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-12T02:47:24.651Z] $ docker stop --time=1 fc55e36c35ab65470add35f62806e657cbb523e7556a7d2f33cf5bda8fd1050c [2020-10-12T02:47:26.646Z] $ docker rm -f fc55e36c35ab65470add35f62806e657cbb523e7556a7d2f33cf5bda8fd1050c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:47:27.691Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T02:47:27.691Z] . [Pipeline] withDockerContainer [2020-10-12T02:47:27.968Z] prd-ubuntu18.04-docker-arm64-4c-16g-4681 does not seem to be running inside a container [2020-10-12T02:47:28.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-12T02:47:30.046Z] $ docker top 4e7d8c198f8fb52982f34d3079cf7f890ca24c5aa0e934046484a0a9cb0511a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:47:31.549Z] + make test [2020-10-12T02:47:31.550Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T02:47:53.793Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T02:48:32.928Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T02:48:32.928Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T02:48:32.928Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T02:48:34.930Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.142s coverage: 21.6% of statements [2020-10-12T02:48:38.344Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.268s coverage: 97.1% of statements [2020-10-12T02:49:10.734Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.120s coverage: 9.4% of statements [2020-10-12T02:49:10.734Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.148s coverage: 21.9% of statements [2020-10-12T02:49:10.734Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T02:49:10.734Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.621s coverage: 40.0% of statements [2020-10-12T02:49:10.734Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T02:49:10.734Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.826s coverage: 68.9% of statements [2020-10-12T02:49:10.734Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T02:49:10.734Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T02:49:10.734Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T02:49:10.734Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T02:49:10.734Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.223s coverage: 52.6% of statements [2020-10-12T02:49:10.734Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T02:49:10.734Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.824s coverage: 68.9% of statements [2020-10-12T02:49:10.734Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T02:49:10.734Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T02:49:10.734Z] GO111MODULE=on go vet ./... [2020-10-12T02:49:43.144Z] gofmt -l . [2020-10-12T02:49:43.144Z] [ "`gofmt -l .`" = "" ] [2020-10-12T02:49:43.144Z] ./bin/test-attribution-txt.sh [2020-10-12T02:49:43.144Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T02:49:43.165Z] Warning: overwriting stash ‘coverage-report’ [2020-10-12T02:49:44.022Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T02:49:44.058Z] $ docker stop --time=1 4e7d8c198f8fb52982f34d3079cf7f890ca24c5aa0e934046484a0a9cb0511a5 [2020-10-12T02:49:46.278Z] $ docker rm -f 4e7d8c198f8fb52982f34d3079cf7f890ca24c5aa0e934046484a0a9cb0511a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T02:49:47.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T02:49:48.093Z] + ls -al . [2020-10-12T02:49:48.093Z] total 228 [2020-10-12T02:49:48.093Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:49 . [2020-10-12T02:49:48.093Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:46 .. [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 02:46 .dockerignore [2020-10-12T02:49:48.093Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:46 .git [2020-10-12T02:49:48.093Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:46 .github [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 02:46 .gitignore [2020-10-12T02:49:48.093Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:46 .semver [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 02:46 Dockerfile.build [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 02:46 Jenkinsfile [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 02:46 LICENSE [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 02:46 Makefile [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 02:46 README.md [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 02:46 RELEASE-NOTES.txt [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:43 VERSION [2020-10-12T02:49:48.093Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:46 bin [2020-10-12T02:49:48.093Z] -rw-r--r-- 1 jenkins jenkins 110392 Oct 12 02:49 coverage.out [2020-10-12T02:49:48.093Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:46 example [2020-10-12T02:49:48.093Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 12 02:49 go.mod [2020-10-12T02:49:48.093Z] -rw-r--r-- 1 jenkins jenkins 13736 Oct 12 02:49 go.sum [2020-10-12T02:49:48.093Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 02:46 internal [2020-10-12T02:49:48.093Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:46 openapi [2020-10-12T02:49:48.093Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 02:46 pkg [2020-10-12T02:49:48.093Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:46 snap [2020-10-12T02:49:48.093Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:49:48.442Z] + 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=b048396f8062a42b81cbd110a936457a9c173640 --label arch=arm64 --label version=0.0.0 . [2020-10-12T02:49:49.043Z] Sending build context to Docker daemon 3.64MB [2020-10-12T02:49:49.043Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T02:49:49.043Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T02:49:49.043Z] ---> f6d383512c9b [2020-10-12T02:49:49.043Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T02:49:49.318Z] ---> Running in 0671873dee84 [2020-10-12T02:49:49.915Z] Removing intermediate container 0671873dee84 [2020-10-12T02:49:49.915Z] ---> 6193ee20e44b [2020-10-12T02:49:49.915Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T02:49:49.915Z] ---> Running in 54130d6be12b [2020-10-12T02:49:50.519Z] Removing intermediate container 54130d6be12b [2020-10-12T02:49:50.519Z] ---> 3a23004cbdc3 [2020-10-12T02:49:50.519Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:49:50.519Z] ---> Running in 54d69421bfab [2020-10-12T02:49:51.117Z] Removing intermediate container 54d69421bfab [2020-10-12T02:49:51.117Z] ---> 1b087242a33f [2020-10-12T02:49:51.117Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:49:51.117Z] ---> Running in c6190194ff9c [2020-10-12T02:49:53.746Z] Removing intermediate container c6190194ff9c [2020-10-12T02:49:53.746Z] ---> 01b7fc1fbc51 [2020-10-12T02:49:53.746Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T02:49:54.034Z] ---> Running in 78bb4916aaf0 [2020-10-12T02:49:55.474Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T02:49:56.447Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T02:49:57.041Z] OK: 142 MiB in 39 packages [2020-10-12T02:49:58.024Z] Removing intermediate container 78bb4916aaf0 [2020-10-12T02:49:58.024Z] ---> 319f12367825 [2020-10-12T02:49:58.024Z] Step 8/24 : COPY . . [2020-10-12T02:50:00.006Z] ---> 30fe4c7ca237 [2020-10-12T02:50:00.006Z] Step 9/24 : RUN ${MAKE} [2020-10-12T02:50:00.006Z] ---> Running in 42d4ee062051 [2020-10-12T02:50:01.444Z] 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-12T02:50:28.259Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T02:50:28.850Z] Removing intermediate container 42d4ee062051 [2020-10-12T02:50:28.850Z] ---> 65521d6c5e26 [2020-10-12T02:50:28.850Z] Step 10/24 : FROM scratch [2020-10-12T02:50:28.850Z] ---> [2020-10-12T02:50:28.850Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:50:28.850Z] ---> Running in 068219631d83 [2020-10-12T02:50:29.122Z] Removing intermediate container 068219631d83 [2020-10-12T02:50:29.122Z] ---> fcbfbddddd86 [2020-10-12T02:50:29.122Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T02:50:29.393Z] ---> Running in 13fcf3822f0b [2020-10-12T02:50:29.663Z] Removing intermediate container 13fcf3822f0b [2020-10-12T02:50:29.663Z] ---> 61d658bd8aa2 [2020-10-12T02:50:29.663Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T02:50:29.934Z] ---> Running in bedb39ef6d0e [2020-10-12T02:50:30.207Z] Removing intermediate container bedb39ef6d0e [2020-10-12T02:50:30.207Z] ---> a341de91855a [2020-10-12T02:50:30.207Z] Step 14/24 : WORKDIR / [2020-10-12T02:50:30.483Z] ---> Running in e7d1701a8f5f [2020-10-12T02:50:31.081Z] Removing intermediate container e7d1701a8f5f [2020-10-12T02:50:31.081Z] ---> aa97dc6cd385 [2020-10-12T02:50:31.081Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T02:50:32.063Z] ---> 8aec8065631a [2020-10-12T02:50:32.063Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T02:50:33.044Z] ---> 1750eb79e785 [2020-10-12T02:50:33.044Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T02:50:33.646Z] ---> c03f51e7285b [2020-10-12T02:50:33.646Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T02:50:34.626Z] ---> 92663825f49c [2020-10-12T02:50:34.626Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T02:50:35.608Z] ---> c53963d70c0a [2020-10-12T02:50:35.608Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T02:50:35.608Z] ---> Running in e35b0c7f3050 [2020-10-12T02:50:35.882Z] Removing intermediate container e35b0c7f3050 [2020-10-12T02:50:35.882Z] ---> a1b3184529d8 [2020-10-12T02:50:35.882Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T02:50:36.158Z] ---> Running in 2c1258a6809a [2020-10-12T02:50:36.778Z] Removing intermediate container 2c1258a6809a [2020-10-12T02:50:36.778Z] ---> 836c7c356dbf [2020-10-12T02:50:36.778Z] Step 22/24 : LABEL arch=arm64 [2020-10-12T02:50:36.778Z] ---> Running in 61f63022f2e6 [2020-10-12T02:50:37.388Z] Removing intermediate container 61f63022f2e6 [2020-10-12T02:50:37.388Z] ---> 3e14d25d99fd [2020-10-12T02:50:37.388Z] Step 23/24 : LABEL git_sha=b048396f8062a42b81cbd110a936457a9c173640 [2020-10-12T02:50:37.388Z] ---> Running in ab0fd6223a2b [2020-10-12T02:50:37.999Z] Removing intermediate container ab0fd6223a2b [2020-10-12T02:50:37.999Z] ---> 3ed0acb4ee21 [2020-10-12T02:50:37.999Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T02:50:37.999Z] ---> Running in 257a922d4788 [2020-10-12T02:50:38.595Z] Removing intermediate container 257a922d4788 [2020-10-12T02:50:38.595Z] ---> 594ce14886b3 [2020-10-12T02:50:38.595Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T02:50:38.595Z] Successfully built 594ce14886b3 [2020-10-12T02:50:38.595Z] 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-12T02:50:40.393Z] provisioning config files... [2020-10-12T02:50:40.407Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config3608091888595508679tmp [Pipeline] { [Pipeline] sh [2020-10-12T02:50:40.799Z] + set +x [2020-10-12T02:50:40.800Z] + curl -s https://codecov.io/bash [2020-10-12T02:50:40.800Z] + bash -s -- [2020-10-12T02:50:41.062Z] [2020-10-12T02:50:41.062Z] _____ _ [2020-10-12T02:50:41.062Z] / ____| | | [2020-10-12T02:50:41.062Z] | | ___ __| | ___ ___ _____ __ [2020-10-12T02:50:41.062Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-12T02:50:41.062Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-12T02:50:41.062Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-12T02:50:41.062Z] Bash-20201009-048fee3 [2020-10-12T02:50:41.062Z] [2020-10-12T02:50:41.062Z] [2020-10-12T02:50:41.062Z] ==> Jenkins CI detected. [2020-10-12T02:50:41.062Z] project root: . [2020-10-12T02:50:41.062Z] Fixing merge commit SHA [2020-10-12T02:50:41.062Z] --> token set from env [2020-10-12T02:50:41.062Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-12T02:50:41.062Z] ==> Running gcov in . (disable via -X gcov) [2020-10-12T02:50:41.062Z] ==> Python coveragepy not found [2020-10-12T02:50:41.062Z] ==> Searching for coverage reports in: [2020-10-12T02:50:41.062Z] + . [2020-10-12T02:50:41.062Z] -> Found 1 reports [2020-10-12T02:50:41.062Z] ==> Detecting git/mercurial file structure [2020-10-12T02:50:41.062Z] ==> Reading reports [2020-10-12T02:50:41.062Z] + ./coverage.out bytes=110392 [2020-10-12T02:50:41.062Z] ==> Appending adjustments [2020-10-12T02:50:41.062Z] https://docs.codecov.io/docs/fixing-reports [2020-10-12T02:50:41.638Z] + Found adjustments [2020-10-12T02:50:41.638Z] ==> Gzipping contents [2020-10-12T02:50:41.638Z] ==> Uploading reports [2020-10-12T02:50:41.638Z] url: https://codecov.io [2020-10-12T02:50:41.638Z] query: branch=PR-614&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-12T02:50:41.638Z] -> Pinging Codecov [2020-10-12T02:50:41.638Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-12T02:50:41.638Z] -> Uploading to [2020-10-12T02:50:41.638Z] [2020-10-12T02:50:41.900Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T02:50:41.900Z] Dload Upload Total Spent Left Speed [2020-10-12T02:50:41.900Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-12T02:50:41.900Z] X> Failed to upload [2020-10-12T02:50:41.900Z] ==> Uploading to Codecov [2020-10-12T02:50:41.900Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T02:50:41.900Z] Dload Upload Total Spent Left Speed [2020-10-12T02:50:42.163Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18373 0 0 100 18263 0 37430 --:--:-- --:--:-- --:--:-- 37424 100 18373 100 110 100 18263 225 37408 --:--:-- --:--:-- --:--:-- 37347 [2020-10-12T02:50:42.163Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/153a43e7e060228c1df4c616c423a5b384e52518 [Pipeline] } [2020-10-12T02:50:42.173Z] 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-12T02:50:44.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:50:45.387Z] ---> package-listing.sh [2020-10-12T02:50:45.387Z] ++ facter osfamily [2020-10-12T02:50:45.387Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-12T02:50:45.387Z] + OS_FAMILY=redhat [2020-10-12T02:50:45.387Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-12T02:50:45.387Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-12T02:50:45.387Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-12T02:50:45.387Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-12T02:50:45.387Z] + PACKAGES=/tmp/packages_start.txt [2020-10-12T02:50:45.387Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-12T02:50:45.387Z] + PACKAGES=/tmp/packages_end.txt [2020-10-12T02:50:45.387Z] + case "${OS_FAMILY}" in [2020-10-12T02:50:45.387Z] + rpm -qa [2020-10-12T02:50:45.387Z] + sort [2020-10-12T02:50:49.622Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-12T02:50:49.622Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-12T02:50:49.622Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-12T02:50:49.622Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-12T02:50:49.622Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-12T02:50:49.622Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-12T02:50:49.828Z] provisioning config files... [2020-10-12T02:50:49.848Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config5799328981097924471tmp [Pipeline] { [Pipeline] echo [2020-10-12T02:50:49.930Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:50:50.239Z] ---> create-netrc.sh [Pipeline] } [2020-10-12T02:50:50.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-12T02:50:50.472Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:50:50.776Z] ---> python-tools-install.sh [2020-10-12T02:50:50.776Z] Generating Requirements File [2020-10-12T02:52:12.385Z] Python 3.6.8 [2020-10-12T02:52:12.385Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-12T02:52:12.385Z] appdirs==1.4.3 [2020-10-12T02:52:12.385Z] argcomplete==1.12.1 [2020-10-12T02:52:12.385Z] aspy.yaml==1.3.0 [2020-10-12T02:52:12.385Z] attrs==19.3.0 [2020-10-12T02:52:12.385Z] Babel==2.8.0 [2020-10-12T02:52:12.385Z] beautifulsoup4==4.8.2 [2020-10-12T02:52:12.385Z] boto3==1.11.6 [2020-10-12T02:52:12.385Z] botocore==1.14.6 [2020-10-12T02:52:12.385Z] bs4==0.0.1 [2020-10-12T02:52:12.385Z] cachetools==4.1.1 [2020-10-12T02:52:12.385Z] certifi==2019.11.28 [2020-10-12T02:52:12.385Z] cffi==1.14.3 [2020-10-12T02:52:12.385Z] cfgv==2.0.1 [2020-10-12T02:52:12.385Z] chardet==3.0.4 [2020-10-12T02:52:12.385Z] click==7.1 [2020-10-12T02:52:12.385Z] cliff==3.4.0 [2020-10-12T02:52:12.385Z] cmd2==1.3.11 [2020-10-12T02:52:12.385Z] colorama==0.4.3 [2020-10-12T02:52:12.385Z] cryptography==3.1.1 [2020-10-12T02:52:12.385Z] debtcollector==2.2.0 [2020-10-12T02:52:12.385Z] decorator==4.4.2 [2020-10-12T02:52:12.385Z] defusedxml==0.6.0 [2020-10-12T02:52:12.385Z] Deprecated==1.2.7 [2020-10-12T02:52:12.385Z] distlib==0.3.1 [2020-10-12T02:52:12.385Z] distro==1.2.0 [2020-10-12T02:52:12.385Z] dnspython==1.16.0 [2020-10-12T02:52:12.385Z] docker==4.2.0 [2020-10-12T02:52:12.385Z] docutils==0.15.2 [2020-10-12T02:52:12.385Z] dogpile.cache==1.0.2 [2020-10-12T02:52:12.385Z] email-validator==1.0.5 [2020-10-12T02:52:12.385Z] filelock==3.0.12 [2020-10-12T02:52:12.385Z] future==0.18.2 [2020-10-12T02:52:12.385Z] google-auth==1.22.1 [2020-10-12T02:52:12.385Z] httplib2==0.17.0 [2020-10-12T02:52:12.385Z] identify==1.4.11 [2020-10-12T02:52:12.385Z] idna==2.9 [2020-10-12T02:52:12.385Z] importlib-metadata==2.0.0 [2020-10-12T02:52:12.385Z] importlib-resources==1.5.0 [2020-10-12T02:52:12.385Z] iso8601==0.1.13 [2020-10-12T02:52:12.385Z] Jinja2==2.11.1 [2020-10-12T02:52:12.385Z] jmespath==0.10.0 [2020-10-12T02:52:12.385Z] jsonpatch==1.26 [2020-10-12T02:52:12.385Z] jsonpointer==2.0 [2020-10-12T02:52:12.385Z] jsonschema==3.2.0 [2020-10-12T02:52:12.385Z] keystoneauth1==4.2.1 [2020-10-12T02:52:12.385Z] kubernetes==11.0.0 [2020-10-12T02:52:12.385Z] lftools==0.34.2 [2020-10-12T02:52:12.385Z] lxml==4.5.0 [2020-10-12T02:52:12.385Z] MarkupSafe==0.23 [2020-10-12T02:52:12.385Z] msgpack==1.0.0 [2020-10-12T02:52:12.385Z] multi-key-dict==2.0.3 [2020-10-12T02:52:12.385Z] munch==2.5.0 [2020-10-12T02:52:12.385Z] netaddr==0.8.0 [2020-10-12T02:52:12.385Z] netifaces==0.10.9 [2020-10-12T02:52:12.385Z] niet==1.4.2 [2020-10-12T02:52:12.385Z] nodeenv==1.3.5 [2020-10-12T02:52:12.385Z] oauth2client==4.1.3 [2020-10-12T02:52:12.385Z] oauthlib==3.1.0 [2020-10-12T02:52:12.385Z] openstacksdk==0.50.0 [2020-10-12T02:52:12.385Z] os-client-config==2.1.0 [2020-10-12T02:52:12.385Z] os-service-types==1.7.0 [2020-10-12T02:52:12.385Z] osc-lib==2.2.1 [2020-10-12T02:52:12.385Z] oslo.config==8.3.2 [2020-10-12T02:52:12.385Z] oslo.context==3.1.1 [2020-10-12T02:52:12.385Z] oslo.i18n==5.0.1 [2020-10-12T02:52:12.385Z] oslo.log==4.4.0 [2020-10-12T02:52:12.385Z] oslo.serialization==4.0.1 [2020-10-12T02:52:12.385Z] oslo.utils==4.6.0 [2020-10-12T02:52:12.385Z] packaging==20.4 [2020-10-12T02:52:12.385Z] pbr==5.4.4 [2020-10-12T02:52:12.385Z] pluggy==0.13.1 [2020-10-12T02:52:12.385Z] prettytable==0.7.2 [2020-10-12T02:52:12.385Z] py==1.9.0 [2020-10-12T02:52:12.385Z] pyasn1==0.4.8 [2020-10-12T02:52:12.385Z] pyasn1-modules==0.2.8 [2020-10-12T02:52:12.385Z] pycparser==2.20 [2020-10-12T02:52:12.385Z] pygerrit2==2.0.10 [2020-10-12T02:52:12.385Z] PyGithub==1.46 [2020-10-12T02:52:12.385Z] pyinotify==0.9.6 [2020-10-12T02:52:12.385Z] PyJWT==1.7.1 [2020-10-12T02:52:12.385Z] pyparsing==2.4.7 [2020-10-12T02:52:12.385Z] pyperclip==1.8.1 [2020-10-12T02:52:12.385Z] pyroute2==0.4.13 [2020-10-12T02:52:12.385Z] pyrsistent==0.15.7 [2020-10-12T02:52:12.385Z] PySocks==1.6.8 [2020-10-12T02:52:12.385Z] python-cinderclient==7.2.0 [2020-10-12T02:52:12.385Z] python-dateutil==2.8.1 [2020-10-12T02:52:12.385Z] python-heatclient==2.2.1 [2020-10-12T02:52:12.385Z] python-jenkins==1.7.0 [2020-10-12T02:52:12.385Z] python-keystoneclient==4.1.1 [2020-10-12T02:52:12.385Z] python-magnumclient==3.2.1 [2020-10-12T02:52:12.385Z] python-novaclient==17.2.1 [2020-10-12T02:52:12.385Z] python-openstackclient==5.4.0 [2020-10-12T02:52:12.385Z] python-swiftclient==3.10.1 [2020-10-12T02:52:12.385Z] pytz==2020.1 [2020-10-12T02:52:12.385Z] PyYAML==5.3 [2020-10-12T02:52:12.385Z] requests==2.23.0 [2020-10-12T02:52:12.385Z] requests-oauthlib==1.3.0 [2020-10-12T02:52:12.385Z] requestsexceptions==1.4.0 [2020-10-12T02:52:12.385Z] rfc3986==1.4.0 [2020-10-12T02:52:12.385Z] rpm==4.11.3 [2020-10-12T02:52:12.385Z] rsa==4.0 [2020-10-12T02:52:12.385Z] ruamel.yaml==0.16.10 [2020-10-12T02:52:12.385Z] ruamel.yaml.clib==0.2.0 [2020-10-12T02:52:12.385Z] s3transfer==0.3.3 [2020-10-12T02:52:12.385Z] shade==1.27.2 [2020-10-12T02:52:12.385Z] simplejson==3.17.2 [2020-10-12T02:52:12.385Z] six==1.14.0 [2020-10-12T02:52:12.385Z] soupsieve==2.0 [2020-10-12T02:52:12.385Z] stevedore==3.2.2 [2020-10-12T02:52:12.385Z] tabulate==0.8.6 [2020-10-12T02:52:12.385Z] toml==0.10.0 [2020-10-12T02:52:12.385Z] tox==3.20.1 [2020-10-12T02:52:12.385Z] tqdm==4.43.0 [2020-10-12T02:52:12.385Z] urllib3==1.25.8 [2020-10-12T02:52:12.385Z] virtualenv==20.0.33 [2020-10-12T02:52:12.385Z] wcwidth==0.2.5 [2020-10-12T02:52:12.385Z] websocket-client==0.57.0 [2020-10-12T02:52:12.385Z] wrapt==1.12.1 [2020-10-12T02:52:12.385Z] xdg==3.0.2 [2020-10-12T02:52:12.385Z] xmltodict==0.12.0 [2020-10-12T02:52:12.385Z] yq==2.11.1 [2020-10-12T02:52:12.385Z] zipp==3.3.0 [2020-10-12T02:52:12.385Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:12.385Z] 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-12T02:52:14.316Z] Python 2.7.5 [2020-10-12T02:52:14.316Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-12T02:52:14.909Z] 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-12T02:52:14.909Z] ansible==2.9.7 [2020-10-12T02:52:14.909Z] Babel==0.9.6 [2020-10-12T02:52:14.909Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-12T02:52:14.909Z] beautifulsoup4==4.4.1 [2020-10-12T02:52:14.909Z] bodhi==2.11.0 [2020-10-12T02:52:14.909Z] bodhi-client==2.11.0 [2020-10-12T02:52:14.909Z] CCColUtils==1.4 [2020-10-12T02:52:14.909Z] cffi==1.6.0 [2020-10-12T02:52:14.909Z] chardet==2.2.1 [2020-10-12T02:52:14.909Z] click==6.7 [2020-10-12T02:52:14.909Z] cloud-init==18.5 [2020-10-12T02:52:14.909Z] configobj==4.7.2 [2020-10-12T02:52:14.909Z] cryptography==1.7.2 [2020-10-12T02:52:14.909Z] decorator==3.4.0 [2020-10-12T02:52:14.909Z] distro==1.2.0 [2020-10-12T02:52:14.909Z] enum34==1.0.4 [2020-10-12T02:52:14.909Z] fedpkg==1.38 [2020-10-12T02:52:14.909Z] futures==3.1.1 [2020-10-12T02:52:14.909Z] gitdb==0.6.4 [2020-10-12T02:52:14.909Z] GitPython==1.0.1 [2020-10-12T02:52:14.909Z] html5lib==0.999 [2020-10-12T02:52:14.909Z] httplib2==0.9.2 [2020-10-12T02:52:14.909Z] idna==2.4 [2020-10-12T02:52:14.909Z] iniparse==0.4 [2020-10-12T02:52:14.909Z] ipaddress==1.0.16 [2020-10-12T02:52:14.909Z] IPy==0.75 [2020-10-12T02:52:14.909Z] javapackages==1.0.0 [2020-10-12T02:52:14.909Z] Jinja2==2.7.2 [2020-10-12T02:52:14.909Z] jmespath==0.9.4 [2020-10-12T02:52:14.909Z] jsonpatch==1.2 [2020-10-12T02:52:14.909Z] jsonpointer==1.9 [2020-10-12T02:52:14.909Z] kerberos==1.1 [2020-10-12T02:52:14.909Z] kitchen==1.1.1 [2020-10-12T02:52:14.909Z] langtable==0.0.31 [2020-10-12T02:52:14.909Z] lockfile==0.9.1 [2020-10-12T02:52:14.909Z] lxml==3.2.1 [2020-10-12T02:52:14.909Z] MarkupSafe==0.11 [2020-10-12T02:52:14.909Z] munch==2.0.2 [2020-10-12T02:52:14.909Z] offtrac==0.1.0 [2020-10-12T02:52:14.909Z] openidc-client==0.6.0 [2020-10-12T02:52:14.909Z] packagedb-cli==2.14.1 [2020-10-12T02:52:14.909Z] paramiko==2.1.1 [2020-10-12T02:52:14.909Z] perf==0.1 [2020-10-12T02:52:14.909Z] ply==3.4 [2020-10-12T02:52:14.909Z] policycoreutils-default-encoding==0.1 [2020-10-12T02:52:14.909Z] prettytable==0.7.2 [2020-10-12T02:52:14.909Z] pyasn1==0.1.9 [2020-10-12T02:52:14.909Z] pycparser==2.14 [2020-10-12T02:52:14.909Z] pycurl==7.19.0 [2020-10-12T02:52:14.909Z] pygobject==3.22.0 [2020-10-12T02:52:14.909Z] pygpgme==0.3 [2020-10-12T02:52:14.909Z] pyliblzma==0.5.3 [2020-10-12T02:52:14.909Z] pyOpenSSL==0.13.1 [2020-10-12T02:52:14.909Z] pyparsing==1.5.6 [2020-10-12T02:52:14.909Z] pyserial==2.6 [2020-10-12T02:52:14.909Z] python-augeas==0.5.0 [2020-10-12T02:52:14.909Z] python-bugzilla==2.3.0 [2020-10-12T02:52:14.909Z] python-dateutil==1.5 [2020-10-12T02:52:14.909Z] python-fedora==0.10.0 [2020-10-12T02:52:14.909Z] python-linux-procfs==0.4.9 [2020-10-12T02:52:14.909Z] python-yubico==1.2.3 [2020-10-12T02:52:14.909Z] pyudev==0.15 [2020-10-12T02:52:14.909Z] pyusb==1.0.0b1 [2020-10-12T02:52:14.909Z] pyxattr==0.5.1 [2020-10-12T02:52:14.909Z] PyYAML==3.10 [2020-10-12T02:52:14.909Z] requests==2.6.0 [2020-10-12T02:52:14.909Z] requests-kerberos==0.7.0 [2020-10-12T02:52:14.909Z] rpkg==1.60 [2020-10-12T02:52:14.909Z] schedutils==0.4 [2020-10-12T02:52:14.909Z] seobject==0.1 [2020-10-12T02:52:14.909Z] sepolicy==1.1 [2020-10-12T02:52:14.909Z] six==1.9.0 [2020-10-12T02:52:14.909Z] smmap==0.9.0 [2020-10-12T02:52:14.909Z] urlgrabber==3.10 [2020-10-12T02:52:14.909Z] urllib3==1.10.2 [2020-10-12T02:52:14.909Z] virtualenv==15.1.0 [2020-10-12T02:52:14.909Z] yum-langpacks==0.4.2 [2020-10-12T02:52:14.909Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-12T02:52:14.931Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:52:15.248Z] ---> sudo-logs.sh [2020-10-12T02:52:15.249Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-12T02:52:15.532Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:52:15.847Z] ---> job-cost.sh [2020-10-12T02:52:15.847Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-glyR [2020-10-12T02:52:28.148Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:28.148Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:28.148Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:28.417Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:28.417Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:28.417Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:28.700Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:28.700Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:29.002Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:29.276Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:29.276Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:29.542Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:29.542Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:34.889Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-12T02:53:07.154Z] lf-activate-venv(): INFO: Adding /tmp/venv-glyR/bin to PATH [2020-10-12T02:53:07.155Z] INFO: No Stack... [2020-10-12T02:53:07.155Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-12T02:53:07.155Z] INFO: Archiving Costs [Pipeline] echo [2020-10-12T02:53:07.174Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:53:07.493Z] ---> logs-deploy.sh [2020-10-12T02:53:07.493Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/4 [2020-10-12T02:53:07.493Z] INFO: archiving workspace using pattern(s): [2020-10-12T02:53:09.463Z] Archives upload complete. [2020-10-12T02:53:09.463Z] INFO: archiving logs to Nexus