Pull request #615 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from adbd9df6a525e5764bdbc0c3b5256baca477c201+929f8c55784e6be67c9085c42060e26da0220a27 (235c41b410996c6d3d112c01c69d653633851742) 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-3596’ is offline; ‘prd-centos7-docker-4c-2g-3605’ is offline; ‘prd-centos7-docker-4c-2g-3607’ is offline; ‘prd-centos7-docker-4c-2g-3608’ is offline; ‘prd-centos7-docker-4c-2g-3633’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3601’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3628’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3635 in /w/workspace/dgexfoundry_device-sdk-go_PR-615 [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-615 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/615/head:refs/remotes/origin/PR-615 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 929f8c55784e6be67c9085c42060e26da0220a27 into PR head commit adbd9df6a525e5764bdbc0c3b5256baca477c201 Merge succeeded, producing adbd9df6a525e5764bdbc0c3b5256baca477c201 Checking out Revision adbd9df6a525e5764bdbc0c3b5256baca477c201 (PR-615) > git config core.sparsecheckout # timeout=10 > git checkout -f adbd9df6a525e5764bdbc0c3b5256baca477c201 # 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 929f8c55784e6be67c9085c42060e26da0220a27 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adbd9df6a525e5764bdbc0c3b5256baca477c201 # timeout=10 Commit message: "Merge branch 'master' into fix-discovery" > git rev-list --no-walk 0e0b0410d63d35786fd3be0dc7c0f41f4d7c84e9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-06T04:54:24.251Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-06T04:54:24.531Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-06T04:54:24.631Z] ========================================================= [2020-10-06T04:54:24.631Z] EdgeX Global Pipelines Version Info [2020-10-06T04:54:24.631Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-06T04:54:27.059Z] ------------------- [2020-10-06T04:54:27.059Z] stable info: [2020-10-06T04:54:27.059Z] ------------------- [2020-10-06T04:54:27.059Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-06T04:54:27.059Z] Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d [2020-10-06T04:54:27.059Z] Message: update stable to v1.0.131 [2020-10-06T04:54:28.069Z] ------------------- [2020-10-06T04:54:28.069Z] experimental info: [2020-10-06T04:54:28.069Z] ------------------- [2020-10-06T04:54:28.069Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-06T04:54:28.069Z] Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a [2020-10-06T04:54:28.069Z] Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-06T04:54:28.605Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-06T04:54:28.712Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-06T04:54:28.835Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-06T04:54:28.929Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-06T04:54:29.033Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-06T04:54:29.144Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-06T04:54:29.243Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-06T04:54:29.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-06T04:54:29.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-06T04:54:29.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-06T04:54:29.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-06T04:54:29.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-06T04:54:29.905Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-06T04:54:30.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-06T04:54:30.147Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-06T04:54:30.346Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T04:54:30.440Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T04:54:30.561Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-06T04:54:30.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-06T04:54:30.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-06T04:54:30.921Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-06T04:54:31.091Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-06T04:54:31.257Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-06T04:54:31.365Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-06T04:54:31.463Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-06T04:54:31.571Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-615 [Pipeline] echo [2020-10-06T04:54:31.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-615 [Pipeline] echo [2020-10-06T04:54:31.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-615 [Pipeline] echo [2020-10-06T04:54:31.927Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adbd9df6a525e5764bdbc0c3b5256baca477c201 [Pipeline] echo [2020-10-06T04:54:32.045Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adbd9df [Pipeline] echo [2020-10-06T04:54:32.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T04:54:32.838Z] + git log --format=format:%s -1 adbd9df6a525e5764bdbc0c3b5256baca477c201 [Pipeline] echo [2020-10-06T04:54:33.082Z] GIT_COMMIT: adbd9df6a525e5764bdbc0c3b5256baca477c201, Commit Message: Merge branch 'master' into fix-discovery [Pipeline] echo [2020-10-06T04:54:33.130Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-06T04:54:33.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T04:54:34.410Z] [2020-10-06T04:54:34.410Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T04:54:34.858Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T04:54:34.858Z] latest: Pulling from edgex-devops/git-semver [2020-10-06T04:54:34.858Z] 31603596830f: Pulling fs layer [2020-10-06T04:54:34.858Z] 2a8b12db71e7: Pulling fs layer [2020-10-06T04:54:34.858Z] 6ca5941a6612: Pulling fs layer [2020-10-06T04:54:34.858Z] ecc8261a40a4: Pulling fs layer [2020-10-06T04:54:34.858Z] ecc8261a40a4: Waiting [2020-10-06T04:54:34.858Z] 2a8b12db71e7: Verifying Checksum [2020-10-06T04:54:34.858Z] 2a8b12db71e7: Download complete [2020-10-06T04:54:35.486Z] 31603596830f: Verifying Checksum [2020-10-06T04:54:35.486Z] 31603596830f: Download complete [2020-10-06T04:54:36.093Z] ecc8261a40a4: Verifying Checksum [2020-10-06T04:54:36.093Z] ecc8261a40a4: Download complete [2020-10-06T04:54:36.093Z] 31603596830f: Pull complete [2020-10-06T04:54:36.368Z] 2a8b12db71e7: Pull complete [2020-10-06T04:54:36.368Z] 6ca5941a6612: Verifying Checksum [2020-10-06T04:54:36.368Z] 6ca5941a6612: Download complete [2020-10-06T04:54:37.847Z] 6ca5941a6612: Pull complete [2020-10-06T04:54:38.115Z] ecc8261a40a4: Pull complete [2020-10-06T04:54:38.115Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-06T04:54:38.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-06T04:54:38.115Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-06T04:54:38.284Z] prd-centos7-docker-4c-2g-3635 does not seem to be running inside a container [2020-10-06T04:54:38.363Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-615 -v /w/workspace/dgexfoundry_device-sdk-go_PR-615:/w/workspace/dgexfoundry_device-sdk-go_PR-615:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-615@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-06T04:54:40.826Z] $ docker top 01757c6dc55976abe411b1e92981505b9a69b4abb4f2c004d251087e80388972 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-06T04:54:41.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T04:54:41.527Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T04:54:41.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T04:54:41.849Z] $ docker exec 01757c6dc55976abe411b1e92981505b9a69b4abb4f2c004d251087e80388972 ssh-agent [2020-10-06T04:54:42.126Z] SSH_AUTH_SOCK=/tmp/ssh-9cSEMVcit3gK/agent.12 [2020-10-06T04:54:42.126Z] SSH_AGENT_PID=18 [2020-10-06T04:54:42.154Z] Running ssh-add (command line suppressed) [2020-10-06T04:54:42.317Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_7183919304012293783.key (/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_7183919304012293783.key) [2020-10-06T04:54:42.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T04:54:42.853Z] + git describe --exact-match --tags HEAD [2020-10-06T04:54:42.853Z] fatal: no tag exactly matches 'adbd9df6a525e5764bdbc0c3b5256baca477c201' [Pipeline] } [2020-10-06T04:54:42.890Z] $ docker exec --env ******** --env ******** 01757c6dc55976abe411b1e92981505b9a69b4abb4f2c004d251087e80388972 ssh-agent -k [2020-10-06T04:54:43.098Z] unset SSH_AUTH_SOCK; [2020-10-06T04:54:43.101Z] unset SSH_AGENT_PID; [2020-10-06T04:54:43.101Z] echo Agent pid 18 killed; [2020-10-06T04:54:43.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-10-06T04:54:43.357Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-10-06T04:54:43.357Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-10-06T04:54:43.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-06T04:54:43.498Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-06T04:54:43.728Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-06T04:54:43.735Z] $ docker exec 01757c6dc55976abe411b1e92981505b9a69b4abb4f2c004d251087e80388972 ssh-agent [2020-10-06T04:54:44.069Z] SSH_AUTH_SOCK=/tmp/ssh-j8VxFDK4jPDY/agent.47 [2020-10-06T04:54:44.069Z] SSH_AGENT_PID=52 [2020-10-06T04:54:44.103Z] Running ssh-add (command line suppressed) [2020-10-06T04:54:44.398Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_5169043260274424263.key (/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/private_key_5169043260274424263.key) [2020-10-06T04:54:44.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-06T04:54:44.955Z] + git semver init [2020-10-06T04:54:44.955Z] # -> Open(): unable to determine branch for HEAD [2020-10-06T04:54:44.955Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-615/.git [2020-10-06T04:54:44.955Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-615 [2020-10-06T04:54:44.955Z] # $SEMVER_REMOTE_NAME = origin [2020-10-06T04:54:44.955Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-06T04:54:44.955Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-06T04:54:44.955Z] # $SEMVER_BRANCH = PR-615 [2020-10-06T04:54:44.955Z] # $SEMVER_TEMP = /tmp/semver-909235348 [2020-10-06T04:54:44.955Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-06T04:54:46.685Z] # '/tmp/semver-909235348' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-615/.semver' [2020-10-06T04:54:46.685Z] # -> Force: false [2020-10-06T04:54:46.685Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-615/.semver [Pipeline] } [2020-10-06T04:54:46.704Z] $ docker exec --env ******** --env ******** 01757c6dc55976abe411b1e92981505b9a69b4abb4f2c004d251087e80388972 ssh-agent -k [2020-10-06T04:54:46.871Z] unset SSH_AUTH_SOCK; [2020-10-06T04:54:46.873Z] unset SSH_AGENT_PID; [2020-10-06T04:54:46.873Z] echo Agent pid 52 killed; [2020-10-06T04:54:46.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-06T04:54:47.490Z] + git semver [Pipeline] } [2020-10-06T04:54:47.534Z] $ docker stop --time=1 01757c6dc55976abe411b1e92981505b9a69b4abb4f2c004d251087e80388972 [2020-10-06T04:54:49.126Z] $ docker rm -f 01757c6dc55976abe411b1e92981505b9a69b4abb4f2c004d251087e80388972 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-06T04:54:50.555Z] Stashed 43 file(s) [Pipeline] echo [2020-10-06T04:54:50.558Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-10-06T04:54:50.657Z] 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-06T04:55:06.099Z] Still waiting to schedule task [2020-10-06T04:55:06.099Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-06T04:55:06.102Z] Still waiting to schedule task [2020-10-06T04:55:06.102Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-06T04:57:38.425Z] Running on prd-centos7-docker-4c-2g-3637 in /w/workspace/dgexfoundry_device-sdk-go_PR-615 [Pipeline] { [Pipeline] ws [2020-10-06T04:57:38.479Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-06T04:57:41.450Z] using credential edgex-jenkins-ssh [2020-10-06T04:57:41.502Z] Cloning the remote Git repository [2020-10-06T04:57:41.534Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T04:57:41.605Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-06T04:57:41.663Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T04:57:41.664Z] > git --version # timeout=10 [2020-10-06T04:57:41.675Z] > git --version # 'git version 2.16.5' [2020-10-06T04:57:41.675Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T04:57:41.712Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T04:57:42.822Z] Merging remotes/origin/master commit 929f8c55784e6be67c9085c42060e26da0220a27 into PR head commit adbd9df6a525e5764bdbc0c3b5256baca477c201 [2020-10-06T04:57:42.928Z] Merge succeeded, producing adbd9df6a525e5764bdbc0c3b5256baca477c201 [2020-10-06T04:57:42.928Z] Checking out Revision adbd9df6a525e5764bdbc0c3b5256baca477c201 (PR-615) [2020-10-06T04:57:42.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T04:57:42.348Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T04:57:42.359Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T04:57:42.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T04:57:42.372Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T04:57:42.376Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/615/head:refs/remotes/origin/PR-615 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T04:57:42.833Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T04:57:42.839Z] > git checkout -f adbd9df6a525e5764bdbc0c3b5256baca477c201 # timeout=10 [2020-10-06T04:57:42.886Z] > git remote # timeout=10 [2020-10-06T04:57:42.891Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T04:57:42.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T04:57:42.902Z] > git merge 929f8c55784e6be67c9085c42060e26da0220a27 # timeout=10 [2020-10-06T04:57:42.924Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T04:57:42.933Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T04:57:42.938Z] > git checkout -f adbd9df6a525e5764bdbc0c3b5256baca477c201 # timeout=10 [2020-10-06T04:57:46.581Z] Commit message: "Merge branch 'master' into fix-discovery" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T04:57:47.568Z] ========================================================= [2020-10-06T04:57:47.568Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-06T04:57:47.568Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T04:57:48.275Z] + 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-06T04:57:48.538Z] Sending build context to Docker daemon 3.518MB [2020-10-06T04:57:48.538Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T04:57:48.538Z] Step 2/8 : FROM ${BASE} [2020-10-06T04:57:48.799Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-06T04:57:48.799Z] df20fa9351a1: Pulling fs layer [2020-10-06T04:57:48.799Z] ed8968b2872e: Pulling fs layer [2020-10-06T04:57:48.799Z] a92cc7c5fd73: Pulling fs layer [2020-10-06T04:57:48.799Z] e871e8e8d7a9: Pulling fs layer [2020-10-06T04:57:48.799Z] e73272ec9a57: Pulling fs layer [2020-10-06T04:57:48.799Z] 1e910a182e73: Pulling fs layer [2020-10-06T04:57:48.799Z] 4e634b169226: Pulling fs layer [2020-10-06T04:57:48.799Z] e73272ec9a57: Waiting [2020-10-06T04:57:48.799Z] 1e910a182e73: Waiting [2020-10-06T04:57:48.799Z] 4e634b169226: Waiting [2020-10-06T04:57:48.799Z] e871e8e8d7a9: Waiting [2020-10-06T04:57:48.799Z] a92cc7c5fd73: Verifying Checksum [2020-10-06T04:57:48.799Z] a92cc7c5fd73: Download complete [2020-10-06T04:57:48.799Z] ed8968b2872e: Download complete [2020-10-06T04:57:48.799Z] e73272ec9a57: Download complete [2020-10-06T04:57:48.799Z] 1e910a182e73: Verifying Checksum [2020-10-06T04:57:48.799Z] 1e910a182e73: Download complete [2020-10-06T04:57:49.750Z] df20fa9351a1: Verifying Checksum [2020-10-06T04:57:49.750Z] df20fa9351a1: Download complete [2020-10-06T04:57:50.016Z] df20fa9351a1: Pull complete [2020-10-06T04:57:50.284Z] ed8968b2872e: Pull complete [2020-10-06T04:57:50.284Z] a92cc7c5fd73: Pull complete [2020-10-06T04:57:52.214Z] 4e634b169226: Verifying Checksum [2020-10-06T04:57:52.214Z] 4e634b169226: Download complete [2020-10-06T04:57:52.793Z] e871e8e8d7a9: Verifying Checksum [2020-10-06T04:57:52.793Z] e871e8e8d7a9: Download complete [2020-10-06T04:57:58.112Z] e871e8e8d7a9: Pull complete [2020-10-06T04:57:58.112Z] e73272ec9a57: Pull complete [2020-10-06T04:57:58.374Z] 1e910a182e73: Pull complete [2020-10-06T04:58:03.700Z] 4e634b169226: Pull complete [2020-10-06T04:58:03.700Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-06T04:58:03.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-06T04:58:03.700Z] ---> f7629b54cfaa [2020-10-06T04:58:03.700Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T04:58:03.700Z] ---> Running in f69e27e0f821 [2020-10-06T04:58:03.700Z] Removing intermediate container f69e27e0f821 [2020-10-06T04:58:03.700Z] ---> 94f3175d59ac [2020-10-06T04:58:03.700Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T04:58:03.964Z] ---> Running in 8bcad9f8fd52 [2020-10-06T04:58:04.924Z] Removing intermediate container 8bcad9f8fd52 [2020-10-06T04:58:04.924Z] ---> 2d6a745ec275 [2020-10-06T04:58:04.924Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T04:58:04.924Z] ---> Running in b1be5b299361 [2020-10-06T04:58:05.876Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T04:58:06.823Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T04:58:07.771Z] OK: 166 MiB in 39 packages [2020-10-06T04:58:08.039Z] Removing intermediate container b1be5b299361 [2020-10-06T04:58:08.040Z] ---> 1b0745fca5a6 [2020-10-06T04:58:08.040Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T04:58:08.040Z] ---> Running in 91c9f29b6ee6 [2020-10-06T04:58:08.305Z] Removing intermediate container 91c9f29b6ee6 [2020-10-06T04:58:08.306Z] ---> 759aec575435 [2020-10-06T04:58:08.306Z] Step 7/8 : COPY . . [2020-10-06T04:58:09.700Z] ---> 32f77988bf46 [2020-10-06T04:58:09.700Z] Step 8/8 : RUN go mod download [2020-10-06T04:58:09.700Z] ---> Running in e123e6b689a3 [2020-10-06T04:58:27.892Z] Removing intermediate container e123e6b689a3 [2020-10-06T04:58:27.893Z] ---> 13dfa9dcbb3d [2020-10-06T04:58:27.893Z] Successfully built 13dfa9dcbb3d [2020-10-06T04:58:27.893Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T04:58:28.252Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T04:58:28.252Z] . [Pipeline] withDockerContainer [2020-10-06T04:58:28.365Z] prd-centos7-docker-4c-2g-3637 does not seem to be running inside a container [2020-10-06T04:58:28.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-06T04:58:29.179Z] $ docker top 80ab2307a8b85877c35d2fabd26e567a4bd4bb042c5e236098da875752fea18d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T04:58:29.800Z] + go version [2020-10-06T04:58:29.800Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-06T04:58:29.817Z] $ docker stop --time=1 80ab2307a8b85877c35d2fabd26e567a4bd4bb042c5e236098da875752fea18d [2020-10-06T04:58:31.149Z] $ docker rm -f 80ab2307a8b85877c35d2fabd26e567a4bd4bb042c5e236098da875752fea18d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T04:58:32.149Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-06T04:58:32.149Z] . [Pipeline] withDockerContainer [2020-10-06T04:58:32.253Z] prd-centos7-docker-4c-2g-3637 does not seem to be running inside a container [2020-10-06T04:58:32.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-06T04:58:32.931Z] $ docker top cc55bd8455172b384803e1e96f342730ed9164a25eb67c21f318a73d194c103d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T04:58:33.446Z] + make test [2020-10-06T04:58:33.446Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T04:58:41.613Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T04:58:55.341Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T04:58:55.341Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T04:58:55.341Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T04:58:55.341Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.055s coverage: 21.6% of statements [2020-10-06T04:58:56.751Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.427s coverage: 97.1% of statements [2020-10-06T04:59:01.160Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3638 in /w/workspace/dgexfoundry_device-sdk-go_PR-615 [Pipeline] { [Pipeline] ws [2020-10-06T04:59:01.211Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-06T04:59:06.397Z] using credential edgex-jenkins-ssh [2020-10-06T04:59:06.459Z] Cloning the remote Git repository [2020-10-06T04:59:06.531Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T04:59:06.640Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-06T04:59:06.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T04:59:06.721Z] > git --version # timeout=10 [2020-10-06T04:59:06.750Z] > git --version # 'git version 2.17.1' [2020-10-06T04:59:06.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T04:59:06.829Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T04:59:08.526Z] Merging remotes/origin/master commit 929f8c55784e6be67c9085c42060e26da0220a27 into PR head commit adbd9df6a525e5764bdbc0c3b5256baca477c201 [2020-10-06T04:59:07.838Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T04:59:07.860Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-06T04:59:07.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-06T04:59:07.936Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-06T04:59:07.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T04:59:07.947Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/615/head:refs/remotes/origin/PR-615 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-06T04:59:08.554Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T04:59:08.570Z] > git checkout -f adbd9df6a525e5764bdbc0c3b5256baca477c201 # timeout=10 [2020-10-06T04:59:08.691Z] > git remote # timeout=10 [2020-10-06T04:59:08.755Z] > git config --get remote.origin.url # timeout=10 [2020-10-06T04:59:08.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-06T04:59:08.804Z] > git merge 929f8c55784e6be67c9085c42060e26da0220a27 # timeout=10 [2020-10-06T04:59:08.846Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-06T04:59:08.895Z] Merge succeeded, producing adbd9df6a525e5764bdbc0c3b5256baca477c201 [2020-10-06T04:59:08.896Z] Checking out Revision adbd9df6a525e5764bdbc0c3b5256baca477c201 (PR-615) [2020-10-06T04:59:08.917Z] > git config core.sparsecheckout # timeout=10 [2020-10-06T04:59:08.960Z] > git checkout -f adbd9df6a525e5764bdbc0c3b5256baca477c201 # timeout=10 [2020-10-06T04:59:13.218Z] Commit message: "Merge branch 'master' into fix-discovery" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-06T04:59:14.511Z] ========================================================= [2020-10-06T04:59:14.511Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-06T04:59:14.511Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-06T04:59:15.743Z] + 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-06T04:59:16.737Z] Sending build context to Docker daemon 3.518MB [2020-10-06T04:59:16.737Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-06T04:59:16.737Z] Step 2/8 : FROM ${BASE} [2020-10-06T04:59:17.011Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-06T04:59:17.011Z] b538f80385f9: Pulling fs layer [2020-10-06T04:59:17.011Z] 74f711af9a0d: Pulling fs layer [2020-10-06T04:59:17.011Z] 99f96fe45779: Pulling fs layer [2020-10-06T04:59:17.011Z] 8529a6b9a6be: Pulling fs layer [2020-10-06T04:59:17.011Z] 45590311c82a: Pulling fs layer [2020-10-06T04:59:17.011Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-06T04:59:17.011Z] 209524e5b208: Pulling fs layer [2020-10-06T04:59:17.011Z] 8529a6b9a6be: Waiting [2020-10-06T04:59:17.011Z] 45590311c82a: Waiting [2020-10-06T04:59:17.011Z] 69ca0ff8b7b3: Waiting [2020-10-06T04:59:17.011Z] 209524e5b208: Waiting [2020-10-06T04:59:17.011Z] 99f96fe45779: Verifying Checksum [2020-10-06T04:59:17.011Z] 99f96fe45779: Download complete [2020-10-06T04:59:17.011Z] 74f711af9a0d: Verifying Checksum [2020-10-06T04:59:17.011Z] 74f711af9a0d: Download complete [2020-10-06T04:59:17.011Z] 45590311c82a: Download complete [2020-10-06T04:59:17.011Z] 69ca0ff8b7b3: Download complete [2020-10-06T04:59:17.287Z] b538f80385f9: Verifying Checksum [2020-10-06T04:59:17.287Z] b538f80385f9: Download complete [2020-10-06T04:59:17.922Z] b538f80385f9: Pull complete [2020-10-06T04:59:18.516Z] 74f711af9a0d: Pull complete [2020-10-06T04:59:19.120Z] 99f96fe45779: Pull complete [2020-10-06T04:59:20.104Z] 209524e5b208: Verifying Checksum [2020-10-06T04:59:20.104Z] 209524e5b208: Download complete [2020-10-06T04:59:21.542Z] 8529a6b9a6be: Verifying Checksum [2020-10-06T04:59:21.542Z] 8529a6b9a6be: Download complete [2020-10-06T04:59:28.919Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.066s coverage: 9.4% of statements [2020-10-06T04:59:28.919Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.9% of statements [2020-10-06T04:59:28.919Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T04:59:28.919Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.217s coverage: 39.9% of statements [2020-10-06T04:59:28.919Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T04:59:28.919Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.296s coverage: 65.4% of statements [2020-10-06T04:59:28.919Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T04:59:28.919Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T04:59:28.919Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T04:59:28.919Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T04:59:28.919Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 52.6% of statements [2020-10-06T04:59:28.919Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T04:59:28.919Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.378s coverage: 68.9% of statements [2020-10-06T04:59:28.919Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T04:59:28.919Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T04:59:28.919Z] GO111MODULE=on go vet ./... [2020-10-06T04:59:33.963Z] 8529a6b9a6be: Pull complete [2020-10-06T04:59:33.963Z] 45590311c82a: Pull complete [2020-10-06T04:59:33.963Z] 69ca0ff8b7b3: Pull complete [2020-10-06T04:59:34.295Z] gofmt -l . [2020-10-06T04:59:34.558Z] [ "`gofmt -l .`" = "" ] [2020-10-06T04:59:34.558Z] ./bin/test-attribution-txt.sh [2020-10-06T04:59:35.134Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T04:59:35.734Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T04:59:35.743Z] $ docker stop --time=1 cc55bd8455172b384803e1e96f342730ed9164a25eb67c21f318a73d194c103d [2020-10-06T04:59:36.598Z] 209524e5b208: Pull complete [2020-10-06T04:59:36.598Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-06T04:59:36.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-06T04:59:36.598Z] ---> 5bddaf1c2fca [2020-10-06T04:59:36.598Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T04:59:37.621Z] $ docker rm -f cc55bd8455172b384803e1e96f342730ed9164a25eb67c21f318a73d194c103d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-06T04:59:39.223Z] ---> Running in 7d80d6c115d1 [2020-10-06T04:59:39.223Z] Removing intermediate container 7d80d6c115d1 [2020-10-06T04:59:39.223Z] ---> e213407c7e3d [2020-10-06T04:59:39.223Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T04:59:39.284Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T04:59:39.495Z] ---> Running in 15ae5c6bcd5a [2020-10-06T04:59:39.584Z] + ls -al . [2020-10-06T04:59:39.584Z] total 192 [2020-10-06T04:59:39.584Z] drwxrwxr-x. 11 jenkins jenkins 4096 Oct 6 04:59 . [2020-10-06T04:59:39.584Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 6 04:57 .. [2020-10-06T04:59:39.584Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 6 04:57 bin [2020-10-06T04:59:39.584Z] -rw-r--r--. 1 jenkins jenkins 111040 Oct 6 04:59 coverage.out [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 6 04:57 Dockerfile.build [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 6 04:57 .dockerignore [2020-10-06T04:59:39.584Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 6 04:57 example [2020-10-06T04:59:39.584Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 6 04:57 .git [2020-10-06T04:59:39.584Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 6 04:57 .github [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 6 04:57 .gitignore [2020-10-06T04:59:39.584Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 6 04:59 go.mod [2020-10-06T04:59:39.584Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 6 04:59 go.sum [2020-10-06T04:59:39.584Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 6 04:57 internal [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 6 04:57 Jenkinsfile [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 6 04:57 LICENSE [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 6 04:57 Makefile [2020-10-06T04:59:39.584Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 6 04:57 openapi [2020-10-06T04:59:39.584Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 6 04:57 pkg [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 6 04:57 README.md [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 6 04:57 RELEASE-NOTES.txt [2020-10-06T04:59:39.584Z] drwxrwxr-x. 3 jenkins jenkins 58 Oct 6 04:57 .semver [2020-10-06T04:59:39.584Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 6 04:57 snap [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 6 04:54 VERSION [2020-10-06T04:59:39.584Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 6 04:57 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T04:59:39.891Z] + 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=adbd9df6a525e5764bdbc0c3b5256baca477c201 --label arch=amd64 --label version=0.0.0 . [2020-10-06T04:59:40.154Z] Sending build context to Docker daemon 3.63MB [2020-10-06T04:59:40.154Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T04:59:40.154Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T04:59:40.154Z] ---> 13dfa9dcbb3d [2020-10-06T04:59:40.154Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T04:59:40.728Z] ---> Running in bf5cf903c023 [2020-10-06T04:59:40.728Z] Removing intermediate container bf5cf903c023 [2020-10-06T04:59:40.728Z] ---> 4aabd3bdc443 [2020-10-06T04:59:40.728Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T04:59:40.990Z] ---> Running in fead9c4942fa [2020-10-06T04:59:40.990Z] Removing intermediate container fead9c4942fa [2020-10-06T04:59:40.990Z] ---> 3bdd2c42f305 [2020-10-06T04:59:40.990Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T04:59:41.255Z] ---> Running in af55a8e77647 [2020-10-06T04:59:41.255Z] Removing intermediate container af55a8e77647 [2020-10-06T04:59:41.255Z] ---> 3ada29cc5b13 [2020-10-06T04:59:41.255Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T04:59:41.255Z] ---> Running in 8ed70ec0c0e0 [2020-10-06T04:59:42.118Z] Removing intermediate container 15ae5c6bcd5a [2020-10-06T04:59:42.118Z] ---> aece1ef8f2b6 [2020-10-06T04:59:42.118Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-06T04:59:42.118Z] ---> Running in 7c570e02bede [2020-10-06T04:59:42.202Z] Removing intermediate container 8ed70ec0c0e0 [2020-10-06T04:59:42.202Z] ---> 58e3ff910e85 [2020-10-06T04:59:42.202Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T04:59:42.202Z] ---> Running in 84a54312c037 [2020-10-06T04:59:42.778Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-06T04:59:43.565Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T04:59:43.722Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-06T04:59:44.550Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T04:59:44.675Z] OK: 166 MiB in 39 packages [2020-10-06T04:59:45.252Z] Removing intermediate container 84a54312c037 [2020-10-06T04:59:45.252Z] ---> a7eb1469a0c1 [2020-10-06T04:59:45.252Z] Step 8/24 : COPY . . [2020-10-06T04:59:45.527Z] OK: 142 MiB in 39 packages [2020-10-06T04:59:46.200Z] ---> 59a517394828 [2020-10-06T04:59:46.200Z] Step 9/24 : RUN ${MAKE} [2020-10-06T04:59:46.464Z] ---> Running in 099e8a3284b2 [2020-10-06T04:59:46.729Z] 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-06T04:59:46.978Z] Removing intermediate container 7c570e02bede [2020-10-06T04:59:46.978Z] ---> b905f7340aac [2020-10-06T04:59:46.978Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-06T04:59:46.978Z] ---> Running in 8c16eef97284 [2020-10-06T04:59:47.252Z] Removing intermediate container 8c16eef97284 [2020-10-06T04:59:47.252Z] ---> 67d240ec3955 [2020-10-06T04:59:47.252Z] Step 7/8 : COPY . . [2020-10-06T04:59:48.704Z] ---> bf8c1465b853 [2020-10-06T04:59:48.704Z] Step 8/8 : RUN go mod download [2020-10-06T04:59:48.704Z] ---> Running in 8af8d1844cda [2020-10-06T04:59:54.948Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T04:59:56.871Z] Removing intermediate container 099e8a3284b2 [2020-10-06T04:59:56.871Z] ---> e2539d091ddc [2020-10-06T04:59:56.871Z] Step 10/24 : FROM scratch [2020-10-06T04:59:56.871Z] ---> [2020-10-06T04:59:56.871Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T04:59:56.871Z] ---> Running in f559cb20973f [2020-10-06T04:59:56.871Z] Removing intermediate container f559cb20973f [2020-10-06T04:59:56.871Z] ---> 43028f95b353 [2020-10-06T04:59:56.871Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T04:59:56.871Z] ---> Running in 0f46740c9d09 [2020-10-06T04:59:57.135Z] Removing intermediate container 0f46740c9d09 [2020-10-06T04:59:57.135Z] ---> 09610c9b4e65 [2020-10-06T04:59:57.135Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T04:59:57.135Z] ---> Running in 553c83ca454f [2020-10-06T04:59:57.135Z] Removing intermediate container 553c83ca454f [2020-10-06T04:59:57.135Z] ---> 3e9a4243eb2f [2020-10-06T04:59:57.135Z] Step 14/24 : WORKDIR / [2020-10-06T04:59:57.396Z] ---> Running in 5dcf085ce4cb [2020-10-06T04:59:57.396Z] Removing intermediate container 5dcf085ce4cb [2020-10-06T04:59:57.396Z] ---> 6108ac3e5812 [2020-10-06T04:59:57.396Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T04:59:57.971Z] ---> 86787a56b29a [2020-10-06T04:59:57.971Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T04:59:58.234Z] ---> af54714f4692 [2020-10-06T04:59:58.234Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T04:59:58.234Z] ---> 3321080f1d36 [2020-10-06T04:59:58.234Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T04:59:58.498Z] ---> 911a61e04404 [2020-10-06T04:59:58.498Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T04:59:58.762Z] ---> b794931c6bc2 [2020-10-06T04:59:58.762Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T04:59:58.762Z] ---> Running in b84b7c1193e4 [2020-10-06T04:59:59.024Z] Removing intermediate container b84b7c1193e4 [2020-10-06T04:59:59.024Z] ---> 967303c1807d [2020-10-06T04:59:59.024Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T04:59:59.024Z] ---> Running in 62f921addc3e [2020-10-06T04:59:59.287Z] Removing intermediate container 62f921addc3e [2020-10-06T04:59:59.287Z] ---> 3952feaae735 [2020-10-06T04:59:59.287Z] Step 22/24 : LABEL arch=amd64 [2020-10-06T04:59:59.287Z] ---> Running in b66224d4c2fa [2020-10-06T04:59:59.287Z] Removing intermediate container b66224d4c2fa [2020-10-06T04:59:59.287Z] ---> b812ab20cc4f [2020-10-06T04:59:59.287Z] Step 23/24 : LABEL git_sha=adbd9df6a525e5764bdbc0c3b5256baca477c201 [2020-10-06T04:59:59.548Z] ---> Running in d696de27bfdf [2020-10-06T04:59:59.548Z] Removing intermediate container d696de27bfdf [2020-10-06T04:59:59.548Z] ---> 6a04be2825c3 [2020-10-06T04:59:59.548Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T04:59:59.810Z] ---> Running in 8f1009b61e89 [2020-10-06T04:59:59.810Z] Removing intermediate container 8f1009b61e89 [2020-10-06T04:59:59.810Z] ---> d93bded6f2db [2020-10-06T04:59:59.810Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T04:59:59.810Z] Successfully built d93bded6f2db [2020-10-06T04:59:59.810Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-06T05:00:10.901Z] Removing intermediate container 8af8d1844cda [2020-10-06T05:00:10.901Z] ---> 3a1812857cb4 [2020-10-06T05:00:10.901Z] Successfully built 3a1812857cb4 [2020-10-06T05:00:10.901Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:00:11.313Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T05:00:11.313Z] . [Pipeline] withDockerContainer [2020-10-06T05:00:11.589Z] prd-ubuntu18.04-docker-arm64-4c-16g-3638 does not seem to be running inside a container [2020-10-06T05:00:11.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-06T05:00:13.506Z] $ docker top 107efa744383487b7a26f6a9ebf80067809a847d11c3e58953992eb6455f2c2c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:00:14.918Z] + go version [2020-10-06T05:00:14.918Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-06T05:00:14.947Z] $ docker stop --time=1 107efa744383487b7a26f6a9ebf80067809a847d11c3e58953992eb6455f2c2c [2020-10-06T05:00:16.791Z] $ docker rm -f 107efa744383487b7a26f6a9ebf80067809a847d11c3e58953992eb6455f2c2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:00:17.803Z] + docker inspect -f . ci-base-image-arm64 [2020-10-06T05:00:17.803Z] . [Pipeline] withDockerContainer [2020-10-06T05:00:18.043Z] prd-ubuntu18.04-docker-arm64-4c-16g-3638 does not seem to be running inside a container [2020-10-06T05:00:18.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-06T05:00:19.963Z] $ docker top 5511da369f122e0c08d228d7bce20057b3077305fab2d9c19c5cfeb354d21715 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-06T05:00:21.442Z] + make test [2020-10-06T05:00:21.442Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-06T05:00:43.652Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-06T05:01:22.753Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-06T05:01:22.753Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-06T05:01:22.753Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-06T05:01:22.753Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.148s coverage: 21.6% of statements [2020-10-06T05:01:26.235Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.181s coverage: 97.1% of statements [2020-10-06T05:01:58.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.132s coverage: 9.4% of statements [2020-10-06T05:01:58.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.122s coverage: 21.9% of statements [2020-10-06T05:01:58.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-06T05:01:58.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.555s coverage: 39.9% of statements [2020-10-06T05:01:58.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-06T05:01:58.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.771s coverage: 65.4% of statements [2020-10-06T05:01:58.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-06T05:01:58.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-06T05:01:58.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-06T05:01:58.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-06T05:01:58.831Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.184s coverage: 52.6% of statements [2020-10-06T05:01:58.831Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-06T05:01:58.831Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.676s coverage: 68.9% of statements [2020-10-06T05:01:58.831Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-06T05:01:58.831Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-06T05:01:58.831Z] GO111MODULE=on go vet ./... [2020-10-06T05:02:25.681Z] gofmt -l . [2020-10-06T05:02:25.681Z] [ "`gofmt -l .`" = "" ] [2020-10-06T05:02:25.681Z] ./bin/test-attribution-txt.sh [2020-10-06T05:02:25.681Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-06T05:02:25.814Z] Warning: overwriting stash ‘coverage-report’ [2020-10-06T05:02:26.691Z] Stashed 1 file(s) [Pipeline] } [2020-10-06T05:02:26.703Z] $ docker stop --time=1 5511da369f122e0c08d228d7bce20057b3077305fab2d9c19c5cfeb354d21715 [2020-10-06T05:02:28.965Z] $ docker rm -f 5511da369f122e0c08d228d7bce20057b3077305fab2d9c19c5cfeb354d21715 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-06T05:02:30.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-06T05:02:30.859Z] + ls -al . [2020-10-06T05:02:30.860Z] total 232 [2020-10-06T05:02:30.860Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 6 05:02 . [2020-10-06T05:02:30.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:59 .. [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 6 04:59 .dockerignore [2020-10-06T05:02:30.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:59 .git [2020-10-06T05:02:30.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:59 .github [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 6 04:59 .gitignore [2020-10-06T05:02:30.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:59 .semver [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 6 04:59 Dockerfile.build [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 6 04:59 Jenkinsfile [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 6 04:59 LICENSE [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 6 04:59 Makefile [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 6 04:59 README.md [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 6 04:59 RELEASE-NOTES.txt [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:54 VERSION [2020-10-06T05:02:30.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:59 bin [2020-10-06T05:02:30.860Z] -rw-r--r-- 1 jenkins jenkins 111040 Oct 6 05:01 coverage.out [2020-10-06T05:02:30.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:59 example [2020-10-06T05:02:30.860Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 6 05:02 go.mod [2020-10-06T05:02:30.860Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 6 05:02 go.sum [2020-10-06T05:02:30.860Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 6 04:59 internal [2020-10-06T05:02:30.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:59 openapi [2020-10-06T05:02:30.860Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 6 04:59 pkg [2020-10-06T05:02:30.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:59 snap [2020-10-06T05:02:30.860Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 6 04:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-06T05:02:31.254Z] + 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=adbd9df6a525e5764bdbc0c3b5256baca477c201 --label arch=arm64 --label version=0.0.0 . [2020-10-06T05:02:31.853Z] Sending build context to Docker daemon 3.63MB [2020-10-06T05:02:31.853Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-06T05:02:31.853Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-06T05:02:31.853Z] ---> 3a1812857cb4 [2020-10-06T05:02:31.853Z] Step 3/24 : ARG MAKE='make build' [2020-10-06T05:02:32.127Z] ---> Running in 87c2e44aa959 [2020-10-06T05:02:32.409Z] Removing intermediate container 87c2e44aa959 [2020-10-06T05:02:32.409Z] ---> 0e323d8ab833 [2020-10-06T05:02:32.409Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-06T05:02:32.690Z] ---> Running in e481f21cfc1f [2020-10-06T05:02:33.285Z] Removing intermediate container e481f21cfc1f [2020-10-06T05:02:33.285Z] ---> 84776bc2edd2 [2020-10-06T05:02:33.285Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:02:33.285Z] ---> Running in f2ab36426c0f [2020-10-06T05:02:33.879Z] Removing intermediate container f2ab36426c0f [2020-10-06T05:02:33.879Z] ---> 12f65529a6ab [2020-10-06T05:02:33.879Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-06T05:02:33.879Z] ---> Running in c6a28d12e6e8 [2020-10-06T05:02:36.500Z] Removing intermediate container c6a28d12e6e8 [2020-10-06T05:02:36.500Z] ---> af05791dd643 [2020-10-06T05:02:36.500Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-06T05:02:36.500Z] ---> Running in 0446d6d98d70 [2020-10-06T05:02:37.944Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-06T05:02:38.535Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-06T05:02:39.517Z] OK: 142 MiB in 39 packages [2020-10-06T05:02:40.497Z] Removing intermediate container 0446d6d98d70 [2020-10-06T05:02:40.497Z] ---> d3b27088e198 [2020-10-06T05:02:40.497Z] Step 8/24 : COPY . . [2020-10-06T05:02:41.927Z] ---> e326c3375b7f [2020-10-06T05:02:41.927Z] Step 9/24 : RUN ${MAKE} [2020-10-06T05:02:42.201Z] ---> Running in ff7b3f22d255 [2020-10-06T05:02:43.628Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-06T05:03:10.448Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-06T05:03:10.448Z] Removing intermediate container ff7b3f22d255 [2020-10-06T05:03:10.448Z] ---> 8a6f263512d2 [2020-10-06T05:03:10.448Z] Step 10/24 : FROM scratch [2020-10-06T05:03:10.448Z] ---> [2020-10-06T05:03:10.448Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-06T05:03:10.448Z] ---> Running in d44f9ec0345d [2020-10-06T05:03:10.448Z] Removing intermediate container d44f9ec0345d [2020-10-06T05:03:10.448Z] ---> 088dba4c7ebc [2020-10-06T05:03:10.448Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-06T05:03:10.448Z] ---> Running in 89f846f0e4ff [2020-10-06T05:03:10.448Z] Removing intermediate container 89f846f0e4ff [2020-10-06T05:03:10.448Z] ---> c590b21e3439 [2020-10-06T05:03:10.448Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-06T05:03:10.448Z] ---> Running in cb62210fbd69 [2020-10-06T05:03:11.044Z] Removing intermediate container cb62210fbd69 [2020-10-06T05:03:11.044Z] ---> 63b73c61eec0 [2020-10-06T05:03:11.044Z] Step 14/24 : WORKDIR / [2020-10-06T05:03:11.044Z] ---> Running in a1aa038f7a54 [2020-10-06T05:03:11.639Z] Removing intermediate container a1aa038f7a54 [2020-10-06T05:03:11.639Z] ---> ee62cc37bbe0 [2020-10-06T05:03:11.639Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-06T05:03:13.075Z] ---> 5de9d3b82812 [2020-10-06T05:03:13.075Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-06T05:03:13.668Z] ---> fdffbfcdc333 [2020-10-06T05:03:13.668Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-06T05:03:14.271Z] ---> 07d75d42f3e0 [2020-10-06T05:03:14.271Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-06T05:03:14.870Z] ---> bea59c710cc6 [2020-10-06T05:03:14.870Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-06T05:03:15.845Z] ---> 37983a973e24 [2020-10-06T05:03:15.845Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-06T05:03:15.845Z] ---> Running in e0c00f930f3c [2020-10-06T05:03:16.438Z] Removing intermediate container e0c00f930f3c [2020-10-06T05:03:16.438Z] ---> a940e571751c [2020-10-06T05:03:16.438Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-06T05:03:16.438Z] ---> Running in 20fec0aa4919 [2020-10-06T05:03:16.710Z] Removing intermediate container 20fec0aa4919 [2020-10-06T05:03:16.710Z] ---> 449da4f84b90 [2020-10-06T05:03:16.710Z] Step 22/24 : LABEL arch=arm64 [2020-10-06T05:03:16.987Z] ---> Running in f7a39163d79d [2020-10-06T05:03:17.583Z] Removing intermediate container f7a39163d79d [2020-10-06T05:03:17.583Z] ---> 51650b9bb8f7 [2020-10-06T05:03:17.583Z] Step 23/24 : LABEL git_sha=adbd9df6a525e5764bdbc0c3b5256baca477c201 [2020-10-06T05:03:17.583Z] ---> Running in 2e27cbadcf78 [2020-10-06T05:03:18.177Z] Removing intermediate container 2e27cbadcf78 [2020-10-06T05:03:18.177Z] ---> b256731b3df0 [2020-10-06T05:03:18.177Z] Step 24/24 : LABEL version=0.0.0 [2020-10-06T05:03:18.177Z] ---> Running in 274ceb7f8cc3 [2020-10-06T05:03:18.451Z] Removing intermediate container 274ceb7f8cc3 [2020-10-06T05:03:18.451Z] ---> bacf03faae8f [2020-10-06T05:03:18.451Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-06T05:03:18.723Z] Successfully built bacf03faae8f [2020-10-06T05:03:18.723Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-06T05:03:20.431Z] provisioning config files... [2020-10-06T05:03:20.449Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/config7022326837554140731tmp [Pipeline] { [Pipeline] sh [2020-10-06T05:03:21.005Z] + set +x [2020-10-06T05:03:21.005Z] + bash -s -- [2020-10-06T05:03:21.005Z] + curl -s https://codecov.io/bash [2020-10-06T05:03:21.299Z] [2020-10-06T05:03:21.299Z] _____ _ [2020-10-06T05:03:21.299Z] / ____| | | [2020-10-06T05:03:21.299Z] | | ___ __| | ___ ___ _____ __ [2020-10-06T05:03:21.299Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-06T05:03:21.299Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-06T05:03:21.299Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-06T05:03:21.299Z] Bash-20200917-4e8f14b [2020-10-06T05:03:21.299Z] [2020-10-06T05:03:21.299Z] [2020-10-06T05:03:21.299Z] ==> Jenkins CI detected. [2020-10-06T05:03:21.299Z] project root: . [2020-10-06T05:03:21.299Z] Fixing merge commit SHA [2020-10-06T05:03:21.299Z] --> token set from env [2020-10-06T05:03:21.299Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-06T05:03:21.623Z] ==> Running gcov in . (disable via -X gcov) [2020-10-06T05:03:21.623Z] ==> Python coveragepy not found [2020-10-06T05:03:21.623Z] ==> Searching for coverage reports in: [2020-10-06T05:03:21.623Z] + . [2020-10-06T05:03:21.623Z] -> Found 1 reports [2020-10-06T05:03:21.623Z] ==> Detecting git/mercurial file structure [2020-10-06T05:03:21.623Z] ==> Reading reports [2020-10-06T05:03:21.623Z] + ./coverage.out bytes=111040 [2020-10-06T05:03:21.623Z] ==> Appending adjustments [2020-10-06T05:03:21.623Z] https://docs.codecov.io/docs/fixing-reports [2020-10-06T05:03:22.610Z] + Found adjustments [2020-10-06T05:03:22.610Z] ==> Gzipping contents [2020-10-06T05:03:22.610Z] ==> Uploading reports [2020-10-06T05:03:22.610Z] url: https://codecov.io [2020-10-06T05:03:22.610Z] query: branch=PR-615&commit=929f8c55784e6be67c9085c42060e26da0220a27&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-615%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=615&job=&cmd_args= [2020-10-06T05:03:22.610Z] -> Pinging Codecov [2020-10-06T05:03:22.610Z] https://codecov.io/upload/v4?package=bash-20200917-4e8f14b&token=secret&branch=PR-615&commit=929f8c55784e6be67c9085c42060e26da0220a27&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-615%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=615&job=&cmd_args= [2020-10-06T05:03:23.280Z] -> Uploading to [2020-10-06T05:03:23.280Z] https://storage.googleapis.com/codecov/v4/raw/2020-10-06/7E55EF52A471D76F132DFD9A03CDDE97/929f8c55784e6be67c9085c42060e26da0220a27/5ce81b9f-ebd6-42db-bb1c-82888e20bc73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201006%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201006T050322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=90e87873c6d097669df1592672523b362bd29eabd0b3bdfc516f67ab0b55a707 [2020-10-06T05:03:23.280Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-06T05:03:23.280Z] Dload Upload Total Spent Left Speed [2020-10-06T05:03:23.887Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18325 0 0 100 18325 0 30382 --:--:-- --:--:-- --:--:-- 30389 100 18325 0 0 100 18325 0 30370 --:--:-- --:--:-- --:--:-- 30339 [2020-10-06T05:03:23.887Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/929f8c55784e6be67c9085c42060e26da0220a27 [Pipeline] } [2020-10-06T05:03:23.923Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:03:28.616Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:03:29.287Z] ---> package-listing.sh [2020-10-06T05:03:29.287Z] ++ facter osfamily [2020-10-06T05:03:29.287Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-06T05:03:29.287Z] + OS_FAMILY=redhat [2020-10-06T05:03:29.287Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-615 [2020-10-06T05:03:29.287Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-06T05:03:29.287Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-06T05:03:29.287Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-06T05:03:29.287Z] + PACKAGES=/tmp/packages_start.txt [2020-10-06T05:03:29.287Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-615 ']' [2020-10-06T05:03:29.287Z] + PACKAGES=/tmp/packages_end.txt [2020-10-06T05:03:29.287Z] + case "${OS_FAMILY}" in [2020-10-06T05:03:29.287Z] + rpm -qa [2020-10-06T05:03:29.287Z] + sort [2020-10-06T05:03:36.305Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-06T05:03:36.305Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-06T05:03:36.305Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-06T05:03:36.305Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-615 ']' [2020-10-06T05:03:36.305Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-615/archives/ [2020-10-06T05:03:36.305Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-615/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-06T05:03:36.502Z] provisioning config files... [2020-10-06T05:03:36.535Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-615@tmp/config1330518287009896718tmp [Pipeline] { [Pipeline] echo [2020-10-06T05:03:36.646Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:03:37.044Z] ---> create-netrc.sh [Pipeline] } [2020-10-06T05:03:37.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-06T05:03:37.153Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:03:37.505Z] ---> python-tools-install.sh [2020-10-06T05:03:37.505Z] Generating Requirements File [2020-10-06T05:05:29.820Z] Python 3.6.8 [2020-10-06T05:05:29.820Z] pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) [2020-10-06T05:05:29.820Z] appdirs==1.4.3 [2020-10-06T05:05:29.820Z] argcomplete==1.12.1 [2020-10-06T05:05:29.820Z] aspy.yaml==1.3.0 [2020-10-06T05:05:29.820Z] attrs==19.3.0 [2020-10-06T05:05:29.820Z] Babel==2.8.0 [2020-10-06T05:05:29.820Z] beautifulsoup4==4.8.2 [2020-10-06T05:05:29.820Z] boto3==1.11.6 [2020-10-06T05:05:29.820Z] botocore==1.14.6 [2020-10-06T05:05:29.820Z] bs4==0.0.1 [2020-10-06T05:05:29.820Z] cachetools==4.1.1 [2020-10-06T05:05:29.820Z] certifi==2019.11.28 [2020-10-06T05:05:29.820Z] cffi==1.14.3 [2020-10-06T05:05:29.820Z] cfgv==2.0.1 [2020-10-06T05:05:29.820Z] chardet==3.0.4 [2020-10-06T05:05:29.820Z] click==7.1 [2020-10-06T05:05:29.820Z] cliff==3.4.0 [2020-10-06T05:05:29.820Z] cmd2==1.3.11 [2020-10-06T05:05:29.820Z] colorama==0.4.3 [2020-10-06T05:05:29.820Z] cryptography==3.1.1 [2020-10-06T05:05:29.820Z] debtcollector==2.2.0 [2020-10-06T05:05:29.820Z] decorator==4.4.2 [2020-10-06T05:05:29.820Z] defusedxml==0.6.0 [2020-10-06T05:05:29.820Z] Deprecated==1.2.7 [2020-10-06T05:05:29.820Z] distlib==0.3.1 [2020-10-06T05:05:29.820Z] distro==1.2.0 [2020-10-06T05:05:29.820Z] dnspython==1.16.0 [2020-10-06T05:05:29.820Z] docker==4.2.0 [2020-10-06T05:05:29.820Z] docutils==0.15.2 [2020-10-06T05:05:29.820Z] dogpile.cache==1.0.2 [2020-10-06T05:05:29.820Z] email-validator==1.0.5 [2020-10-06T05:05:29.820Z] filelock==3.0.12 [2020-10-06T05:05:29.820Z] future==0.18.2 [2020-10-06T05:05:29.820Z] google-auth==1.22.1 [2020-10-06T05:05:29.820Z] httplib2==0.17.0 [2020-10-06T05:05:29.820Z] identify==1.4.11 [2020-10-06T05:05:29.820Z] idna==2.9 [2020-10-06T05:05:29.820Z] importlib-metadata==1.7.0 [2020-10-06T05:05:29.820Z] importlib-resources==1.5.0 [2020-10-06T05:05:29.820Z] iso8601==0.1.13 [2020-10-06T05:05:29.820Z] Jinja2==2.11.1 [2020-10-06T05:05:29.820Z] jmespath==0.10.0 [2020-10-06T05:05:29.820Z] jsonpatch==1.26 [2020-10-06T05:05:29.820Z] jsonpointer==2.0 [2020-10-06T05:05:29.820Z] jsonschema==3.2.0 [2020-10-06T05:05:29.820Z] keystoneauth1==4.2.1 [2020-10-06T05:05:29.820Z] kubernetes==11.0.0 [2020-10-06T05:05:29.820Z] lftools==0.34.2 [2020-10-06T05:05:29.820Z] lxml==4.5.0 [2020-10-06T05:05:29.820Z] MarkupSafe==0.23 [2020-10-06T05:05:29.820Z] msgpack==1.0.0 [2020-10-06T05:05:29.820Z] multi-key-dict==2.0.3 [2020-10-06T05:05:29.820Z] munch==2.5.0 [2020-10-06T05:05:29.820Z] netaddr==0.8.0 [2020-10-06T05:05:29.820Z] netifaces==0.10.9 [2020-10-06T05:05:29.820Z] niet==1.4.2 [2020-10-06T05:05:29.820Z] nodeenv==1.3.5 [2020-10-06T05:05:29.820Z] oauth2client==4.1.3 [2020-10-06T05:05:29.820Z] oauthlib==3.1.0 [2020-10-06T05:05:29.820Z] openstacksdk==0.50.0 [2020-10-06T05:05:29.820Z] os-client-config==2.1.0 [2020-10-06T05:05:29.820Z] os-service-types==1.7.0 [2020-10-06T05:05:29.820Z] osc-lib==2.2.1 [2020-10-06T05:05:29.820Z] oslo.config==8.3.2 [2020-10-06T05:05:29.820Z] oslo.context==3.1.1 [2020-10-06T05:05:29.820Z] oslo.i18n==5.0.1 [2020-10-06T05:05:29.820Z] oslo.log==4.4.0 [2020-10-06T05:05:29.820Z] oslo.serialization==4.0.1 [2020-10-06T05:05:29.820Z] oslo.utils==4.6.0 [2020-10-06T05:05:29.820Z] packaging==20.4 [2020-10-06T05:05:29.820Z] pbr==5.4.4 [2020-10-06T05:05:29.820Z] pluggy==0.13.1 [2020-10-06T05:05:29.820Z] prettytable==0.7.2 [2020-10-06T05:05:29.820Z] py==1.9.0 [2020-10-06T05:05:29.820Z] pyasn1==0.4.8 [2020-10-06T05:05:29.820Z] pyasn1-modules==0.2.8 [2020-10-06T05:05:29.820Z] pycparser==2.20 [2020-10-06T05:05:29.820Z] pygerrit2==2.0.10 [2020-10-06T05:05:29.820Z] PyGithub==1.46 [2020-10-06T05:05:29.820Z] pyinotify==0.9.6 [2020-10-06T05:05:29.820Z] PyJWT==1.7.1 [2020-10-06T05:05:29.820Z] pyparsing==2.4.7 [2020-10-06T05:05:29.820Z] pyperclip==1.8.0 [2020-10-06T05:05:29.820Z] pyroute2==0.4.13 [2020-10-06T05:05:29.820Z] pyrsistent==0.15.7 [2020-10-06T05:05:29.820Z] PySocks==1.6.8 [2020-10-06T05:05:29.820Z] python-cinderclient==7.2.0 [2020-10-06T05:05:29.820Z] python-dateutil==2.8.1 [2020-10-06T05:05:29.820Z] python-heatclient==2.2.1 [2020-10-06T05:05:29.820Z] python-jenkins==1.7.0 [2020-10-06T05:05:29.820Z] python-keystoneclient==4.1.1 [2020-10-06T05:05:29.820Z] python-magnumclient==3.2.1 [2020-10-06T05:05:29.820Z] python-novaclient==17.2.1 [2020-10-06T05:05:29.820Z] python-openstackclient==5.4.0 [2020-10-06T05:05:29.820Z] python-swiftclient==3.10.1 [2020-10-06T05:05:29.820Z] pytz==2020.1 [2020-10-06T05:05:29.820Z] PyYAML==5.3 [2020-10-06T05:05:29.820Z] requests==2.23.0 [2020-10-06T05:05:29.820Z] requests-oauthlib==1.3.0 [2020-10-06T05:05:29.820Z] requestsexceptions==1.4.0 [2020-10-06T05:05:29.820Z] rfc3986==1.4.0 [2020-10-06T05:05:29.820Z] rpm==4.11.3 [2020-10-06T05:05:29.820Z] rsa==4.0 [2020-10-06T05:05:29.820Z] ruamel.yaml==0.16.10 [2020-10-06T05:05:29.820Z] ruamel.yaml.clib==0.2.0 [2020-10-06T05:05:29.820Z] s3transfer==0.3.3 [2020-10-06T05:05:29.820Z] shade==1.27.2 [2020-10-06T05:05:29.820Z] simplejson==3.17.2 [2020-10-06T05:05:29.820Z] six==1.14.0 [2020-10-06T05:05:29.820Z] soupsieve==2.0 [2020-10-06T05:05:29.820Z] stevedore==3.2.2 [2020-10-06T05:05:29.820Z] tabulate==0.8.6 [2020-10-06T05:05:29.820Z] toml==0.10.0 [2020-10-06T05:05:29.820Z] tox==3.20.0 [2020-10-06T05:05:29.820Z] tqdm==4.43.0 [2020-10-06T05:05:29.820Z] urllib3==1.25.8 [2020-10-06T05:05:29.820Z] virtualenv==20.0.33 [2020-10-06T05:05:29.820Z] wcwidth==0.2.5 [2020-10-06T05:05:29.820Z] websocket-client==0.57.0 [2020-10-06T05:05:29.820Z] wrapt==1.12.1 [2020-10-06T05:05:29.820Z] xdg==3.0.2 [2020-10-06T05:05:29.820Z] xmltodict==0.12.0 [2020-10-06T05:05:29.820Z] yq==2.11.1 [2020-10-06T05:05:29.820Z] zipp==3.3.0 [2020-10-06T05:05:29.820Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:29.820Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-06T05:05:29.820Z] Python 2.7.5 [2020-10-06T05:05:29.820Z] pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) [2020-10-06T05:05:29.820Z] DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. [2020-10-06T05:05:29.820Z] ansible==2.9.7 [2020-10-06T05:05:29.820Z] Babel==0.9.6 [2020-10-06T05:05:29.820Z] backports.ssl-match-hostname==3.5.0.1 [2020-10-06T05:05:29.820Z] beautifulsoup4==4.4.1 [2020-10-06T05:05:29.820Z] bodhi==2.11.0 [2020-10-06T05:05:29.820Z] bodhi-client==2.11.0 [2020-10-06T05:05:29.820Z] CCColUtils==1.4 [2020-10-06T05:05:29.820Z] cffi==1.6.0 [2020-10-06T05:05:29.820Z] chardet==2.2.1 [2020-10-06T05:05:29.820Z] click==6.7 [2020-10-06T05:05:29.820Z] cloud-init==18.5 [2020-10-06T05:05:29.820Z] configobj==4.7.2 [2020-10-06T05:05:29.820Z] cryptography==1.7.2 [2020-10-06T05:05:29.820Z] decorator==3.4.0 [2020-10-06T05:05:29.820Z] distro==1.2.0 [2020-10-06T05:05:29.820Z] enum34==1.0.4 [2020-10-06T05:05:29.820Z] fedpkg==1.38 [2020-10-06T05:05:29.820Z] futures==3.1.1 [2020-10-06T05:05:29.820Z] gitdb==0.6.4 [2020-10-06T05:05:29.820Z] GitPython==1.0.1 [2020-10-06T05:05:29.820Z] html5lib==0.999 [2020-10-06T05:05:29.820Z] httplib2==0.9.2 [2020-10-06T05:05:29.820Z] idna==2.4 [2020-10-06T05:05:29.820Z] iniparse==0.4 [2020-10-06T05:05:29.820Z] ipaddress==1.0.16 [2020-10-06T05:05:29.820Z] IPy==0.75 [2020-10-06T05:05:29.820Z] javapackages==1.0.0 [2020-10-06T05:05:29.820Z] Jinja2==2.7.2 [2020-10-06T05:05:29.820Z] jmespath==0.9.4 [2020-10-06T05:05:29.820Z] jsonpatch==1.2 [2020-10-06T05:05:29.820Z] jsonpointer==1.9 [2020-10-06T05:05:29.820Z] kerberos==1.1 [2020-10-06T05:05:29.820Z] kitchen==1.1.1 [2020-10-06T05:05:29.820Z] langtable==0.0.31 [2020-10-06T05:05:29.820Z] lockfile==0.9.1 [2020-10-06T05:05:29.820Z] lxml==3.2.1 [2020-10-06T05:05:29.820Z] MarkupSafe==0.11 [2020-10-06T05:05:29.820Z] munch==2.0.2 [2020-10-06T05:05:29.820Z] offtrac==0.1.0 [2020-10-06T05:05:29.820Z] openidc-client==0.6.0 [2020-10-06T05:05:29.820Z] packagedb-cli==2.14.1 [2020-10-06T05:05:29.820Z] paramiko==2.1.1 [2020-10-06T05:05:29.820Z] perf==0.1 [2020-10-06T05:05:29.820Z] ply==3.4 [2020-10-06T05:05:29.820Z] policycoreutils-default-encoding==0.1 [2020-10-06T05:05:29.820Z] prettytable==0.7.2 [2020-10-06T05:05:29.820Z] pyasn1==0.1.9 [2020-10-06T05:05:29.820Z] pycparser==2.14 [2020-10-06T05:05:29.820Z] pycurl==7.19.0 [2020-10-06T05:05:29.820Z] pygobject==3.22.0 [2020-10-06T05:05:29.820Z] pygpgme==0.3 [2020-10-06T05:05:29.820Z] pyliblzma==0.5.3 [2020-10-06T05:05:29.820Z] pyOpenSSL==0.13.1 [2020-10-06T05:05:29.820Z] pyparsing==1.5.6 [2020-10-06T05:05:29.820Z] pyserial==2.6 [2020-10-06T05:05:29.820Z] python-augeas==0.5.0 [2020-10-06T05:05:29.820Z] python-bugzilla==2.3.0 [2020-10-06T05:05:29.820Z] python-dateutil==1.5 [2020-10-06T05:05:29.820Z] python-fedora==0.10.0 [2020-10-06T05:05:29.820Z] python-linux-procfs==0.4.9 [2020-10-06T05:05:29.820Z] python-yubico==1.2.3 [2020-10-06T05:05:29.820Z] pyudev==0.15 [2020-10-06T05:05:29.820Z] pyusb==1.0.0b1 [2020-10-06T05:05:29.820Z] pyxattr==0.5.1 [2020-10-06T05:05:29.820Z] PyYAML==3.10 [2020-10-06T05:05:29.820Z] requests==2.6.0 [2020-10-06T05:05:29.820Z] requests-kerberos==0.7.0 [2020-10-06T05:05:29.820Z] rpkg==1.60 [2020-10-06T05:05:29.820Z] schedutils==0.4 [2020-10-06T05:05:29.820Z] seobject==0.1 [2020-10-06T05:05:29.820Z] sepolicy==1.1 [2020-10-06T05:05:29.820Z] six==1.9.0 [2020-10-06T05:05:29.820Z] smmap==0.9.0 [2020-10-06T05:05:29.820Z] urlgrabber==3.10 [2020-10-06T05:05:29.820Z] urllib3==1.10.2 [2020-10-06T05:05:29.820Z] virtualenv==15.1.0 [2020-10-06T05:05:29.820Z] yum-langpacks==0.4.2 [2020-10-06T05:05:29.820Z] yum-metadata-parser==1.1.4 [Pipeline] echo [2020-10-06T05:05:29.831Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:05:30.171Z] ---> sudo-logs.sh [2020-10-06T05:05:30.171Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-06T05:05:30.468Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:05:30.802Z] ---> job-cost.sh [2020-10-06T05:05:30.802Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1V5l [2020-10-06T05:05:43.149Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:43.412Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:44.867Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:44.867Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:44.867Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:45.181Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:45.462Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:45.750Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:45.750Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:45.750Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:46.028Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:46.028Z] Cache entry deserialization failed, entry ignored [2020-10-06T05:05:49.373Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2020-10-06T05:06:28.496Z] lf-activate-venv(): INFO: Adding /tmp/venv-1V5l/bin to PATH [2020-10-06T05:06:28.496Z] INFO: No Stack... [2020-10-06T05:06:28.496Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-06T05:06:28.496Z] INFO: Archiving Costs [Pipeline] echo [2020-10-06T05:06:28.514Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-06T05:06:28.854Z] ---> logs-deploy.sh [2020-10-06T05:06:28.854Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-615/3 [2020-10-06T05:06:28.854Z] INFO: archiving workspace using pattern(s): [2020-10-06T05:06:31.466Z] Archives upload complete. [2020-10-06T05:06:31.466Z] INFO: archiving logs to Nexus