Pull request #619 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 13ca2fb0660aa3c318eae46599c01cc40f806a6b+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (e0374b335ac1876f4dbb1dba37b49635a5ef380a) 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5566 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 13ca2fb0660aa3c318eae46599c01cc40f806a6b Merge succeeded, producing 13ca2fb0660aa3c318eae46599c01cc40f806a6b Checking out Revision 13ca2fb0660aa3c318eae46599c01cc40f806a6b (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 13ca2fb0660aa3c318eae46599c01cc40f806a6b # 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 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 Commit message: "Merge branch 'master' into issue-529-command" First time build. Skipping changelog. > git rev-list --no-walk 1cc11288101477415ee70f3e5ce99757a3087f0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-15T07:30:58.678Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-15T07:30:58.980Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-15T07:30:59.087Z] ========================================================= [2020-10-15T07:30:59.087Z] EdgeX Global Pipelines Version Info [2020-10-15T07:30:59.087Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-15T07:31:00.590Z] ------------------- [2020-10-15T07:31:00.590Z] stable info: [2020-10-15T07:31:00.590Z] ------------------- [2020-10-15T07:31:00.590Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-15T07:31:00.590Z] Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [2020-10-15T07:31:00.590Z] Message: update stable to v1.0.142 [2020-10-15T07:31:01.981Z] ------------------- [2020-10-15T07:31:01.981Z] experimental info: [2020-10-15T07:31:01.981Z] ------------------- [2020-10-15T07:31:01.981Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-15T07:31:01.981Z] Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 [2020-10-15T07:31:01.981Z] Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-15T07:31:02.377Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-15T07:31:02.482Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-15T07:31:02.599Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-15T07:31:02.697Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-15T07:31:02.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-15T07:31:02.922Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-15T07:31:03.017Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-15T07:31:03.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-15T07:31:03.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-15T07:31:03.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-15T07:31:03.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-15T07:31:03.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-15T07:31:03.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-15T07:31:03.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-15T07:31:03.896Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-15T07:31:04.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T07:31:04.116Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T07:31:04.219Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T07:31:04.315Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-15T07:31:04.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-15T07:31:04.627Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-15T07:31:04.722Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-15T07:31:04.818Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-15T07:31:04.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-15T07:31:05.004Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-15T07:31:05.100Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-619 [Pipeline] echo [2020-10-15T07:31:05.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-619 [Pipeline] echo [2020-10-15T07:31:05.292Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-619 [Pipeline] echo [2020-10-15T07:31:05.386Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 13ca2fb0660aa3c318eae46599c01cc40f806a6b [Pipeline] echo [2020-10-15T07:31:05.486Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 13ca2fb [Pipeline] echo [2020-10-15T07:31:05.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T07:31:06.272Z] + git log --format=format:%s -1 13ca2fb0660aa3c318eae46599c01cc40f806a6b [Pipeline] echo [2020-10-15T07:31:06.336Z] GIT_COMMIT: 13ca2fb0660aa3c318eae46599c01cc40f806a6b, Commit Message: Merge branch 'master' into issue-529-command [Pipeline] echo [2020-10-15T07:31:06.409Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:31:07.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T07:31:07.628Z] [2020-10-15T07:31:07.628Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:31:08.004Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T07:31:08.004Z] latest: Pulling from edgex-devops/git-semver [2020-10-15T07:31:08.004Z] 31603596830f: Pulling fs layer [2020-10-15T07:31:08.004Z] 2a8b12db71e7: Pulling fs layer [2020-10-15T07:31:08.004Z] 6ca5941a6612: Pulling fs layer [2020-10-15T07:31:08.004Z] ecc8261a40a4: Pulling fs layer [2020-10-15T07:31:08.004Z] ecc8261a40a4: Waiting [2020-10-15T07:31:08.004Z] 2a8b12db71e7: Verifying Checksum [2020-10-15T07:31:08.004Z] 2a8b12db71e7: Download complete [2020-10-15T07:31:08.276Z] 31603596830f: Verifying Checksum [2020-10-15T07:31:08.276Z] 31603596830f: Download complete [2020-10-15T07:31:08.276Z] ecc8261a40a4: Verifying Checksum [2020-10-15T07:31:08.276Z] ecc8261a40a4: Download complete [2020-10-15T07:31:08.276Z] 6ca5941a6612: Verifying Checksum [2020-10-15T07:31:08.276Z] 6ca5941a6612: Download complete [2020-10-15T07:31:08.539Z] 31603596830f: Pull complete [2020-10-15T07:31:08.802Z] 2a8b12db71e7: Pull complete [2020-10-15T07:31:09.756Z] 6ca5941a6612: Pull complete [2020-10-15T07:31:09.756Z] ecc8261a40a4: Pull complete [2020-10-15T07:31:09.756Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-15T07:31:09.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T07:31:09.756Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-15T07:31:09.858Z] prd-centos7-docker-4c-2g-5566 does not seem to be running inside a container [2020-10-15T07:31:09.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -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-15T07:31:12.295Z] $ docker top a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-15T07:31:12.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T07:31:12.670Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T07:31:12.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T07:31:12.883Z] $ docker exec a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 ssh-agent [2020-10-15T07:31:13.040Z] SSH_AUTH_SOCK=/tmp/ssh-ahULhucYdgCo/agent.12 [2020-10-15T07:31:13.040Z] SSH_AGENT_PID=18 [2020-10-15T07:31:13.053Z] Running ssh-add (command line suppressed) [2020-10-15T07:31:13.181Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_5101658662995353900.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_5101658662995353900.key) [2020-10-15T07:31:13.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T07:31:13.582Z] + git tag --points-at HEAD [Pipeline] } [2020-10-15T07:31:13.608Z] $ docker exec --env ******** --env ******** a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 ssh-agent -k [2020-10-15T07:31:13.720Z] unset SSH_AUTH_SOCK; [2020-10-15T07:31:13.721Z] unset SSH_AGENT_PID; [2020-10-15T07:31:13.721Z] echo Agent pid 18 killed; [2020-10-15T07:31:13.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-15T07:31:13.917Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T07:31:13.918Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T07:31:14.140Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T07:31:14.146Z] $ docker exec a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 ssh-agent [2020-10-15T07:31:14.313Z] SSH_AUTH_SOCK=/tmp/ssh-LI6NgF68OdxG/agent.46 [2020-10-15T07:31:14.313Z] SSH_AGENT_PID=52 [2020-10-15T07:31:14.322Z] Running ssh-add (command line suppressed) [2020-10-15T07:31:14.441Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3766112048600339185.key (/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/private_key_3766112048600339185.key) [2020-10-15T07:31:14.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T07:31:14.826Z] + git semver init [2020-10-15T07:31:14.826Z] # -> Open(): unable to determine branch for HEAD [2020-10-15T07:31:14.826Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.git [2020-10-15T07:31:14.826Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-15T07:31:14.826Z] # $SEMVER_REMOTE_NAME = origin [2020-10-15T07:31:14.826Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-15T07:31:14.826Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-15T07:31:14.826Z] # $SEMVER_BRANCH = PR-619 [2020-10-15T07:31:14.826Z] # $SEMVER_TEMP = /tmp/semver-223825399 [2020-10-15T07:31:14.826Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-15T07:31:15.402Z] # '/tmp/semver-223825399' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver' [2020-10-15T07:31:15.402Z] # -> Force: false [2020-10-15T07:31:15.402Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-619/.semver [Pipeline] } [2020-10-15T07:31:15.416Z] $ docker exec --env ******** --env ******** a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 ssh-agent -k [2020-10-15T07:31:15.527Z] unset SSH_AUTH_SOCK; [2020-10-15T07:31:15.528Z] unset SSH_AGENT_PID; [2020-10-15T07:31:15.528Z] echo Agent pid 52 killed; [2020-10-15T07:31:15.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-15T07:31:16.039Z] + git semver [Pipeline] } [2020-10-15T07:31:16.057Z] $ docker stop --time=1 a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 [2020-10-15T07:31:17.473Z] $ docker rm -f a43336fe8d872db64732e7e1ee365a24d06b647fc6d6e70f553db99c1235ab76 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-15T07:31:18.176Z] Stashed 1 file(s) [Pipeline] echo [2020-10-15T07:31:18.180Z] [edgeXSemver]: initialized semver on 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-15T07:31:33.717Z] Still waiting to schedule task [2020-10-15T07:31:33.717Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-15T07:31:33.719Z] Still waiting to schedule task [2020-10-15T07:31:33.719Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-15T07:33:29.568Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5567 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-15T07:33:29.625Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-10-15T07:33:34.705Z] using credential edgex-jenkins-ssh [2020-10-15T07:33:34.770Z] Cloning the remote Git repository [2020-10-15T07:33:34.817Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T07:33:34.923Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-10-15T07:33:34.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T07:33:34.996Z] > git --version # timeout=10 [2020-10-15T07:33:35.023Z] > git --version # 'git version 2.17.1' [2020-10-15T07:33:35.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T07:33:35.094Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T07:33:36.838Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 13ca2fb0660aa3c318eae46599c01cc40f806a6b [2020-10-15T07:33:37.069Z] Merge succeeded, producing 13ca2fb0660aa3c318eae46599c01cc40f806a6b [2020-10-15T07:33:37.070Z] Checking out Revision 13ca2fb0660aa3c318eae46599c01cc40f806a6b (PR-619) [2020-10-15T07:33:36.117Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T07:33:36.131Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T07:33:36.162Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T07:33:36.192Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T07:33:36.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T07:33:36.205Z] > 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-15T07:33:36.847Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T07:33:36.875Z] > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 [2020-10-15T07:33:36.978Z] > git remote # timeout=10 [2020-10-15T07:33:36.999Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T07:33:37.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T07:33:37.024Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T07:33:37.049Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T07:33:37.068Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T07:33:37.078Z] > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 [2020-10-15T07:33:41.346Z] Commit message: "Merge branch 'master' into issue-529-command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T07:33:42.344Z] ========================================================= [2020-10-15T07:33:42.344Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-15T07:33:42.344Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:33:43.433Z] + 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-15T07:33:44.423Z] Sending build context to Docker daemon 2.428MB [2020-10-15T07:33:44.423Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T07:33:44.423Z] Step 2/8 : FROM ${BASE} [2020-10-15T07:33:44.697Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-15T07:33:44.697Z] b538f80385f9: Pulling fs layer [2020-10-15T07:33:44.697Z] 74f711af9a0d: Pulling fs layer [2020-10-15T07:33:44.697Z] 99f96fe45779: Pulling fs layer [2020-10-15T07:33:44.697Z] 8529a6b9a6be: Pulling fs layer [2020-10-15T07:33:44.697Z] 45590311c82a: Pulling fs layer [2020-10-15T07:33:44.697Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-15T07:33:44.697Z] 209524e5b208: Pulling fs layer [2020-10-15T07:33:44.697Z] 8529a6b9a6be: Waiting [2020-10-15T07:33:44.697Z] 45590311c82a: Waiting [2020-10-15T07:33:44.697Z] 69ca0ff8b7b3: Waiting [2020-10-15T07:33:44.697Z] 209524e5b208: Waiting [2020-10-15T07:33:44.697Z] 99f96fe45779: Verifying Checksum [2020-10-15T07:33:44.697Z] 99f96fe45779: Download complete [2020-10-15T07:33:44.697Z] 74f711af9a0d: Download complete [2020-10-15T07:33:44.697Z] 45590311c82a: Verifying Checksum [2020-10-15T07:33:44.697Z] 45590311c82a: Download complete [2020-10-15T07:33:44.972Z] 69ca0ff8b7b3: Download complete [2020-10-15T07:33:44.972Z] b538f80385f9: Verifying Checksum [2020-10-15T07:33:44.972Z] b538f80385f9: Download complete [2020-10-15T07:33:45.572Z] b538f80385f9: Pull complete [2020-10-15T07:33:46.177Z] 74f711af9a0d: Pull complete [2020-10-15T07:33:46.451Z] 99f96fe45779: Pull complete [2020-10-15T07:33:47.901Z] 209524e5b208: Verifying Checksum [2020-10-15T07:33:47.901Z] 209524e5b208: Download complete [2020-10-15T07:33:49.342Z] 8529a6b9a6be: Verifying Checksum [2020-10-15T07:33:49.342Z] 8529a6b9a6be: Download complete [2020-10-15T07:33:59.529Z] 8529a6b9a6be: Pull complete [2020-10-15T07:33:59.529Z] 45590311c82a: Pull complete [2020-10-15T07:33:59.529Z] 69ca0ff8b7b3: Pull complete [2020-10-15T07:34:03.843Z] 209524e5b208: Pull complete [2020-10-15T07:34:03.843Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-15T07:34:03.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-15T07:34:03.843Z] ---> 5bddaf1c2fca [2020-10-15T07:34:03.843Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T07:34:06.464Z] ---> Running in 97e8caaf7d22 [2020-10-15T07:34:06.464Z] Removing intermediate container 97e8caaf7d22 [2020-10-15T07:34:06.464Z] ---> 5d700131a509 [2020-10-15T07:34:06.464Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T07:34:06.465Z] ---> Running in 592671d3da86 [2020-10-15T07:34:09.098Z] Removing intermediate container 592671d3da86 [2020-10-15T07:34:09.098Z] ---> 8b74c9b72a1e [2020-10-15T07:34:09.098Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T07:34:09.374Z] ---> Running in a8102a2e842d [2020-10-15T07:34:10.819Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T07:34:11.797Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T07:34:12.392Z] OK: 142 MiB in 39 packages [2020-10-15T07:34:13.371Z] Removing intermediate container a8102a2e842d [2020-10-15T07:34:13.371Z] ---> 55dd92789c63 [2020-10-15T07:34:13.371Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T07:34:13.645Z] ---> Running in 70072f8db389 [2020-10-15T07:34:14.248Z] Removing intermediate container 70072f8db389 [2020-10-15T07:34:14.248Z] ---> f1fd2f7e36e5 [2020-10-15T07:34:14.248Z] Step 7/8 : COPY . . [2020-10-15T07:34:15.692Z] ---> 1d8bf619ad8f [2020-10-15T07:34:15.692Z] Step 8/8 : RUN go mod download [2020-10-15T07:34:15.692Z] ---> Running in b9528daabdbf [2020-10-15T07:34:31.760Z] Running on prd-centos7-docker-4c-2g-5568 in /w/workspace/dgexfoundry_device-sdk-go_PR-619 [Pipeline] { [Pipeline] ws [2020-10-15T07:34:31.833Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2020-10-15T07:34:37.887Z] Removing intermediate container b9528daabdbf [2020-10-15T07:34:37.887Z] ---> 9b0c4b8c5b87 [2020-10-15T07:34:37.887Z] Successfully built 9b0c4b8c5b87 [2020-10-15T07:34:37.887Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:34:38.309Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T07:34:38.309Z] . [Pipeline] withDockerContainer [2020-10-15T07:34:38.545Z] prd-ubuntu18.04-docker-arm64-4c-16g-5567 does not seem to be running inside a container [2020-10-15T07:34:38.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-15T07:34:39.329Z] using credential edgex-jenkins-ssh [2020-10-15T07:34:39.384Z] Cloning the remote Git repository [2020-10-15T07:34:39.487Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T07:34:39.582Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2020-10-15T07:34:39.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T07:34:39.960Z] > git --version # timeout=10 [2020-10-15T07:34:39.972Z] > git --version # 'git version 2.16.5' [2020-10-15T07:34:39.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T07:34:40.119Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T07:34:40.375Z] $ docker top 35dc92190573f797fe1afc99bf5b6ae5a1ed7a83e34d732df5ff23408a43fbcb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T07:34:41.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T07:34:41.128Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T07:34:41.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T07:34:41.273Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T07:34:41.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T07:34:41.296Z] > 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-15T07:34:41.776Z] + go version [2020-10-15T07:34:41.776Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-15T07:34:41.779Z] $ docker stop --time=1 35dc92190573f797fe1afc99bf5b6ae5a1ed7a83e34d732df5ff23408a43fbcb [2020-10-15T07:34:41.813Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 13ca2fb0660aa3c318eae46599c01cc40f806a6b [2020-10-15T07:34:42.113Z] Merge succeeded, producing 13ca2fb0660aa3c318eae46599c01cc40f806a6b [2020-10-15T07:34:42.113Z] Checking out Revision 13ca2fb0660aa3c318eae46599c01cc40f806a6b (PR-619) [2020-10-15T07:34:41.837Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T07:34:41.847Z] > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 [2020-10-15T07:34:42.016Z] > git remote # timeout=10 [2020-10-15T07:34:42.036Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T07:34:42.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T07:34:42.061Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T07:34:42.090Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T07:34:42.120Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T07:34:42.170Z] > git checkout -f 13ca2fb0660aa3c318eae46599c01cc40f806a6b # timeout=10 [2020-10-15T07:34:43.705Z] $ docker rm -f 35dc92190573f797fe1afc99bf5b6ae5a1ed7a83e34d732df5ff23408a43fbcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:34:44.745Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T07:34:44.746Z] . [Pipeline] withDockerContainer [2020-10-15T07:34:45.015Z] prd-ubuntu18.04-docker-arm64-4c-16g-5567 does not seem to be running inside a container [2020-10-15T07:34:45.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-15T07:34:46.529Z] Commit message: "Merge branch 'master' into issue-529-command" [2020-10-15T07:34:46.920Z] $ docker top 18e88ce9feed59657f0eefd6b8a8c55a6898db06fb83913d80e73b00f8760489 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T07:34:47.935Z] ========================================================= [2020-10-15T07:34:47.935Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-15T07:34:47.935Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:34:48.306Z] + make test [2020-10-15T07:34:48.306Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T07:34:49.061Z] + 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-15T07:34:50.041Z] Sending build context to Docker daemon 2.428MB [2020-10-15T07:34:50.041Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T07:34:50.041Z] Step 2/8 : FROM ${BASE} [2020-10-15T07:34:50.338Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-15T07:34:50.338Z] df20fa9351a1: Pulling fs layer [2020-10-15T07:34:50.338Z] ed8968b2872e: Pulling fs layer [2020-10-15T07:34:50.338Z] a92cc7c5fd73: Pulling fs layer [2020-10-15T07:34:50.338Z] e871e8e8d7a9: Pulling fs layer [2020-10-15T07:34:50.338Z] e73272ec9a57: Pulling fs layer [2020-10-15T07:34:50.338Z] 1e910a182e73: Pulling fs layer [2020-10-15T07:34:50.338Z] 4e634b169226: Pulling fs layer [2020-10-15T07:34:50.338Z] e871e8e8d7a9: Waiting [2020-10-15T07:34:50.338Z] e73272ec9a57: Waiting [2020-10-15T07:34:50.338Z] 1e910a182e73: Waiting [2020-10-15T07:34:50.338Z] 4e634b169226: Waiting [2020-10-15T07:34:50.338Z] a92cc7c5fd73: Verifying Checksum [2020-10-15T07:34:50.338Z] a92cc7c5fd73: Download complete [2020-10-15T07:34:50.338Z] ed8968b2872e: Verifying Checksum [2020-10-15T07:34:50.338Z] ed8968b2872e: Download complete [2020-10-15T07:34:50.338Z] e73272ec9a57: Verifying Checksum [2020-10-15T07:34:50.338Z] e73272ec9a57: Download complete [2020-10-15T07:34:50.933Z] 1e910a182e73: Verifying Checksum [2020-10-15T07:34:50.933Z] 1e910a182e73: Download complete [2020-10-15T07:34:50.933Z] df20fa9351a1: Verifying Checksum [2020-10-15T07:34:50.933Z] df20fa9351a1: Download complete [2020-10-15T07:34:51.654Z] df20fa9351a1: Pull complete [2020-10-15T07:34:51.654Z] ed8968b2872e: Pull complete [2020-10-15T07:34:52.088Z] a92cc7c5fd73: Pull complete [2020-10-15T07:34:56.596Z] 4e634b169226: Verifying Checksum [2020-10-15T07:34:56.596Z] 4e634b169226: Download complete [2020-10-15T07:34:56.596Z] e871e8e8d7a9: Download complete [2020-10-15T07:35:07.325Z] e871e8e8d7a9: Pull complete [2020-10-15T07:35:07.325Z] e73272ec9a57: Pull complete [2020-10-15T07:35:07.325Z] 1e910a182e73: Pull complete [2020-10-15T07:35:10.493Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T07:35:12.962Z] 4e634b169226: Pull complete [2020-10-15T07:35:12.962Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-15T07:35:12.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-15T07:35:12.962Z] ---> f7629b54cfaa [2020-10-15T07:35:12.962Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T07:35:12.962Z] ---> Running in 988290fe8c2b [2020-10-15T07:35:12.962Z] Removing intermediate container 988290fe8c2b [2020-10-15T07:35:12.962Z] ---> 3f8310454758 [2020-10-15T07:35:12.962Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T07:35:12.962Z] ---> Running in 2e518e0470cb [2020-10-15T07:35:14.518Z] Removing intermediate container 2e518e0470cb [2020-10-15T07:35:14.518Z] ---> 49154bb79da3 [2020-10-15T07:35:14.518Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T07:35:14.850Z] ---> Running in bedd41004872 [2020-10-15T07:35:15.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T07:35:16.023Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T07:35:16.627Z] OK: 166 MiB in 39 packages [2020-10-15T07:35:17.302Z] Removing intermediate container bedd41004872 [2020-10-15T07:35:17.302Z] ---> 37d0666f9cc5 [2020-10-15T07:35:17.302Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T07:35:17.615Z] ---> Running in 69ed37f030c4 [2020-10-15T07:35:17.953Z] Removing intermediate container 69ed37f030c4 [2020-10-15T07:35:17.953Z] ---> 2200dbb53516 [2020-10-15T07:35:17.953Z] Step 7/8 : COPY . . [2020-10-15T07:35:19.570Z] ---> 03d388b535b6 [2020-10-15T07:35:19.570Z] Step 8/8 : RUN go mod download [2020-10-15T07:35:19.570Z] ---> Running in ca950687f7ef [2020-10-15T07:35:41.948Z] Removing intermediate container ca950687f7ef [2020-10-15T07:35:41.948Z] ---> f23ac00e1a50 [2020-10-15T07:35:41.948Z] Successfully built f23ac00e1a50 [2020-10-15T07:35:41.948Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:35:42.438Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T07:35:42.712Z] . [Pipeline] withDockerContainer [2020-10-15T07:35:42.860Z] prd-centos7-docker-4c-2g-5568 does not seem to be running inside a container [2020-10-15T07:35:42.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-15T07:35:44.280Z] $ docker top 5267efdf0f2c3409f3a6f469c678ddb109e28aa3882641343254a1296c3423f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T07:35:44.873Z] + go version [2020-10-15T07:35:44.874Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-15T07:35:44.915Z] $ docker stop --time=1 5267efdf0f2c3409f3a6f469c678ddb109e28aa3882641343254a1296c3423f6 [2020-10-15T07:35:46.832Z] $ docker rm -f 5267efdf0f2c3409f3a6f469c678ddb109e28aa3882641343254a1296c3423f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:35:48.127Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T07:35:48.127Z] . [Pipeline] withDockerContainer [2020-10-15T07:35:48.434Z] prd-centos7-docker-4c-2g-5568 does not seem to be running inside a container [2020-10-15T07:35:48.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-15T07:35:49.604Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T07:35:49.604Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T07:35:49.604Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T07:35:49.604Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.123s coverage: 21.6% of statements [2020-10-15T07:35:49.672Z] $ docker top c77f87d62588e2fd5ea01add0b4ebf5ddc07f270c373edfffd4265b3cebe3191 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T07:35:50.696Z] + make test [2020-10-15T07:35:50.696Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T07:35:53.936Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.182s coverage: 97.1% of statements [2020-10-15T07:36:03.518Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T07:36:20.728Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.134s coverage: 9.4% of statements [2020-10-15T07:36:20.728Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.118s coverage: 21.9% of statements [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T07:36:20.728Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.601s coverage: 40.8% of statements [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T07:36:20.728Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.779s coverage: 68.9% of statements [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T07:36:20.728Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.191s coverage: 52.6% of statements [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T07:36:20.728Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.840s coverage: 68.9% of statements [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T07:36:20.728Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T07:36:21.003Z] GO111MODULE=on go vet ./... [2020-10-15T07:36:31.693Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T07:36:31.693Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T07:36:31.693Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T07:36:31.693Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.134s coverage: 21.6% of statements [2020-10-15T07:36:31.693Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.529s coverage: 97.1% of statements [2020-10-15T07:36:53.380Z] gofmt -l . [2020-10-15T07:36:53.380Z] [ "`gofmt -l .`" = "" ] [2020-10-15T07:36:53.380Z] ./bin/test-attribution-txt.sh [2020-10-15T07:36:53.380Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T07:36:54.288Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T07:36:54.243Z] $ docker stop --time=1 18e88ce9feed59657f0eefd6b8a8c55a6898db06fb83913d80e73b00f8760489 [2020-10-15T07:36:56.492Z] $ docker rm -f 18e88ce9feed59657f0eefd6b8a8c55a6898db06fb83913d80e73b00f8760489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T07:37:00.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T07:37:00.566Z] + ls -al . [2020-10-15T07:37:00.566Z] total 224 [2020-10-15T07:37:00.566Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 07:36 . [2020-10-15T07:37:00.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 07:33 .. [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 07:33 .dockerignore [2020-10-15T07:37:00.566Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 07:33 .git [2020-10-15T07:37:00.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 07:33 .github [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 07:33 .gitignore [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 07:33 Dockerfile.build [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 07:33 Jenkinsfile [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 07:33 LICENSE [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 07:33 Makefile [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 07:33 README.md [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 07:33 RELEASE-NOTES.txt [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 07:31 VERSION [2020-10-15T07:37:00.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 07:33 bin [2020-10-15T07:37:00.566Z] -rw-r--r-- 1 jenkins jenkins 110396 Oct 15 07:36 coverage.out [2020-10-15T07:37:00.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 07:33 example [2020-10-15T07:37:00.566Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 15 07:36 go.mod [2020-10-15T07:37:00.566Z] -rw-r--r-- 1 jenkins jenkins 13652 Oct 15 07:36 go.sum [2020-10-15T07:37:00.566Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 07:33 internal [2020-10-15T07:37:00.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 07:33 openapi [2020-10-15T07:37:00.566Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 07:33 pkg [2020-10-15T07:37:00.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 07:33 snap [2020-10-15T07:37:00.566Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 07:33 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:37:00.933Z] + 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=13ca2fb0660aa3c318eae46599c01cc40f806a6b --label arch=arm64 --label version=0.0.0 . [2020-10-15T07:37:01.551Z] Sending build context to Docker daemon 2.54MB [2020-10-15T07:37:01.551Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T07:37:01.551Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T07:37:01.551Z] ---> 9b0c4b8c5b87 [2020-10-15T07:37:01.551Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T07:37:01.826Z] ---> Running in 6974b7af0b49 [2020-10-15T07:37:02.106Z] Removing intermediate container 6974b7af0b49 [2020-10-15T07:37:02.106Z] ---> 73d9e222f566 [2020-10-15T07:37:02.106Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T07:37:02.380Z] ---> Running in fb619342541f [2020-10-15T07:37:02.976Z] Removing intermediate container fb619342541f [2020-10-15T07:37:02.976Z] ---> 9e019088cd5b [2020-10-15T07:37:02.976Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T07:37:02.976Z] ---> Running in 1958365def70 [2020-10-15T07:37:03.573Z] Removing intermediate container 1958365def70 [2020-10-15T07:37:03.573Z] ---> df1e542e58e3 [2020-10-15T07:37:03.573Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T07:37:03.573Z] ---> Running in ea563c3e7b6f [2020-10-15T07:37:04.292Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.075s coverage: 9.4% of statements [2020-10-15T07:37:04.292Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.095s coverage: 21.9% of statements [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T07:37:04.292Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.298s coverage: 40.8% of statements [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T07:37:04.292Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.325s coverage: 68.9% of statements [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T07:37:04.292Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.237s coverage: 52.6% of statements [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T07:37:04.292Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.355s coverage: 68.9% of statements [2020-10-15T07:37:04.292Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T07:37:04.293Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T07:37:04.293Z] GO111MODULE=on go vet ./... [2020-10-15T07:37:06.186Z] Removing intermediate container ea563c3e7b6f [2020-10-15T07:37:06.186Z] ---> 75394b8e7aaf [2020-10-15T07:37:06.186Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T07:37:06.186Z] ---> Running in 650ea3e14a57 [2020-10-15T07:37:07.618Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T07:37:08.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T07:37:09.191Z] OK: 142 MiB in 39 packages [2020-10-15T07:37:10.175Z] Removing intermediate container 650ea3e14a57 [2020-10-15T07:37:10.175Z] ---> bf891ea49295 [2020-10-15T07:37:10.175Z] Step 8/24 : COPY . . [2020-10-15T07:37:11.613Z] ---> aaff09ed956e [2020-10-15T07:37:11.613Z] Step 9/24 : RUN ${MAKE} [2020-10-15T07:37:11.887Z] ---> Running in 5791438634df [2020-10-15T07:37:13.318Z] 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-15T07:37:20.092Z] gofmt -l . [2020-10-15T07:37:20.092Z] [ "`gofmt -l .`" = "" ] [2020-10-15T07:37:20.092Z] ./bin/test-attribution-txt.sh [2020-10-15T07:37:20.092Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T07:37:20.129Z] Warning: overwriting stash ‘coverage-report’ [2020-10-15T07:37:20.758Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T07:37:20.768Z] $ docker stop --time=1 c77f87d62588e2fd5ea01add0b4ebf5ddc07f270c373edfffd4265b3cebe3191 [2020-10-15T07:37:23.025Z] $ docker rm -f c77f87d62588e2fd5ea01add0b4ebf5ddc07f270c373edfffd4265b3cebe3191 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-15T07:37:24.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T07:37:24.609Z] + ls -al . [2020-10-15T07:37:24.609Z] total 188 [2020-10-15T07:37:24.609Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 07:37 . [2020-10-15T07:37:24.609Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 15 07:34 .. [2020-10-15T07:37:24.609Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 07:34 bin [2020-10-15T07:37:24.609Z] -rw-r--r--. 1 jenkins jenkins 110396 Oct 15 07:36 coverage.out [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 07:34 Dockerfile.build [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 07:34 .dockerignore [2020-10-15T07:37:24.609Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 07:34 example [2020-10-15T07:37:24.609Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 07:34 .git [2020-10-15T07:37:24.609Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 07:34 .github [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 07:34 .gitignore [2020-10-15T07:37:24.609Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 15 07:37 go.mod [2020-10-15T07:37:24.609Z] -rw-r--r--. 1 jenkins jenkins 13652 Oct 15 07:37 go.sum [2020-10-15T07:37:24.609Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 07:34 internal [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 07:34 Jenkinsfile [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 07:34 LICENSE [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 07:34 Makefile [2020-10-15T07:37:24.609Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 07:34 openapi [2020-10-15T07:37:24.609Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 07:34 pkg [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 07:34 README.md [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 07:34 RELEASE-NOTES.txt [2020-10-15T07:37:24.609Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 07:34 snap [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 07:31 VERSION [2020-10-15T07:37:24.609Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 07:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:37:24.996Z] + 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=13ca2fb0660aa3c318eae46599c01cc40f806a6b --label arch=amd64 --label version=0.0.0 . [2020-10-15T07:37:25.313Z] Sending build context to Docker daemon 2.54MB [2020-10-15T07:37:25.314Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T07:37:25.314Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T07:37:25.314Z] ---> f23ac00e1a50 [2020-10-15T07:37:25.314Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T07:37:25.987Z] ---> Running in a78d9892bda0 [2020-10-15T07:37:25.987Z] Removing intermediate container a78d9892bda0 [2020-10-15T07:37:25.987Z] ---> 4feb880fe773 [2020-10-15T07:37:25.987Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T07:37:26.337Z] ---> Running in 6d3e79c2b0f0 [2020-10-15T07:37:26.619Z] Removing intermediate container 6d3e79c2b0f0 [2020-10-15T07:37:26.620Z] ---> 0ac0ac426dd2 [2020-10-15T07:37:26.620Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T07:37:26.620Z] ---> Running in 6fd03cc43526 [2020-10-15T07:37:26.917Z] Removing intermediate container 6fd03cc43526 [2020-10-15T07:37:26.917Z] ---> c015b7670892 [2020-10-15T07:37:26.917Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T07:37:26.917Z] ---> Running in b7aa2fb6c4b2 [2020-10-15T07:37:29.151Z] Removing intermediate container b7aa2fb6c4b2 [2020-10-15T07:37:29.151Z] ---> 0a9a13c5b48d [2020-10-15T07:37:29.151Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T07:37:29.151Z] ---> Running in 5a3514861d8c [2020-10-15T07:37:29.468Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T07:37:30.470Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T07:37:30.759Z] OK: 166 MiB in 39 packages [2020-10-15T07:37:31.421Z] Removing intermediate container 5a3514861d8c [2020-10-15T07:37:31.421Z] ---> 2eb360af4f69 [2020-10-15T07:37:31.421Z] Step 8/24 : COPY . . [2020-10-15T07:37:32.999Z] ---> 6f505db24e72 [2020-10-15T07:37:32.999Z] Step 9/24 : RUN ${MAKE} [2020-10-15T07:37:32.999Z] ---> Running in dd637f1b0e09 [2020-10-15T07:37:34.014Z] 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-15T07:37:40.146Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T07:37:40.146Z] Removing intermediate container 5791438634df [2020-10-15T07:37:40.146Z] ---> 7dbe4000575e [2020-10-15T07:37:40.146Z] Step 10/24 : FROM scratch [2020-10-15T07:37:40.146Z] ---> [2020-10-15T07:37:40.146Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T07:37:40.146Z] ---> Running in bb177b110b3d [2020-10-15T07:37:40.146Z] Removing intermediate container bb177b110b3d [2020-10-15T07:37:40.146Z] ---> ab88988af92c [2020-10-15T07:37:40.146Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T07:37:40.146Z] ---> Running in 2711bee91be7 [2020-10-15T07:37:40.422Z] Removing intermediate container 2711bee91be7 [2020-10-15T07:37:40.422Z] ---> da482fbd4ee3 [2020-10-15T07:37:40.422Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T07:37:40.422Z] ---> Running in d125baf194e0 [2020-10-15T07:37:41.012Z] Removing intermediate container d125baf194e0 [2020-10-15T07:37:41.012Z] ---> 638356d3b861 [2020-10-15T07:37:41.012Z] Step 14/24 : WORKDIR / [2020-10-15T07:37:41.012Z] ---> Running in 694b585dd9e1 [2020-10-15T07:37:41.283Z] Removing intermediate container 694b585dd9e1 [2020-10-15T07:37:41.283Z] ---> fb9eb5809051 [2020-10-15T07:37:41.283Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T07:37:42.716Z] ---> 409a5de66cfb [2020-10-15T07:37:42.716Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T07:37:43.313Z] ---> d8bcb715ed94 [2020-10-15T07:37:43.313Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T07:37:43.910Z] ---> 5aeb46de10e7 [2020-10-15T07:37:43.910Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T07:37:44.507Z] ---> 166f3d9740e5 [2020-10-15T07:37:44.507Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T07:37:45.482Z] ---> d60ec992a0cc [2020-10-15T07:37:45.482Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T07:37:45.482Z] ---> Running in 6515d5018959 [2020-10-15T07:37:45.755Z] Removing intermediate container 6515d5018959 [2020-10-15T07:37:45.755Z] ---> a036700449ae [2020-10-15T07:37:45.755Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T07:37:46.030Z] ---> Running in ed28151af2e4 [2020-10-15T07:37:46.628Z] Removing intermediate container ed28151af2e4 [2020-10-15T07:37:46.628Z] ---> 86af12bdc594 [2020-10-15T07:37:46.628Z] Step 22/24 : LABEL arch=arm64 [2020-10-15T07:37:46.628Z] ---> Running in 66db754bce43 [2020-10-15T07:37:46.903Z] Removing intermediate container 66db754bce43 [2020-10-15T07:37:46.903Z] ---> 46444f339ae0 [2020-10-15T07:37:46.903Z] Step 23/24 : LABEL git_sha=13ca2fb0660aa3c318eae46599c01cc40f806a6b [2020-10-15T07:37:47.180Z] ---> Running in e805046a63e0 [2020-10-15T07:37:47.774Z] Removing intermediate container e805046a63e0 [2020-10-15T07:37:47.774Z] ---> 10a9bcd003be [2020-10-15T07:37:47.774Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T07:37:47.774Z] ---> Running in 22780cf6ddeb [2020-10-15T07:37:48.367Z] Removing intermediate container 22780cf6ddeb [2020-10-15T07:37:48.367Z] ---> d2d0bb8f5092 [2020-10-15T07:37:48.367Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T07:37:48.367Z] Successfully built d2d0bb8f5092 [2020-10-15T07:37:48.367Z] 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] } [2020-10-15T07:37:52.915Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T07:37:53.526Z] Removing intermediate container dd637f1b0e09 [2020-10-15T07:37:53.526Z] ---> fab27ffc8572 [2020-10-15T07:37:53.526Z] Step 10/24 : FROM scratch [2020-10-15T07:37:53.526Z] ---> [2020-10-15T07:37:53.526Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T07:37:53.526Z] ---> Running in 6c6a807c0c97 [2020-10-15T07:37:53.792Z] Removing intermediate container 6c6a807c0c97 [2020-10-15T07:37:53.792Z] ---> 716c5026262d [2020-10-15T07:37:53.792Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T07:37:53.792Z] ---> Running in c4256f7420ea [2020-10-15T07:37:54.066Z] Removing intermediate container c4256f7420ea [2020-10-15T07:37:54.066Z] ---> 586e6190c5fa [2020-10-15T07:37:54.066Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T07:37:54.066Z] ---> Running in 39721fe5d91a [2020-10-15T07:37:54.066Z] Removing intermediate container 39721fe5d91a [2020-10-15T07:37:54.066Z] ---> a640b24638b9 [2020-10-15T07:37:54.066Z] Step 14/24 : WORKDIR / [2020-10-15T07:37:54.344Z] ---> Running in 55120b07b2d8 [2020-10-15T07:37:54.344Z] Removing intermediate container 55120b07b2d8 [2020-10-15T07:37:54.344Z] ---> e286473ba4b4 [2020-10-15T07:37:54.344Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T07:37:55.012Z] ---> 695b02e5bf76 [2020-10-15T07:37:55.012Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T07:37:55.296Z] ---> 7dbacdee3b85 [2020-10-15T07:37:55.296Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T07:37:55.562Z] ---> 65e8fb2900fe [2020-10-15T07:37:55.563Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T07:37:56.166Z] ---> b0fd34602993 [2020-10-15T07:37:56.166Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T07:37:56.551Z] ---> 9a799a6528d6 [2020-10-15T07:37:56.551Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T07:37:56.551Z] ---> Running in 7dd8e8dc9c76 [2020-10-15T07:37:56.851Z] Removing intermediate container 7dd8e8dc9c76 [2020-10-15T07:37:56.851Z] ---> 99a6edc416ac [2020-10-15T07:37:56.851Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T07:37:56.851Z] ---> Running in ef68d5124a5f [2020-10-15T07:37:57.144Z] Removing intermediate container ef68d5124a5f [2020-10-15T07:37:57.144Z] ---> 55189726df8b [2020-10-15T07:37:57.144Z] Step 22/24 : LABEL arch=amd64 [2020-10-15T07:37:57.144Z] ---> Running in 2fe2cc15af9d [2020-10-15T07:37:57.422Z] Removing intermediate container 2fe2cc15af9d [2020-10-15T07:37:57.422Z] ---> d0a0ce5b7e5c [2020-10-15T07:37:57.422Z] Step 23/24 : LABEL git_sha=13ca2fb0660aa3c318eae46599c01cc40f806a6b [2020-10-15T07:37:57.422Z] ---> Running in fa3642abf96d [2020-10-15T07:37:57.696Z] Removing intermediate container fa3642abf96d [2020-10-15T07:37:57.696Z] ---> 8548490668ed [2020-10-15T07:37:57.696Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T07:37:57.696Z] ---> Running in 3f750bab3503 [2020-10-15T07:37:57.968Z] Removing intermediate container 3f750bab3503 [2020-10-15T07:37:57.968Z] ---> 28505f0c9b79 [2020-10-15T07:37:57.968Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T07:37:57.968Z] Successfully built 28505f0c9b79 [2020-10-15T07:37:57.968Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-15T07:38:02.620Z] provisioning config files... [2020-10-15T07:38:02.633Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config9170521634506331167tmp [Pipeline] { [Pipeline] sh [2020-10-15T07:38:03.010Z] + set +x [2020-10-15T07:38:03.010Z] + curl -s https://codecov.io/bash [2020-10-15T07:38:03.010Z] + bash -s -- [2020-10-15T07:38:03.272Z] [2020-10-15T07:38:03.272Z] _____ _ [2020-10-15T07:38:03.272Z] / ____| | | [2020-10-15T07:38:03.272Z] | | ___ __| | ___ ___ _____ __ [2020-10-15T07:38:03.272Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-15T07:38:03.272Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-15T07:38:03.272Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-15T07:38:03.272Z] Bash-20201009-048fee3 [2020-10-15T07:38:03.272Z] [2020-10-15T07:38:03.272Z] [2020-10-15T07:38:03.272Z] ==> Jenkins CI detected. [2020-10-15T07:38:03.272Z] project root: . [2020-10-15T07:38:03.272Z] Fixing merge commit SHA [2020-10-15T07:38:03.272Z] --> token set from env [2020-10-15T07:38:03.272Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-15T07:38:03.272Z] ==> Running gcov in . (disable via -X gcov) [2020-10-15T07:38:03.272Z] find: ‘./.semver’: Permission denied [2020-10-15T07:38:03.272Z] ==> Python coveragepy not found [2020-10-15T07:38:03.272Z] ==> Searching for coverage reports in: [2020-10-15T07:38:03.272Z] + . [2020-10-15T07:38:03.272Z] -> Found 1 reports [2020-10-15T07:38:03.272Z] ==> Detecting git/mercurial file structure [2020-10-15T07:38:03.272Z] ==> Reading reports [2020-10-15T07:38:03.272Z] + ./coverage.out bytes=110396 [2020-10-15T07:38:03.272Z] ==> Appending adjustments [2020-10-15T07:38:03.272Z] https://docs.codecov.io/docs/fixing-reports [2020-10-15T07:38:03.850Z] find: ‘./.semver’: Permission denied [2020-10-15T07:38:03.850Z] find: ‘./.semver’: Permission denied [2020-10-15T07:38:03.850Z] find: ‘./.semver’: Permission denied [2020-10-15T07:38:03.850Z] [2020-10-15T07:38:03.850Z] + Found adjustments [2020-10-15T07:38:03.850Z] ==> Gzipping contents [2020-10-15T07:38:03.850Z] ==> Uploading reports [2020-10-15T07:38:03.850Z] url: https://codecov.io [2020-10-15T07:38:03.850Z] query: branch=PR-619&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-15T07:38:03.850Z] -> Pinging Codecov [2020-10-15T07:38:03.850Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-619&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-619%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=619&job=&cmd_args= [2020-10-15T07:38:03.850Z] -> Uploading to [2020-10-15T07:38:03.850Z] [2020-10-15T07:38:04.113Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T07:38:04.113Z] Dload Upload Total Spent Left Speed [2020-10-15T07:38:04.113Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-15T07:38:04.113Z] X> Failed to upload [2020-10-15T07:38:04.113Z] ==> Uploading to Codecov [2020-10-15T07:38:04.113Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T07:38:04.113Z] Dload Upload Total Spent Left Speed [2020-10-15T07:38:04.693Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 18975 100 110 100 18865 213 36687 --:--:-- --:--:-- --:--:-- 36702 [2020-10-15T07:38:04.693Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9121cb4fd2f17f024cc2e84f36967dd0fb0597df [Pipeline] } [2020-10-15T07:38:04.703Z] 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-15T07:38:07.556Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T07:38:08.135Z] ---> package-listing.sh [2020-10-15T07:38:08.135Z] ++ facter osfamily [2020-10-15T07:38:08.135Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-15T07:38:08.135Z] + OS_FAMILY=redhat [2020-10-15T07:38:08.135Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-619 [2020-10-15T07:38:08.135Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-15T07:38:08.135Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-15T07:38:08.135Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-15T07:38:08.135Z] + PACKAGES=/tmp/packages_start.txt [2020-10-15T07:38:08.135Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-15T07:38:08.135Z] + PACKAGES=/tmp/packages_end.txt [2020-10-15T07:38:08.135Z] + case "${OS_FAMILY}" in [2020-10-15T07:38:08.135Z] + rpm -qa [2020-10-15T07:38:08.135Z] + sort [2020-10-15T07:38:12.351Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-15T07:38:12.351Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-15T07:38:12.351Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-15T07:38:12.351Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-619 ']' [2020-10-15T07:38:12.351Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [2020-10-15T07:38:12.351Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-619/archives/ [Pipeline] echo [2020-10-15T07:38:12.364Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-619/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-15T07:38:12.662Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:38:12.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T07:38:12.976Z] [2020-10-15T07:38:12.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-15T07:38:13.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T07:38:13.338Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-15T07:38:13.338Z] df20fa9351a1: Pulling fs layer [2020-10-15T07:38:13.338Z] 36b3adc4ff6f: Pulling fs layer [2020-10-15T07:38:13.338Z] 8ad3a11d3b57: Pulling fs layer [2020-10-15T07:38:13.338Z] 46f8f816bc3b: Pulling fs layer [2020-10-15T07:38:13.338Z] 93b61091891f: Pulling fs layer [2020-10-15T07:38:13.338Z] 93b9cdb0e59b: Pulling fs layer [2020-10-15T07:38:13.338Z] 5e14af77c1be: Pulling fs layer [2020-10-15T07:38:13.338Z] 01666e4c0597: Pulling fs layer [2020-10-15T07:38:13.338Z] aa168da1d23b: Pulling fs layer [2020-10-15T07:38:13.338Z] 93b61091891f: Waiting [2020-10-15T07:38:13.338Z] 93b9cdb0e59b: Waiting [2020-10-15T07:38:13.338Z] 5e14af77c1be: Waiting [2020-10-15T07:38:13.338Z] 01666e4c0597: Waiting [2020-10-15T07:38:13.338Z] aa168da1d23b: Waiting [2020-10-15T07:38:13.338Z] 46f8f816bc3b: Waiting [2020-10-15T07:38:13.338Z] 36b3adc4ff6f: Download complete [2020-10-15T07:38:13.338Z] 46f8f816bc3b: Verifying Checksum [2020-10-15T07:38:13.338Z] 46f8f816bc3b: Download complete [2020-10-15T07:38:13.338Z] df20fa9351a1: Verifying Checksum [2020-10-15T07:38:13.338Z] df20fa9351a1: Download complete [2020-10-15T07:38:13.608Z] 93b9cdb0e59b: Download complete [2020-10-15T07:38:13.608Z] 93b61091891f: Verifying Checksum [2020-10-15T07:38:13.608Z] 93b61091891f: Download complete [2020-10-15T07:38:13.608Z] 5e14af77c1be: Download complete [2020-10-15T07:38:13.608Z] 01666e4c0597: Verifying Checksum [2020-10-15T07:38:13.608Z] 01666e4c0597: Download complete [2020-10-15T07:38:13.608Z] 8ad3a11d3b57: Verifying Checksum [2020-10-15T07:38:13.608Z] 8ad3a11d3b57: Download complete [2020-10-15T07:38:13.870Z] df20fa9351a1: Pull complete [2020-10-15T07:38:14.137Z] 36b3adc4ff6f: Pull complete [2020-10-15T07:38:14.728Z] 8ad3a11d3b57: Pull complete [2020-10-15T07:38:14.728Z] 46f8f816bc3b: Pull complete [2020-10-15T07:38:15.314Z] 93b61091891f: Pull complete [2020-10-15T07:38:15.577Z] 93b9cdb0e59b: Pull complete [2020-10-15T07:38:15.577Z] 5e14af77c1be: Pull complete [2020-10-15T07:38:15.840Z] 01666e4c0597: Pull complete [2020-10-15T07:38:15.840Z] aa168da1d23b: Verifying Checksum [2020-10-15T07:38:15.840Z] aa168da1d23b: Download complete [2020-10-15T07:38:22.478Z] aa168da1d23b: Pull complete [2020-10-15T07:38:22.478Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-15T07:38:22.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T07:38:22.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-15T07:38:22.652Z] prd-centos7-docker-4c-2g-5566 does not seem to be running inside a container [2020-10-15T07:38:22.706Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-619/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-15T07:38:29.060Z] $ docker top 67bddf15d820fbecb37542c4aaed9e8f2d2dcdb7f4be0beaf2164ebad223e769 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T07:38:29.688Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-15T07:38:29.987Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-15T07:38:30.286Z] + ls /var/log/sa-host [2020-10-15T07:38:30.286Z] + sadf -c /var/log/sa-host/sa05 [2020-10-15T07:38:30.286Z] file_magic: OK [2020-10-15T07:38:30.286Z] HZ: Using current value: 100 [2020-10-15T07:38:30.286Z] file_header: OK [2020-10-15T07:38:30.286Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-15T07:38:30.286Z] Statistics: [2020-10-15T07:38:30.286Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T07:38:30.286Z] File successfully converted to sysstat format version 12.2.1 [2020-10-15T07:38:30.286Z] + sadf -c /var/log/sa-host/sa15 [2020-10-15T07:38:30.286Z] file_magic: OK [2020-10-15T07:38:30.286Z] HZ: Using current value: 100 [2020-10-15T07:38:30.286Z] file_header: OK [2020-10-15T07:38:30.286Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-15T07:38:30.286Z] Statistics: [2020-10-15T07:38:30.286Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T07:38:30.286Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-15T07:38:30.903Z] provisioning config files... [2020-10-15T07:38:30.920Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-619@tmp/config2856631965404737492tmp [Pipeline] { [Pipeline] echo [2020-10-15T07:38:31.004Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T07:38:31.303Z] ---> create-netrc.sh [Pipeline] } [2020-10-15T07:38:31.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-15T07:38:31.552Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T07:38:31.849Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-15T07:38:31.863Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T07:38:32.163Z] ---> sudo-logs.sh [2020-10-15T07:38:32.163Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-15T07:38:32.174Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T07:38:32.469Z] ---> job-cost.sh [2020-10-15T07:38:32.469Z] lf-activate-venv: SKIPPING [2020-10-15T07:38:32.469Z] INFO: No Stack... [2020-10-15T07:38:34.388Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-15T07:38:34.961Z] INFO: Archiving Costs [Pipeline] echo [2020-10-15T07:38:34.975Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T07:38:35.771Z] ---> logs-deploy.sh [2020-10-15T07:38:35.771Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-619/11 [2020-10-15T07:38:35.771Z] INFO: archiving workspace using pattern(s): [2020-10-15T07:38:37.691Z] Archives upload complete. [2020-10-15T07:38:37.691Z] INFO: archiving logs to Nexus