Pull request #605 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 a949cbedd13fe64ad0e3bd5af1231f5e808be727+833c05b782f270c396ee40879762f076aaf9331e (5b8188569dfae00325c18b6e4f013aa0f9def666) 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-3689 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # 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/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit a949cbedd13fe64ad0e3bd5af1231f5e808be727 Merge succeeded, producing a949cbedd13fe64ad0e3bd5af1231f5e808be727 Checking out Revision a949cbedd13fe64ad0e3bd5af1231f5e808be727 (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f a949cbedd13fe64ad0e3bd5af1231f5e808be727 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a949cbedd13fe64ad0e3bd5af1231f5e808be727 # timeout=10 Commit message: "feat: implement v2 callback api" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T06:33:35.804Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T06:33:36.108Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T06:33:36.220Z] ========================================================= [2020-10-06T06:33:36.220Z] EdgeX Global Pipelines Version Info [2020-10-06T06:33:36.220Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 979a2feb14f7cafdf809837b6537c9b7851a7575 # timeout=10 [2020-10-06T06:33:37.733Z] ------------------- [2020-10-06T06:33:37.733Z] stable info: [2020-10-06T06:33:37.733Z] ------------------- [2020-10-06T06:33:37.733Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T06:33:37.733Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T06:33:37.733Z] Message: update stable to v1.0.131 [2020-10-06T06:33:38.683Z] ------------------- [2020-10-06T06:33:38.683Z] experimental info: [2020-10-06T06:33:38.683Z] ------------------- [2020-10-06T06:33:38.683Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T06:33:38.683Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T06:33:38.683Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T06:33:39.150Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T06:33:39.247Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T06:33:39.350Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T06:33:39.441Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T06:33:39.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T06:33:39.683Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T06:33:39.772Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T06:33:39.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T06:33:40.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T06:33:40.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T06:33:40.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T06:33:40.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T06:33:40.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T06:33:40.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T06:33:40.924Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T06:33:41.023Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:33:41.147Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:33:41.304Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:33:41.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T06:33:41.487Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T06:33:41.596Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-06T06:33:41.686Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-06T06:33:41.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T06:33:41.871Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T06:33:41.962Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T06:33:42.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo [2020-10-06T06:33:42.133Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo [2020-10-06T06:33:42.218Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo [2020-10-06T06:33:42.303Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a949cbedd13fe64ad0e3bd5af1231f5e808be727 [Pipeline] echo [2020-10-06T06:33:42.393Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a949cbe [Pipeline] echo [2020-10-06T06:33:42.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:33:43.085Z] + git log --format=format:%s -1 a949cbedd13fe64ad0e3bd5af1231f5e808be727 [Pipeline] echo [2020-10-06T06:33:43.157Z] GIT_COMMIT: a949cbedd13fe64ad0e3bd5af1231f5e808be727, Commit Message: feat: implement v2 callback api [Pipeline] echo [2020-10-06T06:33:43.236Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:33:43.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:33:44.165Z] [2020-10-06T06:33:44.165Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:33:44.514Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:33:44.515Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T06:33:44.515Z] 31603596830f: Pulling fs layer [2020-10-06T06:33:44.515Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T06:33:44.515Z] 6ca5941a6612: Pulling fs layer [2020-10-06T06:33:44.515Z] ecc8261a40a4: Pulling fs layer [2020-10-06T06:33:44.515Z] ecc8261a40a4: Waiting [2020-10-06T06:33:44.515Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T06:33:44.515Z] 2a8b12db71e7: Download complete [2020-10-06T06:33:44.778Z] 31603596830f: Verifying Checksum [2020-10-06T06:33:44.778Z] 31603596830f: Download complete [2020-10-06T06:33:44.778Z] ecc8261a40a4: Verifying Checksum [2020-10-06T06:33:44.778Z] ecc8261a40a4: Download complete [2020-10-06T06:33:45.046Z] 6ca5941a6612: Verifying Checksum [2020-10-06T06:33:45.046Z] 6ca5941a6612: Download complete [2020-10-06T06:33:45.046Z] 31603596830f: Pull complete [2020-10-06T06:33:45.314Z] 2a8b12db71e7: Pull complete [2020-10-06T06:33:45.894Z] 6ca5941a6612: Pull complete [2020-10-06T06:33:46.157Z] ecc8261a40a4: Pull complete [2020-10-06T06:33:46.157Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T06:33:46.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:33:46.157Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T06:33:46.260Z] prd-centos7-docker-4c-2g-3689 does not seem to be running inside a container [2020-10-06T06:33:46.313Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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-06T06:33:48.507Z] $ docker top 44072da52b389b0e4118344a9014ad4a423481af301e96882425b47896126910 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T06:33:48.868Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:33:48.868Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:33:49.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:33:49.083Z] $ docker exec 44072da52b389b0e4118344a9014ad4a423481af301e96882425b47896126910 ssh-agent [2020-10-06T06:33:49.247Z] SSH_AUTH_SOCK=/tmp/ssh-kUpcXfFvVhlL/agent.12 [2020-10-06T06:33:49.248Z] SSH_AGENT_PID=17 [2020-10-06T06:33:49.259Z] Running ssh-add (command line suppressed) [2020-10-06T06:33:49.376Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_338124851933760650.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_338124851933760650.key) [2020-10-06T06:33:49.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:33:49.764Z] + git describe --exact-match --tags HEAD [2020-10-06T06:33:49.764Z] fatal: no tag exactly matches 'a949cbedd13fe64ad0e3bd5af1231f5e808be727' [Pipeline] } [2020-10-06T06:33:49.792Z] $ docker exec --env ******** --env ******** 44072da52b389b0e4118344a9014ad4a423481af301e96882425b47896126910 ssh-agent -k [2020-10-06T06:33:49.907Z] unset SSH_AUTH_SOCK; [2020-10-06T06:33:49.907Z] unset SSH_AGENT_PID; [2020-10-06T06:33:49.907Z] echo Agent pid 17 killed; [2020-10-06T06:33:49.955Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T06:33:50.043Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T06:33:50.044Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T06:33:50.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:33:50.202Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:33:50.386Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:33:50.392Z] $ docker exec 44072da52b389b0e4118344a9014ad4a423481af301e96882425b47896126910 ssh-agent [2020-10-06T06:33:50.553Z] SSH_AUTH_SOCK=/tmp/ssh-CtsoDYSWEFxc/agent.47 [2020-10-06T06:33:50.553Z] SSH_AGENT_PID=53 [2020-10-06T06:33:50.564Z] Running ssh-add (command line suppressed) [2020-10-06T06:33:50.689Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_8664288678960698537.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_8664288678960698537.key) [2020-10-06T06:33:50.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:33:51.082Z] + git semver init [2020-10-06T06:33:51.083Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T06:33:51.083Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git [2020-10-06T06:33:51.083Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-06T06:33:51.083Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T06:33:51.083Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T06:33:51.083Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T06:33:51.083Z] # $SEMVER_BRANCH = PR-605 [2020-10-06T06:33:51.083Z] # $SEMVER_TEMP = /tmp/semver-175861350 [2020-10-06T06:33:51.083Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T06:33:52.030Z] # '/tmp/semver-175861350' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' [2020-10-06T06:33:52.030Z] # -> Force: false [2020-10-06T06:33:52.030Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } [2020-10-06T06:33:52.045Z] $ docker exec --env ******** --env ******** 44072da52b389b0e4118344a9014ad4a423481af301e96882425b47896126910 ssh-agent -k [2020-10-06T06:33:52.158Z] unset SSH_AUTH_SOCK; [2020-10-06T06:33:52.158Z] unset SSH_AGENT_PID; [2020-10-06T06:33:52.158Z] echo Agent pid 53 killed; [2020-10-06T06:33:52.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T06:33:52.666Z] + git semver [Pipeline] } [2020-10-06T06:33:52.702Z] $ docker stop --time=1 44072da52b389b0e4118344a9014ad4a423481af301e96882425b47896126910 [2020-10-06T06:33:54.070Z] $ docker rm -f 44072da52b389b0e4118344a9014ad4a423481af301e96882425b47896126910 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T06:33:54.958Z] Stashed 46 file(s) [Pipeline] echo [2020-10-06T06:33:54.961Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T06:33:55.053Z] 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-06T06:34:10.514Z] Still waiting to schedule task [2020-10-06T06:34:10.514Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-06T06:34:10.516Z] Still waiting to schedule task [2020-10-06T06:34:10.516Z] ‘prd-centos7-docker-4c-2g-3642’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3684’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3690’ is offline [2020-10-06T06:35:49.735Z] Running on prd-centos7-docker-4c-2g-3695 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws [2020-10-06T06:35:49.786Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-10-06T06:35:52.268Z] using credential edgex-jenkins-ssh [2020-10-06T06:35:52.338Z] Cloning the remote Git repository [2020-10-06T06:35:52.378Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:35:52.445Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-06T06:35:52.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:35:52.814Z] > git --version # timeout=10 [2020-10-06T06:35:52.819Z] > git --version # 'git version 2.16.5' [2020-10-06T06:35:52.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:35:52.999Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:35:54.215Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit a949cbedd13fe64ad0e3bd5af1231f5e808be727 [2020-10-06T06:35:54.317Z] Merge succeeded, producing a949cbedd13fe64ad0e3bd5af1231f5e808be727 [2020-10-06T06:35:54.318Z] Checking out Revision a949cbedd13fe64ad0e3bd5af1231f5e808be727 (PR-605) [2020-10-06T06:35:53.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:35:53.691Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:35:53.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:35:53.714Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:35:53.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:35:53.719Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:35:54.225Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:35:54.232Z] > git checkout -f a949cbedd13fe64ad0e3bd5af1231f5e808be727 # timeout=10 [2020-10-06T06:35:54.288Z] > git remote # timeout=10 [2020-10-06T06:35:54.293Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:35:54.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:35:54.300Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-06T06:35:54.309Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:35:54.323Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:35:54.328Z] > git checkout -f a949cbedd13fe64ad0e3bd5af1231f5e808be727 # timeout=10 [2020-10-06T06:35:57.958Z] Commit message: "feat: implement v2 callback api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T06:35:58.922Z] ========================================================= [2020-10-06T06:35:58.922Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T06:35:58.922Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:35:59.612Z] + 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-06T06:35:59.878Z] Sending build context to Docker daemon 3.523MB [2020-10-06T06:35:59.878Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:35:59.878Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:36:00.141Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T06:36:00.141Z] df20fa9351a1: Pulling fs layer [2020-10-06T06:36:00.141Z] ed8968b2872e: Pulling fs layer [2020-10-06T06:36:00.141Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T06:36:00.141Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T06:36:00.141Z] e73272ec9a57: Pulling fs layer [2020-10-06T06:36:00.141Z] 1e910a182e73: Pulling fs layer [2020-10-06T06:36:00.141Z] 4e634b169226: Pulling fs layer [2020-10-06T06:36:00.141Z] e73272ec9a57: Waiting [2020-10-06T06:36:00.141Z] 1e910a182e73: Waiting [2020-10-06T06:36:00.141Z] 4e634b169226: Waiting [2020-10-06T06:36:00.141Z] e871e8e8d7a9: Waiting [2020-10-06T06:36:00.141Z] a92cc7c5fd73: Download complete [2020-10-06T06:36:00.141Z] ed8968b2872e: Verifying Checksum [2020-10-06T06:36:00.141Z] ed8968b2872e: Download complete [2020-10-06T06:36:00.141Z] e73272ec9a57: Download complete [2020-10-06T06:36:00.409Z] 1e910a182e73: Verifying Checksum [2020-10-06T06:36:00.409Z] 1e910a182e73: Download complete [2020-10-06T06:36:00.989Z] df20fa9351a1: Verifying Checksum [2020-10-06T06:36:00.989Z] df20fa9351a1: Download complete [2020-10-06T06:36:00.989Z] df20fa9351a1: Pull complete [2020-10-06T06:36:01.253Z] ed8968b2872e: Pull complete [2020-10-06T06:36:01.515Z] a92cc7c5fd73: Pull complete [2020-10-06T06:36:04.844Z] 4e634b169226: Verifying Checksum [2020-10-06T06:36:04.844Z] 4e634b169226: Download complete [2020-10-06T06:36:05.428Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T06:36:05.428Z] e871e8e8d7a9: Download complete [2020-10-06T06:36:10.771Z] e871e8e8d7a9: Pull complete [2020-10-06T06:36:10.771Z] e73272ec9a57: Pull complete [2020-10-06T06:36:10.771Z] 1e910a182e73: Pull complete [2020-10-06T06:36:15.039Z] 4e634b169226: Pull complete [2020-10-06T06:36:15.039Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T06:36:15.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T06:36:15.039Z] ---> f7629b54cfaa [2020-10-06T06:36:15.039Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:36:15.039Z] ---> Running in 2b2647c3d86a [2020-10-06T06:36:15.304Z] Removing intermediate container 2b2647c3d86a [2020-10-06T06:36:15.304Z] ---> f96c6664cb40 [2020-10-06T06:36:15.304Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:36:15.304Z] ---> Running in 3b75d19922be [2020-10-06T06:36:16.258Z] Removing intermediate container 3b75d19922be [2020-10-06T06:36:16.258Z] ---> bb9660cdac1b [2020-10-06T06:36:16.258Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:36:16.258Z] ---> Running in 48e124712d99 [2020-10-06T06:36:17.215Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T06:36:19.778Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:36:21.170Z] OK: 166 MiB in 39 packages [2020-10-06T06:36:21.432Z] Removing intermediate container 48e124712d99 [2020-10-06T06:36:21.432Z] ---> 44f0d4fc0f5f [2020-10-06T06:36:21.432Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:36:21.432Z] ---> Running in 90892bccbfb2 [2020-10-06T06:36:21.700Z] Removing intermediate container 90892bccbfb2 [2020-10-06T06:36:21.700Z] ---> 2e93e7a0934e [2020-10-06T06:36:21.700Z] Step 7/8 : COPY . . [2020-10-06T06:36:23.090Z] ---> a070caff899e [2020-10-06T06:36:23.090Z] Step 8/8 : RUN go mod download [2020-10-06T06:36:23.091Z] ---> Running in 655bf64b537f [2020-10-06T06:36:41.343Z] Removing intermediate container 655bf64b537f [2020-10-06T06:36:41.343Z] ---> 0e7f93ee0723 [2020-10-06T06:36:41.343Z] Successfully built 0e7f93ee0723 [2020-10-06T06:36:41.343Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:36:41.688Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:36:41.688Z] . [Pipeline] withDockerContainer [2020-10-06T06:36:41.789Z] prd-centos7-docker-4c-2g-3695 does not seem to be running inside a container [2020-10-06T06:36:41.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T06:36:42.562Z] $ docker top 165f6e4d9a3d1d1b930feba073314a25f15839e4a56bb59f595430d7f143a936 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:36:43.058Z] + go version [2020-10-06T06:36:43.058Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T06:36:43.072Z] $ docker stop --time=1 165f6e4d9a3d1d1b930feba073314a25f15839e4a56bb59f595430d7f143a936 [2020-10-06T06:36:44.417Z] $ docker rm -f 165f6e4d9a3d1d1b930feba073314a25f15839e4a56bb59f595430d7f143a936 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:36:45.373Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:36:45.373Z] . [Pipeline] withDockerContainer [2020-10-06T06:36:45.468Z] prd-centos7-docker-4c-2g-3695 does not seem to be running inside a container [2020-10-06T06:36:45.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T06:36:46.134Z] $ docker top a6a426fceb4b710e81307ceffef0d7e921a7fa6d6371d94b6f6c12b23994ec35 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:36:46.873Z] + make test [2020-10-06T06:36:46.873Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:36:55.044Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:37:10.102Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:37:10.102Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:37:10.102Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:37:10.102Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.066s coverage: 21.6% of statements [2020-10-06T06:37:11.518Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.453s coverage: 97.1% of statements [2020-10-06T06:37:43.763Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements [2020-10-06T06:37:43.763Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.051s coverage: 21.9% of statements [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:37:43.763Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.219s coverage: 42.5% of statements [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:37:43.763Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.289s coverage: 65.4% of statements [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:37:43.763Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.065s coverage: 52.6% of statements [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:37:43.763Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.398s coverage: 68.9% of statements [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:37:43.763Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:37:43.763Z] GO111MODULE=on go vet ./... [2020-10-06T06:37:49.140Z] gofmt -l . [2020-10-06T06:37:49.404Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:37:49.404Z] ./bin/test-attribution-txt.sh [2020-10-06T06:37:49.980Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:37:50.601Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:37:50.608Z] $ docker stop --time=1 a6a426fceb4b710e81307ceffef0d7e921a7fa6d6371d94b6f6c12b23994ec35 [2020-10-06T06:37:51.389Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3699 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-06T06:37:52.428Z] $ docker rm -f a6a426fceb4b710e81307ceffef0d7e921a7fa6d6371d94b6f6c12b23994ec35 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2020-10-06T06:37:52.837Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout [Pipeline] sh [2020-10-06T06:37:54.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T06:37:54.364Z] + ls -al . [2020-10-06T06:37:54.364Z] total 192 [2020-10-06T06:37:54.364Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 06:37 . [2020-10-06T06:37:54.364Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 06:35 .. [2020-10-06T06:37:54.364Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 06:35 bin [2020-10-06T06:37:54.364Z] -rw-r--r--. 1 jenkins jenkins 111047 Oct 6 06:37 coverage.out [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 06:35 Dockerfile.build [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 06:35 .dockerignore [2020-10-06T06:37:54.364Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 06:35 example [2020-10-06T06:37:54.364Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 06:35 .git [2020-10-06T06:37:54.364Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 06:35 .github [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 06:35 .gitignore [2020-10-06T06:37:54.364Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 06:37 go.mod [2020-10-06T06:37:54.364Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 6 06:37 go.sum [2020-10-06T06:37:54.364Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 06:35 internal [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 06:35 Jenkinsfile [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 06:35 LICENSE [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 06:35 Makefile [2020-10-06T06:37:54.364Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 06:35 openapi [2020-10-06T06:37:54.364Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 06:35 pkg [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 06:35 README.md [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 06:35 RELEASE-NOTES.txt [2020-10-06T06:37:54.364Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 06:35 .semver [2020-10-06T06:37:54.364Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 06:35 snap [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 06:33 VERSION [2020-10-06T06:37:54.364Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 06:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:37:54.694Z] + 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=a949cbedd13fe64ad0e3bd5af1231f5e808be727 --label arch=amd64 --label version=0.0.0 . [2020-10-06T06:37:54.965Z] Sending build context to Docker daemon 3.635MB [2020-10-06T06:37:54.965Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:37:54.965Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:37:54.965Z] ---> 0e7f93ee0723 [2020-10-06T06:37:54.965Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:37:55.538Z] ---> Running in 93d911044e96 [2020-10-06T06:37:55.803Z] Removing intermediate container 93d911044e96 [2020-10-06T06:37:55.803Z] ---> 29cb1a0a8252 [2020-10-06T06:37:55.803Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:37:55.803Z] ---> Running in fa64135af8f5 [2020-10-06T06:37:56.068Z] Removing intermediate container fa64135af8f5 [2020-10-06T06:37:56.068Z] ---> cf6296cc9d46 [2020-10-06T06:37:56.068Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:37:56.068Z] ---> Running in 8ca3075fa202 [2020-10-06T06:37:56.068Z] Removing intermediate container 8ca3075fa202 [2020-10-06T06:37:56.068Z] ---> 35f5800418a8 [2020-10-06T06:37:56.068Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:37:56.337Z] ---> Running in dbe6c52e8da4 [2020-10-06T06:37:57.289Z] Removing intermediate container dbe6c52e8da4 [2020-10-06T06:37:57.289Z] ---> 0d4a923179bf [2020-10-06T06:37:57.289Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:37:57.289Z] ---> Running in 9c80bac9edb8 [2020-10-06T06:37:57.861Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T06:37:58.277Z] using credential edgex-jenkins-ssh [2020-10-06T06:37:58.342Z] Cloning the remote Git repository [2020-10-06T06:37:58.450Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:37:58.427Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:37:58.549Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-06T06:37:58.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:37:58.627Z] > git --version # timeout=10 [2020-10-06T06:37:58.647Z] > git --version # 'git version 2.17.1' [2020-10-06T06:37:58.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:37:58.716Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:37:59.449Z] OK: 166 MiB in 39 packages [2020-10-06T06:38:00.397Z] Removing intermediate container 9c80bac9edb8 [2020-10-06T06:38:00.397Z] ---> 678e9fdf7f13 [2020-10-06T06:38:00.397Z] Step 8/24 : COPY . . [2020-10-06T06:37:59.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:38:00.008Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:38:00.056Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:38:00.097Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:38:00.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:38:00.112Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:38:00.782Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit a949cbedd13fe64ad0e3bd5af1231f5e808be727 [2020-10-06T06:38:01.082Z] Merge succeeded, producing a949cbedd13fe64ad0e3bd5af1231f5e808be727 [2020-10-06T06:38:01.083Z] Checking out Revision a949cbedd13fe64ad0e3bd5af1231f5e808be727 (PR-605) [2020-10-06T06:38:01.348Z] ---> 8b85f5c96abe [2020-10-06T06:38:01.348Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:38:01.348Z] ---> Running in efd1fff4e4b6 [2020-10-06T06:38:00.812Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:38:00.842Z] > git checkout -f a949cbedd13fe64ad0e3bd5af1231f5e808be727 # timeout=10 [2020-10-06T06:38:01.006Z] > git remote # timeout=10 [2020-10-06T06:38:01.026Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:38:01.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:38:01.054Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-06T06:38:01.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:38:01.099Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:38:01.112Z] > git checkout -f a949cbedd13fe64ad0e3bd5af1231f5e808be727 # timeout=10 [2020-10-06T06:38:01.935Z] 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-06T06:38:05.514Z] Commit message: "feat: implement v2 callback api" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T06:38:06.814Z] ========================================================= [2020-10-06T06:38:06.814Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T06:38:06.814Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:38:08.221Z] + 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-06T06:38:09.234Z] Sending build context to Docker daemon 3.523MB [2020-10-06T06:38:09.234Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:38:09.234Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:38:09.510Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T06:38:09.510Z] b538f80385f9: Pulling fs layer [2020-10-06T06:38:09.510Z] 74f711af9a0d: Pulling fs layer [2020-10-06T06:38:09.510Z] 99f96fe45779: Pulling fs layer [2020-10-06T06:38:09.510Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T06:38:09.510Z] 45590311c82a: Pulling fs layer [2020-10-06T06:38:09.510Z] 8529a6b9a6be: Waiting [2020-10-06T06:38:09.510Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T06:38:09.510Z] 209524e5b208: Pulling fs layer [2020-10-06T06:38:09.510Z] 45590311c82a: Waiting [2020-10-06T06:38:09.510Z] 69ca0ff8b7b3: Waiting [2020-10-06T06:38:09.510Z] 209524e5b208: Waiting [2020-10-06T06:38:09.510Z] 99f96fe45779: Verifying Checksum [2020-10-06T06:38:09.510Z] 99f96fe45779: Download complete [2020-10-06T06:38:09.510Z] 74f711af9a0d: Verifying Checksum [2020-10-06T06:38:09.510Z] 74f711af9a0d: Download complete [2020-10-06T06:38:09.510Z] 45590311c82a: Verifying Checksum [2020-10-06T06:38:09.510Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-06T06:38:09.510Z] 69ca0ff8b7b3: Download complete [2020-10-06T06:38:10.115Z] b538f80385f9: Verifying Checksum [2020-10-06T06:38:10.115Z] b538f80385f9: Download complete [2020-10-06T06:38:10.226Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:38:10.722Z] b538f80385f9: Pull complete [2020-10-06T06:38:11.368Z] 74f711af9a0d: Pull complete [2020-10-06T06:38:11.973Z] 99f96fe45779: Pull complete [2020-10-06T06:38:12.165Z] Removing intermediate container efd1fff4e4b6 [2020-10-06T06:38:12.165Z] ---> 6df3fb864ef3 [2020-10-06T06:38:12.165Z] Step 10/24 : FROM scratch [2020-10-06T06:38:12.165Z] ---> [2020-10-06T06:38:12.165Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:38:12.165Z] ---> Running in a10fb21bf3e8 [2020-10-06T06:38:12.165Z] Removing intermediate container a10fb21bf3e8 [2020-10-06T06:38:12.165Z] ---> ce06fe37b8f8 [2020-10-06T06:38:12.165Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:38:12.165Z] ---> Running in 13fc8ae86555 [2020-10-06T06:38:12.165Z] Removing intermediate container 13fc8ae86555 [2020-10-06T06:38:12.165Z] ---> 029cdf908a56 [2020-10-06T06:38:12.165Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:38:12.165Z] ---> Running in 13ebbbc27aca [2020-10-06T06:38:12.427Z] Removing intermediate container 13ebbbc27aca [2020-10-06T06:38:12.427Z] ---> ce1e00d084d6 [2020-10-06T06:38:12.427Z] Step 14/24 : WORKDIR / [2020-10-06T06:38:12.427Z] ---> Running in c1d5e9178b19 [2020-10-06T06:38:12.586Z] 209524e5b208: Verifying Checksum [2020-10-06T06:38:12.586Z] 209524e5b208: Download complete [2020-10-06T06:38:12.696Z] Removing intermediate container c1d5e9178b19 [2020-10-06T06:38:12.696Z] ---> a00422fa8ce6 [2020-10-06T06:38:12.696Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:38:12.959Z] ---> a1b65c81c372 [2020-10-06T06:38:12.959Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:38:13.223Z] ---> a696a694f755 [2020-10-06T06:38:13.223Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T06:38:13.491Z] ---> 0287eb7cbc2a [2020-10-06T06:38:13.491Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:38:13.754Z] ---> b131eb95e55e [2020-10-06T06:38:13.754Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:38:14.035Z] ---> 49e64b2471ee [2020-10-06T06:38:14.035Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:38:14.035Z] ---> Running in a48ab39b7b54 [2020-10-06T06:38:14.035Z] Removing intermediate container a48ab39b7b54 [2020-10-06T06:38:14.035Z] ---> afc19e58757c [2020-10-06T06:38:14.035Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:38:14.053Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T06:38:14.053Z] 8529a6b9a6be: Download complete [2020-10-06T06:38:14.313Z] ---> Running in ab9e6573ca70 [2020-10-06T06:38:14.313Z] Removing intermediate container ab9e6573ca70 [2020-10-06T06:38:14.313Z] ---> f853c5f88e74 [2020-10-06T06:38:14.313Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T06:38:14.313Z] ---> Running in d3603fcc74cb [2020-10-06T06:38:14.576Z] Removing intermediate container d3603fcc74cb [2020-10-06T06:38:14.576Z] ---> ceb8860f6907 [2020-10-06T06:38:14.576Z] Step 23/24 : LABEL git_sha=a949cbedd13fe64ad0e3bd5af1231f5e808be727 [2020-10-06T06:38:14.839Z] ---> Running in 044532daf02f [2020-10-06T06:38:15.106Z] Removing intermediate container 044532daf02f [2020-10-06T06:38:15.106Z] ---> a3c397ed38d7 [2020-10-06T06:38:15.106Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:38:15.106Z] ---> Running in 74fb461370ab [2020-10-06T06:38:15.384Z] Removing intermediate container 74fb461370ab [2020-10-06T06:38:15.384Z] ---> 00634102b8f3 [2020-10-06T06:38:15.384Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:38:15.384Z] Successfully built 00634102b8f3 [2020-10-06T06:38:15.384Z] 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-06T06:38:24.303Z] 8529a6b9a6be: Pull complete [2020-10-06T06:38:24.303Z] 45590311c82a: Pull complete [2020-10-06T06:38:24.907Z] 69ca0ff8b7b3: Pull complete [2020-10-06T06:38:29.254Z] 209524e5b208: Pull complete [2020-10-06T06:38:29.254Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T06:38:29.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T06:38:29.254Z] ---> 5bddaf1c2fca [2020-10-06T06:38:29.254Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:38:31.901Z] ---> Running in caccf3486f77 [2020-10-06T06:38:31.901Z] Removing intermediate container caccf3486f77 [2020-10-06T06:38:31.901Z] ---> b31897e4e9c3 [2020-10-06T06:38:31.901Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:38:32.187Z] ---> Running in 0fea9aec40ea [2020-10-06T06:38:34.836Z] Removing intermediate container 0fea9aec40ea [2020-10-06T06:38:34.836Z] ---> 1ab9417352c3 [2020-10-06T06:38:34.836Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:38:34.836Z] ---> Running in 05c2ac2ec648 [2020-10-06T06:38:36.285Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:38:37.724Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T06:38:39.696Z] OK: 142 MiB in 39 packages [2020-10-06T06:38:40.688Z] Removing intermediate container 05c2ac2ec648 [2020-10-06T06:38:40.688Z] ---> 2e5a77f9aa75 [2020-10-06T06:38:40.688Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:38:40.963Z] ---> Running in 6c932ffca85c [2020-10-06T06:38:41.244Z] Removing intermediate container 6c932ffca85c [2020-10-06T06:38:41.244Z] ---> 0e0e7a6dfe8e [2020-10-06T06:38:41.244Z] Step 7/8 : COPY . . [2020-10-06T06:38:43.236Z] ---> 3ecccee7da62 [2020-10-06T06:38:43.236Z] Step 8/8 : RUN go mod download [2020-10-06T06:38:43.236Z] ---> Running in c8127e064321 [2020-10-06T06:39:05.429Z] Removing intermediate container c8127e064321 [2020-10-06T06:39:05.429Z] ---> b09ecec700fb [2020-10-06T06:39:05.429Z] Successfully built b09ecec700fb [2020-10-06T06:39:05.429Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:39:05.837Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:39:05.838Z] . [Pipeline] withDockerContainer [2020-10-06T06:39:06.073Z] prd-ubuntu18.04-docker-arm64-4c-16g-3699 does not seem to be running inside a container [2020-10-06T06:39:06.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-06T06:39:08.348Z] $ docker top 436a38f452932f6d7416b4699cfa99e506b885fcedb6feef063423b549b95034 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:39:09.807Z] + go version [2020-10-06T06:39:09.807Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T06:39:09.848Z] $ docker stop --time=1 436a38f452932f6d7416b4699cfa99e506b885fcedb6feef063423b549b95034 [2020-10-06T06:39:11.802Z] $ docker rm -f 436a38f452932f6d7416b4699cfa99e506b885fcedb6feef063423b549b95034 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:39:12.912Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:39:12.912Z] . [Pipeline] withDockerContainer [2020-10-06T06:39:13.251Z] prd-ubuntu18.04-docker-arm64-4c-16g-3699 does not seem to be running inside a container [2020-10-06T06:39:13.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-06T06:39:15.298Z] $ docker top ea36a98e4d441c5f706303c3341c7ec650b34bf2cd34f50f87133875623788e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:39:16.702Z] + make test [2020-10-06T06:39:16.702Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:39:38.962Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:40:18.041Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:40:18.041Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:40:18.041Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:40:18.041Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.147s coverage: 21.6% of statements [2020-10-06T06:40:20.712Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.311s coverage: 97.1% of statements [2020-10-06T06:40:53.084Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.148s coverage: 9.4% of statements [2020-10-06T06:40:53.084Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.121s coverage: 21.9% of statements [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:40:53.084Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.669s coverage: 42.5% of statements [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:40:53.084Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.802s coverage: 65.4% of statements [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:40:53.084Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.195s coverage: 52.6% of statements [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:40:53.084Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.710s coverage: 68.9% of statements [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:40:53.084Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:40:53.084Z] GO111MODULE=on go vet ./... [2020-10-06T06:41:25.486Z] gofmt -l . [2020-10-06T06:41:25.486Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:41:25.486Z] ./bin/test-attribution-txt.sh [2020-10-06T06:41:25.486Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:41:25.563Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T06:41:26.710Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:41:26.717Z] $ docker stop --time=1 ea36a98e4d441c5f706303c3341c7ec650b34bf2cd34f50f87133875623788e7 [2020-10-06T06:41:28.955Z] $ docker rm -f ea36a98e4d441c5f706303c3341c7ec650b34bf2cd34f50f87133875623788e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:41:30.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T06:41:30.861Z] + ls -al . [2020-10-06T06:41:30.861Z] total 232 [2020-10-06T06:41:30.861Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 06:41 . [2020-10-06T06:41:30.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:37 .. [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 06:38 .dockerignore [2020-10-06T06:41:30.861Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 06:38 .git [2020-10-06T06:41:30.861Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:38 .github [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 06:38 .gitignore [2020-10-06T06:41:30.861Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 06:38 .semver [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 06:38 Dockerfile.build [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 06:38 Jenkinsfile [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 06:38 LICENSE [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 06:38 Makefile [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 06:38 README.md [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 06:38 RELEASE-NOTES.txt [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 06:33 VERSION [2020-10-06T06:41:30.861Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:38 bin [2020-10-06T06:41:30.861Z] -rw-r--r-- 1 jenkins jenkins 111047 Oct 6 06:40 coverage.out [2020-10-06T06:41:30.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:38 example [2020-10-06T06:41:30.861Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 06:41 go.mod [2020-10-06T06:41:30.861Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 6 06:41 go.sum [2020-10-06T06:41:30.861Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 06:38 internal [2020-10-06T06:41:30.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:38 openapi [2020-10-06T06:41:30.861Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 06:38 pkg [2020-10-06T06:41:30.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:38 snap [2020-10-06T06:41:30.861Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 06:38 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:41:31.246Z] + 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=a949cbedd13fe64ad0e3bd5af1231f5e808be727 --label arch=arm64 --label version=0.0.0 . [2020-10-06T06:41:31.853Z] Sending build context to Docker daemon 3.635MB [2020-10-06T06:41:31.853Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:41:31.853Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:41:31.853Z] ---> b09ecec700fb [2020-10-06T06:41:31.853Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:41:32.132Z] ---> Running in ad35de1dd46d [2020-10-06T06:41:32.732Z] Removing intermediate container ad35de1dd46d [2020-10-06T06:41:32.732Z] ---> cb00f8a8aca5 [2020-10-06T06:41:32.732Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:41:32.732Z] ---> Running in 650b8c94431e [2020-10-06T06:41:33.326Z] Removing intermediate container 650b8c94431e [2020-10-06T06:41:33.326Z] ---> 70b3c9e83a0a [2020-10-06T06:41:33.326Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:41:33.326Z] ---> Running in 0e488bc7f39d [2020-10-06T06:41:33.920Z] Removing intermediate container 0e488bc7f39d [2020-10-06T06:41:33.920Z] ---> b6dff2c06891 [2020-10-06T06:41:33.920Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:41:34.194Z] ---> Running in af810f2b9d73 [2020-10-06T06:41:36.826Z] Removing intermediate container af810f2b9d73 [2020-10-06T06:41:36.826Z] ---> 3cf3f83162ab [2020-10-06T06:41:36.826Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:41:36.826Z] ---> Running in c8a0e366992b [2020-10-06T06:41:38.815Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:41:39.414Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T06:41:40.850Z] OK: 142 MiB in 39 packages [2020-10-06T06:41:42.292Z] Removing intermediate container c8a0e366992b [2020-10-06T06:41:42.292Z] ---> 8e0a7392c516 [2020-10-06T06:41:42.292Z] Step 8/24 : COPY . . [2020-10-06T06:41:43.738Z] ---> e76f3f7acb39 [2020-10-06T06:41:43.739Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:41:43.739Z] ---> Running in 743c2d44807e [2020-10-06T06:41:45.718Z] 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-06T06:42:12.590Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:42:15.223Z] Removing intermediate container 743c2d44807e [2020-10-06T06:42:15.223Z] ---> d7962abf5721 [2020-10-06T06:42:15.223Z] Step 10/24 : FROM scratch [2020-10-06T06:42:15.223Z] ---> [2020-10-06T06:42:15.223Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:42:15.223Z] ---> Running in 2f744a8270a9 [2020-10-06T06:42:15.820Z] Removing intermediate container 2f744a8270a9 [2020-10-06T06:42:15.820Z] ---> bbbf180de0cf [2020-10-06T06:42:15.820Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:42:15.820Z] ---> Running in 497afd1573b6 [2020-10-06T06:42:16.415Z] Removing intermediate container 497afd1573b6 [2020-10-06T06:42:16.415Z] ---> 0dbfc06197d7 [2020-10-06T06:42:16.415Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:42:16.415Z] ---> Running in 057540112b3d [2020-10-06T06:42:17.010Z] Removing intermediate container 057540112b3d [2020-10-06T06:42:17.010Z] ---> 33f07398db4d [2020-10-06T06:42:17.010Z] Step 14/24 : WORKDIR / [2020-10-06T06:42:17.010Z] ---> Running in b29e3f30db72 [2020-10-06T06:42:17.607Z] Removing intermediate container b29e3f30db72 [2020-10-06T06:42:17.607Z] ---> c6557647c4aa [2020-10-06T06:42:17.607Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:42:19.041Z] ---> 6dba7d2e8e91 [2020-10-06T06:42:19.041Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:42:19.637Z] ---> e7d6eb30cf6b [2020-10-06T06:42:19.637Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T06:42:20.237Z] ---> 3c59dbdc3c9c [2020-10-06T06:42:20.237Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:42:21.224Z] ---> 26797004011e [2020-10-06T06:42:21.224Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:42:21.819Z] ---> 5662e6a9e3a1 [2020-10-06T06:42:21.819Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:42:22.092Z] ---> Running in 9749f49416a7 [2020-10-06T06:42:22.374Z] Removing intermediate container 9749f49416a7 [2020-10-06T06:42:22.374Z] ---> 0a108050c600 [2020-10-06T06:42:22.374Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:42:22.651Z] ---> Running in 6081eed36531 [2020-10-06T06:42:23.248Z] Removing intermediate container 6081eed36531 [2020-10-06T06:42:23.248Z] ---> e3f07b588f58 [2020-10-06T06:42:23.248Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T06:42:23.248Z] ---> Running in b56441caa5e9 [2020-10-06T06:42:23.850Z] Removing intermediate container b56441caa5e9 [2020-10-06T06:42:23.850Z] ---> d1d4c7893555 [2020-10-06T06:42:23.850Z] Step 23/24 : LABEL git_sha=a949cbedd13fe64ad0e3bd5af1231f5e808be727 [2020-10-06T06:42:23.850Z] ---> Running in 8de7f7869608 [2020-10-06T06:42:24.460Z] Removing intermediate container 8de7f7869608 [2020-10-06T06:42:24.460Z] ---> cb8740c82e24 [2020-10-06T06:42:24.460Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:42:24.460Z] ---> Running in fddbdc309c86 [2020-10-06T06:42:25.062Z] Removing intermediate container fddbdc309c86 [2020-10-06T06:42:25.062Z] ---> 9fa760f484db [2020-10-06T06:42:25.062Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:42:25.062Z] Successfully built 9fa760f484db [2020-10-06T06:42:25.062Z] 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-06T06:42:26.817Z] provisioning config files... [2020-10-06T06:42:26.834Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config3683977727503614737tmp [Pipeline] { [Pipeline] sh [2020-10-06T06:42:27.209Z] + set +x [2020-10-06T06:42:27.209Z] + curl -s https://codecov.io/bash [2020-10-06T06:42:27.209Z] + bash -s -- [2020-10-06T06:42:27.472Z] [2020-10-06T06:42:27.472Z] _____ _ [2020-10-06T06:42:27.472Z] / ____| | | [2020-10-06T06:42:27.472Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T06:42:27.472Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T06:42:27.472Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T06:42:27.472Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T06:42:27.472Z] Bash-20200917-4e8f14b [2020-10-06T06:42:27.472Z] [2020-10-06T06:42:27.472Z] [2020-10-06T06:42:27.472Z] ==> Jenkins CI detected. [2020-10-06T06:42:27.472Z] project root: . [2020-10-06T06:42:27.472Z] --> token set from env [2020-10-06T06:42:27.472Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T06:42:27.472Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T06:42:27.472Z] ==> Python coveragepy not found [2020-10-06T06:42:27.472Z] ==> Searching for coverage reports in: [2020-10-06T06:42:27.472Z] + . [2020-10-06T06:42:27.472Z] -> Found 1 reports [2020-10-06T06:42:27.472Z] ==> Detecting git/mercurial file structure [2020-10-06T06:42:27.472Z] ==> Reading reports [2020-10-06T06:42:27.472Z] + ./coverage.out bytes=111047 [2020-10-06T06:42:27.472Z] ==> Appending adjustments [2020-10-06T06:42:27.472Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T06:42:28.048Z] + Found adjustments [2020-10-06T06:42:28.048Z] ==> Gzipping contents [2020-10-06T06:42:28.048Z] ==> Uploading reports [2020-10-06T06:42:28.048Z] url: https://codecov.io [2020-10-06T06:42:28.048Z] query: branch=PR-605&commit=a949cbedd13fe64ad0e3bd5af1231f5e808be727&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-06T06:42:28.048Z] -> Pinging Codecov [2020-10-06T06:42:28.048Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-605&commit=a949cbedd13fe64ad0e3bd5af1231f5e808be727&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-605%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=605&job=&cmd_args= [2020-10-06T06:42:28.634Z] -> Uploading to [2020-10-06T06:42:28.634Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/a949cbedd13fe64ad0e3bd5af1231f5e808be727/c9b7ff94-06b3-4463-9cf0-3b8a2b998953.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T064228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc0df40d9dc12df410257cd0a6f1d858c592594ef88a4969d68000ff12f92808 [2020-10-06T06:42:28.634Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T06:42:28.634Z] Dload Upload Total Spent Left Speed [2020-10-06T06:42:28.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18453 0 0 100 18453 0 41831 --:--:-- --:--:-- --:--:-- 41938 [2020-10-06T06:42:28.897Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a949cbedd13fe64ad0e3bd5af1231f5e808be727 [Pipeline] } [2020-10-06T06:42:28.906Z] 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-06T06:42:31.856Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:42:32.429Z] ---> package-listing.sh [2020-10-06T06:42:32.429Z] ++ facter osfamily [2020-10-06T06:42:32.429Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T06:42:32.429Z] + OS_FAMILY=redhat [2020-10-06T06:42:32.429Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 [2020-10-06T06:42:32.429Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T06:42:32.429Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T06:42:32.429Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T06:42:32.429Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T06:42:32.429Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-06T06:42:32.429Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T06:42:32.429Z] + case "${OS_FAMILY}" in [2020-10-06T06:42:32.429Z] + rpm -qa [2020-10-06T06:42:32.429Z] + sort [2020-10-06T06:42:36.667Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T06:42:36.667Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T06:42:36.667Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T06:42:36.667Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' [2020-10-06T06:42:36.667Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [2020-10-06T06:42:36.667Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T06:42:36.863Z] provisioning config files... [2020-10-06T06:42:36.880Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config5294374817815628075tmp [Pipeline] { [Pipeline] echo [2020-10-06T06:42:36.956Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:42:37.254Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T06:42:37.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T06:42:37.362Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:42:37.664Z] ---> python-tools-install.sh [2020-10-06T06:42:37.665Z] Generating Requirements File [2020-10-06T06:43:59.224Z] Python 3.6.8 [2020-10-06T06:43:59.224Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T06:43:59.224Z] appdirs==1.4.3 [2020-10-06T06:43:59.224Z] argcomplete==1.12.1 [2020-10-06T06:43:59.224Z] aspy.yaml==1.3.0 [2020-10-06T06:43:59.224Z] attrs==19.3.0 [2020-10-06T06:43:59.224Z] Babel==2.8.0 [2020-10-06T06:43:59.224Z] beautifulsoup4==4.8.2 [2020-10-06T06:43:59.224Z] boto3==1.11.6 [2020-10-06T06:43:59.224Z] botocore==1.14.6 [2020-10-06T06:43:59.224Z] bs4==0.0.1 [2020-10-06T06:43:59.224Z] cachetools==4.1.1 [2020-10-06T06:43:59.224Z] certifi==2019.11.28 [2020-10-06T06:43:59.224Z] cffi==1.14.3 [2020-10-06T06:43:59.224Z] cfgv==2.0.1 [2020-10-06T06:43:59.224Z] chardet==3.0.4 [2020-10-06T06:43:59.224Z] click==7.1 [2020-10-06T06:43:59.224Z] cliff==3.4.0 [2020-10-06T06:43:59.224Z] cmd2==1.3.11 [2020-10-06T06:43:59.224Z] colorama==0.4.3 [2020-10-06T06:43:59.224Z] cryptography==3.1.1 [2020-10-06T06:43:59.224Z] debtcollector==2.2.0 [2020-10-06T06:43:59.224Z] decorator==4.4.2 [2020-10-06T06:43:59.224Z] defusedxml==0.6.0 [2020-10-06T06:43:59.224Z] Deprecated==1.2.7 [2020-10-06T06:43:59.224Z] distlib==0.3.1 [2020-10-06T06:43:59.224Z] distro==1.2.0 [2020-10-06T06:43:59.224Z] dnspython==1.16.0 [2020-10-06T06:43:59.224Z] docker==4.2.0 [2020-10-06T06:43:59.224Z] docutils==0.15.2 [2020-10-06T06:43:59.224Z] dogpile.cache==1.0.2 [2020-10-06T06:43:59.224Z] email-validator==1.0.5 [2020-10-06T06:43:59.224Z] filelock==3.0.12 [2020-10-06T06:43:59.224Z] future==0.18.2 [2020-10-06T06:43:59.224Z] google-auth==1.22.1 [2020-10-06T06:43:59.224Z] httplib2==0.17.0 [2020-10-06T06:43:59.224Z] identify==1.4.11 [2020-10-06T06:43:59.224Z] idna==2.9 [2020-10-06T06:43:59.224Z] importlib-metadata==1.7.0 [2020-10-06T06:43:59.224Z] importlib-resources==1.5.0 [2020-10-06T06:43:59.224Z] iso8601==0.1.13 [2020-10-06T06:43:59.224Z] Jinja2==2.11.1 [2020-10-06T06:43:59.224Z] jmespath==0.10.0 [2020-10-06T06:43:59.224Z] jsonpatch==1.26 [2020-10-06T06:43:59.224Z] jsonpointer==2.0 [2020-10-06T06:43:59.224Z] jsonschema==3.2.0 [2020-10-06T06:43:59.224Z] keystoneauth1==4.2.1 [2020-10-06T06:43:59.224Z] kubernetes==11.0.0 [2020-10-06T06:43:59.224Z] lftools==0.34.2 [2020-10-06T06:43:59.224Z] lxml==4.5.0 [2020-10-06T06:43:59.224Z] MarkupSafe==0.23 [2020-10-06T06:43:59.224Z] msgpack==1.0.0 [2020-10-06T06:43:59.224Z] multi-key-dict==2.0.3 [2020-10-06T06:43:59.224Z] munch==2.5.0 [2020-10-06T06:43:59.224Z] netaddr==0.8.0 [2020-10-06T06:43:59.224Z] netifaces==0.10.9 [2020-10-06T06:43:59.224Z] niet==1.4.2 [2020-10-06T06:43:59.224Z] nodeenv==1.3.5 [2020-10-06T06:43:59.224Z] oauth2client==4.1.3 [2020-10-06T06:43:59.224Z] oauthlib==3.1.0 [2020-10-06T06:43:59.225Z] openstacksdk==0.50.0 [2020-10-06T06:43:59.225Z] os-client-config==2.1.0 [2020-10-06T06:43:59.225Z] os-service-types==1.7.0 [2020-10-06T06:43:59.225Z] osc-lib==2.2.1 [2020-10-06T06:43:59.225Z] oslo.config==8.3.2 [2020-10-06T06:43:59.225Z] oslo.context==3.1.1 [2020-10-06T06:43:59.225Z] oslo.i18n==5.0.1 [2020-10-06T06:43:59.225Z] oslo.log==4.4.0 [2020-10-06T06:43:59.225Z] oslo.serialization==4.0.1 [2020-10-06T06:43:59.225Z] oslo.utils==4.6.0 [2020-10-06T06:43:59.225Z] packaging==20.4 [2020-10-06T06:43:59.225Z] pbr==5.4.4 [2020-10-06T06:43:59.225Z] pluggy==0.13.1 [2020-10-06T06:43:59.225Z] prettytable==0.7.2 [2020-10-06T06:43:59.225Z] py==1.9.0 [2020-10-06T06:43:59.225Z] pyasn1==0.4.8 [2020-10-06T06:43:59.225Z] pyasn1-modules==0.2.8 [2020-10-06T06:43:59.225Z] pycparser==2.20 [2020-10-06T06:43:59.225Z] pygerrit2==2.0.10 [2020-10-06T06:43:59.225Z] PyGithub==1.46 [2020-10-06T06:43:59.225Z] pyinotify==0.9.6 [2020-10-06T06:43:59.225Z] PyJWT==1.7.1 [2020-10-06T06:43:59.225Z] pyparsing==2.4.7 [2020-10-06T06:43:59.225Z] pyperclip==1.8.0 [2020-10-06T06:43:59.225Z] pyroute2==0.4.13 [2020-10-06T06:43:59.225Z] pyrsistent==0.15.7 [2020-10-06T06:43:59.225Z] PySocks==1.6.8 [2020-10-06T06:43:59.225Z] python-cinderclient==7.2.0 [2020-10-06T06:43:59.225Z] python-dateutil==2.8.1 [2020-10-06T06:43:59.225Z] python-heatclient==2.2.1 [2020-10-06T06:43:59.225Z] python-jenkins==1.7.0 [2020-10-06T06:43:59.225Z] python-keystoneclient==4.1.1 [2020-10-06T06:43:59.225Z] python-magnumclient==3.2.1 [2020-10-06T06:43:59.225Z] python-novaclient==17.2.1 [2020-10-06T06:43:59.225Z] python-openstackclient==5.4.0 [2020-10-06T06:43:59.225Z] python-swiftclient==3.10.1 [2020-10-06T06:43:59.225Z] pytz==2020.1 [2020-10-06T06:43:59.225Z] PyYAML==5.3 [2020-10-06T06:43:59.225Z] requests==2.23.0 [2020-10-06T06:43:59.225Z] requests-oauthlib==1.3.0 [2020-10-06T06:43:59.225Z] requestsexceptions==1.4.0 [2020-10-06T06:43:59.225Z] rfc3986==1.4.0 [2020-10-06T06:43:59.225Z] rpm==4.11.3 [2020-10-06T06:43:59.225Z] rsa==4.0 [2020-10-06T06:43:59.225Z] ruamel.yaml==0.16.10 [2020-10-06T06:43:59.225Z] ruamel.yaml.clib==0.2.0 [2020-10-06T06:43:59.225Z] s3transfer==0.3.3 [2020-10-06T06:43:59.225Z] shade==1.27.2 [2020-10-06T06:43:59.225Z] simplejson==3.17.2 [2020-10-06T06:43:59.225Z] six==1.14.0 [2020-10-06T06:43:59.225Z] soupsieve==2.0 [2020-10-06T06:43:59.225Z] stevedore==3.2.2 [2020-10-06T06:43:59.225Z] tabulate==0.8.6 [2020-10-06T06:43:59.225Z] toml==0.10.0 [2020-10-06T06:43:59.225Z] tox==3.20.0 [2020-10-06T06:43:59.225Z] tqdm==4.43.0 [2020-10-06T06:43:59.225Z] urllib3==1.25.8 [2020-10-06T06:43:59.225Z] virtualenv==20.0.33 [2020-10-06T06:43:59.225Z] wcwidth==0.2.5 [2020-10-06T06:43:59.225Z] websocket-client==0.57.0 [2020-10-06T06:43:59.225Z] wrapt==1.12.1 [2020-10-06T06:43:59.225Z] xdg==3.0.2 [2020-10-06T06:43:59.225Z] xmltodict==0.12.0 [2020-10-06T06:43:59.225Z] yq==2.11.1 [2020-10-06T06:43:59.225Z] zipp==3.3.0 [2020-10-06T06:43:59.225Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:43:59.225Z] 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-06T06:43:59.225Z] Python 2.7.5 [2020-10-06T06:43:59.225Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T06:43:59.225Z] 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-06T06:43:59.225Z] ansible==2.9.7 [2020-10-06T06:43:59.225Z] Babel==0.9.6 [2020-10-06T06:43:59.225Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T06:43:59.225Z] beautifulsoup4==4.4.1 [2020-10-06T06:43:59.225Z] bodhi==2.11.0 [2020-10-06T06:43:59.225Z] bodhi-client==2.11.0 [2020-10-06T06:43:59.225Z] CCColUtils==1.4 [2020-10-06T06:43:59.225Z] cffi==1.6.0 [2020-10-06T06:43:59.225Z] chardet==2.2.1 [2020-10-06T06:43:59.225Z] click==6.7 [2020-10-06T06:43:59.225Z] cloud-init==18.5 [2020-10-06T06:43:59.225Z] configobj==4.7.2 [2020-10-06T06:43:59.225Z] cryptography==1.7.2 [2020-10-06T06:43:59.225Z] decorator==3.4.0 [2020-10-06T06:43:59.225Z] distro==1.2.0 [2020-10-06T06:43:59.225Z] enum34==1.0.4 [2020-10-06T06:43:59.225Z] fedpkg==1.38 [2020-10-06T06:43:59.225Z] futures==3.1.1 [2020-10-06T06:43:59.225Z] gitdb==0.6.4 [2020-10-06T06:43:59.225Z] GitPython==1.0.1 [2020-10-06T06:43:59.225Z] html5lib==0.999 [2020-10-06T06:43:59.225Z] httplib2==0.9.2 [2020-10-06T06:43:59.225Z] idna==2.4 [2020-10-06T06:43:59.225Z] iniparse==0.4 [2020-10-06T06:43:59.225Z] ipaddress==1.0.16 [2020-10-06T06:43:59.225Z] IPy==0.75 [2020-10-06T06:43:59.225Z] javapackages==1.0.0 [2020-10-06T06:43:59.225Z] Jinja2==2.7.2 [2020-10-06T06:43:59.225Z] jmespath==0.9.4 [2020-10-06T06:43:59.225Z] jsonpatch==1.2 [2020-10-06T06:43:59.225Z] jsonpointer==1.9 [2020-10-06T06:43:59.225Z] kerberos==1.1 [2020-10-06T06:43:59.225Z] kitchen==1.1.1 [2020-10-06T06:43:59.225Z] langtable==0.0.31 [2020-10-06T06:43:59.225Z] lockfile==0.9.1 [2020-10-06T06:43:59.225Z] lxml==3.2.1 [2020-10-06T06:43:59.225Z] MarkupSafe==0.11 [2020-10-06T06:43:59.225Z] munch==2.0.2 [2020-10-06T06:43:59.225Z] offtrac==0.1.0 [2020-10-06T06:43:59.225Z] openidc-client==0.6.0 [2020-10-06T06:43:59.225Z] packagedb-cli==2.14.1 [2020-10-06T06:43:59.225Z] paramiko==2.1.1 [2020-10-06T06:43:59.225Z] perf==0.1 [2020-10-06T06:43:59.225Z] ply==3.4 [2020-10-06T06:43:59.225Z] policycoreutils-default-encoding==0.1 [2020-10-06T06:43:59.225Z] prettytable==0.7.2 [2020-10-06T06:43:59.225Z] pyasn1==0.1.9 [2020-10-06T06:43:59.225Z] pycparser==2.14 [2020-10-06T06:43:59.225Z] pycurl==7.19.0 [2020-10-06T06:43:59.225Z] pygobject==3.22.0 [2020-10-06T06:43:59.225Z] pygpgme==0.3 [2020-10-06T06:43:59.225Z] pyliblzma==0.5.3 [2020-10-06T06:43:59.225Z] pyOpenSSL==0.13.1 [2020-10-06T06:43:59.225Z] pyparsing==1.5.6 [2020-10-06T06:43:59.225Z] pyserial==2.6 [2020-10-06T06:43:59.225Z] python-augeas==0.5.0 [2020-10-06T06:43:59.225Z] python-bugzilla==2.3.0 [2020-10-06T06:43:59.225Z] python-dateutil==1.5 [2020-10-06T06:43:59.225Z] python-fedora==0.10.0 [2020-10-06T06:43:59.225Z] python-linux-procfs==0.4.9 [2020-10-06T06:43:59.225Z] python-yubico==1.2.3 [2020-10-06T06:43:59.225Z] pyudev==0.15 [2020-10-06T06:43:59.225Z] pyusb==1.0.0b1 [2020-10-06T06:43:59.225Z] pyxattr==0.5.1 [2020-10-06T06:43:59.225Z] PyYAML==3.10 [2020-10-06T06:43:59.225Z] requests==2.6.0 [2020-10-06T06:43:59.225Z] requests-kerberos==0.7.0 [2020-10-06T06:43:59.225Z] rpkg==1.60 [2020-10-06T06:43:59.225Z] schedutils==0.4 [2020-10-06T06:43:59.225Z] seobject==0.1 [2020-10-06T06:43:59.225Z] sepolicy==1.1 [2020-10-06T06:43:59.225Z] six==1.9.0 [2020-10-06T06:43:59.225Z] smmap==0.9.0 [2020-10-06T06:43:59.225Z] urlgrabber==3.10 [2020-10-06T06:43:59.225Z] urllib3==1.10.2 [2020-10-06T06:43:59.225Z] virtualenv==15.1.0 [2020-10-06T06:43:59.225Z] yum-langpacks==0.4.2 [2020-10-06T06:43:59.225Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T06:43:59.238Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:43:59.539Z] ---> sudo-logs.sh [2020-10-06T06:43:59.539Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T06:43:59.814Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:44:00.112Z] ---> job-cost.sh [2020-10-06T06:44:00.112Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-p854 [2020-10-06T06:44:10.135Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:10.135Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:10.718Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:10.718Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:10.983Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:10.983Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:11.249Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:11.510Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:11.510Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:11.510Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:11.510Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:11.510Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:44:16.812Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T06:44:43.471Z] lf-activate-venv(): INFO: Adding /tmp/venv-p854/bin to PATH [2020-10-06T06:44:43.471Z] INFO: No Stack... [2020-10-06T06:44:43.471Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T06:44:44.416Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T06:44:44.431Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:44:44.749Z] ---> logs-deploy.sh [2020-10-06T06:44:44.749Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/6 [2020-10-06T06:44:44.749Z] INFO: archiving workspace using pattern(s): [2020-10-06T06:44:46.149Z] Archives upload complete. [2020-10-06T06:44:46.412Z] INFO: archiving logs to Nexus