Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 6d170b70e1a04a00d380c7c5d579fc072917eff5+9121cb4fd2f17f024cc2e84f36967dd0fb0597df (bfb06eba424a2455815db6b07c708e8602126783) 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-5504 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 6d170b70e1a04a00d380c7c5d579fc072917eff5 Merge succeeded, producing 6f3196637d115c6207a57b03bd438428c049358e Checking out Revision 6f3196637d115c6207a57b03bd438428c049358e (PR-614) > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # 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 6f3196637d115c6207a57b03bd438428c049358e # timeout=10 Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk b048396f8062a42b81cbd110a936457a9c173640 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-15T02:42:58.288Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-15T02:42:58.580Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-15T02:42:58.679Z] ========================================================= [2020-10-15T02:42:58.679Z] EdgeX Global Pipelines Version Info [2020-10-15T02:42:58.679Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:43:00.211Z] ------------------- [2020-10-15T02:43:00.212Z] stable info: [2020-10-15T02:43:00.212Z] ------------------- [2020-10-15T02:43:00.212Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-15T02:43:00.212Z] Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 [2020-10-15T02:43:00.212Z] Message: update stable to v1.0.142 [2020-10-15T02:43:01.161Z] ------------------- [2020-10-15T02:43:01.161Z] experimental info: [2020-10-15T02:43:01.161Z] ------------------- [2020-10-15T02:43:01.161Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-15T02:43:01.161Z] Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 [2020-10-15T02:43:01.161Z] Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-15T02:43:01.575Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-15T02:43:01.674Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-15T02:43:01.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-15T02:43:01.864Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-15T02:43:01.977Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-15T02:43:02.082Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-15T02:43:02.175Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-15T02:43:02.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-15T02:43:02.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-15T02:43:02.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-15T02:43:02.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-15T02:43:02.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-15T02:43:02.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-15T02:43:02.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-15T02:43:02.908Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-15T02:43:02.999Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T02:43:03.107Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T02:43:03.227Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-15T02:43:03.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-15T02:43:03.424Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-15T02:43:03.527Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-15T02:43:03.647Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-15T02:43:03.764Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-15T02:43:03.856Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-15T02:43:03.983Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-15T02:43:04.071Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-15T02:43:04.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-15T02:43:04.267Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-15T02:43:04.367Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f3196637d115c6207a57b03bd438428c049358e [Pipeline] echo [2020-10-15T02:43:04.467Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f31966 [Pipeline] echo [2020-10-15T02:43:04.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T02:43:05.207Z] + git log --format=format:%s -1 6f3196637d115c6207a57b03bd438428c049358e [Pipeline] echo [2020-10-15T02:43:05.277Z] GIT_COMMIT: 6f3196637d115c6207a57b03bd438428c049358e, Commit Message: Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD [Pipeline] echo [2020-10-15T02:43:05.320Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:43:05.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T02:43:06.168Z] [2020-10-15T02:43:06.168Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:43:06.577Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T02:43:06.577Z] latest: Pulling from edgex-devops/git-semver [2020-10-15T02:43:06.577Z] 31603596830f: Pulling fs layer [2020-10-15T02:43:06.577Z] 2a8b12db71e7: Pulling fs layer [2020-10-15T02:43:06.577Z] 6ca5941a6612: Pulling fs layer [2020-10-15T02:43:06.577Z] ecc8261a40a4: Pulling fs layer [2020-10-15T02:43:06.577Z] ecc8261a40a4: Waiting [2020-10-15T02:43:06.577Z] 2a8b12db71e7: Verifying Checksum [2020-10-15T02:43:06.577Z] 2a8b12db71e7: Download complete [2020-10-15T02:43:06.577Z] 31603596830f: Verifying Checksum [2020-10-15T02:43:06.577Z] 31603596830f: Download complete [2020-10-15T02:43:06.843Z] ecc8261a40a4: Verifying Checksum [2020-10-15T02:43:06.843Z] ecc8261a40a4: Download complete [2020-10-15T02:43:06.843Z] 6ca5941a6612: Verifying Checksum [2020-10-15T02:43:06.843Z] 6ca5941a6612: Download complete [2020-10-15T02:43:07.110Z] 31603596830f: Pull complete [2020-10-15T02:43:07.110Z] 2a8b12db71e7: Pull complete [2020-10-15T02:43:08.080Z] 6ca5941a6612: Pull complete [2020-10-15T02:43:08.342Z] ecc8261a40a4: Pull complete [2020-10-15T02:43:08.342Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-15T02:43:08.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-15T02:43:08.342Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-15T02:43:08.452Z] prd-centos7-docker-4c-2g-5504 does not seem to be running inside a container [2020-10-15T02:43:08.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-15T02:43:10.862Z] $ docker top d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-15T02:43:11.166Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T02:43:11.166Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T02:43:11.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T02:43:11.478Z] $ docker exec d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e ssh-agent [2020-10-15T02:43:11.680Z] SSH_AUTH_SOCK=/tmp/ssh-NvUUdADQYUYS/agent.12 [2020-10-15T02:43:11.680Z] SSH_AGENT_PID=18 [2020-10-15T02:43:11.692Z] Running ssh-add (command line suppressed) [2020-10-15T02:43:11.852Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_2229897151336980156.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_2229897151336980156.key) [2020-10-15T02:43:11.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T02:43:12.269Z] + git tag --points-at HEAD [Pipeline] } [2020-10-15T02:43:12.292Z] $ docker exec --env ******** --env ******** d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e ssh-agent -k [2020-10-15T02:43:12.441Z] unset SSH_AUTH_SOCK; [2020-10-15T02:43:12.442Z] unset SSH_AGENT_PID; [2020-10-15T02:43:12.442Z] echo Agent pid 18 killed; [2020-10-15T02:43:12.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-15T02:43:12.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-15T02:43:12.642Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-15T02:43:12.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-15T02:43:12.828Z] $ docker exec d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e ssh-agent [2020-10-15T02:43:12.992Z] SSH_AUTH_SOCK=/tmp/ssh-z1ppvi8qqrWp/agent.49 [2020-10-15T02:43:12.992Z] SSH_AGENT_PID=54 [2020-10-15T02:43:13.000Z] Running ssh-add (command line suppressed) [2020-10-15T02:43:13.133Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_183677857046899410.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_183677857046899410.key) [2020-10-15T02:43:13.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-15T02:43:13.526Z] + git semver init [2020-10-15T02:43:13.526Z] # -> Open(): unable to determine branch for HEAD [2020-10-15T02:43:13.526Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-15T02:43:13.526Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-15T02:43:13.526Z] # $SEMVER_REMOTE_NAME = origin [2020-10-15T02:43:13.526Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-15T02:43:13.526Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-15T02:43:13.526Z] # $SEMVER_BRANCH = PR-614 [2020-10-15T02:43:13.526Z] # $SEMVER_TEMP = /tmp/semver-162210398 [2020-10-15T02:43:13.526Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-15T02:43:14.103Z] # '/tmp/semver-162210398' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-15T02:43:14.366Z] # -> Force: false [2020-10-15T02:43:14.366Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-15T02:43:14.382Z] $ docker exec --env ******** --env ******** d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e ssh-agent -k [2020-10-15T02:43:14.550Z] unset SSH_AUTH_SOCK; [2020-10-15T02:43:14.550Z] unset SSH_AGENT_PID; [2020-10-15T02:43:14.550Z] echo Agent pid 54 killed; [2020-10-15T02:43:14.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-15T02:43:15.079Z] + git semver [Pipeline] } [2020-10-15T02:43:15.098Z] $ docker stop --time=1 d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e [2020-10-15T02:43:16.543Z] $ docker rm -f d92cf16e3805feffe780b40667302070a989c5287698c08d2c3adf344b99793e [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-10-15T02:43:17.355Z] Stashed 1 file(s) [Pipeline] echo [2020-10-15T02:43:17.358Z] [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-15T02:43:32.929Z] Still waiting to schedule task [2020-10-15T02:43:32.929Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5508’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-15T02:43:32.932Z] Still waiting to schedule task [2020-10-15T02:43:32.932Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline [2020-10-15T02:44:28.139Z] Running on prd-centos7-docker-4c-2g-5510 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-15T02:44:28.196Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-15T02:44:31.141Z] using credential edgex-jenkins-ssh [2020-10-15T02:44:31.207Z] Cloning the remote Git repository [2020-10-15T02:44:31.234Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:44:31.366Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-15T02:44:31.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:44:31.414Z] > git --version # timeout=10 [2020-10-15T02:44:31.427Z] > git --version # 'git version 2.16.5' [2020-10-15T02:44:31.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:44:31.458Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:44:32.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:44:32.813Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:44:32.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:44:32.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:44:32.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:44:32.847Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T02:44:33.237Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-15T02:44:33.358Z] Merge succeeded, producing 14de7d7e0dac3233b2d6d4190c9da16387847b95 [2020-10-15T02:44:33.358Z] Checking out Revision 14de7d7e0dac3233b2d6d4190c9da16387847b95 (PR-614) [2020-10-15T02:44:33.246Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:44:33.252Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-15T02:44:33.304Z] > git remote # timeout=10 [2020-10-15T02:44:33.310Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T02:44:33.315Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:44:33.319Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T02:44:33.352Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T02:44:33.362Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:44:33.365Z] > git checkout -f 14de7d7e0dac3233b2d6d4190c9da16387847b95 # timeout=10 [2020-10-15T02:44:37.085Z] Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" [2020-10-15T02:44:37.095Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-15T02:44:37.817Z] ========================================================= [2020-10-15T02:44:37.817Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-15T02:44:37.817Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:44:37.089Z] > git rev-list --no-walk b048396f8062a42b81cbd110a936457a9c173640 # timeout=10 [2020-10-15T02:44:38.535Z] + 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-15T02:44:39.114Z] Sending build context to Docker daemon 2.251MB [2020-10-15T02:44:39.115Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T02:44:39.115Z] Step 2/8 : FROM ${BASE} [2020-10-15T02:44:39.115Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-15T02:44:39.115Z] df20fa9351a1: Pulling fs layer [2020-10-15T02:44:39.115Z] ed8968b2872e: Pulling fs layer [2020-10-15T02:44:39.115Z] a92cc7c5fd73: Pulling fs layer [2020-10-15T02:44:39.115Z] e871e8e8d7a9: Pulling fs layer [2020-10-15T02:44:39.115Z] e73272ec9a57: Pulling fs layer [2020-10-15T02:44:39.115Z] 1e910a182e73: Pulling fs layer [2020-10-15T02:44:39.115Z] 4e634b169226: Pulling fs layer [2020-10-15T02:44:39.115Z] e73272ec9a57: Waiting [2020-10-15T02:44:39.115Z] e871e8e8d7a9: Waiting [2020-10-15T02:44:39.115Z] 1e910a182e73: Waiting [2020-10-15T02:44:39.115Z] 4e634b169226: Waiting [2020-10-15T02:44:39.115Z] a92cc7c5fd73: Download complete [2020-10-15T02:44:39.115Z] ed8968b2872e: Download complete [2020-10-15T02:44:39.115Z] e73272ec9a57: Verifying Checksum [2020-10-15T02:44:39.115Z] e73272ec9a57: Download complete [2020-10-15T02:44:39.115Z] 1e910a182e73: Verifying Checksum [2020-10-15T02:44:39.115Z] 1e910a182e73: Download complete [2020-10-15T02:44:39.378Z] df20fa9351a1: Verifying Checksum [2020-10-15T02:44:39.378Z] df20fa9351a1: Download complete [2020-10-15T02:44:39.640Z] df20fa9351a1: Pull complete [2020-10-15T02:44:39.640Z] ed8968b2872e: Pull complete [2020-10-15T02:44:39.903Z] a92cc7c5fd73: Pull complete [2020-10-15T02:44:42.462Z] 4e634b169226: Verifying Checksum [2020-10-15T02:44:42.462Z] 4e634b169226: Download complete [2020-10-15T02:44:43.036Z] e871e8e8d7a9: Verifying Checksum [2020-10-15T02:44:43.036Z] e871e8e8d7a9: Download complete [2020-10-15T02:44:48.346Z] e871e8e8d7a9: Pull complete [2020-10-15T02:44:48.346Z] e73272ec9a57: Pull complete [2020-10-15T02:44:48.609Z] 1e910a182e73: Pull complete [2020-10-15T02:44:52.853Z] 4e634b169226: Pull complete [2020-10-15T02:44:52.853Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-15T02:44:52.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-15T02:44:52.853Z] ---> f7629b54cfaa [2020-10-15T02:44:52.853Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:44:52.853Z] ---> Running in 4daaa72b81b2 [2020-10-15T02:44:52.853Z] Removing intermediate container 4daaa72b81b2 [2020-10-15T02:44:52.853Z] ---> 7800c9c70e35 [2020-10-15T02:44:52.853Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:44:52.853Z] ---> Running in f0a25e5b824c [2020-10-15T02:44:54.397Z] Removing intermediate container f0a25e5b824c [2020-10-15T02:44:54.397Z] ---> 3ff55938641b [2020-10-15T02:44:54.397Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T02:44:54.397Z] ---> Running in fe73131e0b5f [2020-10-15T02:44:54.979Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T02:44:55.929Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T02:44:56.881Z] OK: 166 MiB in 39 packages [2020-10-15T02:44:57.144Z] Removing intermediate container fe73131e0b5f [2020-10-15T02:44:57.144Z] ---> bd23e596f593 [2020-10-15T02:44:57.144Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T02:44:57.144Z] ---> Running in f63e89fea934 [2020-10-15T02:44:57.408Z] Removing intermediate container f63e89fea934 [2020-10-15T02:44:57.408Z] ---> 974c625ddb23 [2020-10-15T02:44:57.408Z] Step 7/8 : COPY . . [2020-10-15T02:44:58.800Z] ---> 9002aa97984f [2020-10-15T02:44:58.800Z] Step 8/8 : RUN go mod download [2020-10-15T02:44:58.800Z] ---> Running in f3e5c24b6a1a [2020-10-15T02:45:20.841Z] Removing intermediate container f3e5c24b6a1a [2020-10-15T02:45:20.841Z] ---> dfe2a9e84c0d [2020-10-15T02:45:20.841Z] Successfully built dfe2a9e84c0d [2020-10-15T02:45:20.841Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:45:21.221Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T02:45:21.221Z] . [Pipeline] withDockerContainer [2020-10-15T02:45:21.337Z] prd-centos7-docker-4c-2g-5510 does not seem to be running inside a container [2020-10-15T02:45:21.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-15T02:45:22.170Z] $ docker top aa7909bd607b9186f09bed2f0868ecd55247544de2405ab3caca5943bf1c558a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:45:22.665Z] + go version [2020-10-15T02:45:22.665Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-15T02:45:22.682Z] $ docker stop --time=1 aa7909bd607b9186f09bed2f0868ecd55247544de2405ab3caca5943bf1c558a [2020-10-15T02:45:24.010Z] $ docker rm -f aa7909bd607b9186f09bed2f0868ecd55247544de2405ab3caca5943bf1c558a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:45:24.875Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-15T02:45:24.875Z] . [Pipeline] withDockerContainer [2020-10-15T02:45:24.979Z] prd-centos7-docker-4c-2g-5510 does not seem to be running inside a container [2020-10-15T02:45:25.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-15T02:45:25.677Z] $ docker top b3a1ac0f3323952380306fda7bf8bd9f9ffa2d2e3e40c89986dd460943cbcb76 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:45:26.175Z] + make test [2020-10-15T02:45:26.175Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T02:45:32.822Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T02:45:47.874Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T02:45:47.874Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T02:45:47.874Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T02:45:47.874Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.046s coverage: 21.6% of statements [2020-10-15T02:45:48.147Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.430s coverage: 97.1% of statements [2020-10-15T02:45:56.240Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5513 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-15T02:45:56.294Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2020-10-15T02:46:01.939Z] using credential edgex-jenkins-ssh [2020-10-15T02:46:02.018Z] Cloning the remote Git repository [2020-10-15T02:46:02.102Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:46:02.232Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2020-10-15T02:46:02.323Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:46:02.324Z] > git --version # timeout=10 [2020-10-15T02:46:02.347Z] > git --version # 'git version 2.17.1' [2020-10-15T02:46:02.348Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:46:02.444Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:46:03.531Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:46:03.551Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-15T02:46:03.589Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-15T02:46:03.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-15T02:46:03.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:46:03.645Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-15T02:46:04.122Z] Merging remotes/origin/master commit 9121cb4fd2f17f024cc2e84f36967dd0fb0597df into PR head commit 6d170b70e1a04a00d380c7c5d579fc072917eff5 [2020-10-15T02:46:04.536Z] Merge succeeded, producing d4a698a6beefd9975c0443a6b792da6696619841 [2020-10-15T02:46:04.537Z] Checking out Revision d4a698a6beefd9975c0443a6b792da6696619841 (PR-614) [2020-10-15T02:46:04.145Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:46:04.161Z] > git checkout -f 6d170b70e1a04a00d380c7c5d579fc072917eff5 # timeout=10 [2020-10-15T02:46:04.281Z] > git remote # timeout=10 [2020-10-15T02:46:04.303Z] > git config --get remote.origin.url # timeout=10 [2020-10-15T02:46:04.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-15T02:46:04.374Z] > git merge 9121cb4fd2f17f024cc2e84f36967dd0fb0597df # timeout=10 [2020-10-15T02:46:04.493Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-15T02:46:04.546Z] > git config core.sparsecheckout # timeout=10 [2020-10-15T02:46:04.614Z] > git checkout -f d4a698a6beefd9975c0443a6b792da6696619841 # timeout=10 [2020-10-15T02:46:09.100Z] Commit message: "Merge commit '9121cb4fd2f17f024cc2e84f36967dd0fb0597df' into HEAD" [2020-10-15T02:46:09.131Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-10-15T02:46:09.113Z] > git rev-list --no-walk b048396f8062a42b81cbd110a936457a9c173640 # timeout=10 [Pipeline] unstash [Pipeline] echo [2020-10-15T02:46:10.079Z] ========================================================= [2020-10-15T02:46:10.079Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-15T02:46:10.079Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:46:11.148Z] + 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-15T02:46:12.153Z] Sending build context to Docker daemon 2.252MB [2020-10-15T02:46:12.153Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-15T02:46:12.153Z] Step 2/8 : FROM ${BASE} [2020-10-15T02:46:12.432Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-15T02:46:12.432Z] b538f80385f9: Pulling fs layer [2020-10-15T02:46:12.432Z] 74f711af9a0d: Pulling fs layer [2020-10-15T02:46:12.432Z] 99f96fe45779: Pulling fs layer [2020-10-15T02:46:12.432Z] 8529a6b9a6be: Pulling fs layer [2020-10-15T02:46:12.432Z] 45590311c82a: Pulling fs layer [2020-10-15T02:46:12.432Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-15T02:46:12.432Z] 209524e5b208: Pulling fs layer [2020-10-15T02:46:12.432Z] 8529a6b9a6be: Waiting [2020-10-15T02:46:12.432Z] 45590311c82a: Waiting [2020-10-15T02:46:12.432Z] 69ca0ff8b7b3: Waiting [2020-10-15T02:46:12.432Z] 209524e5b208: Waiting [2020-10-15T02:46:12.432Z] 99f96fe45779: Verifying Checksum [2020-10-15T02:46:12.432Z] 99f96fe45779: Download complete [2020-10-15T02:46:12.432Z] 74f711af9a0d: Verifying Checksum [2020-10-15T02:46:12.432Z] 74f711af9a0d: Download complete [2020-10-15T02:46:12.432Z] 45590311c82a: Verifying Checksum [2020-10-15T02:46:12.432Z] 45590311c82a: Download complete [2020-10-15T02:46:13.043Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-15T02:46:13.043Z] 69ca0ff8b7b3: Download complete [2020-10-15T02:46:13.043Z] b538f80385f9: Verifying Checksum [2020-10-15T02:46:13.043Z] b538f80385f9: Download complete [2020-10-15T02:46:13.656Z] b538f80385f9: Pull complete [2020-10-15T02:46:14.274Z] 74f711af9a0d: Pull complete [2020-10-15T02:46:14.889Z] 99f96fe45779: Pull complete [2020-10-15T02:46:15.892Z] 209524e5b208: Verifying Checksum [2020-10-15T02:46:15.892Z] 209524e5b208: Download complete [2020-10-15T02:46:17.352Z] 8529a6b9a6be: Verifying Checksum [2020-10-15T02:46:17.352Z] 8529a6b9a6be: Download complete [2020-10-15T02:46:20.329Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements [2020-10-15T02:46:20.330Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.9% of statements [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T02:46:20.330Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.219s coverage: 40.0% of statements [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T02:46:20.330Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.285s coverage: 68.9% of statements [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T02:46:20.330Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T02:46:20.330Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.369s coverage: 68.9% of statements [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T02:46:20.330Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T02:46:20.330Z] GO111MODULE=on go vet ./... [2020-10-15T02:46:25.735Z] gofmt -l . [2020-10-15T02:46:26.011Z] [ "`gofmt -l .`" = "" ] [2020-10-15T02:46:26.011Z] ./bin/test-attribution-txt.sh [2020-10-15T02:46:26.598Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T02:46:27.384Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T02:46:27.392Z] $ docker stop --time=1 b3a1ac0f3323952380306fda7bf8bd9f9ffa2d2e3e40c89986dd460943cbcb76 [2020-10-15T02:46:27.859Z] 8529a6b9a6be: Pull complete [2020-10-15T02:46:27.859Z] 45590311c82a: Pull complete [2020-10-15T02:46:28.147Z] 69ca0ff8b7b3: Pull complete [2020-10-15T02:46:29.348Z] $ docker rm -f b3a1ac0f3323952380306fda7bf8bd9f9ffa2d2e3e40c89986dd460943cbcb76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-15T02:46:31.221Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T02:46:31.548Z] + ls -al . [2020-10-15T02:46:31.548Z] total 188 [2020-10-15T02:46:31.548Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 15 02:46 . [2020-10-15T02:46:31.548Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 15 02:44 .. [2020-10-15T02:46:31.548Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 15 02:44 bin [2020-10-15T02:46:31.548Z] -rw-r--r--. 1 jenkins jenkins 110392 Oct 15 02:46 coverage.out [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 15 02:44 Dockerfile.build [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 15 02:44 .dockerignore [2020-10-15T02:46:31.548Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 15 02:44 example [2020-10-15T02:46:31.548Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 15 02:44 .git [2020-10-15T02:46:31.548Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 15 02:44 .github [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 15 02:44 .gitignore [2020-10-15T02:46:31.548Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 15 02:46 go.mod [2020-10-15T02:46:31.548Z] -rw-r--r--. 1 jenkins jenkins 13736 Oct 15 02:46 go.sum [2020-10-15T02:46:31.548Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 15 02:44 internal [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 15 02:44 Jenkinsfile [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 15 02:44 LICENSE [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 15 02:44 Makefile [2020-10-15T02:46:31.548Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 15 02:44 openapi [2020-10-15T02:46:31.548Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 15 02:44 pkg [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 15 02:44 README.md [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 15 02:44 RELEASE-NOTES.txt [2020-10-15T02:46:31.548Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 15 02:44 snap [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 15 02:43 VERSION [2020-10-15T02:46:31.548Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 15 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:46:31.883Z] + 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=6f3196637d115c6207a57b03bd438428c049358e --label arch=amd64 --label version=0.0.0 . [2020-10-15T02:46:32.159Z] Sending build context to Docker daemon 2.362MB [2020-10-15T02:46:32.159Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T02:46:32.159Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T02:46:32.159Z] ---> dfe2a9e84c0d [2020-10-15T02:46:32.159Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T02:46:32.437Z] ---> Running in 0443b524a214 [2020-10-15T02:46:32.605Z] 209524e5b208: Pull complete [2020-10-15T02:46:32.605Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-15T02:46:32.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-15T02:46:32.605Z] ---> 5bddaf1c2fca [2020-10-15T02:46:32.605Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:46:32.720Z] Removing intermediate container 0443b524a214 [2020-10-15T02:46:32.720Z] ---> c11eaa46fe69 [2020-10-15T02:46:32.720Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T02:46:32.720Z] ---> Running in 8380c48cd68c [2020-10-15T02:46:33.020Z] Removing intermediate container 8380c48cd68c [2020-10-15T02:46:33.020Z] ---> 4fd159764ee3 [2020-10-15T02:46:33.020Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:46:33.020Z] ---> Running in 52187aa29e02 [2020-10-15T02:46:33.318Z] Removing intermediate container 52187aa29e02 [2020-10-15T02:46:33.318Z] ---> 0400e9e9d189 [2020-10-15T02:46:33.318Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:46:33.318Z] ---> Running in 178dbfeb74ce [2020-10-15T02:46:34.304Z] Removing intermediate container 178dbfeb74ce [2020-10-15T02:46:34.304Z] ---> e8b0444ab0ea [2020-10-15T02:46:34.304Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T02:46:34.304Z] ---> Running in 42aad11a3d99 [2020-10-15T02:46:34.890Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-15T02:46:35.454Z] ---> Running in d3c0455a4bad [2020-10-15T02:46:35.454Z] Removing intermediate container d3c0455a4bad [2020-10-15T02:46:35.454Z] ---> 232369fa2bdb [2020-10-15T02:46:35.454Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:46:35.744Z] ---> Running in 60b87bd45076 [2020-10-15T02:46:35.868Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-15T02:46:37.302Z] OK: 166 MiB in 39 packages [2020-10-15T02:46:37.582Z] Removing intermediate container 42aad11a3d99 [2020-10-15T02:46:37.582Z] ---> c8ba398a9947 [2020-10-15T02:46:37.582Z] Step 8/24 : COPY . . [2020-10-15T02:46:38.480Z] Removing intermediate container 60b87bd45076 [2020-10-15T02:46:38.480Z] ---> 0594757ce3ad [2020-10-15T02:46:38.480Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-15T02:46:38.480Z] ---> Running in 695555899c19 [2020-10-15T02:46:38.569Z] ---> 6bb8aebac100 [2020-10-15T02:46:38.569Z] Step 9/24 : RUN ${MAKE} [2020-10-15T02:46:38.569Z] ---> Running in 15a303c2aa57 [2020-10-15T02:46:39.174Z] 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-15T02:46:40.014Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T02:46:41.040Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T02:46:43.133Z] OK: 142 MiB in 39 packages [2020-10-15T02:46:44.159Z] Removing intermediate container 695555899c19 [2020-10-15T02:46:44.159Z] ---> 88c579944446 [2020-10-15T02:46:44.159Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-15T02:46:44.159Z] ---> Running in 45dbb4cbd6c1 [2020-10-15T02:46:44.809Z] Removing intermediate container 45dbb4cbd6c1 [2020-10-15T02:46:44.809Z] ---> 9b33a1ed9274 [2020-10-15T02:46:44.809Z] Step 7/8 : COPY . . [2020-10-15T02:46:46.306Z] ---> 091b3186d871 [2020-10-15T02:46:46.306Z] Step 8/8 : RUN go mod download [2020-10-15T02:46:46.306Z] ---> Running in f5ed79ba2149 [2020-10-15T02:46:47.502Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T02:46:48.453Z] Removing intermediate container 15a303c2aa57 [2020-10-15T02:46:48.453Z] ---> 87b57dc9894c [2020-10-15T02:46:48.453Z] Step 10/24 : FROM scratch [2020-10-15T02:46:48.453Z] ---> [2020-10-15T02:46:48.453Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:46:48.453Z] ---> Running in 7bc59caf7683 [2020-10-15T02:46:48.716Z] Removing intermediate container 7bc59caf7683 [2020-10-15T02:46:48.716Z] ---> 4314ab401222 [2020-10-15T02:46:48.716Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T02:46:48.716Z] ---> Running in b7e66f99ac94 [2020-10-15T02:46:48.716Z] Removing intermediate container b7e66f99ac94 [2020-10-15T02:46:48.716Z] ---> b898d93b7e12 [2020-10-15T02:46:48.716Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T02:46:48.978Z] ---> Running in 2f31420445ec [2020-10-15T02:46:49.928Z] Removing intermediate container 2f31420445ec [2020-10-15T02:46:49.928Z] ---> ce8b71558983 [2020-10-15T02:46:49.928Z] Step 14/24 : WORKDIR / [2020-10-15T02:46:49.928Z] ---> Running in 6fbff930aa7d [2020-10-15T02:46:49.928Z] Removing intermediate container 6fbff930aa7d [2020-10-15T02:46:49.928Z] ---> 095e665a6f85 [2020-10-15T02:46:49.928Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T02:46:50.511Z] ---> b9c4f9082fde [2020-10-15T02:46:50.511Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T02:46:50.773Z] ---> 0579d76037e9 [2020-10-15T02:46:50.773Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T02:46:51.037Z] ---> 0e8ca8d497e3 [2020-10-15T02:46:51.037Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T02:46:51.037Z] ---> 1f1533722969 [2020-10-15T02:46:51.037Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T02:46:51.299Z] ---> ac817cf7d4ed [2020-10-15T02:46:51.299Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T02:46:51.562Z] ---> Running in 80fffa2a23e2 [2020-10-15T02:46:51.562Z] Removing intermediate container 80fffa2a23e2 [2020-10-15T02:46:51.562Z] ---> 1edc04e4c366 [2020-10-15T02:46:51.562Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T02:46:51.562Z] ---> Running in af8c3fec2ddf [2020-10-15T02:46:51.828Z] Removing intermediate container af8c3fec2ddf [2020-10-15T02:46:51.828Z] ---> af712f6d62d7 [2020-10-15T02:46:51.828Z] Step 22/24 : LABEL arch=amd64 [2020-10-15T02:46:51.828Z] ---> Running in 818135f70952 [2020-10-15T02:46:52.091Z] Removing intermediate container 818135f70952 [2020-10-15T02:46:52.091Z] ---> ea1224a8d83a [2020-10-15T02:46:52.091Z] Step 23/24 : LABEL git_sha=6f3196637d115c6207a57b03bd438428c049358e [2020-10-15T02:46:52.091Z] ---> Running in 283b8320244d [2020-10-15T02:46:52.354Z] Removing intermediate container 283b8320244d [2020-10-15T02:46:52.354Z] ---> 7e5d28a6082d [2020-10-15T02:46:52.354Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T02:46:52.354Z] ---> Running in 3c8bada36c65 [2020-10-15T02:46:52.617Z] Removing intermediate container 3c8bada36c65 [2020-10-15T02:46:52.617Z] ---> ce9ae558ce58 [2020-10-15T02:46:52.617Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T02:46:52.617Z] Successfully built ce9ae558ce58 [2020-10-15T02:46:52.617Z] 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-15T02:47:13.221Z] Removing intermediate container f5ed79ba2149 [2020-10-15T02:47:13.221Z] ---> 73bb58a2f891 [2020-10-15T02:47:13.221Z] Successfully built 73bb58a2f891 [2020-10-15T02:47:13.221Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:47:13.654Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T02:47:13.654Z] . [Pipeline] withDockerContainer [2020-10-15T02:47:13.946Z] prd-ubuntu18.04-docker-arm64-4c-16g-5513 does not seem to be running inside a container [2020-10-15T02:47:14.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat [2020-10-15T02:47:15.921Z] $ docker top 31f34227cbe0a9837afd5005505e393dfa0bc049411237a3c9b1daeb7b07fe7f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:47:17.372Z] + go version [2020-10-15T02:47:17.372Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-15T02:47:17.398Z] $ docker stop --time=1 31f34227cbe0a9837afd5005505e393dfa0bc049411237a3c9b1daeb7b07fe7f [2020-10-15T02:47:19.314Z] $ docker rm -f 31f34227cbe0a9837afd5005505e393dfa0bc049411237a3c9b1daeb7b07fe7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:47:20.319Z] + docker inspect -f . ci-base-image-arm64 [2020-10-15T02:47:20.319Z] . [Pipeline] withDockerContainer [2020-10-15T02:47:20.569Z] prd-ubuntu18.04-docker-arm64-4c-16g-5513 does not seem to be running inside a container [2020-10-15T02:47:20.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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 ******** ci-base-image-arm64 cat [2020-10-15T02:47:22.576Z] $ docker top 8c6fab8270e53dfe92f297acea37398d823e67709b3ca43acd40cc9e00c9a7db -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:47:23.953Z] + make test [2020-10-15T02:47:23.954Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-15T02:47:50.794Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-15T02:48:29.885Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-15T02:48:29.885Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-15T02:48:29.885Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-15T02:48:31.875Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.135s coverage: 21.6% of statements [2020-10-15T02:48:37.305Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.204s coverage: 97.1% of statements [2020-10-15T02:49:04.123Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.206s coverage: 9.4% of statements [2020-10-15T02:49:04.123Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.127s coverage: 21.9% of statements [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-15T02:49:04.123Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.552s coverage: 40.0% of statements [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-15T02:49:04.123Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.878s coverage: 68.9% of statements [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-15T02:49:04.123Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.198s coverage: 52.6% of statements [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-15T02:49:04.123Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.981s coverage: 68.9% of statements [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-15T02:49:04.123Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-15T02:49:04.123Z] GO111MODULE=on go vet ./... [2020-10-15T02:49:36.693Z] gofmt -l . [2020-10-15T02:49:36.694Z] [ "`gofmt -l .`" = "" ] [2020-10-15T02:49:36.694Z] ./bin/test-attribution-txt.sh [2020-10-15T02:49:36.694Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-15T02:49:37.314Z] Warning: overwriting stash ‘coverage-report’ [2020-10-15T02:49:38.151Z] Stashed 1 file(s) [Pipeline] } [2020-10-15T02:49:38.156Z] $ docker stop --time=1 8c6fab8270e53dfe92f297acea37398d823e67709b3ca43acd40cc9e00c9a7db [2020-10-15T02:49:40.604Z] $ docker rm -f 8c6fab8270e53dfe92f297acea37398d823e67709b3ca43acd40cc9e00c9a7db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-15T02:49:42.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-15T02:49:42.497Z] + ls -al . [2020-10-15T02:49:42.497Z] total 224 [2020-10-15T02:49:42.497Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 15 02:49 . [2020-10-15T02:49:42.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:46 .. [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 15 02:46 .dockerignore [2020-10-15T02:49:42.497Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 15 02:46 .git [2020-10-15T02:49:42.497Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:46 .github [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 15 02:46 .gitignore [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 15 02:46 Dockerfile.build [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 15 02:46 Jenkinsfile [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 15 02:46 LICENSE [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 15 02:46 Makefile [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 15 02:46 README.md [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 15 02:46 RELEASE-NOTES.txt [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 15 02:43 VERSION [2020-10-15T02:49:42.497Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 15 02:46 bin [2020-10-15T02:49:42.497Z] -rw-r--r-- 1 jenkins jenkins 110392 Oct 15 02:49 coverage.out [2020-10-15T02:49:42.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:46 example [2020-10-15T02:49:42.497Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 15 02:49 go.mod [2020-10-15T02:49:42.497Z] -rw-r--r-- 1 jenkins jenkins 13736 Oct 15 02:49 go.sum [2020-10-15T02:49:42.497Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 15 02:46 internal [2020-10-15T02:49:42.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:46 openapi [2020-10-15T02:49:42.497Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 15 02:46 pkg [2020-10-15T02:49:42.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 15 02:46 snap [2020-10-15T02:49:42.497Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 15 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:49:42.845Z] + 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=6f3196637d115c6207a57b03bd438428c049358e --label arch=arm64 --label version=0.0.0 . [2020-10-15T02:49:43.443Z] Sending build context to Docker daemon 2.363MB [2020-10-15T02:49:43.443Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-15T02:49:43.443Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-15T02:49:43.443Z] ---> 73bb58a2f891 [2020-10-15T02:49:43.443Z] Step 3/24 : ARG MAKE='make build' [2020-10-15T02:49:43.717Z] ---> Running in 3170076ac741 [2020-10-15T02:49:43.991Z] Removing intermediate container 3170076ac741 [2020-10-15T02:49:43.991Z] ---> f5cf8810a5af [2020-10-15T02:49:43.991Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-15T02:49:44.268Z] ---> Running in 28de7e9e359e [2020-10-15T02:49:44.865Z] Removing intermediate container 28de7e9e359e [2020-10-15T02:49:44.865Z] ---> 9ab7cf66ec52 [2020-10-15T02:49:44.865Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:49:44.865Z] ---> Running in c2acc294c7e8 [2020-10-15T02:49:45.461Z] Removing intermediate container c2acc294c7e8 [2020-10-15T02:49:45.461Z] ---> 86772c23c21b [2020-10-15T02:49:45.461Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-15T02:49:45.461Z] ---> Running in dd2165ab0e9c [2020-10-15T02:49:48.859Z] Removing intermediate container dd2165ab0e9c [2020-10-15T02:49:48.859Z] ---> 55fee875ca91 [2020-10-15T02:49:48.859Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-15T02:49:48.859Z] ---> Running in 9b8a47722782 [2020-10-15T02:49:50.288Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-15T02:49:50.887Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-15T02:49:51.866Z] OK: 142 MiB in 39 packages [2020-10-15T02:49:53.300Z] Removing intermediate container 9b8a47722782 [2020-10-15T02:49:53.300Z] ---> 65fe8412b16b [2020-10-15T02:49:53.300Z] Step 8/24 : COPY . . [2020-10-15T02:49:54.738Z] ---> e12abf0c9225 [2020-10-15T02:49:54.738Z] Step 9/24 : RUN ${MAKE} [2020-10-15T02:49:54.738Z] ---> Running in 17d278783761 [2020-10-15T02:49:56.178Z] 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-15T02:50:23.023Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-15T02:50:24.467Z] Removing intermediate container 17d278783761 [2020-10-15T02:50:24.467Z] ---> 594ad7c7654c [2020-10-15T02:50:24.467Z] Step 10/24 : FROM scratch [2020-10-15T02:50:24.467Z] ---> [2020-10-15T02:50:24.467Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-15T02:50:24.467Z] ---> Running in 0b9882b2636b [2020-10-15T02:50:25.063Z] Removing intermediate container 0b9882b2636b [2020-10-15T02:50:25.063Z] ---> c1b2efb2f566 [2020-10-15T02:50:25.063Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-15T02:50:25.063Z] ---> Running in 36f38dab676c [2020-10-15T02:50:25.336Z] Removing intermediate container 36f38dab676c [2020-10-15T02:50:25.336Z] ---> 5965524c8bd2 [2020-10-15T02:50:25.336Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-15T02:50:25.608Z] ---> Running in ed169f8a7872 [2020-10-15T02:50:25.888Z] Removing intermediate container ed169f8a7872 [2020-10-15T02:50:25.888Z] ---> 0ae02526ef57 [2020-10-15T02:50:25.888Z] Step 14/24 : WORKDIR / [2020-10-15T02:50:26.159Z] ---> Running in 97cb26755c9a [2020-10-15T02:50:26.430Z] Removing intermediate container 97cb26755c9a [2020-10-15T02:50:26.430Z] ---> d89432c52045 [2020-10-15T02:50:26.430Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-15T02:50:27.858Z] ---> 81c9a1c2e393 [2020-10-15T02:50:27.858Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-15T02:50:28.450Z] ---> d5a599eae1f0 [2020-10-15T02:50:28.451Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-15T02:50:29.040Z] ---> 65fc4243e181 [2020-10-15T02:50:29.040Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-15T02:50:29.643Z] ---> fbfc5b363a37 [2020-10-15T02:50:29.643Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-15T02:50:30.620Z] ---> d81445e256c2 [2020-10-15T02:50:30.620Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-15T02:50:30.620Z] ---> Running in 4637e6f75cb6 [2020-10-15T02:50:30.893Z] Removing intermediate container 4637e6f75cb6 [2020-10-15T02:50:30.893Z] ---> b396be76c18c [2020-10-15T02:50:30.893Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-15T02:50:31.167Z] ---> Running in a6d80a5f3d63 [2020-10-15T02:50:31.440Z] Removing intermediate container a6d80a5f3d63 [2020-10-15T02:50:31.440Z] ---> b4fba1a162de [2020-10-15T02:50:31.440Z] Step 22/24 : LABEL arch=arm64 [2020-10-15T02:50:31.718Z] ---> Running in 90801db57d67 [2020-10-15T02:50:31.995Z] Removing intermediate container 90801db57d67 [2020-10-15T02:50:31.995Z] ---> 0363ce927d1f [2020-10-15T02:50:31.995Z] Step 23/24 : LABEL git_sha=6f3196637d115c6207a57b03bd438428c049358e [2020-10-15T02:50:32.268Z] ---> Running in b389ee7d95cf [2020-10-15T02:50:32.542Z] Removing intermediate container b389ee7d95cf [2020-10-15T02:50:32.542Z] ---> 0d5de5fd9d72 [2020-10-15T02:50:32.542Z] Step 24/24 : LABEL version=0.0.0 [2020-10-15T02:50:32.815Z] ---> Running in 75c2a8a464ca [2020-10-15T02:50:33.409Z] Removing intermediate container 75c2a8a464ca [2020-10-15T02:50:33.409Z] ---> f9441bd53f2c [2020-10-15T02:50:33.409Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-15T02:50:33.409Z] Successfully built f9441bd53f2c [2020-10-15T02:50:33.409Z] 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-15T02:50:35.095Z] provisioning config files... [2020-10-15T02:50:35.107Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config2767585111183199221tmp [Pipeline] { [Pipeline] sh [2020-10-15T02:50:35.474Z] + set +x [2020-10-15T02:50:35.474Z] + curl -s https://codecov.io/bash [2020-10-15T02:50:35.474Z] + bash -s -- [2020-10-15T02:50:35.737Z] [2020-10-15T02:50:35.737Z] _____ _ [2020-10-15T02:50:35.737Z] / ____| | | [2020-10-15T02:50:35.737Z] | | ___ __| | ___ ___ _____ __ [2020-10-15T02:50:35.737Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-15T02:50:35.737Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-15T02:50:35.737Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-15T02:50:35.737Z] Bash-20201009-048fee3 [2020-10-15T02:50:35.737Z] [2020-10-15T02:50:35.737Z] [2020-10-15T02:50:35.737Z] ==> Jenkins CI detected. [2020-10-15T02:50:35.737Z] project root: . [2020-10-15T02:50:35.737Z] Fixing merge commit SHA [2020-10-15T02:50:35.737Z] --> token set from env [2020-10-15T02:50:35.737Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-15T02:50:35.737Z] ==> Running gcov in . (disable via -X gcov) [2020-10-15T02:50:35.737Z] find: ‘./.semver’: Permission denied [2020-10-15T02:50:35.737Z] ==> Python coveragepy not found [2020-10-15T02:50:35.737Z] ==> Searching for coverage reports in: [2020-10-15T02:50:35.737Z] + . [2020-10-15T02:50:35.737Z] -> Found 1 reports [2020-10-15T02:50:35.737Z] ==> Detecting git/mercurial file structure [2020-10-15T02:50:35.737Z] ==> Reading reports [2020-10-15T02:50:35.737Z] + ./coverage.out bytes=110392 [2020-10-15T02:50:35.737Z] ==> Appending adjustments [2020-10-15T02:50:35.737Z] https://docs.codecov.io/docs/fixing-reports [2020-10-15T02:50:36.319Z] find: ‘./.semver’: Permission denied [2020-10-15T02:50:36.319Z] find: ‘./.semver’: Permission denied [2020-10-15T02:50:36.319Z] find: ‘./.semver’: Permission denied [2020-10-15T02:50:36.319Z] [2020-10-15T02:50:36.319Z] + Found adjustments [2020-10-15T02:50:36.319Z] ==> Gzipping contents [2020-10-15T02:50:36.319Z] ==> Uploading reports [2020-10-15T02:50:36.319Z] url: https://codecov.io [2020-10-15T02:50:36.319Z] query: branch=PR-614&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-15T02:50:36.319Z] -> Pinging Codecov [2020-10-15T02:50:36.319Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=9121cb4fd2f17f024cc2e84f36967dd0fb0597df&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-15T02:50:36.320Z] -> Uploading to [2020-10-15T02:50:36.320Z] [2020-10-15T02:50:36.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T02:50:36.320Z] Dload Upload Total Spent Left Speed [2020-10-15T02:50:36.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-15T02:50:36.320Z] X> Failed to upload [2020-10-15T02:50:36.320Z] ==> Uploading to Codecov [2020-10-15T02:50:36.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-15T02:50:36.320Z] Dload Upload Total Spent Left Speed [2020-10-15T02:50:36.895Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18645 0 0 100 18535 0 33020 --:--:-- --:--:-- --:--:-- 32980 100 18645 100 110 100 18535 195 33007 --:--:-- --:--:-- --:--:-- 32980 [2020-10-15T02:50:36.895Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9121cb4fd2f17f024cc2e84f36967dd0fb0597df [Pipeline] } [2020-10-15T02:50:36.904Z] 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-15T02:50:39.702Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:50:40.280Z] ---> package-listing.sh [2020-10-15T02:50:40.281Z] ++ facter osfamily [2020-10-15T02:50:40.281Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-15T02:50:40.281Z] + OS_FAMILY=redhat [2020-10-15T02:50:40.281Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-15T02:50:40.281Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-15T02:50:40.281Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-15T02:50:40.281Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-15T02:50:40.281Z] + PACKAGES=/tmp/packages_start.txt [2020-10-15T02:50:40.281Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-15T02:50:40.281Z] + PACKAGES=/tmp/packages_end.txt [2020-10-15T02:50:40.281Z] + case "${OS_FAMILY}" in [2020-10-15T02:50:40.281Z] + rpm -qa [2020-10-15T02:50:40.281Z] + sort [2020-10-15T02:50:44.503Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-15T02:50:44.503Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-15T02:50:44.503Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-15T02:50:44.503Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-15T02:50:44.503Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-15T02:50:44.503Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo [2020-10-15T02:50:44.517Z] 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-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-15T02:50:44.815Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:50:45.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T02:50:45.116Z] [2020-10-15T02:50:45.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-15T02:50:45.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T02:50:45.460Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-15T02:50:45.460Z] df20fa9351a1: Pulling fs layer [2020-10-15T02:50:45.460Z] 36b3adc4ff6f: Pulling fs layer [2020-10-15T02:50:45.460Z] 8ad3a11d3b57: Pulling fs layer [2020-10-15T02:50:45.460Z] 46f8f816bc3b: Pulling fs layer [2020-10-15T02:50:45.460Z] 93b61091891f: Pulling fs layer [2020-10-15T02:50:45.460Z] 93b9cdb0e59b: Pulling fs layer [2020-10-15T02:50:45.460Z] 5e14af77c1be: Pulling fs layer [2020-10-15T02:50:45.460Z] 01666e4c0597: Pulling fs layer [2020-10-15T02:50:45.460Z] aa168da1d23b: Pulling fs layer [2020-10-15T02:50:45.460Z] 46f8f816bc3b: Waiting [2020-10-15T02:50:45.460Z] 93b61091891f: Waiting [2020-10-15T02:50:45.460Z] 93b9cdb0e59b: Waiting [2020-10-15T02:50:45.460Z] 5e14af77c1be: Waiting [2020-10-15T02:50:45.460Z] 01666e4c0597: Waiting [2020-10-15T02:50:45.460Z] aa168da1d23b: Waiting [2020-10-15T02:50:45.460Z] 36b3adc4ff6f: Download complete [2020-10-15T02:50:45.460Z] 46f8f816bc3b: Verifying Checksum [2020-10-15T02:50:45.460Z] 46f8f816bc3b: Download complete [2020-10-15T02:50:45.460Z] df20fa9351a1: Verifying Checksum [2020-10-15T02:50:45.460Z] df20fa9351a1: Download complete [2020-10-15T02:50:45.460Z] 93b9cdb0e59b: Verifying Checksum [2020-10-15T02:50:45.460Z] 93b9cdb0e59b: Download complete [2020-10-15T02:50:45.727Z] 5e14af77c1be: Verifying Checksum [2020-10-15T02:50:45.727Z] 5e14af77c1be: Download complete [2020-10-15T02:50:45.727Z] 93b61091891f: Verifying Checksum [2020-10-15T02:50:45.727Z] 93b61091891f: Download complete [2020-10-15T02:50:45.727Z] 01666e4c0597: Verifying Checksum [2020-10-15T02:50:45.727Z] 01666e4c0597: Download complete [2020-10-15T02:50:45.990Z] df20fa9351a1: Pull complete [2020-10-15T02:50:45.990Z] 8ad3a11d3b57: Verifying Checksum [2020-10-15T02:50:45.990Z] 8ad3a11d3b57: Download complete [2020-10-15T02:50:46.256Z] 36b3adc4ff6f: Pull complete [2020-10-15T02:50:46.843Z] 8ad3a11d3b57: Pull complete [2020-10-15T02:50:47.117Z] 46f8f816bc3b: Pull complete [2020-10-15T02:50:47.705Z] 93b61091891f: Pull complete [2020-10-15T02:50:47.705Z] 93b9cdb0e59b: Pull complete [2020-10-15T02:50:47.967Z] 5e14af77c1be: Pull complete [2020-10-15T02:50:47.968Z] 01666e4c0597: Pull complete [2020-10-15T02:50:48.228Z] aa168da1d23b: Verifying Checksum [2020-10-15T02:50:48.228Z] aa168da1d23b: Download complete [2020-10-15T02:50:56.388Z] aa168da1d23b: Pull complete [2020-10-15T02:50:56.388Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-15T02:50:56.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-15T02:50:56.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-15T02:50:56.583Z] prd-centos7-docker-4c-2g-5504 does not seem to be running inside a container [2020-10-15T02:50:56.630Z] $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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:10003/edgex-lftools-log-publisher:alpine cat [2020-10-15T02:51:00.353Z] $ docker top 69238c8fd318f429332e5cdfaed57b6fca04e4ee06c8fc8a61470715284d87b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-15T02:51:01.003Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-15T02:51:01.304Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-15T02:51:01.616Z] + ls /var/log/sa-host [2020-10-15T02:51:01.616Z] + sadf -c /var/log/sa-host/sa05 [2020-10-15T02:51:01.616Z] file_magic: OK [2020-10-15T02:51:01.616Z] HZ: Using current value: 100 [2020-10-15T02:51:01.616Z] file_header: OK [2020-10-15T02:51:01.616Z] 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-15T02:51:01.616Z] Statistics: [2020-10-15T02:51:01.616Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T02:51:01.616Z] File successfully converted to sysstat format version 12.2.1 [2020-10-15T02:51:01.616Z] + sadf -c /var/log/sa-host/sa15 [2020-10-15T02:51:01.616Z] file_magic: OK [2020-10-15T02:51:01.616Z] HZ: Using current value: 100 [2020-10-15T02:51:01.616Z] file_header: OK [2020-10-15T02:51:01.616Z] 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-15T02:51:01.616Z] Statistics: [2020-10-15T02:51:01.616Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-15T02:51:01.616Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-15T02:51:01.811Z] provisioning config files... [2020-10-15T02:51:01.829Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config3039103947361637645tmp [Pipeline] { [Pipeline] echo [2020-10-15T02:51:01.914Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:51:02.215Z] ---> create-netrc.sh [Pipeline] } [2020-10-15T02:51:02.224Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-15T02:51:02.424Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:51:02.724Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-15T02:51:02.737Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:51:03.035Z] ---> sudo-logs.sh [2020-10-15T02:51:03.035Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-15T02:51:03.046Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:51:03.345Z] ---> job-cost.sh [2020-10-15T02:51:03.345Z] lf-activate-venv: SKIPPING [2020-10-15T02:51:03.345Z] INFO: No Stack... [2020-10-15T02:51:04.735Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-15T02:51:05.680Z] INFO: Archiving Costs [Pipeline] echo [2020-10-15T02:51:05.694Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-15T02:51:05.991Z] ---> logs-deploy.sh [2020-10-15T02:51:05.991Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/5 [2020-10-15T02:51:05.991Z] INFO: archiving workspace using pattern(s): [2020-10-15T02:51:07.391Z] Archives upload complete. [2020-10-15T02:51:07.654Z] INFO: archiving logs to Nexus