Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 7ebf8157bed3f29606eb8346b104e57a74818c1e rather than 23e68ec4d026f4ef737f9632a434efc0d1339c0e Obtained Jenkinsfile from 7ebf8157bed3f29606eb8346b104e57a74818c1e 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 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 d07cd02ecb4437160b67c3e2c8b9f8516fc20714 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d07cd02ecb4437160b67c3e2c8b9f8516fc20714 # timeout=10 Commit message: "Merge pull request #233 from ernestojeda/fix-snap-workspace-issue" > 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. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [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.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-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: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1053 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-553 # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 23e68ec4d026f4ef737f9632a434efc0d1339c0e Merge succeeded, producing 1ef1e751dc980b640aac115d7835b7c4bd89469a Checking out Revision 1ef1e751dc980b640aac115d7835b7c4bd89469a (PR-553) > git config core.sparsecheckout # timeout=10 > git checkout -f 23e68ec4d026f4ef737f9632a434efc0d1339c0e # 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 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ef1e751dc980b640aac115d7835b7c4bd89469a # timeout=10 Commit message: "Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD" > git rev-list --no-walk 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-01T18:42:34.323Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-01T18:42:34.567Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-01T18:42:34.649Z] ========================================================= [2020-09-01T18:42:34.649Z] EdgeX Global Pipelines Version Info [2020-09-01T18:42:34.649Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-01T18:42:36.031Z] ------------------- [2020-09-01T18:42:36.031Z] stable info: [2020-09-01T18:42:36.031Z] ------------------- [2020-09-01T18:42:36.031Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-01T18:42:36.031Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T18:42:36.031Z] Message: update stable to v1.0.115 [2020-09-01T18:42:36.975Z] ------------------- [2020-09-01T18:42:36.975Z] experimental info: [2020-09-01T18:42:36.975Z] ------------------- [2020-09-01T18:42:36.975Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-01T18:42:36.975Z] Commit SHA: d07cd02ecb4437160b67c3e2c8b9f8516fc20714 [2020-09-01T18:42:36.975Z] Message: update experimental to v1.0.115 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-01T18:42:37.264Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-01T18:42:37.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-01T18:42:37.425Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-01T18:42:37.502Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-01T18:42:37.598Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-01T18:42:37.674Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-01T18:42:37.774Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-01T18:42:37.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-01T18:42:37.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-01T18:42:38.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-01T18:42:38.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-01T18:42:38.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-01T18:42:38.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-01T18:42:38.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-01T18:42:38.403Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-01T18:42:38.624Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T18:42:38.700Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T18:42:38.779Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-01T18:42:38.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-01T18:42:38.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-01T18:42:39.046Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-01T18:42:39.124Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-01T18:42:39.211Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-553 [Pipeline] echo [2020-09-01T18:42:39.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-553 [Pipeline] echo [2020-09-01T18:42:39.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-553 [Pipeline] echo [2020-09-01T18:42:39.506Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ef1e751dc980b640aac115d7835b7c4bd89469a [Pipeline] echo [2020-09-01T18:42:39.588Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ef1e75 [Pipeline] echo [2020-09-01T18:42:39.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T18:42:40.249Z] + git log --format=format:%s -1 1ef1e751dc980b640aac115d7835b7c4bd89469a [Pipeline] echo [2020-09-01T18:42:40.306Z] GIT_COMMIT: 1ef1e751dc980b640aac115d7835b7c4bd89469a, Commit Message: Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD [Pipeline] echo [2020-09-01T18:42:40.349Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:42:41.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T18:42:41.438Z] [2020-09-01T18:42:41.438Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:42:41.783Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T18:42:41.783Z] latest: Pulling from edgex-devops/git-semver [2020-09-01T18:42:41.783Z] 31603596830f: Pulling fs layer [2020-09-01T18:42:41.783Z] 2a8b12db71e7: Pulling fs layer [2020-09-01T18:42:41.783Z] 6ca5941a6612: Pulling fs layer [2020-09-01T18:42:41.783Z] ecc8261a40a4: Pulling fs layer [2020-09-01T18:42:41.783Z] ecc8261a40a4: Waiting [2020-09-01T18:42:41.783Z] 2a8b12db71e7: Download complete [2020-09-01T18:42:42.045Z] 31603596830f: Verifying Checksum [2020-09-01T18:42:42.046Z] 31603596830f: Download complete [2020-09-01T18:42:42.046Z] ecc8261a40a4: Verifying Checksum [2020-09-01T18:42:42.046Z] ecc8261a40a4: Download complete [2020-09-01T18:42:42.046Z] 6ca5941a6612: Verifying Checksum [2020-09-01T18:42:42.046Z] 6ca5941a6612: Download complete [2020-09-01T18:42:42.308Z] 31603596830f: Pull complete [2020-09-01T18:42:42.308Z] 2a8b12db71e7: Pull complete [2020-09-01T18:42:43.253Z] 6ca5941a6612: Pull complete [2020-09-01T18:42:43.253Z] ecc8261a40a4: Pull complete [2020-09-01T18:42:43.253Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-01T18:42:43.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-01T18:42:43.253Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-01T18:42:43.347Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2020-09-01T18:42:43.392Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-01T18:42:45.432Z] $ docker top 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-01T18:42:45.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T18:42:45.712Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T18:42:45.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T18:42:45.925Z] $ docker exec 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 ssh-agent [2020-09-01T18:42:46.080Z] SSH_AUTH_SOCK=/tmp/ssh-onOKnj82fHyn/agent.11 [2020-09-01T18:42:46.080Z] SSH_AGENT_PID=16 [2020-09-01T18:42:46.091Z] Running ssh-add (command line suppressed) [2020-09-01T18:42:46.210Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_8898381270089545193.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_8898381270089545193.key) [2020-09-01T18:42:46.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T18:42:46.634Z] + git describe --exact-match --tags HEAD [2020-09-01T18:42:46.634Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-01T18:42:46.652Z] $ docker exec --env ******** --env ******** 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 ssh-agent -k [2020-09-01T18:42:46.766Z] unset SSH_AUTH_SOCK; [2020-09-01T18:42:46.766Z] unset SSH_AGENT_PID; [2020-09-01T18:42:46.766Z] echo Agent pid 16 killed; [2020-09-01T18:42:46.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-01T18:42:46.887Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-01T18:42:46.887Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-01T18:42:46.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-01T18:42:46.972Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-01T18:42:47.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-01T18:42:47.150Z] $ docker exec 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 ssh-agent [2020-09-01T18:42:47.327Z] SSH_AUTH_SOCK=/tmp/ssh-6VvL2CdeDBLa/agent.44 [2020-09-01T18:42:47.327Z] SSH_AGENT_PID=49 [2020-09-01T18:42:47.334Z] Running ssh-add (command line suppressed) [2020-09-01T18:42:47.457Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3637808295345171488.key (/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/private_key_3637808295345171488.key) [2020-09-01T18:42:47.511Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-01T18:42:47.841Z] + git semver init [2020-09-01T18:42:47.841Z] # -> Open(): unable to determine branch for HEAD [2020-09-01T18:42:47.841Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.git [2020-09-01T18:42:47.841Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-09-01T18:42:47.841Z] # $SEMVER_REMOTE_NAME = origin [2020-09-01T18:42:47.841Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-01T18:42:47.841Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-01T18:42:47.841Z] # $SEMVER_BRANCH = PR-553 [2020-09-01T18:42:47.841Z] # $SEMVER_TEMP = /tmp/semver-646299028 [2020-09-01T18:42:47.841Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-01T18:42:48.414Z] # '/tmp/semver-646299028' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver' [2020-09-01T18:42:48.414Z] # -> Force: false [2020-09-01T18:42:48.414Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-553/.semver [Pipeline] } [2020-09-01T18:42:48.427Z] $ docker exec --env ******** --env ******** 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 ssh-agent -k [2020-09-01T18:42:48.537Z] unset SSH_AUTH_SOCK; [2020-09-01T18:42:48.538Z] unset SSH_AGENT_PID; [2020-09-01T18:42:48.538Z] echo Agent pid 49 killed; [2020-09-01T18:42:48.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-01T18:42:49.026Z] + git semver [Pipeline] } [2020-09-01T18:42:49.044Z] $ docker stop --time=1 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 [2020-09-01T18:42:50.411Z] $ docker rm -f 1766ea3bc0292bd59abcb75c46ab736d3bcc3eea924ab1e18fa30d56b51bb072 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-01T18:42:51.362Z] Stashed 32 file(s) [Pipeline] echo [2020-09-01T18:42:51.364Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-01T18:42:51.449Z] Archived original version: [0.0.0] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-09-01T18:43:06.936Z] Still waiting to schedule task [2020-09-01T18:43:06.936Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-01T18:43:06.938Z] Still waiting to schedule task [2020-09-01T18:43:06.938Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1051’ is offline [2020-09-01T18:44:28.850Z] Running on prd-centos7-docker-4c-2g-1056 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-09-01T18:44:28.898Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2020-09-01T18:44:31.325Z] using credential edgex-jenkins-ssh [2020-09-01T18:44:31.381Z] Cloning the remote Git repository [2020-09-01T18:44:31.381Z] Cloning with configured refspecs honoured and without tags [2020-09-01T18:44:31.404Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:44:31.469Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2020-09-01T18:44:31.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:44:31.914Z] > git --version # timeout=10 [2020-09-01T18:44:31.933Z] > git --version # 'git version 2.16.5' [2020-09-01T18:44:31.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:44:31.959Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:44:32.622Z] Fetching without tags [2020-09-01T18:44:32.973Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 23e68ec4d026f4ef737f9632a434efc0d1339c0e [2020-09-01T18:44:33.074Z] Merge succeeded, producing 37ff820409ee23abf7febc9de1177e03f382e2c0 [2020-09-01T18:44:33.074Z] Checking out Revision 37ff820409ee23abf7febc9de1177e03f382e2c0 (PR-553) [2020-09-01T18:44:32.589Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T18:44:32.599Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-09-01T18:44:32.605Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:44:32.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T18:44:32.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:44:32.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:44:32.631Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:44:32.981Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T18:44:32.986Z] > git checkout -f 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 [2020-09-01T18:44:33.031Z] > git remote # timeout=10 [2020-09-01T18:44:33.036Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T18:44:33.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:44:33.046Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-01T18:44:33.069Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T18:44:33.077Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T18:44:33.081Z] > git checkout -f 37ff820409ee23abf7febc9de1177e03f382e2c0 # timeout=10 [2020-09-01T18:44:36.653Z] Commit message: "Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD" [2020-09-01T18:44:36.657Z] > git rev-list --no-walk 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-01T18:44:37.514Z] ========================================================= [2020-09-01T18:44:37.514Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-01T18:44:37.514Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:44:38.114Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine . [2020-09-01T18:44:39.067Z] Sending build context to Docker daemon 3.149MB [2020-09-01T18:44:39.067Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T18:44:39.067Z] Step 2/8 : FROM ${BASE} [2020-09-01T18:44:39.067Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-01T18:44:39.067Z] df20fa9351a1: Pulling fs layer [2020-09-01T18:44:39.067Z] ed8968b2872e: Pulling fs layer [2020-09-01T18:44:39.067Z] a92cc7c5fd73: Pulling fs layer [2020-09-01T18:44:39.067Z] 2dd03ba5bac4: Pulling fs layer [2020-09-01T18:44:39.067Z] 1e091d79d1de: Pulling fs layer [2020-09-01T18:44:39.067Z] 481702a1767f: Pulling fs layer [2020-09-01T18:44:39.067Z] f64a6f60c768: Pulling fs layer [2020-09-01T18:44:39.067Z] e78d2573fc39: Pulling fs layer [2020-09-01T18:44:39.067Z] e876d2f968b6: Pulling fs layer [2020-09-01T18:44:39.067Z] ce8a83651883: Pulling fs layer [2020-09-01T18:44:39.067Z] 07967f4d0e4b: Pulling fs layer [2020-09-01T18:44:39.067Z] f64a6f60c768: Waiting [2020-09-01T18:44:39.067Z] e78d2573fc39: Waiting [2020-09-01T18:44:39.067Z] e876d2f968b6: Waiting [2020-09-01T18:44:39.067Z] ce8a83651883: Waiting [2020-09-01T18:44:39.067Z] 07967f4d0e4b: Waiting [2020-09-01T18:44:39.067Z] 2dd03ba5bac4: Waiting [2020-09-01T18:44:39.067Z] 1e091d79d1de: Waiting [2020-09-01T18:44:39.067Z] 481702a1767f: Waiting [2020-09-01T18:44:39.067Z] a92cc7c5fd73: Verifying Checksum [2020-09-01T18:44:39.067Z] a92cc7c5fd73: Download complete [2020-09-01T18:44:39.067Z] ed8968b2872e: Verifying Checksum [2020-09-01T18:44:39.067Z] ed8968b2872e: Download complete [2020-09-01T18:44:39.067Z] 1e091d79d1de: Verifying Checksum [2020-09-01T18:44:39.067Z] 1e091d79d1de: Download complete [2020-09-01T18:44:39.067Z] 481702a1767f: Download complete [2020-09-01T18:44:39.067Z] df20fa9351a1: Verifying Checksum [2020-09-01T18:44:39.067Z] df20fa9351a1: Download complete [2020-09-01T18:44:39.336Z] df20fa9351a1: Pull complete [2020-09-01T18:44:39.933Z] f64a6f60c768: Verifying Checksum [2020-09-01T18:44:39.933Z] f64a6f60c768: Download complete [2020-09-01T18:44:39.933Z] e876d2f968b6: Verifying Checksum [2020-09-01T18:44:39.933Z] e876d2f968b6: Download complete [2020-09-01T18:44:40.515Z] 2dd03ba5bac4: Verifying Checksum [2020-09-01T18:44:40.515Z] 2dd03ba5bac4: Download complete [2020-09-01T18:44:40.515Z] e78d2573fc39: Verifying Checksum [2020-09-01T18:44:40.515Z] e78d2573fc39: Download complete [2020-09-01T18:44:40.515Z] ce8a83651883: Verifying Checksum [2020-09-01T18:44:40.515Z] ce8a83651883: Download complete [2020-09-01T18:44:40.515Z] 07967f4d0e4b: Verifying Checksum [2020-09-01T18:44:41.902Z] ed8968b2872e: Pull complete [2020-09-01T18:44:42.167Z] a92cc7c5fd73: Pull complete [2020-09-01T18:44:47.493Z] 2dd03ba5bac4: Pull complete [2020-09-01T18:44:47.493Z] 1e091d79d1de: Pull complete [2020-09-01T18:44:47.757Z] 481702a1767f: Pull complete [2020-09-01T18:44:54.398Z] f64a6f60c768: Pull complete [2020-09-01T18:44:56.960Z] e78d2573fc39: Pull complete [2020-09-01T18:44:56.960Z] e876d2f968b6: Pull complete [2020-09-01T18:44:58.204Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1055 in /w/workspace/dgexfoundry_device-sdk-go_PR-553 [Pipeline] { [Pipeline] ws [2020-09-01T18:44:58.257Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2020-09-01T18:44:58.422Z] ce8a83651883: Pull complete [2020-09-01T18:44:58.422Z] 07967f4d0e4b: Pull complete [2020-09-01T18:44:58.422Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-01T18:44:58.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-01T18:44:58.687Z] ---> 5d7c900382c6 [2020-09-01T18:44:58.687Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T18:44:59.263Z] ---> Running in f15f1c4229e9 [2020-09-01T18:44:59.263Z] Removing intermediate container f15f1c4229e9 [2020-09-01T18:44:59.263Z] ---> 9bd14f49c9da [2020-09-01T18:44:59.263Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T18:44:59.527Z] ---> Running in 1affadd65d34 [2020-09-01T18:45:00.935Z] Removing intermediate container 1affadd65d34 [2020-09-01T18:45:00.935Z] ---> 3cbdb82eea36 [2020-09-01T18:45:00.935Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-01T18:45:00.935Z] ---> Running in 6c6749334f10 [2020-09-01T18:45:01.516Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T18:45:02.087Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T18:45:03.045Z] OK: 166 MiB in 39 packages [2020-09-01T18:45:03.262Z] using credential edgex-jenkins-ssh [2020-09-01T18:45:03.306Z] Removing intermediate container 6c6749334f10 [2020-09-01T18:45:03.306Z] ---> 1fab14f294a0 [2020-09-01T18:45:03.306Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-01T18:45:03.306Z] ---> Running in b57ce54c5ad7 [2020-09-01T18:45:03.319Z] Cloning the remote Git repository [2020-09-01T18:45:03.319Z] Cloning with configured refspecs honoured and without tags [2020-09-01T18:45:03.568Z] Removing intermediate container b57ce54c5ad7 [2020-09-01T18:45:03.568Z] ---> 6762df1c0252 [2020-09-01T18:45:03.568Z] Step 7/8 : COPY . . [2020-09-01T18:45:04.512Z] ---> ee32ff72157e [2020-09-01T18:45:04.512Z] Step 8/8 : RUN go mod download [2020-09-01T18:45:03.390Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:45:03.499Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2020-09-01T18:45:03.567Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:45:03.568Z] > git --version # timeout=10 [2020-09-01T18:45:03.587Z] > git --version # 'git version 2.17.1' [2020-09-01T18:45:03.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:45:03.658Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:45:04.775Z] ---> Running in 75457405c389 [2020-09-01T18:45:05.691Z] Fetching without tags [2020-09-01T18:45:05.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T18:45:05.637Z] > git config --add remote.origin.fetch +refs/pull/553/head:refs/remotes/origin/PR-553 # timeout=10 [2020-09-01T18:45:05.652Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:45:05.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-01T18:45:05.710Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-01T18:45:05.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:45:05.724Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/553/head:refs/remotes/origin/PR-553 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-01T18:45:06.247Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 23e68ec4d026f4ef737f9632a434efc0d1339c0e [2020-09-01T18:45:06.548Z] Merge succeeded, producing 373135874f1200cd9f7c7d6ef2105f410c064681 [2020-09-01T18:45:06.549Z] Checking out Revision 373135874f1200cd9f7c7d6ef2105f410c064681 (PR-553) [2020-09-01T18:45:06.693Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T18:45:06.693Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T18:45:06.693Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T18:45:06.693Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T18:45:06.693Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T18:45:06.955Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T18:45:06.955Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T18:45:06.955Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T18:45:06.955Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-01T18:45:06.955Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T18:45:06.955Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T18:45:06.955Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T18:45:06.272Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T18:45:06.291Z] > git checkout -f 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 [2020-09-01T18:45:06.393Z] > git remote # timeout=10 [2020-09-01T18:45:06.408Z] > git config --get remote.origin.url # timeout=10 [2020-09-01T18:45:06.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-01T18:45:06.427Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-01T18:45:06.506Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-01T18:45:06.559Z] > git config core.sparsecheckout # timeout=10 [2020-09-01T18:45:06.601Z] > git checkout -f 373135874f1200cd9f7c7d6ef2105f410c064681 # timeout=10 [2020-09-01T18:45:07.217Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T18:45:07.217Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T18:45:07.217Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T18:45:07.217Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T18:45:07.217Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T18:45:07.217Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T18:45:07.217Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T18:45:07.479Z] go: finding github.com/google/uuid v1.1.0 [2020-09-01T18:45:07.479Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T18:45:07.479Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T18:45:07.479Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T18:45:07.479Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T18:45:07.479Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T18:45:07.479Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T18:45:07.739Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T18:45:07.739Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T18:45:07.739Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T18:45:07.739Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-01T18:45:07.739Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T18:45:07.739Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T18:45:07.739Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T18:45:08.001Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-01T18:45:08.001Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T18:45:08.001Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T18:45:08.001Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T18:45:08.001Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T18:45:08.001Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T18:45:08.001Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T18:45:08.001Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T18:45:08.262Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-01T18:45:08.262Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T18:45:08.262Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T18:45:08.262Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T18:45:08.262Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-01T18:45:08.262Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T18:45:08.524Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T18:45:08.524Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T18:45:08.524Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T18:45:08.524Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T18:45:08.524Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T18:45:08.524Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T18:45:08.524Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T18:45:08.785Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T18:45:08.785Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T18:45:08.785Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-01T18:45:08.785Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T18:45:08.785Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T18:45:08.785Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T18:45:08.785Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T18:45:09.047Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T18:45:09.047Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T18:45:09.047Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-01T18:45:09.047Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T18:45:09.047Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T18:45:09.307Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T18:45:09.307Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T18:45:10.895Z] Commit message: "Merge commit '7ebf8157bed3f29606eb8346b104e57a74818c1e' into HEAD" [2020-09-01T18:45:10.909Z] > git rev-list --no-walk 23e68ec4d026f4ef737f9632a434efc0d1339c0e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-01T18:45:12.431Z] ========================================================= [2020-09-01T18:45:12.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-01T18:45:12.431Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:45:13.709Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine . [2020-09-01T18:45:14.711Z] Sending build context to Docker daemon 3.151MB [2020-09-01T18:45:14.711Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-01T18:45:14.711Z] Step 2/8 : FROM ${BASE} [2020-09-01T18:45:14.986Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-01T18:45:14.986Z] b538f80385f9: Pulling fs layer [2020-09-01T18:45:14.986Z] 74f711af9a0d: Pulling fs layer [2020-09-01T18:45:14.986Z] 99f96fe45779: Pulling fs layer [2020-09-01T18:45:14.986Z] fd7a069fd194: Pulling fs layer [2020-09-01T18:45:14.986Z] 66aa3694b03b: Pulling fs layer [2020-09-01T18:45:14.986Z] 170f70906a0f: Pulling fs layer [2020-09-01T18:45:14.986Z] ad7c5574e4b9: Pulling fs layer [2020-09-01T18:45:14.986Z] e772456be8f7: Pulling fs layer [2020-09-01T18:45:14.986Z] c890913d741a: Pulling fs layer [2020-09-01T18:45:14.986Z] 2480fcc9aa5a: Pulling fs layer [2020-09-01T18:45:14.986Z] 09adf4765672: Pulling fs layer [2020-09-01T18:45:14.986Z] 66aa3694b03b: Waiting [2020-09-01T18:45:14.986Z] 170f70906a0f: Waiting [2020-09-01T18:45:14.986Z] ad7c5574e4b9: Waiting [2020-09-01T18:45:14.986Z] e772456be8f7: Waiting [2020-09-01T18:45:14.986Z] c890913d741a: Waiting [2020-09-01T18:45:14.986Z] 2480fcc9aa5a: Waiting [2020-09-01T18:45:14.986Z] 09adf4765672: Waiting [2020-09-01T18:45:14.986Z] fd7a069fd194: Waiting [2020-09-01T18:45:14.986Z] 99f96fe45779: Verifying Checksum [2020-09-01T18:45:14.986Z] 99f96fe45779: Download complete [2020-09-01T18:45:14.986Z] 74f711af9a0d: Verifying Checksum [2020-09-01T18:45:14.986Z] 74f711af9a0d: Download complete [2020-09-01T18:45:14.986Z] 66aa3694b03b: Verifying Checksum [2020-09-01T18:45:14.986Z] 66aa3694b03b: Download complete [2020-09-01T18:45:14.986Z] 170f70906a0f: Verifying Checksum [2020-09-01T18:45:14.986Z] 170f70906a0f: Download complete [2020-09-01T18:45:14.986Z] b538f80385f9: Verifying Checksum [2020-09-01T18:45:14.986Z] b538f80385f9: Download complete [2020-09-01T18:45:15.972Z] b538f80385f9: Pull complete [2020-09-01T18:45:16.578Z] 74f711af9a0d: Pull complete [2020-09-01T18:45:16.862Z] 99f96fe45779: Pull complete [2020-09-01T18:45:17.491Z] Removing intermediate container 75457405c389 [2020-09-01T18:45:17.491Z] ---> 22e5af0e43ca [2020-09-01T18:45:17.491Z] Successfully built 22e5af0e43ca [2020-09-01T18:45:17.491Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:45:18.196Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-01T18:45:18.197Z] . [Pipeline] withDockerContainer [2020-09-01T18:45:18.291Z] prd-centos7-docker-4c-2g-1056 does not seem to be running inside a container [2020-09-01T18:45:18.297Z] ad7c5574e4b9: Verifying Checksum [2020-09-01T18:45:18.298Z] ad7c5574e4b9: Download complete [2020-09-01T18:45:18.298Z] c890913d741a: Download complete [2020-09-01T18:45:18.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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-x86_64 cat [2020-09-01T18:45:19.580Z] $ docker top 7cace25887e51910e3e948a1fc8d17ee70b0749ccf4abd67545436e91e7ed623 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T18:45:20.059Z] + go version [2020-09-01T18:45:20.059Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-01T18:45:20.286Z] 2480fcc9aa5a: Verifying Checksum [2020-09-01T18:45:20.286Z] 2480fcc9aa5a: Download complete [2020-09-01T18:45:20.366Z] + make test [2020-09-01T18:45:20.366Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-01T18:45:20.557Z] e772456be8f7: Verifying Checksum [2020-09-01T18:45:20.558Z] e772456be8f7: Download complete [2020-09-01T18:45:20.829Z] 09adf4765672: Verifying Checksum [2020-09-01T18:45:20.829Z] 09adf4765672: Download complete [2020-09-01T18:45:20.829Z] fd7a069fd194: Download complete [2020-09-01T18:45:21.314Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-01T18:45:31.416Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-01T18:45:31.416Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-01T18:45:31.416Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-01T18:45:31.416Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.005s coverage: 21.0% of statements [2020-09-01T18:45:32.001Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.049s coverage: 95.7% of statements [2020-09-01T18:45:33.234Z] fd7a069fd194: Pull complete [2020-09-01T18:45:33.234Z] 66aa3694b03b: Pull complete [2020-09-01T18:45:33.234Z] 170f70906a0f: Pull complete [2020-09-01T18:45:36.636Z] ad7c5574e4b9: Pull complete [2020-09-01T18:45:40.942Z] e772456be8f7: Pull complete [2020-09-01T18:45:40.942Z] c890913d741a: Pull complete [2020-09-01T18:45:43.567Z] 2480fcc9aa5a: Pull complete [2020-09-01T18:45:43.567Z] 09adf4765672: Pull complete [2020-09-01T18:45:43.567Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-01T18:45:43.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-01T18:45:43.567Z] ---> 2248a725d1cf [2020-09-01T18:45:43.567Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T18:45:47.902Z] ---> Running in 375549bc8135 [2020-09-01T18:45:47.902Z] Removing intermediate container 375549bc8135 [2020-09-01T18:45:47.902Z] ---> 7349087b4ec7 [2020-09-01T18:45:47.902Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T18:45:47.902Z] ---> Running in 7cc19cf304ab [2020-09-01T18:45:50.528Z] Removing intermediate container 7cc19cf304ab [2020-09-01T18:45:50.528Z] ---> bb2e59075fe5 [2020-09-01T18:45:50.528Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-01T18:45:50.528Z] ---> Running in a8e77ae18fd1 [2020-09-01T18:45:51.965Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T18:45:52.936Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T18:45:53.536Z] OK: 142 MiB in 39 packages [2020-09-01T18:45:54.513Z] Removing intermediate container a8e77ae18fd1 [2020-09-01T18:45:54.513Z] ---> c5819a3070ad [2020-09-01T18:45:54.513Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-01T18:45:54.783Z] ---> Running in ebe714a6706d [2020-09-01T18:45:55.059Z] Removing intermediate container ebe714a6706d [2020-09-01T18:45:55.059Z] ---> 21b52e170033 [2020-09-01T18:45:55.059Z] Step 7/8 : COPY . . [2020-09-01T18:45:56.486Z] ---> 0af7413fc745 [2020-09-01T18:45:56.486Z] Step 8/8 : RUN go mod download [2020-09-01T18:45:56.486Z] ---> Running in b3ebe8dbeb2b [2020-09-01T18:45:59.863Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-01T18:45:59.863Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-01T18:45:59.863Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-01T18:45:59.863Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-01T18:45:59.863Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-01T18:45:59.863Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-01T18:45:59.863Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-01T18:45:59.863Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-01T18:45:59.863Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-01T18:45:59.863Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-01T18:45:59.863Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-01T18:45:59.863Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-01T18:45:59.863Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-01T18:45:59.863Z] go: finding github.com/fatih/color v1.7.0 [2020-09-01T18:45:59.863Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-01T18:45:59.863Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-01T18:45:59.863Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-01T18:45:59.863Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-01T18:46:00.133Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-01T18:46:00.133Z] go: finding github.com/google/uuid v1.1.0 [2020-09-01T18:46:00.133Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-01T18:46:00.133Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-01T18:46:00.133Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-01T18:46:00.133Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-01T18:46:00.133Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-01T18:46:00.402Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-01T18:46:00.402Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-01T18:46:00.402Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-01T18:46:00.402Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-01T18:46:00.402Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-01T18:46:00.402Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-01T18:46:00.402Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-01T18:46:00.671Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-01T18:46:00.671Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-01T18:46:00.671Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-01T18:46:00.671Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-01T18:46:00.671Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-01T18:46:00.671Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-01T18:46:00.671Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-01T18:46:00.941Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-01T18:46:00.941Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-01T18:46:00.941Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-01T18:46:00.941Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-01T18:46:00.941Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-01T18:46:00.941Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-01T18:46:00.941Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-01T18:46:01.212Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-01T18:46:01.212Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-01T18:46:01.212Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-01T18:46:01.212Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-01T18:46:01.212Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-01T18:46:01.212Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-01T18:46:01.212Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-01T18:46:01.483Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-01T18:46:01.483Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-01T18:46:01.483Z] go: finding github.com/posener/complete v1.1.1 [2020-09-01T18:46:01.483Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-01T18:46:01.483Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-01T18:46:01.483Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-01T18:46:01.483Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-01T18:46:01.754Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-01T18:46:01.754Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-01T18:46:01.754Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-01T18:46:01.754Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-01T18:46:01.754Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-01T18:46:01.754Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-01T18:46:02.026Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-01T18:46:02.026Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-01T18:46:04.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.008s coverage: 8.6% of statements [2020-09-01T18:46:04.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.028s coverage: 21.7% of statements [2020-09-01T18:46:04.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-01T18:46:04.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.020s coverage: 37.0% of statements [2020-09-01T18:46:04.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-01T18:46:04.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.029s coverage: 65.4% of statements [2020-09-01T18:46:04.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-01T18:46:04.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-01T18:46:04.149Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-01T18:46:04.149Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.015s coverage: 52.6% of statements [2020-09-01T18:46:04.149Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.106s coverage: 68.9% of statements [2020-09-01T18:46:04.149Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-01T18:46:04.149Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-01T18:46:04.149Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T18:46:04.149Z] gofmt -l . [2020-09-01T18:46:04.418Z] [ "`gofmt -l .`" = "" ] [2020-09-01T18:46:04.418Z] ./bin/test-attribution-txt.sh [2020-09-01T18:46:04.992Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-01T18:46:05.593Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T18:46:05.600Z] $ docker stop --time=1 7cace25887e51910e3e948a1fc8d17ee70b0749ccf4abd67545436e91e7ed623 [2020-09-01T18:46:07.111Z] $ docker rm -f 7cace25887e51910e3e948a1fc8d17ee70b0749ccf4abd67545436e91e7ed623 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T18:46:09.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T18:46:10.004Z] + ls -al . [2020-09-01T18:46:10.004Z] total 188 [2020-09-01T18:46:10.004Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 1 18:46 . [2020-09-01T18:46:10.004Z] drwxrwxr-x. 4 jenkins jenkins 30 Sep 1 18:44 .. [2020-09-01T18:46:10.004Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 1 18:44 bin [2020-09-01T18:46:10.004Z] -rw-r--r--. 1 jenkins jenkins 111650 Sep 1 18:46 coverage.out [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 1 18:44 Dockerfile.build [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 1 18:44 .dockerignore [2020-09-01T18:46:10.004Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 1 18:44 example [2020-09-01T18:46:10.004Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 1 18:44 .git [2020-09-01T18:46:10.004Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 1 18:44 .github [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 1 18:44 .gitignore [2020-09-01T18:46:10.004Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 1 18:46 go.mod [2020-09-01T18:46:10.004Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 1 18:46 go.sum [2020-09-01T18:46:10.004Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 1 18:44 internal [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 1 18:44 Jenkinsfile [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 1 18:44 LICENSE [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 1 18:44 Makefile [2020-09-01T18:46:10.004Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 1 18:44 openapi [2020-09-01T18:46:10.004Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 1 18:44 pkg [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 1 18:44 README.md [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 1 18:44 RELEASE-NOTES.txt [2020-09-01T18:46:10.004Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 1 18:44 .semver [2020-09-01T18:46:10.004Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 1 18:44 snap [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 1 18:42 VERSION [2020-09-01T18:46:10.004Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 1 18:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:46:10.308Z] + 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=1ef1e751dc980b640aac115d7835b7c4bd89469a --label arch=amd64 --label version=0.0.0 . [2020-09-01T18:46:10.572Z] Sending build context to Docker daemon 3.262MB [2020-09-01T18:46:10.572Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-01T18:46:10.572Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-01T18:46:10.572Z] ---> 22e5af0e43ca [2020-09-01T18:46:10.572Z] Step 3/24 : ARG MAKE='make build' [2020-09-01T18:46:10.834Z] ---> Running in 107bab5aa053 [2020-09-01T18:46:11.096Z] Removing intermediate container 107bab5aa053 [2020-09-01T18:46:11.096Z] ---> 08c83ca51cee [2020-09-01T18:46:11.096Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-01T18:46:11.096Z] ---> Running in 4b70dc75bed9 [2020-09-01T18:46:11.358Z] Removing intermediate container 4b70dc75bed9 [2020-09-01T18:46:11.358Z] ---> f520f059e5e1 [2020-09-01T18:46:11.358Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T18:46:11.358Z] ---> Running in 60e19d350148 [2020-09-01T18:46:11.620Z] Removing intermediate container 60e19d350148 [2020-09-01T18:46:11.620Z] ---> 3f77082a3314 [2020-09-01T18:46:11.620Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T18:46:11.620Z] ---> Running in 0730219fd6d9 [2020-09-01T18:46:12.208Z] Removing intermediate container b3ebe8dbeb2b [2020-09-01T18:46:12.208Z] ---> 43591c7cc369 [2020-09-01T18:46:12.208Z] Successfully built 43591c7cc369 [2020-09-01T18:46:12.208Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-09-01T18:46:12.564Z] Removing intermediate container 0730219fd6d9 [2020-09-01T18:46:12.564Z] ---> dc39ac61685e [2020-09-01T18:46:12.564Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-01T18:46:12.564Z] ---> Running in c79dcc4f2f9d [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:46:12.889Z] + docker inspect -f . ci-base-image-arm64 [2020-09-01T18:46:12.889Z] . [Pipeline] withDockerContainer [2020-09-01T18:46:13.136Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-01T18:46:13.169Z] prd-ubuntu18.04-docker-arm64-4c-16g-1055 does not seem to be running inside a container [2020-09-01T18:46:13.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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-09-01T18:46:13.709Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-01T18:46:14.281Z] OK: 166 MiB in 39 packages [2020-09-01T18:46:14.853Z] Removing intermediate container c79dcc4f2f9d [2020-09-01T18:46:14.854Z] ---> 1decc9ece924 [2020-09-01T18:46:14.854Z] Step 8/24 : COPY . . [2020-09-01T18:46:15.079Z] $ docker top 19c1e833e6e2fe23693c34535062461ddf5055978da89e3adef3aa4f88c2282e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-01T18:46:15.800Z] ---> f5072cb2b452 [2020-09-01T18:46:15.800Z] Step 9/24 : RUN ${MAKE} [2020-09-01T18:46:15.800Z] ---> Running in 24651b687835 [2020-09-01T18:46:16.396Z] 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-09-01T18:46:16.494Z] + go version [2020-09-01T18:46:16.494Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-01T18:46:17.548Z] + make test [2020-09-01T18:46:17.548Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-01T18:46:18.530Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-01T18:46:24.669Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-01T18:46:26.068Z] Removing intermediate container 24651b687835 [2020-09-01T18:46:26.068Z] ---> c257ca5a447f [2020-09-01T18:46:26.068Z] Step 10/24 : FROM scratch [2020-09-01T18:46:26.068Z] ---> [2020-09-01T18:46:26.068Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T18:46:26.338Z] ---> Running in 9b673e674124 [2020-09-01T18:46:26.338Z] Removing intermediate container 9b673e674124 [2020-09-01T18:46:26.338Z] ---> 8e68eb90f0a0 [2020-09-01T18:46:26.338Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-01T18:46:26.338Z] ---> Running in cd52754599c6 [2020-09-01T18:46:26.600Z] Removing intermediate container cd52754599c6 [2020-09-01T18:46:26.600Z] ---> 4a352f87e07b [2020-09-01T18:46:26.600Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-01T18:46:26.600Z] ---> Running in ab8f455eaf12 [2020-09-01T18:46:26.861Z] Removing intermediate container ab8f455eaf12 [2020-09-01T18:46:26.861Z] ---> a975b7b54fc2 [2020-09-01T18:46:26.861Z] Step 14/24 : WORKDIR / [2020-09-01T18:46:26.861Z] ---> Running in ea814338fe26 [2020-09-01T18:46:26.861Z] Removing intermediate container ea814338fe26 [2020-09-01T18:46:26.861Z] ---> 9fd63ed07659 [2020-09-01T18:46:26.861Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-01T18:46:27.435Z] ---> b7c5e39d6d6a [2020-09-01T18:46:27.435Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-01T18:46:27.697Z] ---> ba6bf83079fc [2020-09-01T18:46:27.697Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-01T18:46:27.958Z] ---> 44f9485f0537 [2020-09-01T18:46:27.959Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-01T18:46:28.221Z] ---> 53a9d51b751f [2020-09-01T18:46:28.221Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-01T18:46:28.221Z] ---> b6ad60644523 [2020-09-01T18:46:28.221Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-01T18:46:28.482Z] ---> Running in 9558371717c5 [2020-09-01T18:46:28.482Z] Removing intermediate container 9558371717c5 [2020-09-01T18:46:28.482Z] ---> 2baa72a6c003 [2020-09-01T18:46:28.482Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-01T18:46:28.482Z] ---> Running in 21bbb426a90a [2020-09-01T18:46:28.745Z] Removing intermediate container 21bbb426a90a [2020-09-01T18:46:28.745Z] ---> f9fdf16b85aa [2020-09-01T18:46:28.745Z] Step 22/24 : LABEL arch=amd64 [2020-09-01T18:46:28.745Z] ---> Running in b2482510f7bc [2020-09-01T18:46:29.006Z] Removing intermediate container b2482510f7bc [2020-09-01T18:46:29.006Z] ---> d48810a08964 [2020-09-01T18:46:29.006Z] Step 23/24 : LABEL git_sha=1ef1e751dc980b640aac115d7835b7c4bd89469a [2020-09-01T18:46:29.006Z] ---> Running in c0b8667d9a57 [2020-09-01T18:46:29.268Z] Removing intermediate container c0b8667d9a57 [2020-09-01T18:46:29.268Z] ---> 49154742b5b3 [2020-09-01T18:46:29.268Z] Step 24/24 : LABEL version=0.0.0 [2020-09-01T18:46:29.268Z] ---> Running in e1b709a22101 [2020-09-01T18:46:29.268Z] Removing intermediate container e1b709a22101 [2020-09-01T18:46:29.268Z] ---> 68a043dabd18 [2020-09-01T18:46:29.268Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T18:46:29.268Z] Successfully built 68a043dabd18 [2020-09-01T18:46:29.268Z] Successfully tagged docker-device-sdk-simple: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-09-01T18:46:45.368Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-01T18:46:45.368Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-01T18:46:45.368Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-01T18:46:47.383Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.024s coverage: 21.0% of statements [2020-09-01T18:46:50.018Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.147s coverage: 95.7% of statements [2020-09-01T18:47:22.370Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.019s coverage: 8.6% of statements [2020-09-01T18:47:22.370Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.021s coverage: 21.7% of statements [2020-09-01T18:47:22.370Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-01T18:47:22.370Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.099s coverage: 37.0% of statements [2020-09-01T18:47:22.370Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-01T18:47:22.370Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.121s coverage: 65.4% of statements [2020-09-01T18:47:22.370Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-01T18:47:22.370Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-01T18:47:22.370Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-01T18:47:22.370Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements [2020-09-01T18:47:22.370Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.350s coverage: 68.9% of statements [2020-09-01T18:47:22.370Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-01T18:47:22.370Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-01T18:47:22.370Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-01T18:47:24.993Z] gofmt -l . [2020-09-01T18:47:25.584Z] [ "`gofmt -l .`" = "" ] [2020-09-01T18:47:25.856Z] ./bin/test-attribution-txt.sh [2020-09-01T18:47:26.451Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-01T18:47:27.140Z] Warning: overwriting stash ‘coverage-report’ [2020-09-01T18:47:27.911Z] Stashed 1 file(s) [Pipeline] } [2020-09-01T18:47:27.925Z] $ docker stop --time=1 19c1e833e6e2fe23693c34535062461ddf5055978da89e3adef3aa4f88c2282e [2020-09-01T18:47:30.092Z] $ docker rm -f 19c1e833e6e2fe23693c34535062461ddf5055978da89e3adef3aa4f88c2282e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-01T18:47:31.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-01T18:47:31.852Z] + ls -al . [2020-09-01T18:47:31.852Z] total 228 [2020-09-01T18:47:31.852Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 1 18:47 . [2020-09-01T18:47:31.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 18:45 .. [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 1 18:45 .dockerignore [2020-09-01T18:47:31.852Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 1 18:45 .git [2020-09-01T18:47:31.852Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 18:45 .github [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 1 18:45 .gitignore [2020-09-01T18:47:31.852Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 1 18:45 .semver [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 1 18:45 Dockerfile.build [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 1 18:45 Jenkinsfile [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 1 18:45 LICENSE [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 1 18:45 Makefile [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 1 18:45 README.md [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 1 18:45 RELEASE-NOTES.txt [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 1 18:42 VERSION [2020-09-01T18:47:31.852Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 1 18:45 bin [2020-09-01T18:47:31.852Z] -rw-r--r-- 1 jenkins jenkins 111650 Sep 1 18:47 coverage.out [2020-09-01T18:47:31.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 18:45 example [2020-09-01T18:47:31.852Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 1 18:47 go.mod [2020-09-01T18:47:31.852Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 1 18:47 go.sum [2020-09-01T18:47:31.852Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 1 18:45 internal [2020-09-01T18:47:31.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 18:45 openapi [2020-09-01T18:47:31.852Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 1 18:45 pkg [2020-09-01T18:47:31.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 1 18:45 snap [2020-09-01T18:47:31.852Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 1 18:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:47:32.218Z] + 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=1ef1e751dc980b640aac115d7835b7c4bd89469a --label arch=arm64 --label version=0.0.0 . [2020-09-01T18:47:32.496Z] Sending build context to Docker daemon 3.265MB [2020-09-01T18:47:32.780Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-01T18:47:32.780Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-01T18:47:32.780Z] ---> 43591c7cc369 [2020-09-01T18:47:32.780Z] Step 3/24 : ARG MAKE='make build' [2020-09-01T18:47:32.780Z] ---> Running in 71ed81c9e8f5 [2020-09-01T18:47:33.381Z] Removing intermediate container 71ed81c9e8f5 [2020-09-01T18:47:33.381Z] ---> 6369567195bd [2020-09-01T18:47:33.381Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-01T18:47:33.382Z] ---> Running in 5e331a4b87cd [2020-09-01T18:47:33.976Z] Removing intermediate container 5e331a4b87cd [2020-09-01T18:47:33.976Z] ---> 301dc1f6a475 [2020-09-01T18:47:33.976Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T18:47:33.976Z] ---> Running in fa375eb96904 [2020-09-01T18:47:34.569Z] Removing intermediate container fa375eb96904 [2020-09-01T18:47:34.569Z] ---> 108ac6f3c418 [2020-09-01T18:47:34.569Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-01T18:47:34.569Z] ---> Running in 740ee7e8d91d [2020-09-01T18:47:37.174Z] Removing intermediate container 740ee7e8d91d [2020-09-01T18:47:37.174Z] ---> daa9f64d5cc8 [2020-09-01T18:47:37.174Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-01T18:47:37.174Z] ---> Running in b80cd95d5bda [2020-09-01T18:47:38.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-01T18:47:39.183Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-01T18:47:40.170Z] OK: 142 MiB in 39 packages [2020-09-01T18:47:41.147Z] Removing intermediate container b80cd95d5bda [2020-09-01T18:47:41.147Z] ---> b55d9421817b [2020-09-01T18:47:41.147Z] Step 8/24 : COPY . . [2020-09-01T18:47:42.578Z] ---> 998425f6fd78 [2020-09-01T18:47:42.578Z] Step 9/24 : RUN ${MAKE} [2020-09-01T18:47:42.578Z] ---> Running in 806ad588a091 [2020-09-01T18:47:44.005Z] 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-09-01T18:48:06.185Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-01T18:48:09.576Z] Removing intermediate container 806ad588a091 [2020-09-01T18:48:09.576Z] ---> acaa24de1e2b [2020-09-01T18:48:09.576Z] Step 10/24 : FROM scratch [2020-09-01T18:48:09.576Z] ---> [2020-09-01T18:48:09.576Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-01T18:48:09.576Z] ---> Running in 52a4cf7d3598 [2020-09-01T18:48:09.576Z] Removing intermediate container 52a4cf7d3598 [2020-09-01T18:48:09.576Z] ---> 02387af8acf0 [2020-09-01T18:48:09.576Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-01T18:48:09.848Z] ---> Running in ba05e291613f [2020-09-01T18:48:10.117Z] Removing intermediate container ba05e291613f [2020-09-01T18:48:10.117Z] ---> 7d3b3d2e5eec [2020-09-01T18:48:10.117Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-01T18:48:10.389Z] ---> Running in 676f43433201 [2020-09-01T18:48:10.660Z] Removing intermediate container 676f43433201 [2020-09-01T18:48:10.660Z] ---> 7357c2e9902f [2020-09-01T18:48:10.660Z] Step 14/24 : WORKDIR / [2020-09-01T18:48:10.932Z] ---> Running in ba8889ea00a4 [2020-09-01T18:48:11.206Z] Removing intermediate container ba8889ea00a4 [2020-09-01T18:48:11.206Z] ---> 292ae1e4e17f [2020-09-01T18:48:11.206Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-01T18:48:12.635Z] ---> 3bb6967d5d94 [2020-09-01T18:48:12.635Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-01T18:48:13.228Z] ---> 0b1544fde067 [2020-09-01T18:48:13.228Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-01T18:48:13.821Z] ---> f451bb5c0446 [2020-09-01T18:48:13.821Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-01T18:48:14.799Z] ---> 0704685f6158 [2020-09-01T18:48:14.799Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-01T18:48:15.400Z] ---> 2b92de276621 [2020-09-01T18:48:15.400Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-01T18:48:15.400Z] ---> Running in e4fc66d0d8e5 [2020-09-01T18:48:15.669Z] Removing intermediate container e4fc66d0d8e5 [2020-09-01T18:48:15.669Z] ---> 69f3a4e4e422 [2020-09-01T18:48:15.669Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-01T18:48:15.944Z] ---> Running in f0c5c4c738c0 [2020-09-01T18:48:16.216Z] Removing intermediate container f0c5c4c738c0 [2020-09-01T18:48:16.216Z] ---> eef07313e7e9 [2020-09-01T18:48:16.216Z] Step 22/24 : LABEL arch=arm64 [2020-09-01T18:48:16.487Z] ---> Running in 3dee57c260b5 [2020-09-01T18:48:16.759Z] Removing intermediate container 3dee57c260b5 [2020-09-01T18:48:16.759Z] ---> b1ed2310a8b7 [2020-09-01T18:48:16.759Z] Step 23/24 : LABEL git_sha=1ef1e751dc980b640aac115d7835b7c4bd89469a [2020-09-01T18:48:17.030Z] ---> Running in 4e1a419511e8 [2020-09-01T18:48:17.301Z] Removing intermediate container 4e1a419511e8 [2020-09-01T18:48:17.301Z] ---> 4d03d6f555ad [2020-09-01T18:48:17.301Z] Step 24/24 : LABEL version=0.0.0 [2020-09-01T18:48:17.574Z] ---> Running in 8af71f473f66 [2020-09-01T18:48:17.843Z] Removing intermediate container 8af71f473f66 [2020-09-01T18:48:17.843Z] ---> d1658f0206ae [2020-09-01T18:48:17.843Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-01T18:48:17.843Z] Successfully built d1658f0206ae [2020-09-01T18:48:17.843Z] 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-09-01T18:48:19.436Z] provisioning config files... [2020-09-01T18:48:19.448Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config3315352947425872813tmp [Pipeline] { [Pipeline] sh [2020-09-01T18:48:19.832Z] + curl -s https://codecov.io/bash [2020-09-01T18:48:19.832Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config3315352947425872813tmp [Pipeline] } [2020-09-01T18:48:20.412Z] 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] { (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-09-01T18:48:22.695Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T18:48:23.261Z] ---> package-listing.sh [2020-09-01T18:48:23.261Z] ++ facter osfamily [2020-09-01T18:48:23.261Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-01T18:48:23.261Z] + OS_FAMILY=redhat [2020-09-01T18:48:23.261Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-553 [2020-09-01T18:48:23.261Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-01T18:48:23.261Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-01T18:48:23.261Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-01T18:48:23.261Z] + PACKAGES=/tmp/packages_start.txt [2020-09-01T18:48:23.261Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-09-01T18:48:23.261Z] + PACKAGES=/tmp/packages_end.txt [2020-09-01T18:48:23.261Z] + case "${OS_FAMILY}" in [2020-09-01T18:48:23.261Z] + rpm -qa [2020-09-01T18:48:23.261Z] + sort [2020-09-01T18:48:27.472Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-01T18:48:27.472Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-01T18:48:27.472Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-01T18:48:27.472Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-553 ']' [2020-09-01T18:48:27.472Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [2020-09-01T18:48:27.472Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-553/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:48:27.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T18:48:27.951Z] [2020-09-01T18:48:27.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-01T18:48:28.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T18:48:28.294Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-01T18:48:28.295Z] c9b1b535fdd9: Pulling fs layer [2020-09-01T18:48:28.295Z] 2cc5ad85d9ab: Pulling fs layer [2020-09-01T18:48:28.295Z] 756a868c4378: Pulling fs layer [2020-09-01T18:48:28.295Z] 444b2fc9a129: Pulling fs layer [2020-09-01T18:48:28.295Z] ea15f1150254: Pulling fs layer [2020-09-01T18:48:28.295Z] 41b27a9f41bf: Pulling fs layer [2020-09-01T18:48:28.295Z] 28c525ee5125: Pulling fs layer [2020-09-01T18:48:28.295Z] 094b1ea09ed8: Pulling fs layer [2020-09-01T18:48:28.295Z] 138eaada9080: Pulling fs layer [2020-09-01T18:48:28.295Z] 0622d0fa9048: Pulling fs layer [2020-09-01T18:48:28.295Z] 41b27a9f41bf: Waiting [2020-09-01T18:48:28.295Z] 28c525ee5125: Waiting [2020-09-01T18:48:28.295Z] 094b1ea09ed8: Waiting [2020-09-01T18:48:28.295Z] 138eaada9080: Waiting [2020-09-01T18:48:28.295Z] 0622d0fa9048: Waiting [2020-09-01T18:48:28.295Z] 444b2fc9a129: Waiting [2020-09-01T18:48:28.295Z] ea15f1150254: Waiting [2020-09-01T18:48:28.295Z] 2cc5ad85d9ab: Download complete [2020-09-01T18:48:28.295Z] 444b2fc9a129: Verifying Checksum [2020-09-01T18:48:28.295Z] 444b2fc9a129: Download complete [2020-09-01T18:48:28.295Z] c9b1b535fdd9: Verifying Checksum [2020-09-01T18:48:28.295Z] c9b1b535fdd9: Download complete [2020-09-01T18:48:28.295Z] ea15f1150254: Verifying Checksum [2020-09-01T18:48:28.295Z] ea15f1150254: Download complete [2020-09-01T18:48:28.566Z] 28c525ee5125: Verifying Checksum [2020-09-01T18:48:28.566Z] 28c525ee5125: Download complete [2020-09-01T18:48:28.566Z] c9b1b535fdd9: Pull complete [2020-09-01T18:48:28.837Z] 756a868c4378: Verifying Checksum [2020-09-01T18:48:28.837Z] 756a868c4378: Download complete [2020-09-01T18:48:28.837Z] 2cc5ad85d9ab: Pull complete [2020-09-01T18:48:29.115Z] 138eaada9080: Verifying Checksum [2020-09-01T18:48:29.115Z] 138eaada9080: Download complete [2020-09-01T18:48:29.115Z] 0622d0fa9048: Verifying Checksum [2020-09-01T18:48:29.115Z] 0622d0fa9048: Download complete [2020-09-01T18:48:29.115Z] 094b1ea09ed8: Verifying Checksum [2020-09-01T18:48:29.115Z] 094b1ea09ed8: Download complete [2020-09-01T18:48:29.693Z] 41b27a9f41bf: Verifying Checksum [2020-09-01T18:48:29.693Z] 41b27a9f41bf: Download complete [2020-09-01T18:48:30.642Z] 756a868c4378: Pull complete [2020-09-01T18:48:30.642Z] 444b2fc9a129: Pull complete [2020-09-01T18:48:30.903Z] ea15f1150254: Pull complete [2020-09-01T18:48:35.123Z] 41b27a9f41bf: Pull complete [2020-09-01T18:48:35.123Z] 28c525ee5125: Pull complete [2020-09-01T18:48:37.670Z] 094b1ea09ed8: Pull complete [2020-09-01T18:48:37.670Z] 138eaada9080: Pull complete [2020-09-01T18:48:37.931Z] 0622d0fa9048: Pull complete [2020-09-01T18:48:37.931Z] Digest: sha256:54a23bc06fc820608cb72d4fa7cadb8dbe2280fb013cbe6a9fa5bc42756446e1 [2020-09-01T18:48:37.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-01T18:48:37.931Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-01T18:48:38.069Z] prd-centos7-docker-4c-2g-1053 does not seem to be running inside a container [2020-09-01T18:48:38.114Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa -w /w/workspace/dgexfoundry_device-sdk-go_PR-553 -v /w/workspace/dgexfoundry_device-sdk-go_PR-553:/w/workspace/dgexfoundry_device-sdk-go_PR-553:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-553@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:10003/edgex-lftools-log-publisher:alpine cat [2020-09-01T18:48:41.935Z] $ docker top 245c5a3861b8cc864e5c068412793388f234e45a4b1340cd77945eded7dc410b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-01T18:48:42.263Z] provisioning config files... [2020-09-01T18:48:42.277Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-553@tmp/config8251204458324972068tmp [Pipeline] { [Pipeline] echo [2020-09-01T18:48:42.344Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T18:48:42.641Z] ---> create-netrc.sh [Pipeline] echo [2020-09-01T18:48:42.652Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-01T18:48:42.948Z] ---> logs-deploy.sh [2020-09-01T18:48:42.949Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-553/14 [2020-09-01T18:48:42.949Z] INFO: archiving workspace using pattern(s): [2020-09-01T18:48:44.344Z] Archives upload complete. [2020-09-01T18:48:44.344Z] INFO: archiving logs to Nexus