Pull request #603 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 cb4f0b6383920d77abe7bdff2836b6cd1ab44874+51b10ba24d09b5e22132647652f16c288a0af487 (42389ad941111594ac8b1e3eb29c30b8e286223c) 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 Executor slot already in use; ‘prd-centos7-docker-4c-2g-3640’ is offline; ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-3651 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [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-603 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit cb4f0b6383920d77abe7bdff2836b6cd1ab44874 Merge succeeded, producing cb4f0b6383920d77abe7bdff2836b6cd1ab44874 Checking out Revision cb4f0b6383920d77abe7bdff2836b6cd1ab44874 (PR-603) > git config core.sparsecheckout # timeout=10 > git checkout -f cb4f0b6383920d77abe7bdff2836b6cd1ab44874 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb4f0b6383920d77abe7bdff2836b6cd1ab44874 # timeout=10 Commit message: "Merge branch 'master' into issue-529-discovery" > git rev-list --no-walk d2526ee99eeb2e44a435a2469d23461f5047189f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T05:18:46.968Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T05:18:47.205Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T05:18:47.348Z] ========================================================= [2020-10-06T05:18:47.348Z] EdgeX Global Pipelines Version Info [2020-10-06T05:18:47.348Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:18:48.798Z] ------------------- [2020-10-06T05:18:48.798Z] stable info: [2020-10-06T05:18:48.798Z] ------------------- [2020-10-06T05:18:48.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T05:18:48.798Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T05:18:48.798Z] Message: update stable to v1.0.131 [2020-10-06T05:18:49.743Z] ------------------- [2020-10-06T05:18:49.743Z] experimental info: [2020-10-06T05:18:49.743Z] ------------------- [2020-10-06T05:18:49.743Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T05:18:49.743Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T05:18:49.743Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T05:18:50.092Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T05:18:50.207Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T05:18:50.303Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T05:18:50.440Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T05:18:50.559Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T05:18:50.648Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T05:18:50.795Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T05:18:50.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T05:18:50.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T05:18:51.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T05:18:51.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T05:18:51.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T05:18:51.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T05:18:51.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T05:18:51.753Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T05:18:51.838Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T05:18:51.925Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T05:18:52.026Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T05:18:52.145Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T05:18:52.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T05:18:52.388Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-06T05:18:52.484Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-06T05:18:52.631Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T05:18:52.739Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T05:18:52.849Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T05:18:52.940Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-603 [Pipeline] echo [2020-10-06T05:18:53.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-603 [Pipeline] echo [2020-10-06T05:18:53.162Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-603 [Pipeline] echo [2020-10-06T05:18:53.292Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb4f0b6383920d77abe7bdff2836b6cd1ab44874 [Pipeline] echo [2020-10-06T05:18:53.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb4f0b6 [Pipeline] echo [2020-10-06T05:18:53.563Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T05:18:54.199Z] + git log --format=format:%s -1 cb4f0b6383920d77abe7bdff2836b6cd1ab44874 [Pipeline] echo [2020-10-06T05:18:54.274Z] GIT_COMMIT: cb4f0b6383920d77abe7bdff2836b6cd1ab44874, Commit Message: Merge branch 'master' into issue-529-discovery [Pipeline] echo [2020-10-06T05:18:54.324Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:18:54.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T05:18:55.159Z] [2020-10-06T05:18:55.159Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:18:55.509Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T05:18:55.509Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T05:18:55.509Z] 31603596830f: Pulling fs layer [2020-10-06T05:18:55.509Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T05:18:55.509Z] 6ca5941a6612: Pulling fs layer [2020-10-06T05:18:55.509Z] ecc8261a40a4: Pulling fs layer [2020-10-06T05:18:55.509Z] ecc8261a40a4: Waiting [2020-10-06T05:18:55.509Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T05:18:55.509Z] 2a8b12db71e7: Download complete [2020-10-06T05:18:55.781Z] 31603596830f: Download complete [2020-10-06T05:18:55.781Z] ecc8261a40a4: Verifying Checksum [2020-10-06T05:18:55.781Z] ecc8261a40a4: Download complete [2020-10-06T05:18:56.056Z] 6ca5941a6612: Verifying Checksum [2020-10-06T05:18:56.056Z] 31603596830f: Pull complete [2020-10-06T05:18:56.056Z] 2a8b12db71e7: Pull complete [2020-10-06T05:18:57.012Z] 6ca5941a6612: Pull complete [2020-10-06T05:18:57.276Z] ecc8261a40a4: Pull complete [2020-10-06T05:18:57.276Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T05:18:57.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T05:18:57.276Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T05:18:57.387Z] prd-centos7-docker-4c-2g-3651 does not seem to be running inside a container [2020-10-06T05:18:57.445Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-603 -v /w/workspace/dgexfoundry_device-sdk-go_PR-603:/w/workspace/dgexfoundry_device-sdk-go_PR-603:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-603@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-06T05:18:59.582Z] $ docker top ca3af7139048a53b84ee65e25871c549bdc58ba0c1a9183637e963b3f727f388 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T05:18:59.891Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T05:18:59.891Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T05:19:00.091Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T05:19:00.096Z] $ docker exec ca3af7139048a53b84ee65e25871c549bdc58ba0c1a9183637e963b3f727f388 ssh-agent [2020-10-06T05:19:00.255Z] SSH_AUTH_SOCK=/tmp/ssh-OhcuxiiM7JUL/agent.11 [2020-10-06T05:19:00.255Z] SSH_AGENT_PID=16 [2020-10-06T05:19:00.267Z] Running ssh-add (command line suppressed) [2020-10-06T05:19:00.386Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_7117789617530302954.key (/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_7117789617530302954.key) [2020-10-06T05:19:00.435Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T05:19:00.771Z] + git describe --exact-match --tags HEAD [2020-10-06T05:19:00.771Z] fatal: no tag exactly matches 'cb4f0b6383920d77abe7bdff2836b6cd1ab44874' [Pipeline] } [2020-10-06T05:19:00.872Z] $ docker exec --env ******** --env ******** ca3af7139048a53b84ee65e25871c549bdc58ba0c1a9183637e963b3f727f388 ssh-agent -k [2020-10-06T05:19:00.997Z] unset SSH_AUTH_SOCK; [2020-10-06T05:19:00.998Z] unset SSH_AGENT_PID; [2020-10-06T05:19:00.998Z] echo Agent pid 16 killed; [2020-10-06T05:19:01.041Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T05:19:01.383Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T05:19:01.383Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T05:19:01.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T05:19:01.486Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T05:19:01.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T05:19:01.650Z] $ docker exec ca3af7139048a53b84ee65e25871c549bdc58ba0c1a9183637e963b3f727f388 ssh-agent [2020-10-06T05:19:01.826Z] SSH_AUTH_SOCK=/tmp/ssh-EVgYKFGyKBvC/agent.47 [2020-10-06T05:19:01.827Z] SSH_AGENT_PID=52 [2020-10-06T05:19:01.833Z] Running ssh-add (command line suppressed) [2020-10-06T05:19:01.955Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_8325684460229181110.key (/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/private_key_8325684460229181110.key) [2020-10-06T05:19:01.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T05:19:02.339Z] + git semver init [2020-10-06T05:19:02.339Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T05:19:02.339Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-603/.git [2020-10-06T05:19:02.339Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-603 [2020-10-06T05:19:02.339Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T05:19:02.339Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T05:19:02.339Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T05:19:02.339Z] # $SEMVER_BRANCH = PR-603 [2020-10-06T05:19:02.339Z] # $SEMVER_TEMP = /tmp/semver-009506993 [2020-10-06T05:19:02.339Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T05:19:03.283Z] # '/tmp/semver-009506993' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-603/.semver' [2020-10-06T05:19:03.283Z] # -> Force: false [2020-10-06T05:19:03.283Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-603/.semver [Pipeline] } [2020-10-06T05:19:03.296Z] $ docker exec --env ******** --env ******** ca3af7139048a53b84ee65e25871c549bdc58ba0c1a9183637e963b3f727f388 ssh-agent -k [2020-10-06T05:19:03.410Z] unset SSH_AUTH_SOCK; [2020-10-06T05:19:03.410Z] unset SSH_AGENT_PID; [2020-10-06T05:19:03.410Z] echo Agent pid 52 killed; [2020-10-06T05:19:03.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T05:19:03.930Z] + git semver [Pipeline] } [2020-10-06T05:19:03.947Z] $ docker stop --time=1 ca3af7139048a53b84ee65e25871c549bdc58ba0c1a9183637e963b3f727f388 [2020-10-06T05:19:05.323Z] $ docker rm -f ca3af7139048a53b84ee65e25871c549bdc58ba0c1a9183637e963b3f727f388 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T05:19:06.251Z] Stashed 44 file(s) [Pipeline] echo [2020-10-06T05:19:06.254Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T05:19:06.489Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-06T05:19:21.960Z] Still waiting to schedule task [2020-10-06T05:19:21.960Z] ‘prd-centos7-docker-4c-2g-3640’ is offline; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-3653’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3652’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-06T05:19:21.962Z] Still waiting to schedule task [2020-10-06T05:19:21.962Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3652’ is offline [2020-10-06T05:22:11.999Z] Running on prd-centos7-docker-4c-2g-3657 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [Pipeline] { [Pipeline] ws [2020-10-06T05:22:12.061Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-06T05:22:18.254Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3663 in /w/workspace/dgexfoundry_device-sdk-go_PR-603 [Pipeline] { [Pipeline] ws [2020-10-06T05:22:18.338Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-06T05:22:23.583Z] using credential edgex-jenkins-ssh [2020-10-06T05:22:23.640Z] Cloning the remote Git repository [2020-10-06T05:22:24.181Z] using credential edgex-jenkins-ssh [2020-10-06T05:22:24.254Z] Cloning the remote Git repository [2020-10-06T05:22:23.679Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:23.787Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-06T05:22:23.864Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:23.865Z] > git --version # timeout=10 [2020-10-06T05:22:23.890Z] > git --version # 'git version 2.17.1' [2020-10-06T05:22:23.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:23.951Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:22:23.700Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:24.006Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-06T05:22:24.360Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:24.361Z] > git --version # timeout=10 [2020-10-06T05:22:25.714Z] Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit cb4f0b6383920d77abe7bdff2836b6cd1ab44874 [2020-10-06T05:22:25.934Z] Merge succeeded, producing cb4f0b6383920d77abe7bdff2836b6cd1ab44874 [2020-10-06T05:22:25.935Z] Checking out Revision cb4f0b6383920d77abe7bdff2836b6cd1ab44874 (PR-603) [2020-10-06T05:22:25.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:22:25.036Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:22:25.065Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:22:25.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:25.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:25.113Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T05:22:25.708Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:22:25.722Z] > git checkout -f cb4f0b6383920d77abe7bdff2836b6cd1ab44874 # timeout=10 [2020-10-06T05:22:25.829Z] > git remote # timeout=10 [2020-10-06T05:22:25.846Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T05:22:25.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:25.871Z] > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 [2020-10-06T05:22:25.895Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T05:22:25.916Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:22:24.517Z] > git --version # 'git version 2.16.5' [2020-10-06T05:22:24.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:24.801Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:22:25.925Z] > git checkout -f cb4f0b6383920d77abe7bdff2836b6cd1ab44874 # timeout=10 [2020-10-06T05:22:27.340Z] Merging remotes/origin/master commit 51b10ba24d09b5e22132647652f16c288a0af487 into PR head commit cb4f0b6383920d77abe7bdff2836b6cd1ab44874 [2020-10-06T05:22:27.814Z] Merge succeeded, producing cb4f0b6383920d77abe7bdff2836b6cd1ab44874 [2020-10-06T05:22:27.815Z] Checking out Revision cb4f0b6383920d77abe7bdff2836b6cd1ab44874 (PR-603) [2020-10-06T05:22:26.052Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:22:26.086Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T05:22:26.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T05:22:26.158Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T05:22:26.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:26.170Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/603/head:refs/remotes/origin/PR-603 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T05:22:26.810Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:22:26.898Z] > git checkout -f cb4f0b6383920d77abe7bdff2836b6cd1ab44874 # timeout=10 [2020-10-06T05:22:27.074Z] > git remote # timeout=10 [2020-10-06T05:22:27.140Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T05:22:27.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T05:22:27.217Z] > git merge 51b10ba24d09b5e22132647652f16c288a0af487 # timeout=10 [2020-10-06T05:22:27.284Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T05:22:27.313Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T05:22:27.339Z] > git checkout -f cb4f0b6383920d77abe7bdff2836b6cd1ab44874 # timeout=10 [2020-10-06T05:22:30.362Z] Commit message: "Merge branch 'master' into issue-529-discovery" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T05:22:31.561Z] ========================================================= [2020-10-06T05:22:31.561Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T05:22:31.561Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:22:31.688Z] Commit message: "Merge branch 'master' into issue-529-discovery" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-06T05:22:32.600Z] + 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 . [Pipeline] echo [2020-10-06T05:22:32.969Z] ========================================================= [2020-10-06T05:22:32.969Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T05:22:32.969Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:22:33.610Z] Sending build context to Docker daemon 3.535MB [2020-10-06T05:22:33.610Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T05:22:33.610Z] Step 2/8 : FROM ${BASE} [2020-10-06T05:22:33.885Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T05:22:33.885Z] b538f80385f9: Pulling fs layer [2020-10-06T05:22:33.885Z] 74f711af9a0d: Pulling fs layer [2020-10-06T05:22:33.885Z] 99f96fe45779: Pulling fs layer [2020-10-06T05:22:33.885Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T05:22:33.885Z] 45590311c82a: Pulling fs layer [2020-10-06T05:22:33.885Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T05:22:33.885Z] 209524e5b208: Pulling fs layer [2020-10-06T05:22:33.885Z] 45590311c82a: Waiting [2020-10-06T05:22:33.885Z] 69ca0ff8b7b3: Waiting [2020-10-06T05:22:33.885Z] 209524e5b208: Waiting [2020-10-06T05:22:33.885Z] 8529a6b9a6be: Waiting [2020-10-06T05:22:33.885Z] 99f96fe45779: Download complete [2020-10-06T05:22:33.885Z] 74f711af9a0d: Verifying Checksum [2020-10-06T05:22:33.885Z] 74f711af9a0d: Download complete [2020-10-06T05:22:33.885Z] 45590311c82a: Verifying Checksum [2020-10-06T05:22:33.885Z] 45590311c82a: Download complete [2020-10-06T05:22:33.885Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-06T05:22:33.885Z] 69ca0ff8b7b3: Download complete [2020-10-06T05:22:33.885Z] b538f80385f9: Verifying Checksum [2020-10-06T05:22:33.885Z] b538f80385f9: Download complete [2020-10-06T05:22:33.897Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-06T05:22:34.489Z] Sending build context to Docker daemon 3.535MB [2020-10-06T05:22:34.489Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T05:22:34.489Z] Step 2/8 : FROM ${BASE} [2020-10-06T05:22:34.763Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T05:22:34.763Z] df20fa9351a1: Pulling fs layer [2020-10-06T05:22:34.763Z] ed8968b2872e: Pulling fs layer [2020-10-06T05:22:34.763Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T05:22:34.763Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T05:22:34.763Z] e73272ec9a57: Pulling fs layer [2020-10-06T05:22:34.763Z] 1e910a182e73: Pulling fs layer [2020-10-06T05:22:34.763Z] 4e634b169226: Pulling fs layer [2020-10-06T05:22:34.763Z] e871e8e8d7a9: Waiting [2020-10-06T05:22:34.763Z] e73272ec9a57: Waiting [2020-10-06T05:22:34.763Z] 1e910a182e73: Waiting [2020-10-06T05:22:34.763Z] 4e634b169226: Waiting [2020-10-06T05:22:34.763Z] a92cc7c5fd73: Download complete [2020-10-06T05:22:34.763Z] ed8968b2872e: Verifying Checksum [2020-10-06T05:22:34.763Z] ed8968b2872e: Download complete [2020-10-06T05:22:34.763Z] e73272ec9a57: Verifying Checksum [2020-10-06T05:22:34.763Z] e73272ec9a57: Download complete [2020-10-06T05:22:34.884Z] b538f80385f9: Pull complete [2020-10-06T05:22:35.160Z] 74f711af9a0d: Pull complete [2020-10-06T05:22:35.230Z] 1e910a182e73: Verifying Checksum [2020-10-06T05:22:35.230Z] 1e910a182e73: Download complete [2020-10-06T05:22:35.766Z] 99f96fe45779: Pull complete [2020-10-06T05:22:35.866Z] df20fa9351a1: Verifying Checksum [2020-10-06T05:22:35.866Z] df20fa9351a1: Download complete [2020-10-06T05:22:36.756Z] 209524e5b208: Verifying Checksum [2020-10-06T05:22:36.756Z] 209524e5b208: Download complete [2020-10-06T05:22:37.019Z] df20fa9351a1: Pull complete [2020-10-06T05:22:37.019Z] ed8968b2872e: Pull complete [2020-10-06T05:22:37.317Z] a92cc7c5fd73: Pull complete [2020-10-06T05:22:40.141Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T05:22:40.141Z] 8529a6b9a6be: Download complete [2020-10-06T05:22:42.880Z] 4e634b169226: Verifying Checksum [2020-10-06T05:22:42.880Z] 4e634b169226: Download complete [2020-10-06T05:22:47.355Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T05:22:47.355Z] e871e8e8d7a9: Download complete [2020-10-06T05:22:50.304Z] 8529a6b9a6be: Pull complete [2020-10-06T05:22:50.304Z] 45590311c82a: Pull complete [2020-10-06T05:22:50.304Z] 69ca0ff8b7b3: Pull complete [2020-10-06T05:22:52.945Z] 209524e5b208: Pull complete [2020-10-06T05:22:52.945Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T05:22:52.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T05:22:52.945Z] ---> 5bddaf1c2fca [2020-10-06T05:22:52.945Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:22:55.577Z] ---> Running in 8e4c7f659c27 [2020-10-06T05:22:56.181Z] Removing intermediate container 8e4c7f659c27 [2020-10-06T05:22:56.182Z] ---> 3121013b2e4f [2020-10-06T05:22:56.182Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:22:56.182Z] ---> Running in 31169e93861d [2020-10-06T05:22:58.084Z] e871e8e8d7a9: Pull complete [2020-10-06T05:22:58.084Z] e73272ec9a57: Pull complete [2020-10-06T05:22:58.084Z] 1e910a182e73: Pull complete [2020-10-06T05:22:58.865Z] Removing intermediate container 31169e93861d [2020-10-06T05:22:58.865Z] ---> a0d04685e0ec [2020-10-06T05:22:58.865Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T05:22:58.865Z] ---> Running in cfaa921e46f0 [2020-10-06T05:23:00.308Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T05:23:02.298Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T05:23:04.925Z] OK: 142 MiB in 39 packages [2020-10-06T05:23:05.001Z] 4e634b169226: Pull complete [2020-10-06T05:23:05.001Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T05:23:05.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T05:23:05.001Z] ---> f7629b54cfaa [2020-10-06T05:23:05.001Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:23:05.001Z] ---> Running in 21eeb8dc1608 [2020-10-06T05:23:05.001Z] Removing intermediate container 21eeb8dc1608 [2020-10-06T05:23:05.001Z] ---> 0684c1147b50 [2020-10-06T05:23:05.001Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:23:05.001Z] ---> Running in 176a4f4055eb [2020-10-06T05:23:05.914Z] Removing intermediate container cfaa921e46f0 [2020-10-06T05:23:05.914Z] ---> 97f152e895fa [2020-10-06T05:23:05.914Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T05:23:06.194Z] ---> Running in 4c3e06da9a75 [2020-10-06T05:23:06.471Z] Removing intermediate container 4c3e06da9a75 [2020-10-06T05:23:06.471Z] ---> a026fee548e7 [2020-10-06T05:23:06.471Z] Step 7/8 : COPY . . [2020-10-06T05:23:07.789Z] Removing intermediate container 176a4f4055eb [2020-10-06T05:23:07.789Z] ---> 10252ba7b2c1 [2020-10-06T05:23:07.789Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T05:23:07.789Z] ---> Running in 08d0b3aa94e0 [2020-10-06T05:23:07.922Z] ---> 4009ecf140ba [2020-10-06T05:23:07.922Z] Step 8/8 : RUN go mod download [2020-10-06T05:23:08.199Z] ---> Running in 39bb99909369 [2020-10-06T05:23:08.419Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T05:23:10.440Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T05:23:11.900Z] OK: 166 MiB in 39 packages [2020-10-06T05:23:12.182Z] Removing intermediate container 08d0b3aa94e0 [2020-10-06T05:23:12.182Z] ---> d2ec9041966b [2020-10-06T05:23:12.182Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T05:23:12.182Z] ---> Running in 03cb07183bf5 [2020-10-06T05:23:12.496Z] Removing intermediate container 03cb07183bf5 [2020-10-06T05:23:12.496Z] ---> aad78534a7a3 [2020-10-06T05:23:12.496Z] Step 7/8 : COPY . . [2020-10-06T05:23:14.494Z] ---> 8a895fba46ef [2020-10-06T05:23:14.494Z] Step 8/8 : RUN go mod download [2020-10-06T05:23:14.494Z] ---> Running in f2d32f464644 [2020-10-06T05:23:30.388Z] Removing intermediate container 39bb99909369 [2020-10-06T05:23:30.388Z] ---> d226574ba85b [2020-10-06T05:23:30.388Z] Successfully built d226574ba85b [2020-10-06T05:23:30.388Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:23:30.781Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T05:23:30.781Z] . [Pipeline] withDockerContainer [2020-10-06T05:23:31.017Z] prd-ubuntu18.04-docker-arm64-4c-16g-3663 does not seem to be running inside a container [2020-10-06T05:23:31.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-06T05:23:32.946Z] $ docker top 97dfed05a02896f5da737ce8fa4ce5abea079e7f8df68adcf42595e549352484 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:23:34.381Z] + go version [2020-10-06T05:23:34.381Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T05:23:34.398Z] $ docker stop --time=1 97dfed05a02896f5da737ce8fa4ce5abea079e7f8df68adcf42595e549352484 [2020-10-06T05:23:36.266Z] $ docker rm -f 97dfed05a02896f5da737ce8fa4ce5abea079e7f8df68adcf42595e549352484 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:23:37.297Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T05:23:37.297Z] . [Pipeline] withDockerContainer [2020-10-06T05:23:37.543Z] prd-ubuntu18.04-docker-arm64-4c-16g-3663 does not seem to be running inside a container [2020-10-06T05:23:37.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-06T05:23:39.364Z] $ docker top d3984e938025452c5f4ff9c179634b5c561fbd99ea4a8d7f67f7a09b167df9d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:23:40.737Z] + make test [2020-10-06T05:23:40.737Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T05:23:41.537Z] Removing intermediate container f2d32f464644 [2020-10-06T05:23:41.537Z] ---> ac8f98cdc8bf [2020-10-06T05:23:41.537Z] Successfully built ac8f98cdc8bf [2020-10-06T05:23:41.537Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:23:42.767Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T05:23:42.767Z] . [Pipeline] withDockerContainer [2020-10-06T05:23:43.133Z] prd-centos7-docker-4c-2g-3657 does not seem to be running inside a container [2020-10-06T05:23:43.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T05:23:45.013Z] $ docker top 897220874be78d461126659a028ad13076307d6b3da0da2e71aa7c609a373103 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:23:46.024Z] + go version [2020-10-06T05:23:46.024Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T05:23:46.084Z] $ docker stop --time=1 897220874be78d461126659a028ad13076307d6b3da0da2e71aa7c609a373103 [2020-10-06T05:23:47.772Z] $ docker rm -f 897220874be78d461126659a028ad13076307d6b3da0da2e71aa7c609a373103 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:23:48.966Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T05:23:48.966Z] . [Pipeline] withDockerContainer [2020-10-06T05:23:49.180Z] prd-centos7-docker-4c-2g-3657 does not seem to be running inside a container [2020-10-06T05:23:49.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T05:23:50.648Z] $ docker top 33ef062f862291c3bf35d4accec2b929260a9ac72e10b83aa27ae090c832e702 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:23:51.402Z] + make test [2020-10-06T05:23:51.402Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T05:24:02.924Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T05:24:06.939Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T05:24:34.595Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T05:24:34.595Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T05:24:34.595Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T05:24:34.595Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.126s coverage: 21.6% of statements [2020-10-06T05:24:38.711Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.952s coverage: 97.1% of statements [2020-10-06T05:24:49.931Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T05:24:49.931Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T05:24:49.931Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T05:24:49.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.148s coverage: 21.6% of statements [2020-10-06T05:24:49.931Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.141s coverage: 97.1% of statements [2020-10-06T05:25:05.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.125s coverage: 9.4% of statements [2020-10-06T05:25:05.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.252s coverage: 21.9% of statements [2020-10-06T05:25:05.891Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T05:25:05.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.475s coverage: 40.3% of statements [2020-10-06T05:25:05.891Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T05:25:05.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.564s coverage: 65.4% of statements [2020-10-06T05:25:05.891Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T05:25:05.891Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T05:25:05.891Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T05:25:05.891Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T05:25:05.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.102s coverage: 52.6% of statements [2020-10-06T05:25:05.891Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T05:25:05.891Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.724s coverage: 68.9% of statements [2020-10-06T05:25:05.891Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T05:25:05.891Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T05:25:05.891Z] GO111MODULE=on go vet ./... [2020-10-06T05:25:16.752Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.187s coverage: 9.4% of statements [2020-10-06T05:25:16.752Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements [2020-10-06T05:25:16.752Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T05:25:16.752Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.594s coverage: 40.3% of statements [2020-10-06T05:25:16.752Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T05:25:16.752Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.826s coverage: 65.4% of statements [2020-10-06T05:25:16.752Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T05:25:16.752Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T05:25:16.752Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T05:25:16.752Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T05:25:16.752Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.178s coverage: 52.6% of statements [2020-10-06T05:25:16.752Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T05:25:16.752Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.880s coverage: 68.9% of statements [2020-10-06T05:25:16.752Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T05:25:16.752Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T05:25:17.025Z] GO111MODULE=on go vet ./... [2020-10-06T05:25:28.728Z] gofmt -l . [2020-10-06T05:25:28.728Z] [ "`gofmt -l .`" = "" ] [2020-10-06T05:25:28.728Z] ./bin/test-attribution-txt.sh [2020-10-06T05:25:28.728Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T05:25:29.567Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T05:25:29.598Z] $ docker stop --time=1 33ef062f862291c3bf35d4accec2b929260a9ac72e10b83aa27ae090c832e702 [2020-10-06T05:25:31.790Z] $ docker rm -f 33ef062f862291c3bf35d4accec2b929260a9ac72e10b83aa27ae090c832e702 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-06T05:25:33.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T05:25:34.000Z] + ls -al . [2020-10-06T05:25:34.000Z] total 192 [2020-10-06T05:25:34.000Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 05:25 . [2020-10-06T05:25:34.000Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 05:22 .. [2020-10-06T05:25:34.000Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 05:22 bin [2020-10-06T05:25:34.000Z] -rw-r--r--. 1 jenkins jenkins 111041 Oct 6 05:25 coverage.out [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 05:22 Dockerfile.build [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 05:22 .dockerignore [2020-10-06T05:25:34.000Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 05:22 example [2020-10-06T05:25:34.000Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 05:22 .git [2020-10-06T05:25:34.000Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 05:22 .github [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 05:22 .gitignore [2020-10-06T05:25:34.000Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 05:25 go.mod [2020-10-06T05:25:34.000Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 6 05:25 go.sum [2020-10-06T05:25:34.000Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 05:22 internal [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 05:22 Jenkinsfile [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 05:22 LICENSE [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 05:22 Makefile [2020-10-06T05:25:34.000Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 05:22 openapi [2020-10-06T05:25:34.000Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 05:22 pkg [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 05:22 README.md [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 05:22 RELEASE-NOTES.txt [2020-10-06T05:25:34.000Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 05:22 .semver [2020-10-06T05:25:34.000Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 05:22 snap [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 05:19 VERSION [2020-10-06T05:25:34.000Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 05:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:25:34.450Z] + 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=cb4f0b6383920d77abe7bdff2836b6cd1ab44874 --label arch=amd64 --label version=0.0.0 . [2020-10-06T05:25:34.755Z] Sending build context to Docker daemon 3.647MB [2020-10-06T05:25:34.755Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T05:25:34.755Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T05:25:34.755Z] ---> ac8f98cdc8bf [2020-10-06T05:25:34.755Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T05:25:35.415Z] ---> Running in 1d688e877687 [2020-10-06T05:25:35.415Z] Removing intermediate container 1d688e877687 [2020-10-06T05:25:35.415Z] ---> 811b18d89bf5 [2020-10-06T05:25:35.415Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T05:25:35.772Z] ---> Running in ef9564ed93c0 [2020-10-06T05:25:35.772Z] Removing intermediate container ef9564ed93c0 [2020-10-06T05:25:35.772Z] ---> f6961b977de9 [2020-10-06T05:25:35.772Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:25:36.080Z] ---> Running in 03ce60b57a7e [2020-10-06T05:25:36.414Z] Removing intermediate container 03ce60b57a7e [2020-10-06T05:25:36.414Z] ---> cbb133a8610b [2020-10-06T05:25:36.414Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:25:36.414Z] ---> Running in 9c79c0bf04fe [2020-10-06T05:25:38.546Z] Removing intermediate container 9c79c0bf04fe [2020-10-06T05:25:38.546Z] ---> b7d601e823bc [2020-10-06T05:25:38.546Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T05:25:38.546Z] ---> Running in 25f212e11eb0 [2020-10-06T05:25:39.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T05:25:40.266Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T05:25:41.316Z] OK: 166 MiB in 39 packages [2020-10-06T05:25:42.387Z] Removing intermediate container 25f212e11eb0 [2020-10-06T05:25:42.387Z] ---> 007fba3699e0 [2020-10-06T05:25:42.387Z] Step 8/24 : COPY . . [2020-10-06T05:25:45.144Z] ---> 89eebef2dc02 [2020-10-06T05:25:45.144Z] Step 9/24 : RUN ${MAKE} [2020-10-06T05:25:45.144Z] ---> Running in c371bb33a62d [2020-10-06T05:25:45.776Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-06T05:25:49.415Z] gofmt -l . [2020-10-06T05:25:49.415Z] [ "`gofmt -l .`" = "" ] [2020-10-06T05:25:49.415Z] ./bin/test-attribution-txt.sh [2020-10-06T05:25:49.415Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T05:25:49.485Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T05:25:50.550Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T05:25:50.561Z] $ docker stop --time=1 d3984e938025452c5f4ff9c179634b5c561fbd99ea4a8d7f67f7a09b167df9d9 [2020-10-06T05:25:52.799Z] $ docker rm -f d3984e938025452c5f4ff9c179634b5c561fbd99ea4a8d7f67f7a09b167df9d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T05:25:54.326Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T05:25:54.697Z] + ls -al . [2020-10-06T05:25:54.697Z] total 232 [2020-10-06T05:25:54.697Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 05:25 . [2020-10-06T05:25:54.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 .. [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 05:22 .dockerignore [2020-10-06T05:25:54.697Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 05:22 .git [2020-10-06T05:25:54.697Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:22 .github [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 05:22 .gitignore [2020-10-06T05:25:54.697Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 05:22 .semver [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 05:22 Dockerfile.build [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 05:22 Jenkinsfile [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 05:22 LICENSE [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 05:22 Makefile [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 05:22 README.md [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 05:22 RELEASE-NOTES.txt [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 05:19 VERSION [2020-10-06T05:25:54.697Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 05:22 bin [2020-10-06T05:25:54.697Z] -rw-r--r-- 1 jenkins jenkins 111041 Oct 6 05:25 coverage.out [2020-10-06T05:25:54.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 example [2020-10-06T05:25:54.697Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 05:25 go.mod [2020-10-06T05:25:54.697Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 6 05:25 go.sum [2020-10-06T05:25:54.697Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 05:22 internal [2020-10-06T05:25:54.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 openapi [2020-10-06T05:25:54.697Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 05:22 pkg [2020-10-06T05:25:54.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 05:22 snap [2020-10-06T05:25:54.697Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 05:22 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:25:55.107Z] + 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=cb4f0b6383920d77abe7bdff2836b6cd1ab44874 --label arch=arm64 --label version=0.0.0 . [2020-10-06T05:25:55.719Z] Sending build context to Docker daemon 3.647MB [2020-10-06T05:25:55.719Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T05:25:55.719Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T05:25:55.719Z] ---> d226574ba85b [2020-10-06T05:25:55.719Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T05:25:55.993Z] ---> Running in ebe511350dc8 [2020-10-06T05:25:56.591Z] Removing intermediate container ebe511350dc8 [2020-10-06T05:25:56.591Z] ---> 6e6504ad8618 [2020-10-06T05:25:56.591Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T05:25:56.591Z] ---> Running in f1837ede6750 [2020-10-06T05:25:57.187Z] Removing intermediate container f1837ede6750 [2020-10-06T05:25:57.187Z] ---> d5659c5ae03d [2020-10-06T05:25:57.187Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:25:57.187Z] ---> Running in a3004f4258e7 [2020-10-06T05:25:57.789Z] Removing intermediate container a3004f4258e7 [2020-10-06T05:25:57.789Z] ---> f22d1ce08c29 [2020-10-06T05:25:57.789Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:25:57.789Z] ---> Running in be97f19f0701 [2020-10-06T05:26:00.418Z] Removing intermediate container be97f19f0701 [2020-10-06T05:26:00.418Z] ---> 9af17e82d4d3 [2020-10-06T05:26:00.418Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T05:26:00.694Z] ---> Running in b253d7d67c58 [2020-10-06T05:26:02.141Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T05:26:03.120Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T05:26:04.097Z] OK: 142 MiB in 39 packages [2020-10-06T05:26:04.819Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T05:26:05.085Z] Removing intermediate container b253d7d67c58 [2020-10-06T05:26:05.085Z] ---> c130335e2624 [2020-10-06T05:26:05.085Z] Step 8/24 : COPY . . [2020-10-06T05:26:06.244Z] Removing intermediate container c371bb33a62d [2020-10-06T05:26:06.244Z] ---> 5e72c61e251b [2020-10-06T05:26:06.244Z] Step 10/24 : FROM scratch [2020-10-06T05:26:06.244Z] ---> [2020-10-06T05:26:06.244Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:26:06.507Z] ---> Running in 507ee17e4869 [2020-10-06T05:26:06.507Z] Removing intermediate container 507ee17e4869 [2020-10-06T05:26:06.507Z] ---> d1d15edb79c5 [2020-10-06T05:26:06.507Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T05:26:06.904Z] ---> Running in ed40d10530e0 [2020-10-06T05:26:06.904Z] Removing intermediate container ed40d10530e0 [2020-10-06T05:26:06.904Z] ---> fbb342121845 [2020-10-06T05:26:06.904Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T05:26:06.904Z] ---> Running in 0d64711dd34e [2020-10-06T05:26:07.067Z] ---> f52c07ab5eb3 [2020-10-06T05:26:07.067Z] Step 9/24 : RUN ${MAKE} [2020-10-06T05:26:07.067Z] ---> Running in ec783a464cc6 [2020-10-06T05:26:07.214Z] Removing intermediate container 0d64711dd34e [2020-10-06T05:26:07.214Z] ---> 183088561606 [2020-10-06T05:26:07.214Z] Step 14/24 : WORKDIR / [2020-10-06T05:26:07.214Z] ---> Running in ea0c567c6c01 [2020-10-06T05:26:07.519Z] Removing intermediate container ea0c567c6c01 [2020-10-06T05:26:07.519Z] ---> 94852916dccc [2020-10-06T05:26:07.519Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T05:26:08.188Z] ---> fc96fd93824b [2020-10-06T05:26:08.188Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T05:26:08.503Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-06T05:26:08.805Z] ---> 1e897ef8bd55 [2020-10-06T05:26:08.805Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T05:26:09.148Z] ---> b6276955612c [2020-10-06T05:26:09.148Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T05:26:09.467Z] ---> 5c19d5c44282 [2020-10-06T05:26:09.467Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T05:26:10.068Z] ---> 89fbe58b1c26 [2020-10-06T05:26:10.068Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T05:26:10.068Z] ---> Running in efe1c769fc5f [2020-10-06T05:26:10.068Z] Removing intermediate container efe1c769fc5f [2020-10-06T05:26:10.068Z] ---> f31fedc01134 [2020-10-06T05:26:10.068Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T05:26:10.335Z] ---> Running in d5ace8fdb155 [2020-10-06T05:26:10.608Z] Removing intermediate container d5ace8fdb155 [2020-10-06T05:26:10.608Z] ---> ccb45079b23f [2020-10-06T05:26:10.608Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T05:26:10.608Z] ---> Running in 34ae82111d47 [2020-10-06T05:26:10.889Z] Removing intermediate container 34ae82111d47 [2020-10-06T05:26:10.889Z] ---> e71faedfb541 [2020-10-06T05:26:10.889Z] Step 23/24 : LABEL git_sha=cb4f0b6383920d77abe7bdff2836b6cd1ab44874 [2020-10-06T05:26:10.889Z] ---> Running in 7feaec179356 [2020-10-06T05:26:11.157Z] Removing intermediate container 7feaec179356 [2020-10-06T05:26:11.157Z] ---> 067565b0c23f [2020-10-06T05:26:11.157Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T05:26:11.157Z] ---> Running in a5d65ba6013b [2020-10-06T05:26:11.424Z] Removing intermediate container a5d65ba6013b [2020-10-06T05:26:11.424Z] ---> ea45a95114ae [2020-10-06T05:26:11.424Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T05:26:11.424Z] Successfully built ea45a95114ae [2020-10-06T05:26:11.424Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-06T05:26:35.338Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T05:26:36.319Z] Removing intermediate container ec783a464cc6 [2020-10-06T05:26:36.319Z] ---> 34b4e0c208c6 [2020-10-06T05:26:36.319Z] Step 10/24 : FROM scratch [2020-10-06T05:26:36.319Z] ---> [2020-10-06T05:26:36.319Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:26:36.319Z] ---> Running in 674d3f76ce84 [2020-10-06T05:26:36.928Z] Removing intermediate container 674d3f76ce84 [2020-10-06T05:26:36.928Z] ---> 38773b355456 [2020-10-06T05:26:36.928Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T05:26:36.928Z] ---> Running in 4536f3bf6dc9 [2020-10-06T05:26:37.201Z] Removing intermediate container 4536f3bf6dc9 [2020-10-06T05:26:37.201Z] ---> c27bc5c79c95 [2020-10-06T05:26:37.201Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T05:26:37.474Z] ---> Running in 40524042daa1 [2020-10-06T05:26:37.748Z] Removing intermediate container 40524042daa1 [2020-10-06T05:26:37.748Z] ---> d3958a369b28 [2020-10-06T05:26:37.748Z] Step 14/24 : WORKDIR / [2020-10-06T05:26:38.022Z] ---> Running in 856c71a9fbc8 [2020-10-06T05:26:38.617Z] Removing intermediate container 856c71a9fbc8 [2020-10-06T05:26:38.617Z] ---> 68195d30a37d [2020-10-06T05:26:38.617Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T05:26:39.594Z] ---> 35da851ee271 [2020-10-06T05:26:39.594Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T05:26:40.574Z] ---> 433ba3129b0d [2020-10-06T05:26:40.574Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T05:26:41.168Z] ---> 1ea7b6c276a7 [2020-10-06T05:26:41.168Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T05:26:41.758Z] ---> a71530f44269 [2020-10-06T05:26:41.758Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T05:26:42.347Z] ---> 14de6ac02df0 [2020-10-06T05:26:42.347Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T05:26:42.347Z] ---> Running in 4f6c530600fb [2020-10-06T05:26:42.948Z] Removing intermediate container 4f6c530600fb [2020-10-06T05:26:42.948Z] ---> f0a9649e656d [2020-10-06T05:26:42.948Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T05:26:42.948Z] ---> Running in ab2559937df3 [2020-10-06T05:26:43.542Z] Removing intermediate container ab2559937df3 [2020-10-06T05:26:43.542Z] ---> d2c5a08066de [2020-10-06T05:26:43.542Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T05:26:43.542Z] ---> Running in 1019f8a6cb40 [2020-10-06T05:26:43.815Z] Removing intermediate container 1019f8a6cb40 [2020-10-06T05:26:43.815Z] ---> fa8169cd67ed [2020-10-06T05:26:43.815Z] Step 23/24 : LABEL git_sha=cb4f0b6383920d77abe7bdff2836b6cd1ab44874 [2020-10-06T05:26:44.086Z] ---> Running in a62a9989cc9f [2020-10-06T05:26:44.358Z] Removing intermediate container a62a9989cc9f [2020-10-06T05:26:44.358Z] ---> 1702828a4a3e [2020-10-06T05:26:44.358Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T05:26:44.628Z] ---> Running in 4175a64e455b [2020-10-06T05:26:44.899Z] Removing intermediate container 4175a64e455b [2020-10-06T05:26:44.899Z] ---> c1a05312ef46 [2020-10-06T05:26:44.899Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T05:26:44.899Z] Successfully built c1a05312ef46 [2020-10-06T05:26:45.172Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-06T05:26:46.908Z] provisioning config files... [2020-10-06T05:26:46.920Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/config5178790919302554620tmp [Pipeline] { [Pipeline] sh [2020-10-06T05:26:47.297Z] + set +x [2020-10-06T05:26:47.297Z] + curl -s https://codecov.io/bash [2020-10-06T05:26:47.297Z] + bash -s -- [2020-10-06T05:26:47.558Z] [2020-10-06T05:26:47.558Z] _____ _ [2020-10-06T05:26:47.558Z] / ____| | | [2020-10-06T05:26:47.558Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T05:26:47.558Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T05:26:47.558Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T05:26:47.558Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T05:26:47.558Z] Bash-20200917-4e8f14b [2020-10-06T05:26:47.558Z] [2020-10-06T05:26:47.558Z] [2020-10-06T05:26:47.558Z] ==> Jenkins CI detected. [2020-10-06T05:26:47.558Z] project root: . [2020-10-06T05:26:47.558Z] Fixing merge commit SHA [2020-10-06T05:26:47.558Z] --> token set from env [2020-10-06T05:26:47.558Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T05:26:47.558Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T05:26:47.558Z] ==> Python coveragepy not found [2020-10-06T05:26:47.558Z] ==> Searching for coverage reports in: [2020-10-06T05:26:47.558Z] + . [2020-10-06T05:26:47.558Z] -> Found 1 reports [2020-10-06T05:26:47.558Z] ==> Detecting git/mercurial file structure [2020-10-06T05:26:47.559Z] ==> Reading reports [2020-10-06T05:26:47.559Z] + ./coverage.out bytes=111041 [2020-10-06T05:26:47.559Z] ==> Appending adjustments [2020-10-06T05:26:47.559Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T05:26:47.820Z] + Found adjustments [2020-10-06T05:26:47.820Z] ==> Gzipping contents [2020-10-06T05:26:48.084Z] ==> Uploading reports [2020-10-06T05:26:48.084Z] url: https://codecov.io [2020-10-06T05:26:48.084Z] query: branch=PR-603&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-603%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=603&job=&cmd_args= [2020-10-06T05:26:48.084Z] -> Pinging Codecov [2020-10-06T05:26:48.084Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-603&commit=51b10ba24d09b5e22132647652f16c288a0af487&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-603%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=603&job=&cmd_args= [2020-10-06T05:26:48.346Z] -> Uploading to [2020-10-06T05:26:48.346Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/51b10ba24d09b5e22132647652f16c288a0af487/1278f26c-4f52-42e8-902a-1e7900d65abd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T052648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a1a1a2ce6a4eda18d8564aa44139c90c865baa477baa6caa7d58a2e3008ad4c0 [2020-10-06T05:26:48.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T05:26:48.346Z] Dload Upload Total Spent Left Speed [2020-10-06T05:26:48.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18343 0 0 100 18343 0 47197 --:--:-- --:--:-- --:--:-- 47275 [2020-10-06T05:26:48.920Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/51b10ba24d09b5e22132647652f16c288a0af487 [Pipeline] } [2020-10-06T05:26:48.929Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:26:51.723Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:26:52.291Z] ---> package-listing.sh [2020-10-06T05:26:52.291Z] ++ facter osfamily [2020-10-06T05:26:52.291Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T05:26:52.291Z] + OS_FAMILY=redhat [2020-10-06T05:26:52.291Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-603 [2020-10-06T05:26:52.291Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T05:26:52.291Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T05:26:52.291Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T05:26:52.291Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T05:26:52.291Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-603 ']' [2020-10-06T05:26:52.291Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T05:26:52.291Z] + case "${OS_FAMILY}" in [2020-10-06T05:26:52.291Z] + rpm -qa [2020-10-06T05:26:52.291Z] + sort [2020-10-06T05:26:58.900Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T05:26:58.900Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T05:26:58.900Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T05:26:58.900Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-603 ']' [2020-10-06T05:26:58.900Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-603/archives/ [2020-10-06T05:26:58.900Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-603/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T05:26:59.116Z] provisioning config files... [2020-10-06T05:26:59.132Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-603@tmp/config1503325867105782347tmp [Pipeline] { [Pipeline] echo [2020-10-06T05:26:59.208Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:26:59.510Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T05:26:59.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T05:26:59.631Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:26:59.931Z] ---> python-tools-install.sh [2020-10-06T05:26:59.931Z] Generating Requirements File [2020-10-06T05:28:07.721Z] Python 3.6.8 [2020-10-06T05:28:07.721Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T05:28:07.721Z] appdirs==1.4.3 [2020-10-06T05:28:07.721Z] argcomplete==1.12.1 [2020-10-06T05:28:07.721Z] aspy.yaml==1.3.0 [2020-10-06T05:28:07.721Z] attrs==19.3.0 [2020-10-06T05:28:07.721Z] Babel==2.8.0 [2020-10-06T05:28:07.721Z] beautifulsoup4==4.8.2 [2020-10-06T05:28:07.721Z] boto3==1.11.6 [2020-10-06T05:28:07.721Z] botocore==1.14.6 [2020-10-06T05:28:07.721Z] bs4==0.0.1 [2020-10-06T05:28:07.721Z] cachetools==4.1.1 [2020-10-06T05:28:07.721Z] certifi==2019.11.28 [2020-10-06T05:28:07.721Z] cffi==1.14.3 [2020-10-06T05:28:07.721Z] cfgv==2.0.1 [2020-10-06T05:28:07.721Z] chardet==3.0.4 [2020-10-06T05:28:07.721Z] click==7.1 [2020-10-06T05:28:07.721Z] cliff==3.4.0 [2020-10-06T05:28:07.721Z] cmd2==1.3.11 [2020-10-06T05:28:07.721Z] colorama==0.4.3 [2020-10-06T05:28:07.721Z] cryptography==3.1.1 [2020-10-06T05:28:07.721Z] debtcollector==2.2.0 [2020-10-06T05:28:07.721Z] decorator==4.4.2 [2020-10-06T05:28:07.721Z] defusedxml==0.6.0 [2020-10-06T05:28:07.721Z] Deprecated==1.2.7 [2020-10-06T05:28:07.721Z] distlib==0.3.1 [2020-10-06T05:28:07.721Z] distro==1.2.0 [2020-10-06T05:28:07.721Z] dnspython==1.16.0 [2020-10-06T05:28:07.721Z] docker==4.2.0 [2020-10-06T05:28:07.721Z] docutils==0.15.2 [2020-10-06T05:28:07.721Z] dogpile.cache==1.0.2 [2020-10-06T05:28:07.721Z] email-validator==1.0.5 [2020-10-06T05:28:07.721Z] filelock==3.0.12 [2020-10-06T05:28:07.721Z] future==0.18.2 [2020-10-06T05:28:07.721Z] google-auth==1.22.1 [2020-10-06T05:28:07.721Z] httplib2==0.17.0 [2020-10-06T05:28:07.721Z] identify==1.4.11 [2020-10-06T05:28:07.721Z] idna==2.9 [2020-10-06T05:28:07.721Z] importlib-metadata==1.7.0 [2020-10-06T05:28:07.721Z] importlib-resources==1.5.0 [2020-10-06T05:28:07.721Z] iso8601==0.1.13 [2020-10-06T05:28:07.721Z] Jinja2==2.11.1 [2020-10-06T05:28:07.721Z] jmespath==0.10.0 [2020-10-06T05:28:07.721Z] jsonpatch==1.26 [2020-10-06T05:28:07.721Z] jsonpointer==2.0 [2020-10-06T05:28:07.721Z] jsonschema==3.2.0 [2020-10-06T05:28:07.721Z] keystoneauth1==4.2.1 [2020-10-06T05:28:07.721Z] kubernetes==11.0.0 [2020-10-06T05:28:07.721Z] lftools==0.34.2 [2020-10-06T05:28:07.721Z] lxml==4.5.0 [2020-10-06T05:28:07.721Z] MarkupSafe==0.23 [2020-10-06T05:28:07.721Z] msgpack==1.0.0 [2020-10-06T05:28:07.721Z] multi-key-dict==2.0.3 [2020-10-06T05:28:07.721Z] munch==2.5.0 [2020-10-06T05:28:07.721Z] netaddr==0.8.0 [2020-10-06T05:28:07.721Z] netifaces==0.10.9 [2020-10-06T05:28:07.721Z] niet==1.4.2 [2020-10-06T05:28:07.721Z] nodeenv==1.3.5 [2020-10-06T05:28:07.721Z] oauth2client==4.1.3 [2020-10-06T05:28:07.721Z] oauthlib==3.1.0 [2020-10-06T05:28:07.721Z] openstacksdk==0.50.0 [2020-10-06T05:28:07.721Z] os-client-config==2.1.0 [2020-10-06T05:28:07.721Z] os-service-types==1.7.0 [2020-10-06T05:28:07.721Z] osc-lib==2.2.1 [2020-10-06T05:28:07.721Z] oslo.config==8.3.2 [2020-10-06T05:28:07.721Z] oslo.context==3.1.1 [2020-10-06T05:28:07.721Z] oslo.i18n==5.0.1 [2020-10-06T05:28:07.721Z] oslo.log==4.4.0 [2020-10-06T05:28:07.721Z] oslo.serialization==4.0.1 [2020-10-06T05:28:07.721Z] oslo.utils==4.6.0 [2020-10-06T05:28:07.721Z] packaging==20.4 [2020-10-06T05:28:07.721Z] pbr==5.4.4 [2020-10-06T05:28:07.721Z] pluggy==0.13.1 [2020-10-06T05:28:07.721Z] prettytable==0.7.2 [2020-10-06T05:28:07.721Z] py==1.9.0 [2020-10-06T05:28:07.721Z] pyasn1==0.4.8 [2020-10-06T05:28:07.721Z] pyasn1-modules==0.2.8 [2020-10-06T05:28:07.721Z] pycparser==2.20 [2020-10-06T05:28:07.721Z] pygerrit2==2.0.10 [2020-10-06T05:28:07.721Z] PyGithub==1.46 [2020-10-06T05:28:07.721Z] pyinotify==0.9.6 [2020-10-06T05:28:07.721Z] PyJWT==1.7.1 [2020-10-06T05:28:07.721Z] pyparsing==2.4.7 [2020-10-06T05:28:07.721Z] pyperclip==1.8.0 [2020-10-06T05:28:07.721Z] pyroute2==0.4.13 [2020-10-06T05:28:07.721Z] pyrsistent==0.15.7 [2020-10-06T05:28:07.721Z] PySocks==1.6.8 [2020-10-06T05:28:07.721Z] python-cinderclient==7.2.0 [2020-10-06T05:28:07.721Z] python-dateutil==2.8.1 [2020-10-06T05:28:07.721Z] python-heatclient==2.2.1 [2020-10-06T05:28:07.721Z] python-jenkins==1.7.0 [2020-10-06T05:28:07.721Z] python-keystoneclient==4.1.1 [2020-10-06T05:28:07.721Z] python-magnumclient==3.2.1 [2020-10-06T05:28:07.721Z] python-novaclient==17.2.1 [2020-10-06T05:28:07.721Z] python-openstackclient==5.4.0 [2020-10-06T05:28:07.721Z] python-swiftclient==3.10.1 [2020-10-06T05:28:07.721Z] pytz==2020.1 [2020-10-06T05:28:07.721Z] PyYAML==5.3 [2020-10-06T05:28:07.721Z] requests==2.23.0 [2020-10-06T05:28:07.721Z] requests-oauthlib==1.3.0 [2020-10-06T05:28:07.721Z] requestsexceptions==1.4.0 [2020-10-06T05:28:07.721Z] rfc3986==1.4.0 [2020-10-06T05:28:07.721Z] rpm==4.11.3 [2020-10-06T05:28:07.721Z] rsa==4.0 [2020-10-06T05:28:07.721Z] ruamel.yaml==0.16.10 [2020-10-06T05:28:07.721Z] ruamel.yaml.clib==0.2.0 [2020-10-06T05:28:07.721Z] s3transfer==0.3.3 [2020-10-06T05:28:07.721Z] shade==1.27.2 [2020-10-06T05:28:07.721Z] simplejson==3.17.2 [2020-10-06T05:28:07.721Z] six==1.14.0 [2020-10-06T05:28:07.721Z] soupsieve==2.0 [2020-10-06T05:28:07.721Z] stevedore==3.2.2 [2020-10-06T05:28:07.721Z] tabulate==0.8.6 [2020-10-06T05:28:07.721Z] toml==0.10.0 [2020-10-06T05:28:07.721Z] tox==3.20.0 [2020-10-06T05:28:07.721Z] tqdm==4.43.0 [2020-10-06T05:28:07.721Z] urllib3==1.25.8 [2020-10-06T05:28:07.721Z] virtualenv==20.0.33 [2020-10-06T05:28:07.721Z] wcwidth==0.2.5 [2020-10-06T05:28:07.721Z] websocket-client==0.57.0 [2020-10-06T05:28:07.721Z] wrapt==1.12.1 [2020-10-06T05:28:07.721Z] xdg==3.0.2 [2020-10-06T05:28:07.721Z] xmltodict==0.12.0 [2020-10-06T05:28:07.721Z] yq==2.11.1 [2020-10-06T05:28:07.721Z] zipp==3.3.0 [2020-10-06T05:28:07.985Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:10.542Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-06T05:28:13.108Z] Python 2.7.5 [2020-10-06T05:28:13.108Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T05:28:13.371Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-06T05:28:13.634Z] ansible==2.9.7 [2020-10-06T05:28:13.634Z] Babel==0.9.6 [2020-10-06T05:28:13.634Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T05:28:13.634Z] beautifulsoup4==4.4.1 [2020-10-06T05:28:13.634Z] bodhi==2.11.0 [2020-10-06T05:28:13.634Z] bodhi-client==2.11.0 [2020-10-06T05:28:13.634Z] CCColUtils==1.4 [2020-10-06T05:28:13.634Z] cffi==1.6.0 [2020-10-06T05:28:13.634Z] chardet==2.2.1 [2020-10-06T05:28:13.634Z] click==6.7 [2020-10-06T05:28:13.634Z] cloud-init==18.5 [2020-10-06T05:28:13.634Z] configobj==4.7.2 [2020-10-06T05:28:13.634Z] cryptography==1.7.2 [2020-10-06T05:28:13.634Z] decorator==3.4.0 [2020-10-06T05:28:13.634Z] distro==1.2.0 [2020-10-06T05:28:13.634Z] enum34==1.0.4 [2020-10-06T05:28:13.634Z] fedpkg==1.38 [2020-10-06T05:28:13.634Z] futures==3.1.1 [2020-10-06T05:28:13.634Z] gitdb==0.6.4 [2020-10-06T05:28:13.634Z] GitPython==1.0.1 [2020-10-06T05:28:13.634Z] html5lib==0.999 [2020-10-06T05:28:13.634Z] httplib2==0.9.2 [2020-10-06T05:28:13.634Z] idna==2.4 [2020-10-06T05:28:13.634Z] iniparse==0.4 [2020-10-06T05:28:13.634Z] ipaddress==1.0.16 [2020-10-06T05:28:13.634Z] IPy==0.75 [2020-10-06T05:28:13.634Z] javapackages==1.0.0 [2020-10-06T05:28:13.634Z] Jinja2==2.7.2 [2020-10-06T05:28:13.634Z] jmespath==0.9.4 [2020-10-06T05:28:13.634Z] jsonpatch==1.2 [2020-10-06T05:28:13.634Z] jsonpointer==1.9 [2020-10-06T05:28:13.634Z] kerberos==1.1 [2020-10-06T05:28:13.634Z] kitchen==1.1.1 [2020-10-06T05:28:13.634Z] langtable==0.0.31 [2020-10-06T05:28:13.634Z] lockfile==0.9.1 [2020-10-06T05:28:13.634Z] lxml==3.2.1 [2020-10-06T05:28:13.634Z] MarkupSafe==0.11 [2020-10-06T05:28:13.634Z] munch==2.0.2 [2020-10-06T05:28:13.634Z] offtrac==0.1.0 [2020-10-06T05:28:13.634Z] openidc-client==0.6.0 [2020-10-06T05:28:13.634Z] packagedb-cli==2.14.1 [2020-10-06T05:28:13.634Z] paramiko==2.1.1 [2020-10-06T05:28:13.634Z] perf==0.1 [2020-10-06T05:28:13.634Z] ply==3.4 [2020-10-06T05:28:13.634Z] policycoreutils-default-encoding==0.1 [2020-10-06T05:28:13.634Z] prettytable==0.7.2 [2020-10-06T05:28:13.634Z] pyasn1==0.1.9 [2020-10-06T05:28:13.634Z] pycparser==2.14 [2020-10-06T05:28:13.634Z] pycurl==7.19.0 [2020-10-06T05:28:13.634Z] pygobject==3.22.0 [2020-10-06T05:28:13.634Z] pygpgme==0.3 [2020-10-06T05:28:13.634Z] pyliblzma==0.5.3 [2020-10-06T05:28:13.634Z] pyOpenSSL==0.13.1 [2020-10-06T05:28:13.634Z] pyparsing==1.5.6 [2020-10-06T05:28:13.634Z] pyserial==2.6 [2020-10-06T05:28:13.634Z] python-augeas==0.5.0 [2020-10-06T05:28:13.634Z] python-bugzilla==2.3.0 [2020-10-06T05:28:13.634Z] python-dateutil==1.5 [2020-10-06T05:28:13.634Z] python-fedora==0.10.0 [2020-10-06T05:28:13.634Z] python-linux-procfs==0.4.9 [2020-10-06T05:28:13.634Z] python-yubico==1.2.3 [2020-10-06T05:28:13.634Z] pyudev==0.15 [2020-10-06T05:28:13.634Z] pyusb==1.0.0b1 [2020-10-06T05:28:13.634Z] pyxattr==0.5.1 [2020-10-06T05:28:13.634Z] PyYAML==3.10 [2020-10-06T05:28:13.634Z] requests==2.6.0 [2020-10-06T05:28:13.634Z] requests-kerberos==0.7.0 [2020-10-06T05:28:13.634Z] rpkg==1.60 [2020-10-06T05:28:13.634Z] schedutils==0.4 [2020-10-06T05:28:13.634Z] seobject==0.1 [2020-10-06T05:28:13.634Z] sepolicy==1.1 [2020-10-06T05:28:13.634Z] six==1.9.0 [2020-10-06T05:28:13.634Z] smmap==0.9.0 [2020-10-06T05:28:13.634Z] urlgrabber==3.10 [2020-10-06T05:28:13.634Z] urllib3==1.10.2 [2020-10-06T05:28:13.634Z] virtualenv==15.1.0 [2020-10-06T05:28:13.634Z] yum-langpacks==0.4.2 [2020-10-06T05:28:13.634Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T05:28:13.647Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:28:13.949Z] ---> sudo-logs.sh [2020-10-06T05:28:13.949Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T05:28:14.225Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:28:14.527Z] ---> job-cost.sh [2020-10-06T05:28:14.527Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9ANO [2020-10-06T05:28:24.545Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:24.545Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:25.941Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:26.890Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:26.890Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:26.890Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:26.890Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:27.153Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:27.416Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:27.416Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:27.677Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:27.677Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:28:30.987Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T05:28:57.618Z] lf-activate-venv(): INFO: Adding /tmp/venv-9ANO/bin to PATH [2020-10-06T05:28:57.618Z] INFO: No Stack... [2020-10-06T05:28:59.034Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T05:28:59.607Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T05:28:59.621Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:28:59.925Z] ---> logs-deploy.sh [2020-10-06T05:28:59.926Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-603/5 [2020-10-06T05:28:59.926Z] INFO: archiving workspace using pattern(s): [2020-10-06T05:29:01.485Z] Archives upload complete. [2020-10-06T05:29:01.485Z] INFO: archiving logs to Nexus