Pull request #582 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b548679428654ee0dca8f5b5dc3d7fcaeb119b73+833c05b782f270c396ee40879762f076aaf9331e (ad819d4ff9c9c5bd012b3976a980469e7a33cb77) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-3684’ is offline; ‘prd-centos7-docker-4c-2g-3688’ is offline; ‘prd-centos7-docker-4c-2g-3697’ is offline; ‘prd-centos7-docker-8c-8g-3692’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3683’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3701 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 Merge succeeded, producing b548679428654ee0dca8f5b5dc3d7fcaeb119b73 Checking out Revision b548679428654ee0dca8f5b5dc3d7fcaeb119b73 (PR-582) > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # 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 b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. > git rev-list --no-walk 05b56d0a1601d2aa0b266612ab0c0e6bb6f2c045 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T06:38:28.028Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T06:38:28.335Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T06:38:28.460Z] ========================================================= [2020-10-06T06:38:28.461Z] EdgeX Global Pipelines Version Info [2020-10-06T06:38:28.461Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:38:29.993Z] ------------------- [2020-10-06T06:38:29.993Z] stable info: [2020-10-06T06:38:29.993Z] ------------------- [2020-10-06T06:38:29.993Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T06:38:29.993Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T06:38:29.993Z] Message: update stable to v1.0.131 [2020-10-06T06:38:30.943Z] ------------------- [2020-10-06T06:38:30.943Z] experimental info: [2020-10-06T06:38:30.943Z] ------------------- [2020-10-06T06:38:30.943Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T06:38:30.943Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T06:38:30.943Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T06:38:31.343Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T06:38:31.456Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T06:38:31.591Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T06:38:31.692Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T06:38:31.788Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T06:38:31.881Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T06:38:31.975Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T06:38:32.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T06:38:32.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T06:38:32.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T06:38:32.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T06:38:32.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T06:38:32.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T06:38:32.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T06:38:32.777Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T06:38:32.871Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:38:32.963Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:38:33.059Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T06:38:33.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T06:38:33.306Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T06:38:33.406Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-06T06:38:33.504Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-06T06:38:33.604Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T06:38:33.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T06:38:33.800Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T06:38:33.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-10-06T06:38:34.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-10-06T06:38:34.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-10-06T06:38:34.202Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [Pipeline] echo [2020-10-06T06:38:34.297Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b548679 [Pipeline] echo [2020-10-06T06:38:34.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:38:35.046Z] + git log --format=format:%s -1 b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [Pipeline] echo [2020-10-06T06:38:35.109Z] GIT_COMMIT: b548679428654ee0dca8f5b5dc3d7fcaeb119b73, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo [2020-10-06T06:38:35.158Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:38:35.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:38:35.972Z] [2020-10-06T06:38:35.972Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:38:36.324Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:38:36.325Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T06:38:36.325Z] 31603596830f: Pulling fs layer [2020-10-06T06:38:36.325Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T06:38:36.325Z] 6ca5941a6612: Pulling fs layer [2020-10-06T06:38:36.325Z] ecc8261a40a4: Pulling fs layer [2020-10-06T06:38:36.325Z] ecc8261a40a4: Waiting [2020-10-06T06:38:36.325Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T06:38:36.325Z] 2a8b12db71e7: Download complete [2020-10-06T06:38:36.588Z] 31603596830f: Download complete [2020-10-06T06:38:36.588Z] ecc8261a40a4: Verifying Checksum [2020-10-06T06:38:36.588Z] ecc8261a40a4: Download complete [2020-10-06T06:38:36.853Z] 6ca5941a6612: Verifying Checksum [2020-10-06T06:38:36.853Z] 6ca5941a6612: Download complete [2020-10-06T06:38:36.853Z] 31603596830f: Pull complete [2020-10-06T06:38:37.117Z] 2a8b12db71e7: Pull complete [2020-10-06T06:38:37.691Z] 6ca5941a6612: Pull complete [2020-10-06T06:38:37.952Z] ecc8261a40a4: Pull complete [2020-10-06T06:38:37.952Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T06:38:37.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T06:38:37.952Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T06:38:38.056Z] prd-centos7-docker-4c-2g-3701 does not seem to be running inside a container [2020-10-06T06:38:38.104Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-06T06:38:40.068Z] $ docker top 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T06:38:40.484Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:38:40.484Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:38:40.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:38:40.702Z] $ docker exec 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 ssh-agent [2020-10-06T06:38:40.894Z] SSH_AUTH_SOCK=/tmp/ssh-4uymp2etikC8/agent.13 [2020-10-06T06:38:40.894Z] SSH_AGENT_PID=18 [2020-10-06T06:38:40.907Z] Running ssh-add (command line suppressed) [2020-10-06T06:38:41.046Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5707727096274202714.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5707727096274202714.key) [2020-10-06T06:38:41.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:38:41.444Z] + git describe --exact-match --tags HEAD [2020-10-06T06:38:41.444Z] fatal: no tag exactly matches 'b548679428654ee0dca8f5b5dc3d7fcaeb119b73' [Pipeline] } [2020-10-06T06:38:41.471Z] $ docker exec --env ******** --env ******** 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 ssh-agent -k [2020-10-06T06:38:41.581Z] unset SSH_AUTH_SOCK; [2020-10-06T06:38:41.581Z] unset SSH_AGENT_PID; [2020-10-06T06:38:41.581Z] echo Agent pid 18 killed; [2020-10-06T06:38:41.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T06:38:41.713Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T06:38:41.713Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T06:38:41.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T06:38:41.815Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T06:38:42.017Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T06:38:42.023Z] $ docker exec 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 ssh-agent [2020-10-06T06:38:42.187Z] SSH_AUTH_SOCK=/tmp/ssh-bpYFLOjBX6jx/agent.49 [2020-10-06T06:38:42.187Z] SSH_AGENT_PID=54 [2020-10-06T06:38:42.194Z] Running ssh-add (command line suppressed) [2020-10-06T06:38:42.334Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1312404512842996315.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1312404512842996315.key) [2020-10-06T06:38:42.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T06:38:42.726Z] + git semver init [2020-10-06T06:38:42.726Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T06:38:42.726Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-10-06T06:38:42.726Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-06T06:38:42.726Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T06:38:42.726Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T06:38:42.726Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T06:38:42.726Z] # $SEMVER_BRANCH = PR-582 [2020-10-06T06:38:42.726Z] # $SEMVER_TEMP = /tmp/semver-366904768 [2020-10-06T06:38:42.726Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T06:38:43.719Z] # '/tmp/semver-366904768' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-10-06T06:38:43.719Z] # -> Force: false [2020-10-06T06:38:43.719Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-10-06T06:38:43.734Z] $ docker exec --env ******** --env ******** 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 ssh-agent -k [2020-10-06T06:38:43.850Z] unset SSH_AUTH_SOCK; [2020-10-06T06:38:43.850Z] unset SSH_AGENT_PID; [2020-10-06T06:38:43.850Z] echo Agent pid 54 killed; [2020-10-06T06:38:43.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T06:38:44.387Z] + git semver [Pipeline] } [2020-10-06T06:38:44.422Z] $ docker stop --time=1 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 [2020-10-06T06:38:45.881Z] $ docker rm -f 32a2e9b5f52635373998d964728ef4dd357fbb9e1ca146139e381423f4bea9a8 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T06:38:46.823Z] Stashed 46 file(s) [Pipeline] echo [2020-10-06T06:38:46.826Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T06:38:46.919Z] 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:39:02.331Z] Still waiting to schedule task [2020-10-06T06:39:02.331Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-3682’ is offline; ‘prd-centos7-docker-4c-2g-3684’ is offline; ‘prd-centos7-docker-4c-2g-3688’ is offline; ‘prd-centos7-docker-4c-2g-3695’ is offline; ‘prd-centos7-docker-4c-2g-3702’ is offline; ‘prd-centos7-docker-4c-2g-3703’ is offline; ‘prd-centos7-docker-8c-8g-3692’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3683’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3690’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3693’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-06T06:39:02.333Z] Still waiting to schedule task [2020-10-06T06:39:02.333Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-06T06:40:19.963Z] Running on prd-centos7-docker-4c-2g-3707 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-06T06:40:20.023Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2020-10-06T06:40:22.745Z] using credential edgex-jenkins-ssh [2020-10-06T06:40:22.810Z] Cloning the remote Git repository [2020-10-06T06:40:22.837Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:40:22.904Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2020-10-06T06:40:22.956Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:40:22.956Z] > git --version # timeout=10 [2020-10-06T06:40:22.964Z] > git --version # 'git version 2.16.5' [2020-10-06T06:40:22.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:40:22.991Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:40:24.764Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-06T06:40:24.863Z] Merge succeeded, producing b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-06T06:40:24.864Z] Checking out Revision b548679428654ee0dca8f5b5dc3d7fcaeb119b73 (PR-582) [2020-10-06T06:40:24.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:40:24.250Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:40:24.264Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:40:24.277Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:40:24.278Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:40:24.283Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:40:24.774Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:40:24.781Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-06T06:40:24.830Z] > git remote # timeout=10 [2020-10-06T06:40:24.842Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:40:24.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:40:24.851Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-06T06:40:24.860Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:40:24.869Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:40:24.873Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-06T06:40:28.489Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T06:40:29.382Z] ========================================================= [2020-10-06T06:40:29.382Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T06:40:29.382Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:40:30.091Z] + 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:40:31.052Z] Sending build context to Docker daemon 3.491MB [2020-10-06T06:40:31.052Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:40:31.052Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:40:31.318Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T06:40:31.318Z] df20fa9351a1: Pulling fs layer [2020-10-06T06:40:31.318Z] ed8968b2872e: Pulling fs layer [2020-10-06T06:40:31.318Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T06:40:31.318Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T06:40:31.318Z] e73272ec9a57: Pulling fs layer [2020-10-06T06:40:31.318Z] 1e910a182e73: Pulling fs layer [2020-10-06T06:40:31.318Z] 4e634b169226: Pulling fs layer [2020-10-06T06:40:31.318Z] e73272ec9a57: Waiting [2020-10-06T06:40:31.318Z] 1e910a182e73: Waiting [2020-10-06T06:40:31.318Z] 4e634b169226: Waiting [2020-10-06T06:40:31.318Z] e871e8e8d7a9: Waiting [2020-10-06T06:40:31.318Z] a92cc7c5fd73: Download complete [2020-10-06T06:40:31.589Z] ed8968b2872e: Download complete [2020-10-06T06:40:31.589Z] e73272ec9a57: Verifying Checksum [2020-10-06T06:40:31.589Z] e73272ec9a57: Download complete [2020-10-06T06:40:31.861Z] 1e910a182e73: Verifying Checksum [2020-10-06T06:40:31.861Z] 1e910a182e73: Download complete [2020-10-06T06:40:32.128Z] df20fa9351a1: Verifying Checksum [2020-10-06T06:40:32.128Z] df20fa9351a1: Download complete [2020-10-06T06:40:32.399Z] df20fa9351a1: Pull complete [2020-10-06T06:40:32.662Z] ed8968b2872e: Pull complete [2020-10-06T06:40:32.662Z] a92cc7c5fd73: Pull complete [2020-10-06T06:40:35.988Z] 4e634b169226: Verifying Checksum [2020-10-06T06:40:36.569Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T06:40:36.569Z] e871e8e8d7a9: Download complete [2020-10-06T06:40:41.897Z] e871e8e8d7a9: Pull complete [2020-10-06T06:40:42.159Z] e73272ec9a57: Pull complete [2020-10-06T06:40:42.159Z] 1e910a182e73: Pull complete [2020-10-06T06:40:47.494Z] 4e634b169226: Pull complete [2020-10-06T06:40:47.494Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T06:40:47.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T06:40:47.494Z] ---> f7629b54cfaa [2020-10-06T06:40:47.494Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:40:47.494Z] ---> Running in 54a5af3b0a86 [2020-10-06T06:40:47.760Z] Removing intermediate container 54a5af3b0a86 [2020-10-06T06:40:47.760Z] ---> 44f0a329b191 [2020-10-06T06:40:47.760Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:40:47.760Z] ---> Running in d8e4915a6126 [2020-10-06T06:40:49.697Z] Removing intermediate container d8e4915a6126 [2020-10-06T06:40:49.697Z] ---> d8a1f7559bda [2020-10-06T06:40:49.697Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:40:49.697Z] ---> Running in d6db86aed68e [2020-10-06T06:40:50.277Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T06:40:51.228Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:40:52.628Z] OK: 166 MiB in 39 packages [2020-10-06T06:40:52.891Z] Removing intermediate container d6db86aed68e [2020-10-06T06:40:52.891Z] ---> ca3a64c0ccf1 [2020-10-06T06:40:52.891Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:40:52.891Z] ---> Running in da213847d9a6 [2020-10-06T06:40:53.155Z] Removing intermediate container da213847d9a6 [2020-10-06T06:40:53.155Z] ---> bf0d6cb64c29 [2020-10-06T06:40:53.155Z] Step 7/8 : COPY . . [2020-10-06T06:40:54.545Z] ---> 95d5b3e65975 [2020-10-06T06:40:54.545Z] Step 8/8 : RUN go mod download [2020-10-06T06:40:54.545Z] ---> Running in 899bba5b16a0 [2020-10-06T06:41:16.575Z] Removing intermediate container 899bba5b16a0 [2020-10-06T06:41:16.575Z] ---> e74b2d7d411f [2020-10-06T06:41:16.575Z] Successfully built e74b2d7d411f [2020-10-06T06:41:16.575Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:41:16.939Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:41:16.939Z] . [Pipeline] withDockerContainer [2020-10-06T06:41:17.157Z] prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container [2020-10-06T06:41:17.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T06:41:18.032Z] $ docker top 885c4d431d7382c2151844cbc8c89f554402356debda927bb99a2d93c4c52faa -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:41:18.524Z] + go version [2020-10-06T06:41:18.524Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T06:41:18.541Z] $ docker stop --time=1 885c4d431d7382c2151844cbc8c89f554402356debda927bb99a2d93c4c52faa [2020-10-06T06:41:19.897Z] $ docker rm -f 885c4d431d7382c2151844cbc8c89f554402356debda927bb99a2d93c4c52faa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:41:21.025Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T06:41:21.025Z] . [Pipeline] withDockerContainer [2020-10-06T06:41:21.133Z] prd-centos7-docker-4c-2g-3707 does not seem to be running inside a container [2020-10-06T06:41:21.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-06T06:41:21.781Z] $ docker top a67066cafca365c7949dd839a1749007df4fdf86355ca59c1404a41061e7fefe -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:41:22.277Z] + make test [2020-10-06T06:41:22.278Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:41:30.471Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:41:45.516Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:41:45.516Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:41:45.516Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:41:45.516Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.052s coverage: 21.6% of statements [2020-10-06T06:41:45.783Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.448s coverage: 97.1% of statements [2020-10-06T06:42:05.090Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3709 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-10-06T06:42:05.141Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2020-10-06T06:42:11.591Z] using credential edgex-jenkins-ssh [2020-10-06T06:42:11.657Z] Cloning the remote Git repository [2020-10-06T06:42:11.731Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:42:11.856Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2020-10-06T06:42:11.949Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:42:11.950Z] > git --version # timeout=10 [2020-10-06T06:42:11.979Z] > git --version # 'git version 2.17.1' [2020-10-06T06:42:11.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:42:12.071Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:42:13.857Z] Merging remotes/origin/master commit 833c05b782f270c396ee40879762f076aaf9331e into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-06T06:42:13.155Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:42:13.185Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T06:42:13.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T06:42:13.285Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T06:42:13.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:42:13.302Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T06:42:13.883Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:42:13.907Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-06T06:42:14.115Z] > git remote # timeout=10 [2020-10-06T06:42:14.164Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T06:42:14.327Z] Merge succeeded, producing b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-06T06:42:14.328Z] Checking out Revision b548679428654ee0dca8f5b5dc3d7fcaeb119b73 (PR-582) [2020-10-06T06:42:14.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T06:42:14.201Z] > git merge 833c05b782f270c396ee40879762f076aaf9331e # timeout=10 [2020-10-06T06:42:14.265Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T06:42:14.338Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T06:42:14.392Z] > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 [2020-10-06T06:42:17.945Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.048s coverage: 9.4% of statements [2020-10-06T06:42:17.945Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements [2020-10-06T06:42:17.945Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:42:17.945Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.192s coverage: 40.3% of statements [2020-10-06T06:42:17.945Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:42:17.945Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.269s coverage: 65.4% of statements [2020-10-06T06:42:17.945Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:42:17.945Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:42:17.945Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:42:17.945Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:42:17.945Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements [2020-10-06T06:42:17.945Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:42:17.945Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.390s coverage: 68.9% of statements [2020-10-06T06:42:17.945Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:42:17.945Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:42:17.945Z] GO111MODULE=on go vet ./... [2020-10-06T06:42:18.875Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T06:42:20.324Z] ========================================================= [2020-10-06T06:42:20.325Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T06:42:20.325Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:42:21.489Z] + 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:42:22.479Z] Sending build context to Docker daemon 3.49MB [2020-10-06T06:42:22.480Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T06:42:22.480Z] Step 2/8 : FROM ${BASE} [2020-10-06T06:42:22.758Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T06:42:22.758Z] b538f80385f9: Pulling fs layer [2020-10-06T06:42:22.758Z] 74f711af9a0d: Pulling fs layer [2020-10-06T06:42:22.758Z] 99f96fe45779: Pulling fs layer [2020-10-06T06:42:22.758Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T06:42:22.758Z] 45590311c82a: Pulling fs layer [2020-10-06T06:42:22.758Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T06:42:22.758Z] 209524e5b208: Pulling fs layer [2020-10-06T06:42:22.758Z] 8529a6b9a6be: Waiting [2020-10-06T06:42:22.758Z] 45590311c82a: Waiting [2020-10-06T06:42:22.758Z] 69ca0ff8b7b3: Waiting [2020-10-06T06:42:22.758Z] 209524e5b208: Waiting [2020-10-06T06:42:22.758Z] 99f96fe45779: Download complete [2020-10-06T06:42:22.758Z] 74f711af9a0d: Verifying Checksum [2020-10-06T06:42:22.758Z] 74f711af9a0d: Download complete [2020-10-06T06:42:23.031Z] 45590311c82a: Verifying Checksum [2020-10-06T06:42:23.031Z] 45590311c82a: Download complete [2020-10-06T06:42:23.031Z] 69ca0ff8b7b3: Download complete [2020-10-06T06:42:23.031Z] b538f80385f9: Verifying Checksum [2020-10-06T06:42:23.031Z] b538f80385f9: Download complete [2020-10-06T06:42:23.639Z] b538f80385f9: Pull complete [2020-10-06T06:42:24.245Z] 74f711af9a0d: Pull complete [2020-10-06T06:42:24.532Z] 99f96fe45779: Pull complete [2020-10-06T06:42:24.636Z] gofmt -l . [2020-10-06T06:42:24.637Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:42:24.637Z] ./bin/test-attribution-txt.sh [2020-10-06T06:42:24.903Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:42:25.524Z] 209524e5b208: Verifying Checksum [2020-10-06T06:42:25.525Z] 209524e5b208: Download complete [2020-10-06T06:42:25.563Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:42:25.573Z] $ docker stop --time=1 a67066cafca365c7949dd839a1749007df4fdf86355ca59c1404a41061e7fefe [2020-10-06T06:42:26.968Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T06:42:26.968Z] 8529a6b9a6be: Download complete [2020-10-06T06:42:27.435Z] $ docker rm -f a67066cafca365c7949dd839a1749007df4fdf86355ca59c1404a41061e7fefe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-06T06:42:28.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T06:42:29.264Z] + ls -al . [2020-10-06T06:42:29.264Z] total 192 [2020-10-06T06:42:29.264Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 06:42 . [2020-10-06T06:42:29.264Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 6 06:40 .. [2020-10-06T06:42:29.264Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 06:40 bin [2020-10-06T06:42:29.264Z] -rw-r--r--. 1 jenkins jenkins 111041 Oct 6 06:42 coverage.out [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 06:40 Dockerfile.build [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 06:40 .dockerignore [2020-10-06T06:42:29.264Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 06:40 example [2020-10-06T06:42:29.264Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 06:40 .git [2020-10-06T06:42:29.264Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 06:40 .github [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 06:40 .gitignore [2020-10-06T06:42:29.264Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 06:42 go.mod [2020-10-06T06:42:29.264Z] -rw-r--r--. 1 jenkins jenkins 13731 Oct 6 06:42 go.sum [2020-10-06T06:42:29.264Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 06:40 internal [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 06:40 Jenkinsfile [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 06:40 LICENSE [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 06:40 Makefile [2020-10-06T06:42:29.264Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 06:40 openapi [2020-10-06T06:42:29.264Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 06:40 pkg [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 06:40 README.md [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 06:40 RELEASE-NOTES.txt [2020-10-06T06:42:29.264Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 06:40 .semver [2020-10-06T06:42:29.264Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 06:40 snap [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 06:38 VERSION [2020-10-06T06:42:29.264Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 06:40 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:42:29.610Z] + 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=b548679428654ee0dca8f5b5dc3d7fcaeb119b73 --label arch=amd64 --label version=0.0.0 . [2020-10-06T06:42:29.873Z] Sending build context to Docker daemon 3.602MB [2020-10-06T06:42:29.873Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:42:29.873Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:42:29.873Z] ---> e74b2d7d411f [2020-10-06T06:42:29.873Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:42:30.448Z] ---> Running in 29968a6c92cc [2020-10-06T06:42:30.711Z] Removing intermediate container 29968a6c92cc [2020-10-06T06:42:30.711Z] ---> 844daa250454 [2020-10-06T06:42:30.711Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:42:30.711Z] ---> Running in 114df6ef890a [2020-10-06T06:42:30.711Z] Removing intermediate container 114df6ef890a [2020-10-06T06:42:30.711Z] ---> 8f2aec32762d [2020-10-06T06:42:30.711Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:42:30.973Z] ---> Running in 86b894553f2f [2020-10-06T06:42:30.973Z] Removing intermediate container 86b894553f2f [2020-10-06T06:42:30.973Z] ---> 96be25f666d4 [2020-10-06T06:42:30.973Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:42:31.241Z] ---> Running in b15e90f6f101 [2020-10-06T06:42:32.196Z] Removing intermediate container b15e90f6f101 [2020-10-06T06:42:32.196Z] ---> d23e8205d07a [2020-10-06T06:42:32.196Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:42:32.196Z] ---> Running in 18d475b38ee0 [2020-10-06T06:42:32.461Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T06:42:33.412Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T06:42:35.337Z] OK: 166 MiB in 39 packages [2020-10-06T06:42:36.285Z] Removing intermediate container 18d475b38ee0 [2020-10-06T06:42:36.285Z] ---> 290c18f9390b [2020-10-06T06:42:36.285Z] Step 8/24 : COPY . . [2020-10-06T06:42:37.182Z] 8529a6b9a6be: Pull complete [2020-10-06T06:42:37.182Z] 45590311c82a: Pull complete [2020-10-06T06:42:37.238Z] ---> f51b4fdb7e14 [2020-10-06T06:42:37.238Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:42:37.238Z] ---> Running in f0d6855ed51a [2020-10-06T06:42:37.456Z] 69ca0ff8b7b3: Pull complete [2020-10-06T06:42:37.816Z] 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:41.786Z] 209524e5b208: Pull complete [2020-10-06T06:42:41.786Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T06:42:41.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T06:42:41.786Z] ---> 5bddaf1c2fca [2020-10-06T06:42:41.786Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:42:45.208Z] ---> Running in c56f567c1383 [2020-10-06T06:42:45.208Z] Removing intermediate container c56f567c1383 [2020-10-06T06:42:45.208Z] ---> 170d2b6aee96 [2020-10-06T06:42:45.208Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:42:45.208Z] ---> Running in 937bc20cb9da [2020-10-06T06:42:46.048Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:42:47.441Z] Removing intermediate container f0d6855ed51a [2020-10-06T06:42:47.441Z] ---> 686d872a7338 [2020-10-06T06:42:47.441Z] Step 10/24 : FROM scratch [2020-10-06T06:42:47.441Z] ---> [2020-10-06T06:42:47.441Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:42:47.441Z] ---> Running in f50589b5027a [2020-10-06T06:42:47.703Z] Removing intermediate container f50589b5027a [2020-10-06T06:42:47.703Z] ---> f81e334b90a3 [2020-10-06T06:42:47.703Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:42:47.703Z] ---> Running in 8e9f1fc51d26 [2020-10-06T06:42:47.964Z] Removing intermediate container 8e9f1fc51d26 [2020-10-06T06:42:47.964Z] ---> f5ae887576d5 [2020-10-06T06:42:47.964Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:42:47.964Z] ---> Running in 702af9158db7 [2020-10-06T06:42:47.964Z] Removing intermediate container 702af9158db7 [2020-10-06T06:42:47.964Z] ---> 040d6fd4d984 [2020-10-06T06:42:47.964Z] Step 14/24 : WORKDIR / [2020-10-06T06:42:47.964Z] ---> Running in de97156c1f4d [2020-10-06T06:42:48.226Z] Removing intermediate container de97156c1f4d [2020-10-06T06:42:48.226Z] ---> 67785af471d5 [2020-10-06T06:42:48.226Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:42:48.645Z] Removing intermediate container 937bc20cb9da [2020-10-06T06:42:48.645Z] ---> f4d97b1eb9b1 [2020-10-06T06:42:48.645Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T06:42:48.645Z] ---> Running in 86c18000a44f [2020-10-06T06:42:48.801Z] ---> d004f489e4be [2020-10-06T06:42:48.801Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:42:49.062Z] ---> acde053c02f9 [2020-10-06T06:42:49.062Z] 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:49.325Z] ---> ad2b00fa29bc [2020-10-06T06:42:49.325Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:42:49.325Z] ---> c21035c37c25 [2020-10-06T06:42:49.325Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:42:49.586Z] ---> b48f0df46bd4 [2020-10-06T06:42:49.586Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:42:49.586Z] ---> Running in 76b5efc8c090 [2020-10-06T06:42:49.848Z] Removing intermediate container 76b5efc8c090 [2020-10-06T06:42:49.848Z] ---> 5ff4cea10a5f [2020-10-06T06:42:49.848Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:42:49.848Z] ---> Running in 12e11fadf697 [2020-10-06T06:42:50.091Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:42:50.112Z] Removing intermediate container 12e11fadf697 [2020-10-06T06:42:50.112Z] ---> 6b12806e077b [2020-10-06T06:42:50.112Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T06:42:50.112Z] ---> Running in 90ae4ae9a913 [2020-10-06T06:42:50.379Z] Removing intermediate container 90ae4ae9a913 [2020-10-06T06:42:50.379Z] ---> 397f4287b1c2 [2020-10-06T06:42:50.379Z] Step 23/24 : LABEL git_sha=b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-06T06:42:50.379Z] ---> Running in 4eb57fe7bb08 [2020-10-06T06:42:50.379Z] Removing intermediate container 4eb57fe7bb08 [2020-10-06T06:42:50.379Z] ---> 172770deff36 [2020-10-06T06:42:50.379Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:42:50.648Z] ---> Running in b9a12341d678 [2020-10-06T06:42:50.648Z] Removing intermediate container b9a12341d678 [2020-10-06T06:42:50.648Z] ---> 50b929308ccf [2020-10-06T06:42:50.648Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:42:50.648Z] Successfully built 50b929308ccf [2020-10-06T06:42:50.910Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [2020-10-06T06:42:51.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [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:42:52.519Z] OK: 142 MiB in 39 packages [2020-10-06T06:42:53.504Z] Removing intermediate container 86c18000a44f [2020-10-06T06:42:53.504Z] ---> 1df3a9e6bba1 [2020-10-06T06:42:53.504Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T06:42:53.504Z] ---> Running in 7771a94dd5d5 [2020-10-06T06:42:54.102Z] Removing intermediate container 7771a94dd5d5 [2020-10-06T06:42:54.102Z] ---> 9af5a2f2a7e1 [2020-10-06T06:42:54.102Z] Step 7/8 : COPY . . [2020-10-06T06:42:56.084Z] ---> 3fb935b69ce9 [2020-10-06T06:42:56.084Z] Step 8/8 : RUN go mod download [2020-10-06T06:42:56.084Z] ---> Running in 68e71b7e1fad [2020-10-06T06:43:18.274Z] Removing intermediate container 68e71b7e1fad [2020-10-06T06:43:18.274Z] ---> 1be11bc960d0 [2020-10-06T06:43:18.274Z] Successfully built 1be11bc960d0 [2020-10-06T06:43:18.274Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:43:18.683Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:43:18.683Z] . [Pipeline] withDockerContainer [2020-10-06T06:43:18.984Z] prd-ubuntu18.04-docker-arm64-4c-16g-3709 does not seem to be running inside a container [2020-10-06T06:43:19.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-06T06:43:20.953Z] $ docker top 04d38a09a3c7070cb089d9b6d78966f65158a1370aafcfe80bab3df0466dea88 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:43:22.353Z] + go version [2020-10-06T06:43:22.353Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T06:43:22.382Z] $ docker stop --time=1 04d38a09a3c7070cb089d9b6d78966f65158a1370aafcfe80bab3df0466dea88 [2020-10-06T06:43:24.319Z] $ docker rm -f 04d38a09a3c7070cb089d9b6d78966f65158a1370aafcfe80bab3df0466dea88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:43:25.406Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T06:43:25.406Z] . [Pipeline] withDockerContainer [2020-10-06T06:43:25.694Z] prd-ubuntu18.04-docker-arm64-4c-16g-3709 does not seem to be running inside a container [2020-10-06T06:43:25.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-06T06:43:27.757Z] $ docker top c62e1c00a30d35542d70451c023b328afd78712e91f7b391b3a6bb617760c389 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T06:43:29.212Z] + make test [2020-10-06T06:43:29.212Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T06:43:56.104Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T06:44:35.199Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T06:44:35.199Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T06:44:35.199Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T06:44:37.891Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.160s coverage: 21.6% of statements [2020-10-06T06:44:43.356Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.305s coverage: 97.1% of statements [2020-10-06T06:45:10.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.190s coverage: 9.4% of statements [2020-10-06T06:45:10.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.154s coverage: 21.9% of statements [2020-10-06T06:45:10.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T06:45:10.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.605s coverage: 40.3% of statements [2020-10-06T06:45:10.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T06:45:10.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.993s coverage: 65.4% of statements [2020-10-06T06:45:10.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T06:45:10.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T06:45:10.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T06:45:10.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T06:45:10.411Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.188s coverage: 52.6% of statements [2020-10-06T06:45:10.411Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T06:45:10.411Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.007s coverage: 68.9% of statements [2020-10-06T06:45:10.411Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T06:45:10.411Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T06:45:10.411Z] GO111MODULE=on go vet ./... [2020-10-06T06:45:42.791Z] gofmt -l . [2020-10-06T06:45:42.791Z] [ "`gofmt -l .`" = "" ] [2020-10-06T06:45:42.791Z] ./bin/test-attribution-txt.sh [2020-10-06T06:45:42.791Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T06:45:42.811Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T06:45:43.560Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T06:45:43.571Z] $ docker stop --time=1 c62e1c00a30d35542d70451c023b328afd78712e91f7b391b3a6bb617760c389 [2020-10-06T06:45:45.723Z] $ docker rm -f c62e1c00a30d35542d70451c023b328afd78712e91f7b391b3a6bb617760c389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T06:45:47.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T06:45:47.448Z] + ls -al . [2020-10-06T06:45:47.448Z] total 232 [2020-10-06T06:45:47.448Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 06:45 . [2020-10-06T06:45:47.448Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:42 .. [2020-10-06T06:45:47.448Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 06:42 .dockerignore [2020-10-06T06:45:47.448Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 06:42 .git [2020-10-06T06:45:47.448Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:42 .github [2020-10-06T06:45:47.449Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 06:42 .gitignore [2020-10-06T06:45:47.449Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 06:42 .semver [2020-10-06T06:45:47.449Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 06:42 Dockerfile.build [2020-10-06T06:45:47.449Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 06:42 Jenkinsfile [2020-10-06T06:45:47.449Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 06:42 LICENSE [2020-10-06T06:45:47.449Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 06:42 Makefile [2020-10-06T06:45:47.449Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 06:42 README.md [2020-10-06T06:45:47.449Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 06:42 RELEASE-NOTES.txt [2020-10-06T06:45:47.449Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 06:38 VERSION [2020-10-06T06:45:47.449Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 06:42 bin [2020-10-06T06:45:47.449Z] -rw-r--r-- 1 jenkins jenkins 111041 Oct 6 06:45 coverage.out [2020-10-06T06:45:47.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:42 example [2020-10-06T06:45:47.449Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 06:45 go.mod [2020-10-06T06:45:47.449Z] -rw-r--r-- 1 jenkins jenkins 13731 Oct 6 06:45 go.sum [2020-10-06T06:45:47.449Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 06:42 internal [2020-10-06T06:45:47.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:42 openapi [2020-10-06T06:45:47.449Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 06:42 pkg [2020-10-06T06:45:47.449Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 06:42 snap [2020-10-06T06:45:47.449Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 06:42 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T06:45:47.804Z] + 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=b548679428654ee0dca8f5b5dc3d7fcaeb119b73 --label arch=arm64 --label version=0.0.0 . [2020-10-06T06:45:48.407Z] Sending build context to Docker daemon 3.602MB [2020-10-06T06:45:48.407Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T06:45:48.407Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T06:45:48.407Z] ---> 1be11bc960d0 [2020-10-06T06:45:48.407Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T06:45:48.681Z] ---> Running in 117fd05d675e [2020-10-06T06:45:48.955Z] Removing intermediate container 117fd05d675e [2020-10-06T06:45:48.955Z] ---> bfd3b82c470f [2020-10-06T06:45:48.955Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T06:45:49.228Z] ---> Running in 87e8504e1a6c [2020-10-06T06:45:49.499Z] Removing intermediate container 87e8504e1a6c [2020-10-06T06:45:49.499Z] ---> 35d8359d6e84 [2020-10-06T06:45:49.499Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:45:49.770Z] ---> Running in 994457efbc2b [2020-10-06T06:45:50.045Z] Removing intermediate container 994457efbc2b [2020-10-06T06:45:50.045Z] ---> c09b6fb3d883 [2020-10-06T06:45:50.045Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T06:45:50.321Z] ---> Running in 4cd19f04844c [2020-10-06T06:45:52.957Z] Removing intermediate container 4cd19f04844c [2020-10-06T06:45:52.957Z] ---> 90ba8b7bc2ca [2020-10-06T06:45:52.957Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T06:45:52.957Z] ---> Running in a45662a020bc [2020-10-06T06:45:54.387Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T06:45:54.988Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T06:45:55.971Z] OK: 142 MiB in 39 packages [2020-10-06T06:45:56.953Z] Removing intermediate container a45662a020bc [2020-10-06T06:45:56.953Z] ---> 06a555009a07 [2020-10-06T06:45:56.953Z] Step 8/24 : COPY . . [2020-10-06T06:45:58.390Z] ---> 76a13736e696 [2020-10-06T06:45:58.390Z] Step 9/24 : RUN ${MAKE} [2020-10-06T06:45:58.390Z] ---> Running in b44c25f75aee [2020-10-06T06:45:59.826Z] 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:46:26.662Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T06:46:26.662Z] Removing intermediate container b44c25f75aee [2020-10-06T06:46:26.662Z] ---> 7b9f0e653472 [2020-10-06T06:46:26.662Z] Step 10/24 : FROM scratch [2020-10-06T06:46:26.662Z] ---> [2020-10-06T06:46:26.662Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T06:46:26.662Z] ---> Running in 05796d7289c3 [2020-10-06T06:46:26.662Z] Removing intermediate container 05796d7289c3 [2020-10-06T06:46:26.662Z] ---> 684eb63e507d [2020-10-06T06:46:26.662Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T06:46:26.662Z] ---> Running in 9bd80166ae24 [2020-10-06T06:46:27.262Z] Removing intermediate container 9bd80166ae24 [2020-10-06T06:46:27.262Z] ---> 1b00533287ba [2020-10-06T06:46:27.262Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T06:46:27.262Z] ---> Running in 71d86da8bd35 [2020-10-06T06:46:27.856Z] Removing intermediate container 71d86da8bd35 [2020-10-06T06:46:27.856Z] ---> 0ac444e980b3 [2020-10-06T06:46:27.856Z] Step 14/24 : WORKDIR / [2020-10-06T06:46:28.130Z] ---> Running in 8a5d56b58fe1 [2020-10-06T06:46:28.731Z] Removing intermediate container 8a5d56b58fe1 [2020-10-06T06:46:28.731Z] ---> ca06b5ca7a2d [2020-10-06T06:46:28.731Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T06:46:30.170Z] ---> 4012b3779327 [2020-10-06T06:46:30.170Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T06:46:30.769Z] ---> 77c233c6ea5d [2020-10-06T06:46:30.769Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T06:46:31.750Z] ---> 7667774e37fd [2020-10-06T06:46:31.750Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T06:46:32.353Z] ---> b50af53828d5 [2020-10-06T06:46:32.353Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T06:46:33.329Z] ---> 59570f7e8e84 [2020-10-06T06:46:33.329Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T06:46:33.329Z] ---> Running in fc9323b9085d [2020-10-06T06:46:33.927Z] Removing intermediate container fc9323b9085d [2020-10-06T06:46:33.927Z] ---> 2f027df10fea [2020-10-06T06:46:33.927Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T06:46:33.927Z] ---> Running in 6597cba61c32 [2020-10-06T06:46:34.532Z] Removing intermediate container 6597cba61c32 [2020-10-06T06:46:34.532Z] ---> 6d256c5bc133 [2020-10-06T06:46:34.532Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T06:46:34.532Z] ---> Running in 00a9edb59166 [2020-10-06T06:46:35.133Z] Removing intermediate container 00a9edb59166 [2020-10-06T06:46:35.133Z] ---> 3734f0930f3c [2020-10-06T06:46:35.133Z] Step 23/24 : LABEL git_sha=b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [2020-10-06T06:46:35.133Z] ---> Running in 096d5074fe74 [2020-10-06T06:46:35.728Z] Removing intermediate container 096d5074fe74 [2020-10-06T06:46:35.728Z] ---> 89c41a009c79 [2020-10-06T06:46:35.728Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T06:46:35.728Z] ---> Running in b8500fa97e4c [2020-10-06T06:46:36.327Z] Removing intermediate container b8500fa97e4c [2020-10-06T06:46:36.327Z] ---> d8b08226ca55 [2020-10-06T06:46:36.327Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T06:46:36.327Z] Successfully built d8b08226ca55 [2020-10-06T06:46:36.327Z] 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:46:38.141Z] provisioning config files... [2020-10-06T06:46:38.154Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config8334518998773311173tmp [Pipeline] { [Pipeline] sh [2020-10-06T06:46:38.536Z] + set +x [2020-10-06T06:46:38.537Z] + curl -s https://codecov.io/bash [2020-10-06T06:46:38.537Z] + bash -s -- [2020-10-06T06:46:38.799Z] [2020-10-06T06:46:38.799Z] _____ _ [2020-10-06T06:46:38.799Z] / ____| | | [2020-10-06T06:46:38.799Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T06:46:38.799Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T06:46:38.799Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T06:46:38.799Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T06:46:38.799Z] Bash-20200917-4e8f14b [2020-10-06T06:46:38.799Z] [2020-10-06T06:46:38.799Z] [2020-10-06T06:46:38.799Z] ==> Jenkins CI detected. [2020-10-06T06:46:38.799Z] project root: . [2020-10-06T06:46:38.799Z] --> token set from env [2020-10-06T06:46:38.799Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T06:46:38.799Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T06:46:38.799Z] ==> Python coveragepy not found [2020-10-06T06:46:38.799Z] ==> Searching for coverage reports in: [2020-10-06T06:46:38.799Z] + . [2020-10-06T06:46:38.799Z] -> Found 1 reports [2020-10-06T06:46:38.799Z] ==> Detecting git/mercurial file structure [2020-10-06T06:46:38.799Z] ==> Reading reports [2020-10-06T06:46:38.799Z] + ./coverage.out bytes=111041 [2020-10-06T06:46:38.799Z] ==> Appending adjustments [2020-10-06T06:46:38.799Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T06:46:39.374Z] + Found adjustments [2020-10-06T06:46:39.374Z] ==> Gzipping contents [2020-10-06T06:46:39.374Z] ==> Uploading reports [2020-10-06T06:46:39.374Z] url: https://codecov.io [2020-10-06T06:46:39.374Z] query: branch=PR-582&commit=b548679428654ee0dca8f5b5dc3d7fcaeb119b73&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-06T06:46:39.374Z] -> Pinging Codecov [2020-10-06T06:46:39.374Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-582&commit=b548679428654ee0dca8f5b5dc3d7fcaeb119b73&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= [2020-10-06T06:46:39.640Z] -> Uploading to [2020-10-06T06:46:39.640Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/b548679428654ee0dca8f5b5dc3d7fcaeb119b73/3ad18804-3dee-417f-aa1a-bf0fc59dc46b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T064639Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56bd366b28f994fa80a24e6e76bea40b5244aa7e5218dbdddae85ac8a407dc3e [2020-10-06T06:46:39.640Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T06:46:39.640Z] Dload Upload Total Spent Left Speed [2020-10-06T06:46:40.165Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18332 0 0 100 18332 0 43767 --:--:-- --:--:-- --:--:-- 43751 [2020-10-06T06:46:40.165Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b548679428654ee0dca8f5b5dc3d7fcaeb119b73 [Pipeline] } [2020-10-06T06:46:40.176Z] 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:46:43.070Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:46:43.637Z] ---> package-listing.sh [2020-10-06T06:46:43.637Z] ++ facter osfamily [2020-10-06T06:46:43.637Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T06:46:43.637Z] + OS_FAMILY=redhat [2020-10-06T06:46:43.637Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-10-06T06:46:43.637Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T06:46:43.637Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T06:46:43.637Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T06:46:43.637Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T06:46:43.637Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-06T06:46:43.637Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T06:46:43.637Z] + case "${OS_FAMILY}" in [2020-10-06T06:46:43.637Z] + rpm -qa [2020-10-06T06:46:43.637Z] + sort [2020-10-06T06:46:47.860Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T06:46:47.860Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T06:46:47.860Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T06:46:47.860Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-10-06T06:46:47.860Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-10-06T06:46:47.860Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T06:46:48.106Z] provisioning config files... [2020-10-06T06:46:48.121Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config9207012578244671707tmp [Pipeline] { [Pipeline] echo [2020-10-06T06:46:48.201Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:46:48.504Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T06:46:48.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T06:46:48.609Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:46:48.905Z] ---> python-tools-install.sh [2020-10-06T06:46:48.905Z] Generating Requirements File [2020-10-06T06:47:56.721Z] Python 3.6.8 [2020-10-06T06:47:56.721Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T06:47:56.721Z] appdirs==1.4.3 [2020-10-06T06:47:56.721Z] argcomplete==1.12.1 [2020-10-06T06:47:56.721Z] aspy.yaml==1.3.0 [2020-10-06T06:47:56.721Z] attrs==19.3.0 [2020-10-06T06:47:56.721Z] Babel==2.8.0 [2020-10-06T06:47:56.721Z] beautifulsoup4==4.8.2 [2020-10-06T06:47:56.721Z] boto3==1.11.6 [2020-10-06T06:47:56.721Z] botocore==1.14.6 [2020-10-06T06:47:56.721Z] bs4==0.0.1 [2020-10-06T06:47:56.721Z] cachetools==4.1.1 [2020-10-06T06:47:56.721Z] certifi==2019.11.28 [2020-10-06T06:47:56.721Z] cffi==1.14.3 [2020-10-06T06:47:56.721Z] cfgv==2.0.1 [2020-10-06T06:47:56.721Z] chardet==3.0.4 [2020-10-06T06:47:56.721Z] click==7.1 [2020-10-06T06:47:56.721Z] cliff==3.4.0 [2020-10-06T06:47:56.721Z] cmd2==1.3.11 [2020-10-06T06:47:56.721Z] colorama==0.4.3 [2020-10-06T06:47:56.721Z] cryptography==3.1.1 [2020-10-06T06:47:56.721Z] debtcollector==2.2.0 [2020-10-06T06:47:56.721Z] decorator==4.4.2 [2020-10-06T06:47:56.721Z] defusedxml==0.6.0 [2020-10-06T06:47:56.721Z] Deprecated==1.2.7 [2020-10-06T06:47:56.721Z] distlib==0.3.1 [2020-10-06T06:47:56.721Z] distro==1.2.0 [2020-10-06T06:47:56.721Z] dnspython==1.16.0 [2020-10-06T06:47:56.721Z] docker==4.2.0 [2020-10-06T06:47:56.721Z] docutils==0.15.2 [2020-10-06T06:47:56.721Z] dogpile.cache==1.0.2 [2020-10-06T06:47:56.721Z] email-validator==1.0.5 [2020-10-06T06:47:56.721Z] filelock==3.0.12 [2020-10-06T06:47:56.721Z] future==0.18.2 [2020-10-06T06:47:56.721Z] google-auth==1.22.1 [2020-10-06T06:47:56.721Z] httplib2==0.17.0 [2020-10-06T06:47:56.721Z] identify==1.4.11 [2020-10-06T06:47:56.721Z] idna==2.9 [2020-10-06T06:47:56.721Z] importlib-metadata==1.7.0 [2020-10-06T06:47:56.721Z] importlib-resources==1.5.0 [2020-10-06T06:47:56.721Z] iso8601==0.1.13 [2020-10-06T06:47:56.721Z] Jinja2==2.11.1 [2020-10-06T06:47:56.721Z] jmespath==0.10.0 [2020-10-06T06:47:56.721Z] jsonpatch==1.26 [2020-10-06T06:47:56.721Z] jsonpointer==2.0 [2020-10-06T06:47:56.721Z] jsonschema==3.2.0 [2020-10-06T06:47:56.721Z] keystoneauth1==4.2.1 [2020-10-06T06:47:56.721Z] kubernetes==11.0.0 [2020-10-06T06:47:56.721Z] lftools==0.34.2 [2020-10-06T06:47:56.721Z] lxml==4.5.0 [2020-10-06T06:47:56.721Z] MarkupSafe==0.23 [2020-10-06T06:47:56.721Z] msgpack==1.0.0 [2020-10-06T06:47:56.721Z] multi-key-dict==2.0.3 [2020-10-06T06:47:56.721Z] munch==2.5.0 [2020-10-06T06:47:56.721Z] netaddr==0.8.0 [2020-10-06T06:47:56.721Z] netifaces==0.10.9 [2020-10-06T06:47:56.721Z] niet==1.4.2 [2020-10-06T06:47:56.721Z] nodeenv==1.3.5 [2020-10-06T06:47:56.721Z] oauth2client==4.1.3 [2020-10-06T06:47:56.721Z] oauthlib==3.1.0 [2020-10-06T06:47:56.721Z] openstacksdk==0.50.0 [2020-10-06T06:47:56.721Z] os-client-config==2.1.0 [2020-10-06T06:47:56.721Z] os-service-types==1.7.0 [2020-10-06T06:47:56.721Z] osc-lib==2.2.1 [2020-10-06T06:47:56.721Z] oslo.config==8.3.2 [2020-10-06T06:47:56.721Z] oslo.context==3.1.1 [2020-10-06T06:47:56.721Z] oslo.i18n==5.0.1 [2020-10-06T06:47:56.721Z] oslo.log==4.4.0 [2020-10-06T06:47:56.721Z] oslo.serialization==4.0.1 [2020-10-06T06:47:56.721Z] oslo.utils==4.6.0 [2020-10-06T06:47:56.721Z] packaging==20.4 [2020-10-06T06:47:56.721Z] pbr==5.4.4 [2020-10-06T06:47:56.721Z] pluggy==0.13.1 [2020-10-06T06:47:56.721Z] prettytable==0.7.2 [2020-10-06T06:47:56.721Z] py==1.9.0 [2020-10-06T06:47:56.721Z] pyasn1==0.4.8 [2020-10-06T06:47:56.721Z] pyasn1-modules==0.2.8 [2020-10-06T06:47:56.721Z] pycparser==2.20 [2020-10-06T06:47:56.721Z] pygerrit2==2.0.10 [2020-10-06T06:47:56.721Z] PyGithub==1.46 [2020-10-06T06:47:56.721Z] pyinotify==0.9.6 [2020-10-06T06:47:56.721Z] PyJWT==1.7.1 [2020-10-06T06:47:56.721Z] pyparsing==2.4.7 [2020-10-06T06:47:56.721Z] pyperclip==1.8.0 [2020-10-06T06:47:56.721Z] pyroute2==0.4.13 [2020-10-06T06:47:56.721Z] pyrsistent==0.15.7 [2020-10-06T06:47:56.721Z] PySocks==1.6.8 [2020-10-06T06:47:56.721Z] python-cinderclient==7.2.0 [2020-10-06T06:47:56.721Z] python-dateutil==2.8.1 [2020-10-06T06:47:56.721Z] python-heatclient==2.2.1 [2020-10-06T06:47:56.721Z] python-jenkins==1.7.0 [2020-10-06T06:47:56.721Z] python-keystoneclient==4.1.1 [2020-10-06T06:47:56.721Z] python-magnumclient==3.2.1 [2020-10-06T06:47:56.721Z] python-novaclient==17.2.1 [2020-10-06T06:47:56.721Z] python-openstackclient==5.4.0 [2020-10-06T06:47:56.721Z] python-swiftclient==3.10.1 [2020-10-06T06:47:56.721Z] pytz==2020.1 [2020-10-06T06:47:56.721Z] PyYAML==5.3 [2020-10-06T06:47:56.721Z] requests==2.23.0 [2020-10-06T06:47:56.721Z] requests-oauthlib==1.3.0 [2020-10-06T06:47:56.721Z] requestsexceptions==1.4.0 [2020-10-06T06:47:56.721Z] rfc3986==1.4.0 [2020-10-06T06:47:56.721Z] rpm==4.11.3 [2020-10-06T06:47:56.721Z] rsa==4.0 [2020-10-06T06:47:56.721Z] ruamel.yaml==0.16.10 [2020-10-06T06:47:56.721Z] ruamel.yaml.clib==0.2.0 [2020-10-06T06:47:56.721Z] s3transfer==0.3.3 [2020-10-06T06:47:56.721Z] shade==1.27.2 [2020-10-06T06:47:56.721Z] simplejson==3.17.2 [2020-10-06T06:47:56.721Z] six==1.14.0 [2020-10-06T06:47:56.721Z] soupsieve==2.0 [2020-10-06T06:47:56.721Z] stevedore==3.2.2 [2020-10-06T06:47:56.721Z] tabulate==0.8.6 [2020-10-06T06:47:56.721Z] toml==0.10.0 [2020-10-06T06:47:56.721Z] tox==3.20.0 [2020-10-06T06:47:56.721Z] tqdm==4.43.0 [2020-10-06T06:47:56.721Z] urllib3==1.25.8 [2020-10-06T06:47:56.721Z] virtualenv==20.0.33 [2020-10-06T06:47:56.721Z] wcwidth==0.2.5 [2020-10-06T06:47:56.721Z] websocket-client==0.57.0 [2020-10-06T06:47:56.721Z] wrapt==1.12.1 [2020-10-06T06:47:56.721Z] xdg==3.0.2 [2020-10-06T06:47:56.721Z] xmltodict==0.12.0 [2020-10-06T06:47:56.721Z] yq==2.11.1 [2020-10-06T06:47:56.721Z] zipp==3.3.0 [2020-10-06T06:47:57.670Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:00.226Z] 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:48:02.789Z] Python 2.7.5 [2020-10-06T06:48:02.789Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T06:48:03.362Z] 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:48:03.362Z] ansible==2.9.7 [2020-10-06T06:48:03.362Z] Babel==0.9.6 [2020-10-06T06:48:03.362Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T06:48:03.362Z] beautifulsoup4==4.4.1 [2020-10-06T06:48:03.362Z] bodhi==2.11.0 [2020-10-06T06:48:03.362Z] bodhi-client==2.11.0 [2020-10-06T06:48:03.362Z] CCColUtils==1.4 [2020-10-06T06:48:03.362Z] cffi==1.6.0 [2020-10-06T06:48:03.362Z] chardet==2.2.1 [2020-10-06T06:48:03.362Z] click==6.7 [2020-10-06T06:48:03.362Z] cloud-init==18.5 [2020-10-06T06:48:03.362Z] configobj==4.7.2 [2020-10-06T06:48:03.362Z] cryptography==1.7.2 [2020-10-06T06:48:03.362Z] decorator==3.4.0 [2020-10-06T06:48:03.362Z] distro==1.2.0 [2020-10-06T06:48:03.362Z] enum34==1.0.4 [2020-10-06T06:48:03.362Z] fedpkg==1.38 [2020-10-06T06:48:03.362Z] futures==3.1.1 [2020-10-06T06:48:03.362Z] gitdb==0.6.4 [2020-10-06T06:48:03.362Z] GitPython==1.0.1 [2020-10-06T06:48:03.362Z] html5lib==0.999 [2020-10-06T06:48:03.362Z] httplib2==0.9.2 [2020-10-06T06:48:03.362Z] idna==2.4 [2020-10-06T06:48:03.362Z] iniparse==0.4 [2020-10-06T06:48:03.362Z] ipaddress==1.0.16 [2020-10-06T06:48:03.362Z] IPy==0.75 [2020-10-06T06:48:03.362Z] javapackages==1.0.0 [2020-10-06T06:48:03.362Z] Jinja2==2.7.2 [2020-10-06T06:48:03.362Z] jmespath==0.9.4 [2020-10-06T06:48:03.362Z] jsonpatch==1.2 [2020-10-06T06:48:03.362Z] jsonpointer==1.9 [2020-10-06T06:48:03.362Z] kerberos==1.1 [2020-10-06T06:48:03.362Z] kitchen==1.1.1 [2020-10-06T06:48:03.362Z] langtable==0.0.31 [2020-10-06T06:48:03.362Z] lockfile==0.9.1 [2020-10-06T06:48:03.362Z] lxml==3.2.1 [2020-10-06T06:48:03.362Z] MarkupSafe==0.11 [2020-10-06T06:48:03.362Z] munch==2.0.2 [2020-10-06T06:48:03.362Z] offtrac==0.1.0 [2020-10-06T06:48:03.362Z] openidc-client==0.6.0 [2020-10-06T06:48:03.362Z] packagedb-cli==2.14.1 [2020-10-06T06:48:03.362Z] paramiko==2.1.1 [2020-10-06T06:48:03.362Z] perf==0.1 [2020-10-06T06:48:03.362Z] ply==3.4 [2020-10-06T06:48:03.362Z] policycoreutils-default-encoding==0.1 [2020-10-06T06:48:03.362Z] prettytable==0.7.2 [2020-10-06T06:48:03.362Z] pyasn1==0.1.9 [2020-10-06T06:48:03.362Z] pycparser==2.14 [2020-10-06T06:48:03.362Z] pycurl==7.19.0 [2020-10-06T06:48:03.362Z] pygobject==3.22.0 [2020-10-06T06:48:03.362Z] pygpgme==0.3 [2020-10-06T06:48:03.362Z] pyliblzma==0.5.3 [2020-10-06T06:48:03.362Z] pyOpenSSL==0.13.1 [2020-10-06T06:48:03.362Z] pyparsing==1.5.6 [2020-10-06T06:48:03.362Z] pyserial==2.6 [2020-10-06T06:48:03.362Z] python-augeas==0.5.0 [2020-10-06T06:48:03.362Z] python-bugzilla==2.3.0 [2020-10-06T06:48:03.362Z] python-dateutil==1.5 [2020-10-06T06:48:03.362Z] python-fedora==0.10.0 [2020-10-06T06:48:03.362Z] python-linux-procfs==0.4.9 [2020-10-06T06:48:03.362Z] python-yubico==1.2.3 [2020-10-06T06:48:03.362Z] pyudev==0.15 [2020-10-06T06:48:03.362Z] pyusb==1.0.0b1 [2020-10-06T06:48:03.362Z] pyxattr==0.5.1 [2020-10-06T06:48:03.362Z] PyYAML==3.10 [2020-10-06T06:48:03.362Z] requests==2.6.0 [2020-10-06T06:48:03.362Z] requests-kerberos==0.7.0 [2020-10-06T06:48:03.362Z] rpkg==1.60 [2020-10-06T06:48:03.362Z] schedutils==0.4 [2020-10-06T06:48:03.362Z] seobject==0.1 [2020-10-06T06:48:03.362Z] sepolicy==1.1 [2020-10-06T06:48:03.362Z] six==1.9.0 [2020-10-06T06:48:03.362Z] smmap==0.9.0 [2020-10-06T06:48:03.362Z] urlgrabber==3.10 [2020-10-06T06:48:03.362Z] urllib3==1.10.2 [2020-10-06T06:48:03.362Z] virtualenv==15.1.0 [2020-10-06T06:48:03.362Z] yum-langpacks==0.4.2 [2020-10-06T06:48:03.362Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T06:48:03.373Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:48:03.672Z] ---> sudo-logs.sh [2020-10-06T06:48:03.672Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T06:48:03.947Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:48:04.243Z] ---> job-cost.sh [2020-10-06T06:48:04.243Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0tTT [2020-10-06T06:48:14.272Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:14.272Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:15.235Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:15.499Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:15.499Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:15.763Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:15.763Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:15.763Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:15.763Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:16.031Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:16.031Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:16.031Z] Cache entry deserialization failed, entry ignored [2020-10-06T06:48:18.624Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T06:48:45.263Z] lf-activate-venv(): INFO: Adding /tmp/venv-0tTT/bin to PATH [2020-10-06T06:48:45.263Z] INFO: No Stack... [2020-10-06T06:48:46.210Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T06:48:48.132Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T06:48:48.146Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T06:48:48.448Z] ---> logs-deploy.sh [2020-10-06T06:48:48.448Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/18 [2020-10-06T06:48:48.448Z] INFO: archiving workspace using pattern(s): [2020-10-06T06:48:49.844Z] Archives upload complete. [2020-10-06T06:48:50.108Z] INFO: archiving logs to Nexus