Branch indexing 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 069809ce141705ee6c7736dfa7a0da157719a99a+153a43e7e060228c1df4c616c423a5b384e52518 (b18ded909662d6f36c6735cd6a2d9e67ac123b95) 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-4667 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [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-619 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 069809ce141705ee6c7736dfa7a0da157719a99a Merge succeeded, producing 5d0c504eae50a1668b527b6ad2bb363c764e8a11 Checking out Revision 5d0c504eae50a1668b527b6ad2bb363c764e8a11 (PR-619) > 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/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d0c504eae50a1668b527b6ad2bb363c764e8a11 # timeout=10 Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" > git rev-list --no-walk 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-12T02:42:25.686Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-12T02:42:25.962Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-12T02:42:26.080Z] ========================================================= [2020-10-12T02:42:26.080Z] EdgeX Global Pipelines Version Info [2020-10-12T02:42:26.080Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:42:27.675Z] ------------------- [2020-10-12T02:42:27.675Z] stable info: [2020-10-12T02:42:27.675Z] ------------------- [2020-10-12T02:42:27.675Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-12T02:42:27.675Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-12T02:42:27.675Z] Message: update stable to v1.0.131 [2020-10-12T02:42:28.623Z] ------------------- [2020-10-12T02:42:28.623Z] experimental info: [2020-10-12T02:42:28.623Z] ------------------- [2020-10-12T02:42:28.623Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-12T02:42:28.623Z] Commit SHA: 2e6d42a532571151575c80d72899821df0f9b0af [2020-10-12T02:42:28.623Z] Message: update experimental to v1.0.135 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-12T02:42:28.999Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-12T02:42:29.093Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-12T02:42:29.185Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-12T02:42:29.278Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-12T02:42:29.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-12T02:42:29.481Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-12T02:42:29.574Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-12T02:42:29.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-12T02:42:29.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-12T02:42:29.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-12T02:42:29.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-12T02:42:30.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-12T02:42:30.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-12T02:42:30.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-12T02:42:30.529Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-12T02:42:30.636Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:42:30.742Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:42:30.849Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-12T02:42:30.943Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-12T02:42:31.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-12T02:42:31.143Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-12T02:42:31.235Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-12T02:42:31.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-12T02:42:31.426Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-12T02:42:31.522Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-12T02:42:31.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo [2020-10-12T02:42:31.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo [2020-10-12T02:42:31.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo [2020-10-12T02:42:31.944Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d0c504eae50a1668b527b6ad2bb363c764e8a11 [Pipeline] echo [2020-10-12T02:42:32.035Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d0c504 [Pipeline] echo [2020-10-12T02:42:32.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T02:42:32.788Z] + git log --format=format:%s -1 5d0c504eae50a1668b527b6ad2bb363c764e8a11 [Pipeline] echo [2020-10-12T02:42:32.853Z] GIT_COMMIT: 5d0c504eae50a1668b527b6ad2bb363c764e8a11, Commit Message: Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD [Pipeline] echo [2020-10-12T02:42:32.919Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:42:33.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:42:33.740Z] [2020-10-12T02:42:33.740Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:42:34.091Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:42:34.091Z] latest: Pulling from edgex-devops/git-semver [2020-10-12T02:42:34.091Z] 31603596830f: Pulling fs layer [2020-10-12T02:42:34.091Z] 2a8b12db71e7: Pulling fs layer [2020-10-12T02:42:34.091Z] 6ca5941a6612: Pulling fs layer [2020-10-12T02:42:34.091Z] ecc8261a40a4: Pulling fs layer [2020-10-12T02:42:34.091Z] ecc8261a40a4: Waiting [2020-10-12T02:42:34.091Z] 2a8b12db71e7: Verifying Checksum [2020-10-12T02:42:34.091Z] 2a8b12db71e7: Download complete [2020-10-12T02:42:34.355Z] 31603596830f: Download complete [2020-10-12T02:42:34.355Z] ecc8261a40a4: Verifying Checksum [2020-10-12T02:42:34.355Z] ecc8261a40a4: Download complete [2020-10-12T02:42:34.355Z] 6ca5941a6612: Verifying Checksum [2020-10-12T02:42:34.355Z] 6ca5941a6612: Download complete [2020-10-12T02:42:34.621Z] 31603596830f: Pull complete [2020-10-12T02:42:34.621Z] 2a8b12db71e7: Pull complete [2020-10-12T02:42:35.567Z] 6ca5941a6612: Pull complete [2020-10-12T02:42:35.836Z] ecc8261a40a4: Pull complete [2020-10-12T02:42:35.836Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-12T02:42:35.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-12T02:42:35.836Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-12T02:42:35.941Z] prd-centos7-docker-4c-2g-4667 does not seem to be running inside a container [2020-10-12T02:42:35.990Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-619 -v /w/workspace/dgexfoundry_device-sdk-go_PR-619:/w/workspace/dgexfoundry_device-sdk-go_PR-619:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-619@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-12T02:42:38.567Z] $ docker top 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-12T02:42:38.940Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T02:42:38.940Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T02:42:39.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T02:42:39.151Z] $ docker exec 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 ssh-agent [2020-10-12T02:42:39.323Z] SSH_AUTH_SOCK=/tmp/ssh-Z4fe4zTiaRne/agent.11 [2020-10-12T02:42:39.323Z] SSH_AGENT_PID=16 [2020-10-12T02:42:39.336Z] Running ssh-add (command line suppressed) [2020-10-12T02:42:39.474Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7229322748765886502.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_7229322748765886502.key) [2020-10-12T02:42:39.530Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T02:42:39.882Z] + git describe --exact-match --tags HEAD [2020-10-12T02:42:39.882Z] fatal: no tag exactly matches '5d0c504eae50a1668b527b6ad2bb363c764e8a11' [Pipeline] } [2020-10-12T02:42:39.905Z] $ docker exec --env ******** --env ******** 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 ssh-agent -k [2020-10-12T02:42:40.019Z] unset SSH_AUTH_SOCK; [2020-10-12T02:42:40.019Z] unset SSH_AGENT_PID; [2020-10-12T02:42:40.019Z] echo Agent pid 16 killed; [2020-10-12T02:42:40.064Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-12T02:42:40.165Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-12T02:42:40.165Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-12T02:42:40.288Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-12T02:42:40.288Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-12T02:42:40.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-12T02:42:40.453Z] $ docker exec 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 ssh-agent [2020-10-12T02:42:40.636Z] SSH_AUTH_SOCK=/tmp/ssh-2UJ5uKZXamHa/agent.44 [2020-10-12T02:42:40.636Z] SSH_AGENT_PID=50 [2020-10-12T02:42:40.643Z] Running ssh-add (command line suppressed) [2020-10-12T02:42:40.757Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_5034432456677019776.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_5034432456677019776.key) [2020-10-12T02:42:40.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-12T02:42:41.178Z] + git semver init [2020-10-12T02:42:41.178Z] # -> Open(): unable to determine branch for HEAD [2020-10-12T02:42:41.178Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git [2020-10-12T02:42:41.178Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-12T02:42:41.178Z] # $SEMVER_REMOTE_NAME = origin [2020-10-12T02:42:41.178Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-12T02:42:41.178Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-12T02:42:41.178Z] # $SEMVER_BRANCH = PR-619 [2020-10-12T02:42:41.178Z] # $SEMVER_TEMP = /tmp/semver-329466509 [2020-10-12T02:42:41.178Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-12T02:42:41.753Z] # '/tmp/semver-329466509' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' [2020-10-12T02:42:41.753Z] # -> Force: false [2020-10-12T02:42:41.753Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } [2020-10-12T02:42:41.770Z] $ docker exec --env ******** --env ******** 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 ssh-agent -k [2020-10-12T02:42:41.902Z] unset SSH_AUTH_SOCK; [2020-10-12T02:42:41.902Z] unset SSH_AGENT_PID; [2020-10-12T02:42:41.902Z] echo Agent pid 50 killed; [2020-10-12T02:42:41.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-12T02:42:42.526Z] + git semver [Pipeline] } [2020-10-12T02:42:42.544Z] $ docker stop --time=1 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 [2020-10-12T02:42:44.051Z] $ docker rm -f 67eafd6292bfe83a488d26cfa860d76d1fa316dd78519599af50e1b02a3dcdf6 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-12T02:42:45.038Z] Stashed 48 file(s) [Pipeline] echo [2020-10-12T02:42:45.041Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-12T02:42:45.147Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-12T02:43:00.672Z] Still waiting to schedule task [2020-10-12T02:43:00.673Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-12T02:43:00.675Z] Still waiting to schedule task [2020-10-12T02:43:00.676Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-12T02:43:59.970Z] Running on prd-centos7-docker-4c-2g-4676 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-12T02:44:00.038Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-10-12T02:44:03.200Z] using credential edgex-jenkins-ssh [2020-10-12T02:44:03.262Z] Cloning the remote Git repository [2020-10-12T02:44:03.289Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:44:03.377Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-12T02:44:03.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:44:03.436Z] > git --version # timeout=10 [2020-10-12T02:44:03.446Z] > git --version # 'git version 2.16.5' [2020-10-12T02:44:03.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:44:03.483Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:44:04.793Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 069809ce141705ee6c7736dfa7a0da157719a99a [2020-10-12T02:44:04.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:44:04.233Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:44:04.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:44:04.264Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:44:04.265Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:44:04.270Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T02:44:04.805Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:44:04.813Z] > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [2020-10-12T02:44:04.914Z] > git remote # timeout=10 [2020-10-12T02:44:04.920Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T02:44:04.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:44:04.935Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T02:44:04.981Z] Merge succeeded, producing eb94137880189c98aab003928c35a322ea320ff5 [2020-10-12T02:44:04.981Z] Checking out Revision eb94137880189c98aab003928c35a322ea320ff5 (PR-619) [2020-10-12T02:44:04.975Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T02:44:04.987Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:44:04.993Z] > git checkout -f eb94137880189c98aab003928c35a322ea320ff5 # timeout=10 [2020-10-12T02:44:08.860Z] Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" [2020-10-12T02:44:08.866Z] > git rev-list --no-walk 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T02:44:09.857Z] ========================================================= [2020-10-12T02:44:09.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-12T02:44:09.858Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:44:10.637Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-12T02:44:12.056Z] Sending build context to Docker daemon 3.646MB [2020-10-12T02:44:12.056Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T02:44:12.056Z] Step 2/8 : FROM ${BASE} [2020-10-12T02:44:12.056Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-12T02:44:12.056Z] df20fa9351a1: Pulling fs layer [2020-10-12T02:44:12.056Z] ed8968b2872e: Pulling fs layer [2020-10-12T02:44:12.056Z] a92cc7c5fd73: Pulling fs layer [2020-10-12T02:44:12.056Z] e871e8e8d7a9: Pulling fs layer [2020-10-12T02:44:12.056Z] e73272ec9a57: Pulling fs layer [2020-10-12T02:44:12.056Z] 1e910a182e73: Pulling fs layer [2020-10-12T02:44:12.056Z] 4e634b169226: Pulling fs layer [2020-10-12T02:44:12.056Z] e871e8e8d7a9: Waiting [2020-10-12T02:44:12.056Z] e73272ec9a57: Waiting [2020-10-12T02:44:12.056Z] 1e910a182e73: Waiting [2020-10-12T02:44:12.056Z] 4e634b169226: Waiting [2020-10-12T02:44:12.056Z] a92cc7c5fd73: Verifying Checksum [2020-10-12T02:44:12.056Z] a92cc7c5fd73: Download complete [2020-10-12T02:44:12.056Z] ed8968b2872e: Download complete [2020-10-12T02:44:12.056Z] e73272ec9a57: Verifying Checksum [2020-10-12T02:44:12.056Z] e73272ec9a57: Download complete [2020-10-12T02:44:12.056Z] 1e910a182e73: Verifying Checksum [2020-10-12T02:44:12.056Z] 1e910a182e73: Download complete [2020-10-12T02:44:12.318Z] df20fa9351a1: Verifying Checksum [2020-10-12T02:44:12.318Z] df20fa9351a1: Download complete [2020-10-12T02:44:12.583Z] df20fa9351a1: Pull complete [2020-10-12T02:44:12.583Z] ed8968b2872e: Pull complete [2020-10-12T02:44:12.848Z] a92cc7c5fd73: Pull complete [2020-10-12T02:44:13.797Z] 4e634b169226: Verifying Checksum [2020-10-12T02:44:13.797Z] 4e634b169226: Download complete [2020-10-12T02:44:14.763Z] e871e8e8d7a9: Verifying Checksum [2020-10-12T02:44:14.763Z] e871e8e8d7a9: Download complete [2020-10-12T02:44:21.417Z] e871e8e8d7a9: Pull complete [2020-10-12T02:44:21.417Z] e73272ec9a57: Pull complete [2020-10-12T02:44:21.417Z] 1e910a182e73: Pull complete [2020-10-12T02:44:29.740Z] 4e634b169226: Pull complete [2020-10-12T02:44:29.740Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-12T02:44:29.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-12T02:44:29.740Z] ---> f7629b54cfaa [2020-10-12T02:44:29.740Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:44:29.740Z] ---> Running in 2b5d0926524c [2020-10-12T02:44:29.740Z] Removing intermediate container 2b5d0926524c [2020-10-12T02:44:29.740Z] ---> 300f6a979b16 [2020-10-12T02:44:29.740Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:44:29.740Z] ---> Running in ebf3c5c27f6c [2020-10-12T02:44:31.160Z] Removing intermediate container ebf3c5c27f6c [2020-10-12T02:44:31.160Z] ---> c7d9759eb971 [2020-10-12T02:44:31.160Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T02:44:31.160Z] ---> Running in 1be8ac615214 [2020-10-12T02:44:31.742Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T02:44:32.693Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T02:44:33.269Z] OK: 166 MiB in 39 packages [2020-10-12T02:44:33.849Z] Removing intermediate container 1be8ac615214 [2020-10-12T02:44:33.849Z] ---> 04664a50f375 [2020-10-12T02:44:33.849Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T02:44:33.849Z] ---> Running in 467cd65c4627 [2020-10-12T02:44:34.112Z] Removing intermediate container 467cd65c4627 [2020-10-12T02:44:34.112Z] ---> f8060f7f29d1 [2020-10-12T02:44:34.112Z] Step 7/8 : COPY . . [2020-10-12T02:44:35.522Z] ---> 316d275c1999 [2020-10-12T02:44:35.522Z] Step 8/8 : RUN go mod download [2020-10-12T02:44:35.522Z] ---> Running in b7c2dfee6978 [2020-10-12T02:44:57.563Z] Removing intermediate container b7c2dfee6978 [2020-10-12T02:44:57.563Z] ---> 301f2109f914 [2020-10-12T02:44:57.563Z] Successfully built 301f2109f914 [2020-10-12T02:44:57.563Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:44:57.933Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T02:44:57.933Z] . [Pipeline] withDockerContainer [2020-10-12T02:44:58.062Z] prd-centos7-docker-4c-2g-4676 does not seem to be running inside a container [2020-10-12T02:44:58.120Z] $ 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-x86_64 cat [2020-10-12T02:44:59.000Z] $ docker top 08bfbc9b6b8e9f7fb553419d077c3258141f7c173e6d90bd46b3874f91caf03c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:44:59.611Z] + go version [2020-10-12T02:44:59.611Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-12T02:44:59.627Z] $ docker stop --time=1 08bfbc9b6b8e9f7fb553419d077c3258141f7c173e6d90bd46b3874f91caf03c [2020-10-12T02:45:00.991Z] $ docker rm -f 08bfbc9b6b8e9f7fb553419d077c3258141f7c173e6d90bd46b3874f91caf03c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:45:01.835Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-12T02:45:01.835Z] . [Pipeline] withDockerContainer [2020-10-12T02:45:01.970Z] prd-centos7-docker-4c-2g-4676 does not seem to be running inside a container [2020-10-12T02:45:02.052Z] $ 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-x86_64 cat [2020-10-12T02:45:02.827Z] $ docker top 37110c5613703546a52677a39da886698afba4623e3ef975c9823181884a4aa3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:45:03.474Z] + make test [2020-10-12T02:45:03.474Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T02:45:11.706Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T02:45:26.785Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T02:45:26.785Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T02:45:26.785Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T02:45:26.785Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.067s coverage: 21.6% of statements [2020-10-12T02:45:28.200Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.501s coverage: 97.1% of statements [2020-10-12T02:45:34.928Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4678 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-12T02:45:34.993Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2020-10-12T02:45:40.535Z] using credential edgex-jenkins-ssh [2020-10-12T02:45:40.605Z] Cloning the remote Git repository [2020-10-12T02:45:40.691Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:45:40.803Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2020-10-12T02:45:40.884Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:45:40.885Z] > git --version # timeout=10 [2020-10-12T02:45:40.902Z] > git --version # 'git version 2.17.1' [2020-10-12T02:45:40.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:45:40.968Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:45:42.819Z] Merging remotes/origin/master commit 153a43e7e060228c1df4c616c423a5b384e52518 into PR head commit 069809ce141705ee6c7736dfa7a0da157719a99a [2020-10-12T02:45:42.057Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:45:42.084Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-12T02:45:42.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-12T02:45:42.185Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-12T02:45:42.186Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:45:42.202Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/619/head:refs/remotes/origin/PR-619 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-12T02:45:42.866Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:45:42.890Z] > git checkout -f 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [2020-10-12T02:45:43.371Z] Merge succeeded, producing 4f32becbde710ccd70bfaa3375b4ef3c29bed442 [2020-10-12T02:45:43.371Z] Checking out Revision 4f32becbde710ccd70bfaa3375b4ef3c29bed442 (PR-619) [2020-10-12T02:45:43.029Z] > git remote # timeout=10 [2020-10-12T02:45:43.120Z] > git config --get remote.origin.url # timeout=10 [2020-10-12T02:45:43.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-12T02:45:43.170Z] > git merge 153a43e7e060228c1df4c616c423a5b384e52518 # timeout=10 [2020-10-12T02:45:43.348Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-12T02:45:43.398Z] > git config core.sparsecheckout # timeout=10 [2020-10-12T02:45:43.417Z] > git checkout -f 4f32becbde710ccd70bfaa3375b4ef3c29bed442 # timeout=10 [2020-10-12T02:45:47.731Z] Commit message: "Merge commit '153a43e7e060228c1df4c616c423a5b384e52518' into HEAD" [2020-10-12T02:45:47.755Z] > git rev-list --no-walk 069809ce141705ee6c7736dfa7a0da157719a99a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-12T02:45:49.085Z] ========================================================= [2020-10-12T02:45:49.085Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-12T02:45:49.085Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:45:50.322Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-12T02:45:51.306Z] Sending build context to Docker daemon 3.646MB [2020-10-12T02:45:51.306Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-12T02:45:51.307Z] Step 2/8 : FROM ${BASE} [2020-10-12T02:45:51.585Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-12T02:45:51.585Z] b538f80385f9: Pulling fs layer [2020-10-12T02:45:51.585Z] 74f711af9a0d: Pulling fs layer [2020-10-12T02:45:51.585Z] 99f96fe45779: Pulling fs layer [2020-10-12T02:45:51.585Z] 8529a6b9a6be: Pulling fs layer [2020-10-12T02:45:51.585Z] 45590311c82a: Pulling fs layer [2020-10-12T02:45:51.585Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-12T02:45:51.585Z] 209524e5b208: Pulling fs layer [2020-10-12T02:45:51.585Z] 45590311c82a: Waiting [2020-10-12T02:45:51.585Z] 69ca0ff8b7b3: Waiting [2020-10-12T02:45:51.585Z] 209524e5b208: Waiting [2020-10-12T02:45:51.585Z] 8529a6b9a6be: Waiting [2020-10-12T02:45:51.585Z] 99f96fe45779: Verifying Checksum [2020-10-12T02:45:51.585Z] 99f96fe45779: Download complete [2020-10-12T02:45:51.585Z] 74f711af9a0d: Verifying Checksum [2020-10-12T02:45:51.585Z] 74f711af9a0d: Download complete [2020-10-12T02:45:51.585Z] 45590311c82a: Verifying Checksum [2020-10-12T02:45:51.585Z] 45590311c82a: Download complete [2020-10-12T02:45:51.861Z] 69ca0ff8b7b3: Download complete [2020-10-12T02:45:52.144Z] b538f80385f9: Download complete [2020-10-12T02:45:52.755Z] b538f80385f9: Pull complete [2020-10-12T02:45:53.364Z] 74f711af9a0d: Pull complete [2020-10-12T02:45:53.641Z] 99f96fe45779: Pull complete [2020-10-12T02:45:54.638Z] 209524e5b208: Verifying Checksum [2020-10-12T02:45:54.638Z] 209524e5b208: Download complete [2020-10-12T02:45:56.091Z] 8529a6b9a6be: Verifying Checksum [2020-10-12T02:45:56.091Z] 8529a6b9a6be: Download complete [2020-10-12T02:46:00.377Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.064s coverage: 9.4% of statements [2020-10-12T02:46:00.377Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T02:46:00.377Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 40.8% of statements [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T02:46:00.377Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 68.9% of statements [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T02:46:00.377Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.062s coverage: 52.6% of statements [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T02:46:00.377Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.374s coverage: 68.9% of statements [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T02:46:00.377Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T02:46:00.377Z] GO111MODULE=on go vet ./... [2020-10-12T02:46:06.307Z] 8529a6b9a6be: Pull complete [2020-10-12T02:46:06.585Z] 45590311c82a: Pull complete [2020-10-12T02:46:07.201Z] 69ca0ff8b7b3: Pull complete [2020-10-12T02:46:08.661Z] gofmt -l . [2020-10-12T02:46:08.661Z] [ "`gofmt -l .`" = "" ] [2020-10-12T02:46:08.661Z] ./bin/test-attribution-txt.sh [2020-10-12T02:46:08.661Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T02:46:09.074Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T02:46:09.081Z] $ docker stop --time=1 37110c5613703546a52677a39da886698afba4623e3ef975c9823181884a4aa3 [2020-10-12T02:46:10.616Z] 209524e5b208: Pull complete [2020-10-12T02:46:10.616Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-12T02:46:10.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-12T02:46:10.616Z] ---> 5bddaf1c2fca [2020-10-12T02:46:10.616Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:46:11.041Z] $ docker rm -f 37110c5613703546a52677a39da886698afba4623e3ef975c9823181884a4aa3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-12T02:46:12.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T02:46:13.022Z] + ls -al . [2020-10-12T02:46:13.022Z] total 188 [2020-10-12T02:46:13.022Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 12 02:46 . [2020-10-12T02:46:13.022Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 02:44 .. [2020-10-12T02:46:13.022Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 12 02:44 bin [2020-10-12T02:46:13.022Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 12 02:45 coverage.out [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 12 02:44 Dockerfile.build [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 02:44 .dockerignore [2020-10-12T02:46:13.022Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 12 02:44 example [2020-10-12T02:46:13.022Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 02:44 .git [2020-10-12T02:46:13.022Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 12 02:44 .github [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 12 02:44 .gitignore [2020-10-12T02:46:13.022Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 12 02:46 go.mod [2020-10-12T02:46:13.022Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 12 02:46 go.sum [2020-10-12T02:46:13.022Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 12 02:44 internal [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 12 02:44 Jenkinsfile [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 02:44 LICENSE [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 12 02:44 Makefile [2020-10-12T02:46:13.022Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 12 02:44 openapi [2020-10-12T02:46:13.022Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 02:44 pkg [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 12 02:44 README.md [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 12 02:44 RELEASE-NOTES.txt [2020-10-12T02:46:13.022Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 12 02:44 .semver [2020-10-12T02:46:13.022Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 02:44 snap [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 02:42 VERSION [2020-10-12T02:46:13.022Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:46:13.319Z] ---> Running in 6d9c657fee16 [2020-10-12T02:46:13.348Z] + 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=5d0c504eae50a1668b527b6ad2bb363c764e8a11 --label arch=amd64 --label version=0.0.0 . [2020-10-12T02:46:13.599Z] Removing intermediate container 6d9c657fee16 [2020-10-12T02:46:13.599Z] ---> 8c17278f9b5d [2020-10-12T02:46:13.599Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:46:13.613Z] Sending build context to Docker daemon 3.758MB [2020-10-12T02:46:13.613Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T02:46:13.613Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T02:46:13.613Z] ---> 301f2109f914 [2020-10-12T02:46:13.613Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T02:46:13.880Z] ---> Running in 78766230cdf2 [2020-10-12T02:46:14.199Z] ---> Running in decc59bf35f5 [2020-10-12T02:46:14.469Z] Removing intermediate container decc59bf35f5 [2020-10-12T02:46:14.469Z] ---> 047692986aa2 [2020-10-12T02:46:14.469Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T02:46:14.469Z] ---> Running in f52181874d4d [2020-10-12T02:46:14.743Z] Removing intermediate container f52181874d4d [2020-10-12T02:46:14.743Z] ---> 2973c8b30df7 [2020-10-12T02:46:14.743Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:46:14.743Z] ---> Running in a2d9cf721417 [2020-10-12T02:46:15.011Z] Removing intermediate container a2d9cf721417 [2020-10-12T02:46:15.011Z] ---> 8e9910d7d8ed [2020-10-12T02:46:15.011Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:46:15.011Z] ---> Running in f0cff0dfb322 [2020-10-12T02:46:15.969Z] Removing intermediate container f0cff0dfb322 [2020-10-12T02:46:15.969Z] ---> 9cb54266ad20 [2020-10-12T02:46:15.969Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T02:46:15.969Z] ---> Running in fb963f58f1aa [2020-10-12T02:46:16.555Z] Removing intermediate container 78766230cdf2 [2020-10-12T02:46:16.556Z] ---> ab3657c3f4bc [2020-10-12T02:46:16.556Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-12T02:46:16.557Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-12T02:46:16.841Z] ---> Running in 4195b942b4ef [2020-10-12T02:46:17.534Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-12T02:46:18.117Z] OK: 166 MiB in 39 packages [2020-10-12T02:46:18.301Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T02:46:18.703Z] Removing intermediate container fb963f58f1aa [2020-10-12T02:46:18.703Z] ---> b7295a507ef5 [2020-10-12T02:46:18.703Z] Step 8/24 : COPY . . [2020-10-12T02:46:19.298Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T02:46:19.920Z] OK: 142 MiB in 39 packages [2020-10-12T02:46:20.142Z] ---> bada99c5d943 [2020-10-12T02:46:20.142Z] Step 9/24 : RUN ${MAKE} [2020-10-12T02:46:20.142Z] ---> Running in c0c4428cd39f [2020-10-12T02:46:20.421Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-12T02:46:21.380Z] Removing intermediate container 4195b942b4ef [2020-10-12T02:46:21.380Z] ---> 51947c4eaaeb [2020-10-12T02:46:21.380Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-12T02:46:21.380Z] ---> Running in 130d7c0f6347 [2020-10-12T02:46:21.665Z] Removing intermediate container 130d7c0f6347 [2020-10-12T02:46:21.665Z] ---> cabc65996b04 [2020-10-12T02:46:21.665Z] Step 7/8 : COPY . . [2020-10-12T02:46:23.733Z] ---> d176fa45ecf6 [2020-10-12T02:46:23.733Z] Step 8/8 : RUN go mod download [2020-10-12T02:46:23.733Z] ---> Running in d8218dc384a5 [2020-10-12T02:46:30.639Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T02:46:32.071Z] Removing intermediate container c0c4428cd39f [2020-10-12T02:46:32.071Z] ---> 8535afd49f52 [2020-10-12T02:46:32.071Z] Step 10/24 : FROM scratch [2020-10-12T02:46:32.071Z] ---> [2020-10-12T02:46:32.071Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:46:32.071Z] ---> Running in 1b7d8291d524 [2020-10-12T02:46:32.342Z] Removing intermediate container 1b7d8291d524 [2020-10-12T02:46:32.342Z] ---> 032f1ee5d198 [2020-10-12T02:46:32.342Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T02:46:32.342Z] ---> Running in bd66a20e9190 [2020-10-12T02:46:32.342Z] Removing intermediate container bd66a20e9190 [2020-10-12T02:46:32.342Z] ---> ab13036f89bc [2020-10-12T02:46:32.342Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T02:46:32.611Z] ---> Running in 79dc476522e0 [2020-10-12T02:46:32.611Z] Removing intermediate container 79dc476522e0 [2020-10-12T02:46:32.611Z] ---> c9ffe199a054 [2020-10-12T02:46:32.611Z] Step 14/24 : WORKDIR / [2020-10-12T02:46:32.611Z] ---> Running in 5490d1268d8d [2020-10-12T02:46:32.885Z] Removing intermediate container 5490d1268d8d [2020-10-12T02:46:32.885Z] ---> 41077e7b083f [2020-10-12T02:46:32.885Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T02:46:33.473Z] ---> 6d3ae29be547 [2020-10-12T02:46:33.473Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T02:46:33.743Z] ---> ed47f1f91b3a [2020-10-12T02:46:33.743Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T02:46:33.743Z] ---> 5c07918943db [2020-10-12T02:46:33.743Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T02:46:34.012Z] ---> 4762646c2855 [2020-10-12T02:46:34.012Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T02:46:34.280Z] ---> 8c765d151380 [2020-10-12T02:46:34.280Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T02:46:34.280Z] ---> Running in ae24101978ca [2020-10-12T02:46:34.566Z] Removing intermediate container ae24101978ca [2020-10-12T02:46:34.566Z] ---> 3768d12c1a91 [2020-10-12T02:46:34.566Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T02:46:34.566Z] ---> Running in 3df0143233b0 [2020-10-12T02:46:34.842Z] Removing intermediate container 3df0143233b0 [2020-10-12T02:46:34.842Z] ---> b9f6690e5fa7 [2020-10-12T02:46:34.842Z] Step 22/24 : LABEL arch=amd64 [2020-10-12T02:46:34.842Z] ---> Running in b82037ac1c5a [2020-10-12T02:46:35.122Z] Removing intermediate container b82037ac1c5a [2020-10-12T02:46:35.122Z] ---> 8c120e8c16ba [2020-10-12T02:46:35.122Z] Step 23/24 : LABEL git_sha=5d0c504eae50a1668b527b6ad2bb363c764e8a11 [2020-10-12T02:46:35.122Z] ---> Running in 4d5cd72e3a03 [2020-10-12T02:46:35.122Z] Removing intermediate container 4d5cd72e3a03 [2020-10-12T02:46:35.122Z] ---> 0423723b02f7 [2020-10-12T02:46:35.122Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T02:46:35.399Z] ---> Running in 0bfa7a9cab07 [2020-10-12T02:46:35.400Z] Removing intermediate container 0bfa7a9cab07 [2020-10-12T02:46:35.400Z] ---> b7b31d09bcd1 [2020-10-12T02:46:35.400Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T02:46:35.400Z] Successfully built b7b31d09bcd1 [2020-10-12T02:46:35.400Z] 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-12T02:46:50.724Z] Removing intermediate container d8218dc384a5 [2020-10-12T02:46:50.724Z] ---> a7d086ee9752 [2020-10-12T02:46:50.724Z] Successfully built a7d086ee9752 [2020-10-12T02:46:50.724Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:46:51.153Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T02:46:51.153Z] . [Pipeline] withDockerContainer [2020-10-12T02:46:51.423Z] prd-ubuntu18.04-docker-arm64-4c-16g-4678 does not seem to be running inside a container [2020-10-12T02:46:51.541Z] $ 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-12T02:46:53.419Z] $ docker top 4c9a39a68000799310f2e97d4d4bfd5a5371122851f4157082e7b1e40f871fef -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:46:54.843Z] + go version [2020-10-12T02:46:54.843Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-12T02:46:54.891Z] $ docker stop --time=1 4c9a39a68000799310f2e97d4d4bfd5a5371122851f4157082e7b1e40f871fef [2020-10-12T02:46:56.895Z] $ docker rm -f 4c9a39a68000799310f2e97d4d4bfd5a5371122851f4157082e7b1e40f871fef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:46:57.955Z] + docker inspect -f . ci-base-image-arm64 [2020-10-12T02:46:57.955Z] . [Pipeline] withDockerContainer [2020-10-12T02:46:58.249Z] prd-ubuntu18.04-docker-arm64-4c-16g-4678 does not seem to be running inside a container [2020-10-12T02:46:58.385Z] $ 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-12T02:47:00.519Z] $ docker top 19acba1923b89e7faf4c31dff56d1be5b1fea65256ea6e89437f1e36613b91c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-12T02:47:02.091Z] + make test [2020-10-12T02:47:02.091Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-12T02:47:28.966Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-12T02:48:16.007Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-12T02:48:16.007Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-12T02:48:16.007Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-12T02:48:16.007Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.149s coverage: 21.6% of statements [2020-10-12T02:48:16.007Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.439s coverage: 97.1% of statements [2020-10-12T02:48:48.396Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements [2020-10-12T02:48:48.397Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.124s coverage: 21.9% of statements [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-12T02:48:48.397Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.588s coverage: 40.8% of statements [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-12T02:48:48.397Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.861s coverage: 68.9% of statements [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-12T02:48:48.397Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.231s coverage: 52.6% of statements [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-12T02:48:48.397Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.042s coverage: 68.9% of statements [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-12T02:48:48.397Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-12T02:48:48.397Z] GO111MODULE=on go vet ./... [2020-10-12T02:49:20.968Z] gofmt -l . [2020-10-12T02:49:20.968Z] [ "`gofmt -l .`" = "" ] [2020-10-12T02:49:20.968Z] ./bin/test-attribution-txt.sh [2020-10-12T02:49:20.968Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-12T02:49:20.989Z] Warning: overwriting stash ‘coverage-report’ [2020-10-12T02:49:22.001Z] Stashed 1 file(s) [Pipeline] } [2020-10-12T02:49:22.069Z] $ docker stop --time=1 19acba1923b89e7faf4c31dff56d1be5b1fea65256ea6e89437f1e36613b91c5 [2020-10-12T02:49:24.502Z] $ docker rm -f 19acba1923b89e7faf4c31dff56d1be5b1fea65256ea6e89437f1e36613b91c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-12T02:49:26.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-12T02:49:26.460Z] + ls -al . [2020-10-12T02:49:26.461Z] total 228 [2020-10-12T02:49:26.461Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 02:49 . [2020-10-12T02:49:26.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:45 .. [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 02:45 .dockerignore [2020-10-12T02:49:26.461Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 02:45 .git [2020-10-12T02:49:26.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:45 .github [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 12 02:45 .gitignore [2020-10-12T02:49:26.461Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 02:45 .semver [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 12 02:45 Dockerfile.build [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 12 02:45 Jenkinsfile [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 02:45 LICENSE [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 12 02:45 Makefile [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 12 02:45 README.md [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 12 02:45 RELEASE-NOTES.txt [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 02:42 VERSION [2020-10-12T02:49:26.461Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 02:45 bin [2020-10-12T02:49:26.461Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 12 02:48 coverage.out [2020-10-12T02:49:26.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:45 example [2020-10-12T02:49:26.461Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 12 02:49 go.mod [2020-10-12T02:49:26.461Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 12 02:49 go.sum [2020-10-12T02:49:26.461Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 02:45 internal [2020-10-12T02:49:26.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:45 openapi [2020-10-12T02:49:26.461Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 02:45 pkg [2020-10-12T02:49:26.461Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 02:45 snap [2020-10-12T02:49:26.461Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-12T02:49:26.819Z] + 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=5d0c504eae50a1668b527b6ad2bb363c764e8a11 --label arch=arm64 --label version=0.0.0 . [2020-10-12T02:49:27.432Z] Sending build context to Docker daemon 3.758MB [2020-10-12T02:49:27.432Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-12T02:49:27.432Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-12T02:49:27.432Z] ---> a7d086ee9752 [2020-10-12T02:49:27.432Z] Step 3/24 : ARG MAKE='make build' [2020-10-12T02:49:28.031Z] ---> Running in 46e64b0fc263 [2020-10-12T02:49:28.306Z] Removing intermediate container 46e64b0fc263 [2020-10-12T02:49:28.307Z] ---> cc47701c8d9e [2020-10-12T02:49:28.307Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-12T02:49:28.582Z] ---> Running in 85b70b8785b3 [2020-10-12T02:49:29.182Z] Removing intermediate container 85b70b8785b3 [2020-10-12T02:49:29.182Z] ---> 1f50890aca30 [2020-10-12T02:49:29.182Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:49:29.182Z] ---> Running in ec56ada8c525 [2020-10-12T02:49:29.780Z] Removing intermediate container ec56ada8c525 [2020-10-12T02:49:29.780Z] ---> f3c1eda27ef8 [2020-10-12T02:49:29.780Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-12T02:49:29.780Z] ---> Running in 69b2bcac9325 [2020-10-12T02:49:33.181Z] Removing intermediate container 69b2bcac9325 [2020-10-12T02:49:33.181Z] ---> 91ac0acf5bf1 [2020-10-12T02:49:33.181Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-12T02:49:33.181Z] ---> Running in 1566635c3204 [2020-10-12T02:49:34.618Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-12T02:49:35.216Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-12T02:49:36.197Z] OK: 142 MiB in 39 packages [2020-10-12T02:49:37.179Z] Removing intermediate container 1566635c3204 [2020-10-12T02:49:37.179Z] ---> 4c329eb3d025 [2020-10-12T02:49:37.179Z] Step 8/24 : COPY . . [2020-10-12T02:49:39.158Z] ---> da78a9949ea4 [2020-10-12T02:49:39.158Z] Step 9/24 : RUN ${MAKE} [2020-10-12T02:49:39.158Z] ---> Running in 5177478900f5 [2020-10-12T02:49:40.602Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-12T02:50:13.012Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-12T02:50:13.012Z] Removing intermediate container 5177478900f5 [2020-10-12T02:50:13.012Z] ---> 553a93ae3544 [2020-10-12T02:50:13.012Z] Step 10/24 : FROM scratch [2020-10-12T02:50:13.012Z] ---> [2020-10-12T02:50:13.012Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-12T02:50:13.012Z] ---> Running in 3e9ab9436a04 [2020-10-12T02:50:13.012Z] Removing intermediate container 3e9ab9436a04 [2020-10-12T02:50:13.012Z] ---> d443c900bbae [2020-10-12T02:50:13.012Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-12T02:50:13.012Z] ---> Running in 33bd350d4441 [2020-10-12T02:50:13.012Z] Removing intermediate container 33bd350d4441 [2020-10-12T02:50:13.012Z] ---> 9c8819fc6187 [2020-10-12T02:50:13.012Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-12T02:50:13.012Z] ---> Running in ba79b5c57059 [2020-10-12T02:50:13.012Z] Removing intermediate container ba79b5c57059 [2020-10-12T02:50:13.012Z] ---> 6fc8d87fc7db [2020-10-12T02:50:13.012Z] Step 14/24 : WORKDIR / [2020-10-12T02:50:13.012Z] ---> Running in 6113412238a3 [2020-10-12T02:50:13.609Z] Removing intermediate container 6113412238a3 [2020-10-12T02:50:13.609Z] ---> ab90b1742489 [2020-10-12T02:50:13.609Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-12T02:50:15.042Z] ---> 75aa4c5e6760 [2020-10-12T02:50:15.043Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-12T02:50:15.638Z] ---> f9042482b30c [2020-10-12T02:50:15.638Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-12T02:50:16.618Z] ---> 0f9e99b54c87 [2020-10-12T02:50:16.618Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-12T02:50:17.215Z] ---> 27f5818e31aa [2020-10-12T02:50:17.215Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-12T02:50:18.193Z] ---> 71fc45fd9833 [2020-10-12T02:50:18.193Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-12T02:50:18.193Z] ---> Running in 41950477b092 [2020-10-12T02:50:18.792Z] Removing intermediate container 41950477b092 [2020-10-12T02:50:18.792Z] ---> b72a9220f3ee [2020-10-12T02:50:18.792Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-12T02:50:18.792Z] ---> Running in 6a97d4e59c00 [2020-10-12T02:50:19.388Z] Removing intermediate container 6a97d4e59c00 [2020-10-12T02:50:19.388Z] ---> 5c3a1cef819c [2020-10-12T02:50:19.388Z] Step 22/24 : LABEL arch=arm64 [2020-10-12T02:50:19.662Z] ---> Running in 233545dd19eb [2020-10-12T02:50:19.936Z] Removing intermediate container 233545dd19eb [2020-10-12T02:50:19.936Z] ---> f39fec40b7b7 [2020-10-12T02:50:19.936Z] Step 23/24 : LABEL git_sha=5d0c504eae50a1668b527b6ad2bb363c764e8a11 [2020-10-12T02:50:20.209Z] ---> Running in ea258fa441cc [2020-10-12T02:50:20.804Z] Removing intermediate container ea258fa441cc [2020-10-12T02:50:20.804Z] ---> 67005fc0a9c7 [2020-10-12T02:50:20.804Z] Step 24/24 : LABEL version=0.0.0 [2020-10-12T02:50:20.804Z] ---> Running in 3908315ca97b [2020-10-12T02:50:21.398Z] Removing intermediate container 3908315ca97b [2020-10-12T02:50:21.399Z] ---> 2ed03cd95567 [2020-10-12T02:50:21.399Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-12T02:50:21.399Z] Successfully built 2ed03cd95567 [2020-10-12T02:50:21.399Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-12T02:50:23.485Z] provisioning config files... [2020-10-12T02:50:23.497Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config5984998955709285233tmp [Pipeline] { [Pipeline] sh [2020-10-12T02:50:23.886Z] + set +x [2020-10-12T02:50:23.887Z] + curl -s https://codecov.io/bash [2020-10-12T02:50:23.887Z] + bash -s -- [2020-10-12T02:50:24.148Z] [2020-10-12T02:50:24.148Z] _____ _ [2020-10-12T02:50:24.148Z] / ____| | | [2020-10-12T02:50:24.148Z] | | ___ __| | ___ ___ _____ __ [2020-10-12T02:50:24.148Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-12T02:50:24.148Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-12T02:50:24.148Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-12T02:50:24.148Z] Bash-20201009-048fee3 [2020-10-12T02:50:24.148Z] [2020-10-12T02:50:24.148Z] [2020-10-12T02:50:24.148Z] ==> Jenkins CI detected. [2020-10-12T02:50:24.148Z] project root: . [2020-10-12T02:50:24.148Z] Fixing merge commit SHA [2020-10-12T02:50:24.148Z] --> token set from env [2020-10-12T02:50:24.148Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-12T02:50:24.148Z] ==> Running gcov in . (disable via -X gcov) [2020-10-12T02:50:24.148Z] ==> Python coveragepy not found [2020-10-12T02:50:24.148Z] ==> Searching for coverage reports in: [2020-10-12T02:50:24.148Z] + . [2020-10-12T02:50:24.148Z] -> Found 1 reports [2020-10-12T02:50:24.148Z] ==> Detecting git/mercurial file structure [2020-10-12T02:50:24.148Z] ==> Reading reports [2020-10-12T02:50:24.148Z] + ./coverage.out bytes=110396 [2020-10-12T02:50:24.148Z] ==> Appending adjustments [2020-10-12T02:50:24.148Z] https://docs.codecov.io/docs/fixing-reports [2020-10-12T02:50:24.723Z] + Found adjustments [2020-10-12T02:50:24.723Z] ==> Gzipping contents [2020-10-12T02:50:24.723Z] ==> Uploading reports [2020-10-12T02:50:24.723Z] url: https://codecov.io [2020-10-12T02:50:24.723Z] query: branch=PR-619&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-12T02:50:24.723Z] -> Pinging Codecov [2020-10-12T02:50:24.723Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=153a43e7e060228c1df4c616c423a5b384e52518&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-12T02:50:24.723Z] -> Uploading to [2020-10-12T02:50:24.723Z] [2020-10-12T02:50:24.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T02:50:24.723Z] Dload Upload Total Spent Left Speed [2020-10-12T02:50:24.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-12T02:50:24.723Z] X> Failed to upload [2020-10-12T02:50:24.723Z] ==> Uploading to Codecov [2020-10-12T02:50:24.723Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-12T02:50:24.723Z] Dload Upload Total Spent Left Speed [2020-10-12T02:50:25.246Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18787 100 110 100 18677 233 39684 --:--:-- --:--:-- --:--:-- 39653 [2020-10-12T02:50:25.246Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/153a43e7e060228c1df4c616c423a5b384e52518 [Pipeline] } [2020-10-12T02:50:25.256Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:50:27.648Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:50:28.214Z] ---> package-listing.sh [2020-10-12T02:50:28.214Z] ++ facter osfamily [2020-10-12T02:50:28.214Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-12T02:50:28.214Z] + OS_FAMILY=redhat [2020-10-12T02:50:28.214Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-12T02:50:28.214Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-12T02:50:28.214Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-12T02:50:28.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-12T02:50:28.214Z] + PACKAGES=/tmp/packages_start.txt [2020-10-12T02:50:28.214Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-12T02:50:28.214Z] + PACKAGES=/tmp/packages_end.txt [2020-10-12T02:50:28.214Z] + case "${OS_FAMILY}" in [2020-10-12T02:50:28.214Z] + rpm -qa [2020-10-12T02:50:28.214Z] + sort [2020-10-12T02:50:32.434Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-12T02:50:32.434Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-12T02:50:32.434Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-12T02:50:32.434Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-12T02:50:32.434Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [2020-10-12T02:50:32.434Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-12T02:50:32.637Z] provisioning config files... [2020-10-12T02:50:32.651Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config8208386397710293663tmp [Pipeline] { [Pipeline] echo [2020-10-12T02:50:32.746Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:50:33.054Z] ---> create-netrc.sh [Pipeline] } [2020-10-12T02:50:33.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-12T02:50:33.161Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:50:33.457Z] ---> python-tools-install.sh [2020-10-12T02:50:33.457Z] Generating Requirements File [2020-10-12T02:51:54.993Z] Python 3.6.8 [2020-10-12T02:51:54.993Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-12T02:51:54.993Z] appdirs==1.4.3 [2020-10-12T02:51:54.993Z] argcomplete==1.12.1 [2020-10-12T02:51:54.993Z] aspy.yaml==1.3.0 [2020-10-12T02:51:54.993Z] attrs==19.3.0 [2020-10-12T02:51:54.993Z] Babel==2.8.0 [2020-10-12T02:51:54.993Z] beautifulsoup4==4.8.2 [2020-10-12T02:51:54.993Z] boto3==1.11.6 [2020-10-12T02:51:54.993Z] botocore==1.14.6 [2020-10-12T02:51:54.993Z] bs4==0.0.1 [2020-10-12T02:51:54.993Z] cachetools==4.1.1 [2020-10-12T02:51:54.993Z] certifi==2019.11.28 [2020-10-12T02:51:54.993Z] cffi==1.14.3 [2020-10-12T02:51:54.993Z] cfgv==2.0.1 [2020-10-12T02:51:54.993Z] chardet==3.0.4 [2020-10-12T02:51:54.993Z] click==7.1 [2020-10-12T02:51:54.993Z] cliff==3.4.0 [2020-10-12T02:51:54.993Z] cmd2==1.3.11 [2020-10-12T02:51:54.993Z] colorama==0.4.3 [2020-10-12T02:51:54.993Z] cryptography==3.1.1 [2020-10-12T02:51:54.993Z] debtcollector==2.2.0 [2020-10-12T02:51:54.993Z] decorator==4.4.2 [2020-10-12T02:51:54.993Z] defusedxml==0.6.0 [2020-10-12T02:51:54.993Z] Deprecated==1.2.7 [2020-10-12T02:51:54.993Z] distlib==0.3.1 [2020-10-12T02:51:54.993Z] distro==1.2.0 [2020-10-12T02:51:54.993Z] dnspython==1.16.0 [2020-10-12T02:51:54.993Z] docker==4.2.0 [2020-10-12T02:51:54.993Z] docutils==0.15.2 [2020-10-12T02:51:54.993Z] dogpile.cache==1.0.2 [2020-10-12T02:51:54.993Z] email-validator==1.0.5 [2020-10-12T02:51:54.993Z] filelock==3.0.12 [2020-10-12T02:51:54.993Z] future==0.18.2 [2020-10-12T02:51:54.993Z] google-auth==1.22.1 [2020-10-12T02:51:54.993Z] httplib2==0.17.0 [2020-10-12T02:51:54.993Z] identify==1.4.11 [2020-10-12T02:51:54.993Z] idna==2.9 [2020-10-12T02:51:54.993Z] importlib-metadata==2.0.0 [2020-10-12T02:51:54.993Z] importlib-resources==1.5.0 [2020-10-12T02:51:54.993Z] iso8601==0.1.13 [2020-10-12T02:51:54.993Z] Jinja2==2.11.1 [2020-10-12T02:51:54.993Z] jmespath==0.10.0 [2020-10-12T02:51:54.993Z] jsonpatch==1.26 [2020-10-12T02:51:54.993Z] jsonpointer==2.0 [2020-10-12T02:51:54.993Z] jsonschema==3.2.0 [2020-10-12T02:51:54.993Z] keystoneauth1==4.2.1 [2020-10-12T02:51:54.993Z] kubernetes==11.0.0 [2020-10-12T02:51:54.993Z] lftools==0.34.2 [2020-10-12T02:51:54.993Z] lxml==4.5.0 [2020-10-12T02:51:54.993Z] MarkupSafe==0.23 [2020-10-12T02:51:54.993Z] msgpack==1.0.0 [2020-10-12T02:51:54.993Z] multi-key-dict==2.0.3 [2020-10-12T02:51:54.993Z] munch==2.5.0 [2020-10-12T02:51:54.993Z] netaddr==0.8.0 [2020-10-12T02:51:54.993Z] netifaces==0.10.9 [2020-10-12T02:51:54.993Z] niet==1.4.2 [2020-10-12T02:51:54.993Z] nodeenv==1.3.5 [2020-10-12T02:51:54.993Z] oauth2client==4.1.3 [2020-10-12T02:51:54.993Z] oauthlib==3.1.0 [2020-10-12T02:51:54.993Z] openstacksdk==0.50.0 [2020-10-12T02:51:54.993Z] os-client-config==2.1.0 [2020-10-12T02:51:54.993Z] os-service-types==1.7.0 [2020-10-12T02:51:54.993Z] osc-lib==2.2.1 [2020-10-12T02:51:54.993Z] oslo.config==8.3.2 [2020-10-12T02:51:54.993Z] oslo.context==3.1.1 [2020-10-12T02:51:54.993Z] oslo.i18n==5.0.1 [2020-10-12T02:51:54.993Z] oslo.log==4.4.0 [2020-10-12T02:51:54.993Z] oslo.serialization==4.0.1 [2020-10-12T02:51:54.993Z] oslo.utils==4.6.0 [2020-10-12T02:51:54.993Z] packaging==20.4 [2020-10-12T02:51:54.993Z] pbr==5.4.4 [2020-10-12T02:51:54.993Z] pluggy==0.13.1 [2020-10-12T02:51:54.993Z] prettytable==0.7.2 [2020-10-12T02:51:54.993Z] py==1.9.0 [2020-10-12T02:51:54.993Z] pyasn1==0.4.8 [2020-10-12T02:51:54.993Z] pyasn1-modules==0.2.8 [2020-10-12T02:51:54.993Z] pycparser==2.20 [2020-10-12T02:51:54.993Z] pygerrit2==2.0.10 [2020-10-12T02:51:54.993Z] PyGithub==1.46 [2020-10-12T02:51:54.993Z] pyinotify==0.9.6 [2020-10-12T02:51:54.993Z] PyJWT==1.7.1 [2020-10-12T02:51:54.993Z] pyparsing==2.4.7 [2020-10-12T02:51:54.993Z] pyperclip==1.8.1 [2020-10-12T02:51:54.993Z] pyroute2==0.4.13 [2020-10-12T02:51:54.993Z] pyrsistent==0.15.7 [2020-10-12T02:51:54.993Z] PySocks==1.6.8 [2020-10-12T02:51:54.993Z] python-cinderclient==7.2.0 [2020-10-12T02:51:54.993Z] python-dateutil==2.8.1 [2020-10-12T02:51:54.993Z] python-heatclient==2.2.1 [2020-10-12T02:51:54.993Z] python-jenkins==1.7.0 [2020-10-12T02:51:54.993Z] python-keystoneclient==4.1.1 [2020-10-12T02:51:54.993Z] python-magnumclient==3.2.1 [2020-10-12T02:51:54.993Z] python-novaclient==17.2.1 [2020-10-12T02:51:54.993Z] python-openstackclient==5.4.0 [2020-10-12T02:51:54.993Z] python-swiftclient==3.10.1 [2020-10-12T02:51:54.993Z] pytz==2020.1 [2020-10-12T02:51:54.993Z] PyYAML==5.3 [2020-10-12T02:51:54.993Z] requests==2.23.0 [2020-10-12T02:51:54.993Z] requests-oauthlib==1.3.0 [2020-10-12T02:51:54.993Z] requestsexceptions==1.4.0 [2020-10-12T02:51:54.993Z] rfc3986==1.4.0 [2020-10-12T02:51:54.993Z] rpm==4.11.3 [2020-10-12T02:51:54.993Z] rsa==4.0 [2020-10-12T02:51:54.993Z] ruamel.yaml==0.16.10 [2020-10-12T02:51:54.993Z] ruamel.yaml.clib==0.2.0 [2020-10-12T02:51:54.993Z] s3transfer==0.3.3 [2020-10-12T02:51:54.993Z] shade==1.27.2 [2020-10-12T02:51:54.993Z] simplejson==3.17.2 [2020-10-12T02:51:54.993Z] six==1.14.0 [2020-10-12T02:51:54.993Z] soupsieve==2.0 [2020-10-12T02:51:54.993Z] stevedore==3.2.2 [2020-10-12T02:51:54.993Z] tabulate==0.8.6 [2020-10-12T02:51:54.993Z] toml==0.10.0 [2020-10-12T02:51:54.993Z] tox==3.20.1 [2020-10-12T02:51:54.993Z] tqdm==4.43.0 [2020-10-12T02:51:54.993Z] urllib3==1.25.8 [2020-10-12T02:51:54.993Z] virtualenv==20.0.33 [2020-10-12T02:51:54.993Z] wcwidth==0.2.5 [2020-10-12T02:51:54.993Z] websocket-client==0.57.0 [2020-10-12T02:51:54.993Z] wrapt==1.12.1 [2020-10-12T02:51:54.994Z] xdg==3.0.2 [2020-10-12T02:51:54.994Z] xmltodict==0.12.0 [2020-10-12T02:51:54.994Z] yq==2.11.1 [2020-10-12T02:51:54.994Z] zipp==3.3.0 [2020-10-12T02:51:54.994Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:51:54.994Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-12T02:51:54.994Z] Python 2.7.5 [2020-10-12T02:51:54.994Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-12T02:51:54.994Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-12T02:51:54.994Z] ansible==2.9.7 [2020-10-12T02:51:54.994Z] Babel==0.9.6 [2020-10-12T02:51:54.994Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-12T02:51:54.994Z] beautifulsoup4==4.4.1 [2020-10-12T02:51:54.994Z] bodhi==2.11.0 [2020-10-12T02:51:54.994Z] bodhi-client==2.11.0 [2020-10-12T02:51:54.994Z] CCColUtils==1.4 [2020-10-12T02:51:54.994Z] cffi==1.6.0 [2020-10-12T02:51:54.994Z] chardet==2.2.1 [2020-10-12T02:51:54.994Z] click==6.7 [2020-10-12T02:51:54.994Z] cloud-init==18.5 [2020-10-12T02:51:54.994Z] configobj==4.7.2 [2020-10-12T02:51:54.994Z] cryptography==1.7.2 [2020-10-12T02:51:54.994Z] decorator==3.4.0 [2020-10-12T02:51:54.994Z] distro==1.2.0 [2020-10-12T02:51:54.994Z] enum34==1.0.4 [2020-10-12T02:51:54.994Z] fedpkg==1.38 [2020-10-12T02:51:54.994Z] futures==3.1.1 [2020-10-12T02:51:54.994Z] gitdb==0.6.4 [2020-10-12T02:51:54.994Z] GitPython==1.0.1 [2020-10-12T02:51:54.994Z] html5lib==0.999 [2020-10-12T02:51:54.994Z] httplib2==0.9.2 [2020-10-12T02:51:54.994Z] idna==2.4 [2020-10-12T02:51:54.994Z] iniparse==0.4 [2020-10-12T02:51:54.994Z] ipaddress==1.0.16 [2020-10-12T02:51:54.994Z] IPy==0.75 [2020-10-12T02:51:54.994Z] javapackages==1.0.0 [2020-10-12T02:51:54.994Z] Jinja2==2.7.2 [2020-10-12T02:51:54.994Z] jmespath==0.9.4 [2020-10-12T02:51:54.994Z] jsonpatch==1.2 [2020-10-12T02:51:54.994Z] jsonpointer==1.9 [2020-10-12T02:51:54.994Z] kerberos==1.1 [2020-10-12T02:51:54.994Z] kitchen==1.1.1 [2020-10-12T02:51:54.994Z] langtable==0.0.31 [2020-10-12T02:51:54.994Z] lockfile==0.9.1 [2020-10-12T02:51:54.994Z] lxml==3.2.1 [2020-10-12T02:51:54.994Z] MarkupSafe==0.11 [2020-10-12T02:51:54.994Z] munch==2.0.2 [2020-10-12T02:51:54.994Z] offtrac==0.1.0 [2020-10-12T02:51:54.994Z] openidc-client==0.6.0 [2020-10-12T02:51:54.994Z] packagedb-cli==2.14.1 [2020-10-12T02:51:54.994Z] paramiko==2.1.1 [2020-10-12T02:51:54.994Z] perf==0.1 [2020-10-12T02:51:54.994Z] ply==3.4 [2020-10-12T02:51:54.994Z] policycoreutils-default-encoding==0.1 [2020-10-12T02:51:54.994Z] prettytable==0.7.2 [2020-10-12T02:51:54.994Z] pyasn1==0.1.9 [2020-10-12T02:51:54.994Z] pycparser==2.14 [2020-10-12T02:51:54.994Z] pycurl==7.19.0 [2020-10-12T02:51:54.994Z] pygobject==3.22.0 [2020-10-12T02:51:54.994Z] pygpgme==0.3 [2020-10-12T02:51:54.994Z] pyliblzma==0.5.3 [2020-10-12T02:51:54.994Z] pyOpenSSL==0.13.1 [2020-10-12T02:51:54.994Z] pyparsing==1.5.6 [2020-10-12T02:51:54.994Z] pyserial==2.6 [2020-10-12T02:51:54.994Z] python-augeas==0.5.0 [2020-10-12T02:51:54.994Z] python-bugzilla==2.3.0 [2020-10-12T02:51:54.994Z] python-dateutil==1.5 [2020-10-12T02:51:54.994Z] python-fedora==0.10.0 [2020-10-12T02:51:54.994Z] python-linux-procfs==0.4.9 [2020-10-12T02:51:54.994Z] python-yubico==1.2.3 [2020-10-12T02:51:54.994Z] pyudev==0.15 [2020-10-12T02:51:54.994Z] pyusb==1.0.0b1 [2020-10-12T02:51:54.994Z] pyxattr==0.5.1 [2020-10-12T02:51:54.994Z] PyYAML==3.10 [2020-10-12T02:51:54.994Z] requests==2.6.0 [2020-10-12T02:51:54.994Z] requests-kerberos==0.7.0 [2020-10-12T02:51:54.994Z] rpkg==1.60 [2020-10-12T02:51:54.994Z] schedutils==0.4 [2020-10-12T02:51:54.994Z] seobject==0.1 [2020-10-12T02:51:54.994Z] sepolicy==1.1 [2020-10-12T02:51:54.994Z] six==1.9.0 [2020-10-12T02:51:54.994Z] smmap==0.9.0 [2020-10-12T02:51:54.994Z] urlgrabber==3.10 [2020-10-12T02:51:54.994Z] urllib3==1.10.2 [2020-10-12T02:51:54.994Z] virtualenv==15.1.0 [2020-10-12T02:51:54.994Z] yum-langpacks==0.4.2 [2020-10-12T02:51:54.994Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-12T02:51:55.006Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:51:55.313Z] ---> sudo-logs.sh [2020-10-12T02:51:55.313Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-12T02:51:55.587Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:51:55.891Z] ---> job-cost.sh [2020-10-12T02:51:55.891Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MKE8 [2020-10-12T02:52:08.152Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:08.152Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.100Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.100Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.100Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.363Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.363Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.628Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.628Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.628Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.894Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:09.894Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:10.192Z] Cache entry deserialization failed, entry ignored [2020-10-12T02:52:12.892Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-12T02:52:39.549Z] lf-activate-venv(): INFO: Adding /tmp/venv-MKE8/bin to PATH [2020-10-12T02:52:39.549Z] INFO: No Stack... [2020-10-12T02:52:39.813Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-12T02:52:41.747Z] INFO: Archiving Costs [Pipeline] echo [2020-10-12T02:52:41.761Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-12T02:52:42.067Z] ---> logs-deploy.sh [2020-10-12T02:52:42.067Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/6 [2020-10-12T02:52:42.067Z] INFO: archiving workspace using pattern(s): [2020-10-12T02:52:43.487Z] Archives upload complete. [2020-10-12T02:52:43.754Z] INFO: archiving logs to Nexus