Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 143b14416392d16fa7a8408427205f784dd11e5f+4000e27a9f725d20d01bd2b86b2182ef891199d8 (aa8feb60bf33178aeda3bd2c4f4794339b56eae6) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-1975 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [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 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-571 # 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 143b14416392d16fa7a8408427205f784dd11e5f > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # 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/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # 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 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 Merge succeeded, producing 68750e4b68bd98029eaa65dc3b8c32172af6df85 Checking out Revision 68750e4b68bd98029eaa65dc3b8c32172af6df85 (PR-571) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68750e4b68bd98029eaa65dc3b8c32172af6df85 # timeout=10 Commit message: "Merge commit '4000e27a9f725d20d01bd2b86b2182ef891199d8' into HEAD" > git rev-list --no-walk 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-09T18:42:47.018Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-09T18:42:47.280Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-09T18:42:47.358Z] ========================================================= [2020-09-09T18:42:47.358Z] EdgeX Global Pipelines Version Info [2020-09-09T18:42:47.358Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-09T18:42:48.747Z] ------------------- [2020-09-09T18:42:48.747Z] stable info: [2020-09-09T18:42:48.747Z] ------------------- [2020-09-09T18:42:48.747Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-09T18:42:48.748Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-09T18:42:48.748Z] Message: update stable to v1.0.119 [2020-09-09T18:42:49.694Z] ------------------- [2020-09-09T18:42:49.694Z] experimental info: [2020-09-09T18:42:49.694Z] ------------------- [2020-09-09T18:42:49.694Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-09T18:42:49.694Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-09T18:42:49.694Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-09T18:42:50.010Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-09T18:42:50.105Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-09T18:42:50.277Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-09T18:42:50.358Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-09T18:42:50.490Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-09T18:42:50.694Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-09T18:42:50.822Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-09T18:42:50.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-09T18:42:51.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-09T18:42:51.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-09T18:42:51.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-09T18:42:51.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-09T18:42:51.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-09T18:42:51.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-09T18:42:51.544Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-09T18:42:51.627Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T18:42:51.707Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T18:42:51.788Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T18:42:51.885Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-09T18:42:51.966Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-09T18:42:52.048Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-09T18:42:52.131Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-09T18:42:52.212Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo [2020-09-09T18:42:52.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo [2020-09-09T18:42:52.369Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo [2020-09-09T18:42:52.449Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68750e4b68bd98029eaa65dc3b8c32172af6df85 [Pipeline] echo [2020-09-09T18:42:52.547Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68750e4 [Pipeline] echo [2020-09-09T18:42:52.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T18:42:53.213Z] + git log --format=format:%s -1 68750e4b68bd98029eaa65dc3b8c32172af6df85 [Pipeline] echo [2020-09-09T18:42:53.280Z] GIT_COMMIT: 68750e4b68bd98029eaa65dc3b8c32172af6df85, Commit Message: Merge commit '4000e27a9f725d20d01bd2b86b2182ef891199d8' into HEAD [Pipeline] echo [2020-09-09T18:42:53.327Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:42:53.850Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T18:42:54.438Z] [2020-09-09T18:42:54.438Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:42:54.788Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T18:42:54.788Z] latest: Pulling from edgex-devops/git-semver [2020-09-09T18:42:54.788Z] 31603596830f: Pulling fs layer [2020-09-09T18:42:54.788Z] 2a8b12db71e7: Pulling fs layer [2020-09-09T18:42:54.788Z] 6ca5941a6612: Pulling fs layer [2020-09-09T18:42:54.788Z] ecc8261a40a4: Pulling fs layer [2020-09-09T18:42:54.788Z] ecc8261a40a4: Waiting [2020-09-09T18:42:54.788Z] 2a8b12db71e7: Verifying Checksum [2020-09-09T18:42:54.788Z] 2a8b12db71e7: Download complete [2020-09-09T18:42:55.379Z] ecc8261a40a4: Verifying Checksum [2020-09-09T18:42:55.379Z] ecc8261a40a4: Download complete [2020-09-09T18:42:55.379Z] 6ca5941a6612: Verifying Checksum [2020-09-09T18:42:55.380Z] 6ca5941a6612: Download complete [2020-09-09T18:42:55.380Z] 31603596830f: Download complete [2020-09-09T18:42:55.646Z] 31603596830f: Pull complete [2020-09-09T18:42:55.909Z] 2a8b12db71e7: Pull complete [2020-09-09T18:42:56.859Z] 6ca5941a6612: Pull complete [2020-09-09T18:42:56.859Z] ecc8261a40a4: Pull complete [2020-09-09T18:42:56.859Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-09T18:42:56.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T18:42:56.859Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-09T18:42:56.966Z] prd-centos7-docker-4c-2g-1975 does not seem to be running inside a container [2020-09-09T18:42:57.019Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-09T18:42:59.282Z] $ docker top 719885335cab12067ebe1338b13a620e04c33e9a27ed9310e5449a6a5fe2f389 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-09T18:42:59.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T18:42:59.551Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T18:42:59.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T18:42:59.784Z] $ docker exec 719885335cab12067ebe1338b13a620e04c33e9a27ed9310e5449a6a5fe2f389 ssh-agent [2020-09-09T18:42:59.951Z] SSH_AUTH_SOCK=/tmp/ssh-LhAyKRQgsz5S/agent.12 [2020-09-09T18:42:59.951Z] SSH_AGENT_PID=17 [2020-09-09T18:42:59.962Z] Running ssh-add (command line suppressed) [2020-09-09T18:43:00.092Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_8063307359383514011.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_8063307359383514011.key) [2020-09-09T18:43:00.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T18:43:00.638Z] + git describe --exact-match --tags HEAD [2020-09-09T18:43:00.638Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-09T18:43:00.663Z] $ docker exec --env ******** --env ******** 719885335cab12067ebe1338b13a620e04c33e9a27ed9310e5449a6a5fe2f389 ssh-agent -k [2020-09-09T18:43:00.800Z] unset SSH_AUTH_SOCK; [2020-09-09T18:43:00.801Z] unset SSH_AGENT_PID; [2020-09-09T18:43:00.801Z] echo Agent pid 17 killed; [2020-09-09T18:43:00.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-09T18:43:00.945Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-09T18:43:00.945Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-09T18:43:01.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T18:43:01.179Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T18:43:01.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T18:43:01.415Z] $ docker exec 719885335cab12067ebe1338b13a620e04c33e9a27ed9310e5449a6a5fe2f389 ssh-agent [2020-09-09T18:43:01.592Z] SSH_AUTH_SOCK=/tmp/ssh-oc5H8C3SCS72/agent.46 [2020-09-09T18:43:01.592Z] SSH_AGENT_PID=52 [2020-09-09T18:43:01.600Z] Running ssh-add (command line suppressed) [2020-09-09T18:43:01.736Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_1060210340392415.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_1060210340392415.key) [2020-09-09T18:43:01.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T18:43:02.127Z] + git semver init [2020-09-09T18:43:02.127Z] # -> Open(): unable to determine branch for HEAD [2020-09-09T18:43:02.127Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git [2020-09-09T18:43:02.127Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-09T18:43:02.127Z] # $SEMVER_REMOTE_NAME = origin [2020-09-09T18:43:02.127Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-09T18:43:02.127Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-09T18:43:02.127Z] # $SEMVER_BRANCH = PR-571 [2020-09-09T18:43:02.127Z] # $SEMVER_TEMP = /tmp/semver-500357962 [2020-09-09T18:43:02.127Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-09T18:43:03.072Z] # '/tmp/semver-500357962' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' [2020-09-09T18:43:03.072Z] # -> Force: false [2020-09-09T18:43:03.072Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } [2020-09-09T18:43:03.086Z] $ docker exec --env ******** --env ******** 719885335cab12067ebe1338b13a620e04c33e9a27ed9310e5449a6a5fe2f389 ssh-agent -k [2020-09-09T18:43:03.209Z] unset SSH_AUTH_SOCK; [2020-09-09T18:43:03.209Z] unset SSH_AGENT_PID; [2020-09-09T18:43:03.209Z] echo Agent pid 52 killed; [2020-09-09T18:43:03.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-09T18:43:03.702Z] + git semver [Pipeline] } [2020-09-09T18:43:03.721Z] $ docker stop --time=1 719885335cab12067ebe1338b13a620e04c33e9a27ed9310e5449a6a5fe2f389 [2020-09-09T18:43:05.091Z] $ docker rm -f 719885335cab12067ebe1338b13a620e04c33e9a27ed9310e5449a6a5fe2f389 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-09T18:43:05.876Z] Stashed 33 file(s) [Pipeline] echo [2020-09-09T18:43:05.878Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-09T18:43:05.960Z] 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-09T18:43:21.303Z] Still waiting to schedule task [2020-09-09T18:43:21.304Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-09T18:43:21.306Z] Still waiting to schedule task [2020-09-09T18:43:21.306Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-09T18:43:58.147Z] Running on prd-centos7-docker-4c-2g-1979 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-09T18:43:58.191Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-09-09T18:44:00.732Z] using credential edgex-jenkins-ssh [2020-09-09T18:44:00.780Z] Cloning the remote Git repository [2020-09-09T18:44:00.780Z] Cloning with configured refspecs honoured and without tags [2020-09-09T18:44:00.817Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:44:00.886Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-09-09T18:44:00.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:44:00.949Z] > git --version # timeout=10 [2020-09-09T18:44:00.958Z] > git --version # 'git version 2.16.5' [2020-09-09T18:44:00.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:44:01.090Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:44:02.793Z] Fetching without tags [2020-09-09T18:44:02.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T18:44:02.767Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-09T18:44:02.775Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:44:02.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T18:44:02.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:44:02.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:44:02.803Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:44:03.334Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 143b14416392d16fa7a8408427205f784dd11e5f [2020-09-09T18:44:03.444Z] Merge succeeded, producing 9022d8694b95514e9f71196af9b078013fb037ae [2020-09-09T18:44:03.444Z] Checking out Revision 9022d8694b95514e9f71196af9b078013fb037ae (PR-571) [2020-09-09T18:44:03.345Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T18:44:03.351Z] > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 [2020-09-09T18:44:03.392Z] > git remote # timeout=10 [2020-09-09T18:44:03.400Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T18:44:03.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:44:03.409Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T18:44:03.438Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T18:44:03.449Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T18:44:03.455Z] > git checkout -f 9022d8694b95514e9f71196af9b078013fb037ae # timeout=10 [2020-09-09T18:44:07.042Z] Commit message: "Merge commit '4000e27a9f725d20d01bd2b86b2182ef891199d8' into HEAD" [2020-09-09T18:44:07.047Z] > git rev-list --no-walk 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T18:44:07.938Z] ========================================================= [2020-09-09T18:44:07.938Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-09T18:44:07.938Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:44:08.809Z] + 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-09T18:44:09.764Z] Sending build context to Docker daemon 3.188MB [2020-09-09T18:44:09.764Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T18:44:09.764Z] Step 2/8 : FROM ${BASE} [2020-09-09T18:44:09.764Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-09T18:44:09.764Z] df20fa9351a1: Pulling fs layer [2020-09-09T18:44:09.764Z] ed8968b2872e: Pulling fs layer [2020-09-09T18:44:09.764Z] a92cc7c5fd73: Pulling fs layer [2020-09-09T18:44:09.764Z] 2dd03ba5bac4: Pulling fs layer [2020-09-09T18:44:09.764Z] 1e091d79d1de: Pulling fs layer [2020-09-09T18:44:09.764Z] 481702a1767f: Pulling fs layer [2020-09-09T18:44:09.764Z] f64a6f60c768: Pulling fs layer [2020-09-09T18:44:09.764Z] e78d2573fc39: Pulling fs layer [2020-09-09T18:44:09.764Z] e876d2f968b6: Pulling fs layer [2020-09-09T18:44:09.764Z] ce8a83651883: Pulling fs layer [2020-09-09T18:44:09.764Z] 07967f4d0e4b: Pulling fs layer [2020-09-09T18:44:09.764Z] f64a6f60c768: Waiting [2020-09-09T18:44:09.764Z] e78d2573fc39: Waiting [2020-09-09T18:44:09.764Z] e876d2f968b6: Waiting [2020-09-09T18:44:09.764Z] ce8a83651883: Waiting [2020-09-09T18:44:09.764Z] 07967f4d0e4b: Waiting [2020-09-09T18:44:09.764Z] 2dd03ba5bac4: Waiting [2020-09-09T18:44:09.764Z] 1e091d79d1de: Waiting [2020-09-09T18:44:09.764Z] 481702a1767f: Waiting [2020-09-09T18:44:09.764Z] a92cc7c5fd73: Verifying Checksum [2020-09-09T18:44:09.764Z] a92cc7c5fd73: Download complete [2020-09-09T18:44:09.764Z] ed8968b2872e: Download complete [2020-09-09T18:44:09.764Z] 1e091d79d1de: Verifying Checksum [2020-09-09T18:44:09.764Z] 1e091d79d1de: Download complete [2020-09-09T18:44:09.764Z] 481702a1767f: Verifying Checksum [2020-09-09T18:44:09.764Z] 481702a1767f: Download complete [2020-09-09T18:44:09.764Z] df20fa9351a1: Verifying Checksum [2020-09-09T18:44:09.764Z] df20fa9351a1: Download complete [2020-09-09T18:44:10.052Z] df20fa9351a1: Pull complete [2020-09-09T18:44:10.318Z] ed8968b2872e: Pull complete [2020-09-09T18:44:10.580Z] a92cc7c5fd73: Pull complete [2020-09-09T18:44:11.529Z] f64a6f60c768: Verifying Checksum [2020-09-09T18:44:11.529Z] f64a6f60c768: Download complete [2020-09-09T18:44:11.529Z] e876d2f968b6: Verifying Checksum [2020-09-09T18:44:11.529Z] e876d2f968b6: Download complete [2020-09-09T18:44:12.484Z] ce8a83651883: Verifying Checksum [2020-09-09T18:44:12.484Z] ce8a83651883: Download complete [2020-09-09T18:44:12.484Z] 07967f4d0e4b: Verifying Checksum [2020-09-09T18:44:12.484Z] 07967f4d0e4b: Download complete [2020-09-09T18:44:13.057Z] e78d2573fc39: Verifying Checksum [2020-09-09T18:44:13.057Z] e78d2573fc39: Download complete [2020-09-09T18:44:13.318Z] 2dd03ba5bac4: Verifying Checksum [2020-09-09T18:44:13.318Z] 2dd03ba5bac4: Download complete [2020-09-09T18:44:18.642Z] 2dd03ba5bac4: Pull complete [2020-09-09T18:44:18.642Z] 1e091d79d1de: Pull complete [2020-09-09T18:44:18.642Z] 481702a1767f: Pull complete [2020-09-09T18:44:28.665Z] f64a6f60c768: Pull complete [2020-09-09T18:44:30.055Z] e78d2573fc39: Pull complete [2020-09-09T18:44:30.055Z] e876d2f968b6: Pull complete [2020-09-09T18:44:31.007Z] ce8a83651883: Pull complete [2020-09-09T18:44:31.269Z] 07967f4d0e4b: Pull complete [2020-09-09T18:44:31.269Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-09T18:44:31.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-09T18:44:31.269Z] ---> 5d7c900382c6 [2020-09-09T18:44:31.270Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:44:33.193Z] ---> Running in 16276514165a [2020-09-09T18:44:33.194Z] Removing intermediate container 16276514165a [2020-09-09T18:44:33.194Z] ---> 7f6ce8c62e3a [2020-09-09T18:44:33.194Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T18:44:33.194Z] ---> Running in c1cce464d064 [2020-09-09T18:44:34.584Z] Removing intermediate container c1cce464d064 [2020-09-09T18:44:34.584Z] ---> cdbfd7906d61 [2020-09-09T18:44:34.584Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T18:44:34.584Z] ---> Running in cd2a6eeeeedc [2020-09-09T18:44:35.155Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T18:44:37.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T18:44:40.376Z] OK: 166 MiB in 39 packages [2020-09-09T18:44:40.376Z] Removing intermediate container cd2a6eeeeedc [2020-09-09T18:44:40.376Z] ---> 37dc6ae40215 [2020-09-09T18:44:40.376Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T18:44:40.376Z] ---> Running in f5997522c826 [2020-09-09T18:44:40.376Z] Removing intermediate container f5997522c826 [2020-09-09T18:44:40.376Z] ---> 86ce134f18ca [2020-09-09T18:44:40.376Z] Step 7/8 : COPY . . [2020-09-09T18:44:41.769Z] ---> 59a626b08e10 [2020-09-09T18:44:41.769Z] Step 8/8 : RUN go mod download [2020-09-09T18:44:41.769Z] ---> Running in 894d8ae08246 [2020-09-09T18:44:43.685Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T18:44:43.685Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T18:44:43.685Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T18:44:43.685Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T18:44:43.946Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T18:44:43.947Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T18:44:43.947Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T18:44:43.947Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T18:44:43.947Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T18:44:43.947Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T18:44:43.947Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T18:44:43.947Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T18:44:43.947Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T18:44:43.947Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T18:44:43.947Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T18:44:43.947Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T18:44:44.208Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T18:44:44.208Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T18:44:44.208Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T18:44:44.208Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T18:44:44.208Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T18:44:44.208Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T18:44:44.208Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T18:44:44.208Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T18:44:44.208Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T18:44:44.208Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T18:44:44.208Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T18:44:44.208Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T18:44:44.471Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T18:44:44.471Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T18:44:44.733Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T18:44:44.733Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T18:44:44.733Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T18:44:44.733Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T18:44:44.733Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T18:44:44.733Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T18:44:44.733Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T18:44:44.733Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T18:44:44.733Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T18:44:44.733Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T18:44:44.733Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T18:44:44.733Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T18:44:44.994Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T18:44:44.994Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T18:44:44.994Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T18:44:44.994Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T18:44:44.994Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T18:44:44.994Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T18:44:44.994Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T18:44:44.994Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T18:44:44.994Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T18:44:44.994Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T18:44:44.994Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T18:44:45.278Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T18:44:45.278Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T18:44:45.278Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T18:44:45.278Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T18:44:45.278Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T18:44:45.278Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T18:44:51.912Z] Removing intermediate container 894d8ae08246 [2020-09-09T18:44:51.912Z] ---> 15911a95a267 [2020-09-09T18:44:51.912Z] Successfully built 15911a95a267 [2020-09-09T18:44:51.912Z] 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-09T18:44:52.585Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-09T18:44:52.585Z] . [Pipeline] withDockerContainer [2020-09-09T18:44:52.706Z] prd-centos7-docker-4c-2g-1979 does not seem to be running inside a container [2020-09-09T18:44:52.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat [2020-09-09T18:44:53.679Z] $ docker top 5d9f23e6f2a5b942181fe9327690a83b8230007e36f522de027ac920455bcb16 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T18:44:54.237Z] + go version [2020-09-09T18:44:54.238Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-09T18:44:54.560Z] + make test [2020-09-09T18:44:54.560Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T18:44:55.511Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T18:45:05.677Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T18:45:05.677Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T18:45:05.677Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T18:45:05.677Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.004s coverage: 20.8% of statements [2020-09-09T18:45:06.628Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.040s coverage: 97.1% of statements [2020-09-09T18:45:38.747Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.005s coverage: 9.4% of statements [2020-09-09T18:45:38.747Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.008s coverage: 21.9% of statements [2020-09-09T18:45:38.747Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T18:45:38.747Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.028s coverage: 37.0% of statements [2020-09-09T18:45:38.747Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T18:45:38.747Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.037s coverage: 65.4% of statements [2020-09-09T18:45:38.747Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T18:45:38.747Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T18:45:38.747Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T18:45:38.747Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.009s coverage: 52.6% of statements [2020-09-09T18:45:38.747Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.101s coverage: 68.9% of statements [2020-09-09T18:45:38.747Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T18:45:38.747Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T18:45:38.747Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T18:45:38.747Z] gofmt -l . [2020-09-09T18:45:39.011Z] [ "`gofmt -l .`" = "" ] [2020-09-09T18:45:39.011Z] ./bin/test-attribution-txt.sh [2020-09-09T18:45:39.589Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T18:45:40.289Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T18:45:40.298Z] $ docker stop --time=1 5d9f23e6f2a5b942181fe9327690a83b8230007e36f522de027ac920455bcb16 [2020-09-09T18:45:41.805Z] $ docker rm -f 5d9f23e6f2a5b942181fe9327690a83b8230007e36f522de027ac920455bcb16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T18:45:44.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T18:45:44.734Z] + ls -al . [2020-09-09T18:45:44.734Z] total 188 [2020-09-09T18:45:44.734Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 9 18:45 . [2020-09-09T18:45:44.734Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 9 18:44 .. [2020-09-09T18:45:44.735Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 9 18:44 bin [2020-09-09T18:45:44.735Z] -rw-r--r--. 1 jenkins jenkins 110898 Sep 9 18:45 coverage.out [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 9 18:44 Dockerfile.build [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 9 18:44 .dockerignore [2020-09-09T18:45:44.735Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 9 18:44 example [2020-09-09T18:45:44.735Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 9 18:44 .git [2020-09-09T18:45:44.735Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 9 18:44 .github [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 9 18:44 .gitignore [2020-09-09T18:45:44.735Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 9 18:45 go.mod [2020-09-09T18:45:44.735Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 9 18:45 go.sum [2020-09-09T18:45:44.735Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 9 18:44 internal [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 9 18:44 Jenkinsfile [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 9 18:44 LICENSE [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 9 18:44 Makefile [2020-09-09T18:45:44.735Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 9 18:44 openapi [2020-09-09T18:45:44.735Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 9 18:44 pkg [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 9 18:44 README.md [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 9 18:44 RELEASE-NOTES.txt [2020-09-09T18:45:44.735Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 9 18:44 .semver [2020-09-09T18:45:44.735Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 9 18:44 snap [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 9 18:43 VERSION [2020-09-09T18:45:44.735Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 9 18:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:45:45.045Z] + 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=68750e4b68bd98029eaa65dc3b8c32172af6df85 --label arch=amd64 --label version=0.0.0 . [2020-09-09T18:45:45.308Z] Sending build context to Docker daemon 3.299MB [2020-09-09T18:45:45.308Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T18:45:45.308Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T18:45:45.308Z] ---> 15911a95a267 [2020-09-09T18:45:45.308Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T18:45:45.570Z] ---> Running in 6e0172fdba0b [2020-09-09T18:45:45.831Z] Removing intermediate container 6e0172fdba0b [2020-09-09T18:45:45.831Z] ---> f519e2a64dbd [2020-09-09T18:45:45.831Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T18:45:45.831Z] ---> Running in 93c2fe3a9a95 [2020-09-09T18:45:46.094Z] Removing intermediate container 93c2fe3a9a95 [2020-09-09T18:45:46.095Z] ---> f2f2f8383f5a [2020-09-09T18:45:46.095Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:45:46.095Z] ---> Running in 5d19eff5d7b1 [2020-09-09T18:45:46.095Z] Removing intermediate container 5d19eff5d7b1 [2020-09-09T18:45:46.095Z] ---> 1b7e9a7e831b [2020-09-09T18:45:46.095Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T18:45:46.360Z] ---> Running in 4f3af6acd681 [2020-09-09T18:45:47.303Z] Removing intermediate container 4f3af6acd681 [2020-09-09T18:45:47.303Z] ---> 413c834ba6c2 [2020-09-09T18:45:47.303Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T18:45:47.303Z] ---> Running in 503112034fd9 [2020-09-09T18:45:47.563Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T18:45:48.960Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T18:45:48.996Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1980 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-09T18:45:49.157Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-09-09T18:45:49.908Z] OK: 166 MiB in 39 packages [2020-09-09T18:45:50.480Z] Removing intermediate container 503112034fd9 [2020-09-09T18:45:50.480Z] ---> e6f30fa1ef3e [2020-09-09T18:45:50.480Z] Step 8/24 : COPY . . [2020-09-09T18:45:51.424Z] ---> 8151cbca984e [2020-09-09T18:45:51.424Z] Step 9/24 : RUN ${MAKE} [2020-09-09T18:45:51.424Z] ---> Running in 9aa52cc946cc [2020-09-09T18:45:51.684Z] 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-09T18:45:54.587Z] using credential edgex-jenkins-ssh [2020-09-09T18:45:54.642Z] Cloning the remote Git repository [2020-09-09T18:45:54.642Z] Cloning with configured refspecs honoured and without tags [2020-09-09T18:45:54.726Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:45:54.842Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-09-09T18:45:54.926Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:45:54.927Z] > git --version # timeout=10 [2020-09-09T18:45:54.956Z] > git --version # 'git version 2.17.1' [2020-09-09T18:45:54.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:45:55.017Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:45:56.088Z] Fetching without tags [2020-09-09T18:45:56.571Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 143b14416392d16fa7a8408427205f784dd11e5f [2020-09-09T18:45:55.977Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T18:45:56.000Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-09T18:45:56.018Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:45:56.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T18:45:56.103Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T18:45:56.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:45:56.118Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/571/head:refs/remotes/origin/PR-571 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T18:45:56.595Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T18:45:56.621Z] > git checkout -f 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 [2020-09-09T18:45:57.036Z] Merge succeeded, producing 784cbc60c81adec229835e66d515352df5473e86 [2020-09-09T18:45:57.037Z] Checking out Revision 784cbc60c81adec229835e66d515352df5473e86 (PR-571) [2020-09-09T18:45:56.799Z] > git remote # timeout=10 [2020-09-09T18:45:56.840Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T18:45:56.853Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T18:45:56.873Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T18:45:56.992Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T18:45:57.046Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T18:45:57.087Z] > git checkout -f 784cbc60c81adec229835e66d515352df5473e86 # timeout=10 [2020-09-09T18:45:59.923Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T18:46:00.870Z] Removing intermediate container 9aa52cc946cc [2020-09-09T18:46:00.870Z] ---> 67a9fb40caa5 [2020-09-09T18:46:00.870Z] Step 10/24 : FROM scratch [2020-09-09T18:46:00.870Z] ---> [2020-09-09T18:46:00.870Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:46:00.870Z] ---> Running in 3fa6aea9532d [2020-09-09T18:46:01.131Z] Removing intermediate container 3fa6aea9532d [2020-09-09T18:46:01.131Z] ---> 00750ed82d83 [2020-09-09T18:46:01.132Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T18:46:01.132Z] ---> Running in b32ef4838afd [2020-09-09T18:46:01.394Z] Removing intermediate container b32ef4838afd [2020-09-09T18:46:01.394Z] ---> 889255aa1fac [2020-09-09T18:46:01.394Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T18:46:01.394Z] ---> Running in b309af59c516 [2020-09-09T18:46:01.394Z] Removing intermediate container b309af59c516 [2020-09-09T18:46:01.394Z] ---> 3896dd64edfc [2020-09-09T18:46:01.394Z] Step 14/24 : WORKDIR / [2020-09-09T18:46:01.490Z] Commit message: "Merge commit '4000e27a9f725d20d01bd2b86b2182ef891199d8' into HEAD" [2020-09-09T18:46:01.500Z] > git rev-list --no-walk 143b14416392d16fa7a8408427205f784dd11e5f # timeout=10 [2020-09-09T18:46:01.655Z] ---> Running in d437d09e9632 [2020-09-09T18:46:01.655Z] Removing intermediate container d437d09e9632 [2020-09-09T18:46:01.656Z] ---> 3176a8778902 [2020-09-09T18:46:01.656Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-09-09T18:46:02.230Z] ---> 44f3719f7a38 [2020-09-09T18:46:02.230Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-09T18:46:02.493Z] ---> 939f14f79983 [2020-09-09T18:46:02.493Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T18:46:02.753Z] ---> b0e870e2c8d3 [2020-09-09T18:46:02.753Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T18:46:03.014Z] ---> a402fe67d6d1 [2020-09-09T18:46:03.014Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T18:46:03.014Z] ---> 431af10cf965 [2020-09-09T18:46:03.014Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [Pipeline] echo [2020-09-09T18:46:03.020Z] ========================================================= [2020-09-09T18:46:03.020Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-09T18:46:03.020Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:46:03.276Z] ---> Running in e0a935e6da5b [2020-09-09T18:46:03.277Z] Removing intermediate container e0a935e6da5b [2020-09-09T18:46:03.277Z] ---> b3e3e40ba975 [2020-09-09T18:46:03.277Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T18:46:03.277Z] ---> Running in 00960b93bd79 [2020-09-09T18:46:03.537Z] Removing intermediate container 00960b93bd79 [2020-09-09T18:46:03.537Z] ---> 32a5ce5d5298 [2020-09-09T18:46:03.537Z] Step 22/24 : LABEL arch=amd64 [2020-09-09T18:46:03.537Z] ---> Running in 571c3b9961a5 [2020-09-09T18:46:03.799Z] Removing intermediate container 571c3b9961a5 [2020-09-09T18:46:03.799Z] ---> b867c4d040eb [2020-09-09T18:46:03.799Z] Step 23/24 : LABEL git_sha=68750e4b68bd98029eaa65dc3b8c32172af6df85 [2020-09-09T18:46:03.799Z] ---> Running in 57d3351ac1e0 [2020-09-09T18:46:04.060Z] Removing intermediate container 57d3351ac1e0 [2020-09-09T18:46:04.060Z] ---> f1565b00e153 [2020-09-09T18:46:04.060Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T18:46:04.060Z] ---> Running in 830664a3c929 [2020-09-09T18:46:04.060Z] Removing intermediate container 830664a3c929 [2020-09-09T18:46:04.060Z] ---> f1a64b910676 [2020-09-09T18:46:04.060Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T18:46:04.060Z] Successfully built f1a64b910676 [2020-09-09T18:46:04.175Z] + 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-09T18:46:04.322Z] 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] } [2020-09-09T18:46:05.204Z] Sending build context to Docker daemon 3.19MB [2020-09-09T18:46:05.204Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T18:46:05.204Z] Step 2/8 : FROM ${BASE} [Pipeline] // stage [Pipeline] } [2020-09-09T18:46:05.477Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-09T18:46:05.477Z] b538f80385f9: Pulling fs layer [2020-09-09T18:46:05.477Z] 74f711af9a0d: Pulling fs layer [2020-09-09T18:46:05.477Z] 99f96fe45779: Pulling fs layer [2020-09-09T18:46:05.477Z] fd7a069fd194: Pulling fs layer [2020-09-09T18:46:05.477Z] 66aa3694b03b: Pulling fs layer [2020-09-09T18:46:05.477Z] 170f70906a0f: Pulling fs layer [2020-09-09T18:46:05.477Z] ad7c5574e4b9: Pulling fs layer [2020-09-09T18:46:05.477Z] e772456be8f7: Pulling fs layer [2020-09-09T18:46:05.477Z] c890913d741a: Pulling fs layer [2020-09-09T18:46:05.477Z] 2480fcc9aa5a: Pulling fs layer [2020-09-09T18:46:05.477Z] 09adf4765672: Pulling fs layer [2020-09-09T18:46:05.477Z] fd7a069fd194: Waiting [2020-09-09T18:46:05.477Z] 66aa3694b03b: Waiting [2020-09-09T18:46:05.477Z] 170f70906a0f: Waiting [2020-09-09T18:46:05.477Z] ad7c5574e4b9: Waiting [2020-09-09T18:46:05.477Z] e772456be8f7: Waiting [2020-09-09T18:46:05.477Z] c890913d741a: Waiting [2020-09-09T18:46:05.477Z] 2480fcc9aa5a: Waiting [2020-09-09T18:46:05.477Z] 09adf4765672: Waiting [2020-09-09T18:46:05.477Z] 99f96fe45779: Download complete [2020-09-09T18:46:05.477Z] 74f711af9a0d: Verifying Checksum [2020-09-09T18:46:05.477Z] 74f711af9a0d: Download complete [2020-09-09T18:46:05.477Z] 66aa3694b03b: Verifying Checksum [2020-09-09T18:46:05.477Z] 66aa3694b03b: Download complete [2020-09-09T18:46:05.754Z] 170f70906a0f: Verifying Checksum [2020-09-09T18:46:05.754Z] 170f70906a0f: Download complete [2020-09-09T18:46:05.754Z] b538f80385f9: Verifying Checksum [2020-09-09T18:46:05.754Z] b538f80385f9: Download complete [2020-09-09T18:46:06.376Z] b538f80385f9: Pull complete [2020-09-09T18:46:07.363Z] 74f711af9a0d: Pull complete [2020-09-09T18:46:07.648Z] 99f96fe45779: Pull complete [2020-09-09T18:46:08.250Z] ad7c5574e4b9: Verifying Checksum [2020-09-09T18:46:08.250Z] ad7c5574e4b9: Download complete [2020-09-09T18:46:08.525Z] c890913d741a: Verifying Checksum [2020-09-09T18:46:08.525Z] c890913d741a: Download complete [2020-09-09T18:46:10.524Z] 2480fcc9aa5a: Verifying Checksum [2020-09-09T18:46:10.524Z] 2480fcc9aa5a: Download complete [2020-09-09T18:46:10.799Z] 09adf4765672: Verifying Checksum [2020-09-09T18:46:10.799Z] 09adf4765672: Download complete [2020-09-09T18:46:10.799Z] e772456be8f7: Verifying Checksum [2020-09-09T18:46:10.799Z] e772456be8f7: Download complete [2020-09-09T18:46:11.395Z] fd7a069fd194: Verifying Checksum [2020-09-09T18:46:11.395Z] fd7a069fd194: Download complete [2020-09-09T18:46:23.805Z] fd7a069fd194: Pull complete [2020-09-09T18:46:23.805Z] 66aa3694b03b: Pull complete [2020-09-09T18:46:23.805Z] 170f70906a0f: Pull complete [2020-09-09T18:46:26.441Z] ad7c5574e4b9: Pull complete [2020-09-09T18:46:30.785Z] e772456be8f7: Pull complete [2020-09-09T18:46:31.066Z] c890913d741a: Pull complete [2020-09-09T18:46:33.727Z] 2480fcc9aa5a: Pull complete [2020-09-09T18:46:34.012Z] 09adf4765672: Pull complete [2020-09-09T18:46:34.012Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-09T18:46:34.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-09T18:46:34.012Z] ---> 2248a725d1cf [2020-09-09T18:46:34.012Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:46:38.420Z] ---> Running in 0a18287275c0 [2020-09-09T18:46:38.420Z] Removing intermediate container 0a18287275c0 [2020-09-09T18:46:38.420Z] ---> 285acf269d76 [2020-09-09T18:46:38.420Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T18:46:38.420Z] ---> Running in fe6a7ff23235 [2020-09-09T18:46:41.089Z] Removing intermediate container fe6a7ff23235 [2020-09-09T18:46:41.089Z] ---> a36972910abd [2020-09-09T18:46:41.089Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T18:46:41.089Z] ---> Running in 48ad074a69f5 [2020-09-09T18:46:42.573Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T18:46:43.555Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T18:46:45.002Z] OK: 142 MiB in 39 packages [2020-09-09T18:46:45.991Z] Removing intermediate container 48ad074a69f5 [2020-09-09T18:46:45.991Z] ---> 1d3696777f44 [2020-09-09T18:46:45.991Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T18:46:45.991Z] ---> Running in 2c056923d067 [2020-09-09T18:46:46.593Z] Removing intermediate container 2c056923d067 [2020-09-09T18:46:46.593Z] ---> b4e122627931 [2020-09-09T18:46:46.593Z] Step 7/8 : COPY . . [2020-09-09T18:46:48.031Z] ---> 0f29624566fa [2020-09-09T18:46:48.031Z] Step 8/8 : RUN go mod download [2020-09-09T18:46:48.031Z] ---> Running in 7c3ba5d8299a [2020-09-09T18:46:50.655Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T18:46:50.655Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T18:46:50.655Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T18:46:50.655Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T18:46:50.655Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T18:46:50.655Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T18:46:50.655Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T18:46:50.655Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T18:46:50.655Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T18:46:50.655Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T18:46:50.655Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T18:46:50.655Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T18:46:50.655Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T18:46:50.655Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T18:46:50.929Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T18:46:50.929Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T18:46:50.929Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T18:46:50.929Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T18:46:50.929Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T18:46:50.929Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T18:46:50.929Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T18:46:50.929Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T18:46:50.929Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T18:46:50.929Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T18:46:50.929Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T18:46:50.929Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T18:46:51.203Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T18:46:51.478Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T18:46:51.478Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T18:46:51.478Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T18:46:51.478Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T18:46:51.478Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T18:46:51.478Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T18:46:51.478Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T18:46:51.478Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T18:46:51.478Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T18:46:51.478Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T18:46:51.775Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T18:46:51.775Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T18:46:51.775Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T18:46:51.775Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T18:46:51.775Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T18:46:51.775Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T18:46:51.775Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T18:46:51.775Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T18:46:51.775Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T18:46:51.775Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T18:46:51.775Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T18:46:51.775Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T18:46:52.047Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T18:46:52.047Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T18:46:52.047Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T18:46:52.047Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T18:46:52.047Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T18:46:52.047Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T18:46:52.047Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T18:46:52.047Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T18:46:52.047Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T18:47:02.238Z] Removing intermediate container 7c3ba5d8299a [2020-09-09T18:47:02.238Z] ---> f46e5a2919cd [2020-09-09T18:47:02.238Z] Successfully built f46e5a2919cd [2020-09-09T18:47:02.238Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:47:03.084Z] + docker inspect -f . ci-base-image-arm64 [2020-09-09T18:47:03.084Z] . [Pipeline] withDockerContainer [2020-09-09T18:47:03.322Z] prd-ubuntu18.04-docker-arm64-4c-16g-1980 does not seem to be running inside a container [2020-09-09T18:47:03.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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-09T18:47:05.585Z] $ docker top 52bc288a1936aff1f91cfe2e4e8d22db70e14f3793ed09202b183a078df3fb31 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T18:47:07.001Z] + go version [2020-09-09T18:47:07.001Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-09T18:47:08.061Z] + make test [2020-09-09T18:47:08.061Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T18:47:09.041Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T18:47:41.451Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T18:47:41.451Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T18:47:41.451Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T18:47:41.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 20.8% of statements [2020-09-09T18:47:41.451Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.159s coverage: 97.1% of statements [2020-09-09T18:48:13.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.018s coverage: 9.4% of statements [2020-09-09T18:48:13.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 21.9% of statements [2020-09-09T18:48:13.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T18:48:13.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.088s coverage: 37.0% of statements [2020-09-09T18:48:13.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T18:48:13.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.135s coverage: 65.4% of statements [2020-09-09T18:48:13.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T18:48:13.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T18:48:13.797Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T18:48:13.797Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.071s coverage: 52.6% of statements [2020-09-09T18:48:13.797Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.327s coverage: 68.9% of statements [2020-09-09T18:48:13.797Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T18:48:13.797Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T18:48:13.797Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T18:48:16.417Z] gofmt -l . [2020-09-09T18:48:16.689Z] [ "`gofmt -l .`" = "" ] [2020-09-09T18:48:16.964Z] ./bin/test-attribution-txt.sh [2020-09-09T18:48:17.941Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T18:48:18.232Z] Warning: overwriting stash ‘coverage-report’ [2020-09-09T18:48:19.064Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T18:48:19.071Z] $ docker stop --time=1 52bc288a1936aff1f91cfe2e4e8d22db70e14f3793ed09202b183a078df3fb31 [2020-09-09T18:48:21.217Z] $ docker rm -f 52bc288a1936aff1f91cfe2e4e8d22db70e14f3793ed09202b183a078df3fb31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T18:48:22.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T18:48:22.834Z] + ls -al . [2020-09-09T18:48:22.834Z] total 228 [2020-09-09T18:48:22.834Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 9 18:48 . [2020-09-09T18:48:22.834Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:45 .. [2020-09-09T18:48:22.834Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 18:45 .dockerignore [2020-09-09T18:48:22.834Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 18:46 .git [2020-09-09T18:48:22.834Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 18:45 .github [2020-09-09T18:48:22.834Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 9 18:45 .gitignore [2020-09-09T18:48:22.834Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 18:46 .semver [2020-09-09T18:48:22.834Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 9 18:45 Dockerfile.build [2020-09-09T18:48:22.834Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 9 18:45 Jenkinsfile [2020-09-09T18:48:22.834Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 9 18:45 LICENSE [2020-09-09T18:48:22.835Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 9 18:45 Makefile [2020-09-09T18:48:22.835Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 9 18:45 README.md [2020-09-09T18:48:22.835Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 9 18:45 RELEASE-NOTES.txt [2020-09-09T18:48:22.835Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 18:43 VERSION [2020-09-09T18:48:22.835Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 18:45 bin [2020-09-09T18:48:22.835Z] -rw-r--r-- 1 jenkins jenkins 110898 Sep 9 18:48 coverage.out [2020-09-09T18:48:22.835Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:45 example [2020-09-09T18:48:22.835Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 9 18:48 go.mod [2020-09-09T18:48:22.835Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 9 18:48 go.sum [2020-09-09T18:48:22.835Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 9 18:45 internal [2020-09-09T18:48:22.835Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:45 openapi [2020-09-09T18:48:22.835Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 9 18:45 pkg [2020-09-09T18:48:22.835Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 18:45 snap [2020-09-09T18:48:22.835Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 9 18:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:48:23.196Z] + 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=68750e4b68bd98029eaa65dc3b8c32172af6df85 --label arch=arm64 --label version=0.0.0 . [2020-09-09T18:48:23.465Z] Sending build context to Docker daemon 3.302MB [2020-09-09T18:48:23.739Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T18:48:23.739Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T18:48:23.739Z] ---> f46e5a2919cd [2020-09-09T18:48:23.739Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T18:48:23.739Z] ---> Running in 58d138e2eee3 [2020-09-09T18:48:24.344Z] Removing intermediate container 58d138e2eee3 [2020-09-09T18:48:24.344Z] ---> d3ee796c2346 [2020-09-09T18:48:24.344Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T18:48:24.344Z] ---> Running in 49abb9ce0e95 [2020-09-09T18:48:24.935Z] Removing intermediate container 49abb9ce0e95 [2020-09-09T18:48:24.935Z] ---> 91202123e2fb [2020-09-09T18:48:24.935Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:48:24.935Z] ---> Running in d40fa0a4cc61 [2020-09-09T18:48:25.531Z] Removing intermediate container d40fa0a4cc61 [2020-09-09T18:48:25.531Z] ---> 4df3c6da1c38 [2020-09-09T18:48:25.531Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T18:48:25.531Z] ---> Running in ff103cef19fe [2020-09-09T18:48:28.150Z] Removing intermediate container ff103cef19fe [2020-09-09T18:48:28.150Z] ---> 6376afb12b97 [2020-09-09T18:48:28.150Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T18:48:28.150Z] ---> Running in 89f63d5e8078 [2020-09-09T18:48:29.574Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T18:48:30.549Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T18:48:31.140Z] OK: 142 MiB in 39 packages [2020-09-09T18:48:32.566Z] Removing intermediate container 89f63d5e8078 [2020-09-09T18:48:32.566Z] ---> 1bc4afc72d65 [2020-09-09T18:48:32.566Z] Step 8/24 : COPY . . [2020-09-09T18:48:33.550Z] ---> d8e0e9dfc0cc [2020-09-09T18:48:33.550Z] Step 9/24 : RUN ${MAKE} [2020-09-09T18:48:33.820Z] ---> Running in 5f2006c5938c [2020-09-09T18:48:35.248Z] 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-09T18:48:57.427Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T18:49:00.041Z] Removing intermediate container 5f2006c5938c [2020-09-09T18:49:00.041Z] ---> 9090b437a28f [2020-09-09T18:49:00.041Z] Step 10/24 : FROM scratch [2020-09-09T18:49:00.041Z] ---> [2020-09-09T18:49:00.041Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T18:49:00.041Z] ---> Running in 1ebad98baa37 [2020-09-09T18:49:00.315Z] Removing intermediate container 1ebad98baa37 [2020-09-09T18:49:00.315Z] ---> 5c21e87dcac5 [2020-09-09T18:49:00.315Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T18:49:00.315Z] ---> Running in 9a7daa79a864 [2020-09-09T18:49:00.912Z] Removing intermediate container 9a7daa79a864 [2020-09-09T18:49:00.912Z] ---> 44051115a6cd [2020-09-09T18:49:00.912Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T18:49:00.912Z] ---> Running in 71b94c193b20 [2020-09-09T18:49:01.182Z] Removing intermediate container 71b94c193b20 [2020-09-09T18:49:01.182Z] ---> 6f38e66c0a70 [2020-09-09T18:49:01.182Z] Step 14/24 : WORKDIR / [2020-09-09T18:49:01.453Z] ---> Running in f933e5e2c2a9 [2020-09-09T18:49:01.725Z] Removing intermediate container f933e5e2c2a9 [2020-09-09T18:49:01.725Z] ---> e3f42a815d51 [2020-09-09T18:49:01.725Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-09T18:49:02.707Z] ---> 8f252782e429 [2020-09-09T18:49:02.707Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-09T18:49:03.685Z] ---> bd19e6fc9991 [2020-09-09T18:49:03.685Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T18:49:04.277Z] ---> 0b67fec26b02 [2020-09-09T18:49:04.277Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T18:49:04.868Z] ---> c6de8e12a46d [2020-09-09T18:49:04.868Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T18:49:05.843Z] ---> 4d9d76f026c6 [2020-09-09T18:49:05.843Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-09T18:49:05.843Z] ---> Running in 189b18b4af5f [2020-09-09T18:49:06.114Z] Removing intermediate container 189b18b4af5f [2020-09-09T18:49:06.114Z] ---> b67d06ee8a84 [2020-09-09T18:49:06.114Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T18:49:06.385Z] ---> Running in 0d7d6ba885a7 [2020-09-09T18:49:06.662Z] Removing intermediate container 0d7d6ba885a7 [2020-09-09T18:49:06.662Z] ---> c663f70c84a2 [2020-09-09T18:49:06.662Z] Step 22/24 : LABEL arch=arm64 [2020-09-09T18:49:06.935Z] ---> Running in c395d4499340 [2020-09-09T18:49:07.207Z] Removing intermediate container c395d4499340 [2020-09-09T18:49:07.207Z] ---> 428c2844345f [2020-09-09T18:49:07.207Z] Step 23/24 : LABEL git_sha=68750e4b68bd98029eaa65dc3b8c32172af6df85 [2020-09-09T18:49:07.479Z] ---> Running in aa0e4e2b2880 [2020-09-09T18:49:08.072Z] Removing intermediate container aa0e4e2b2880 [2020-09-09T18:49:08.072Z] ---> f9780bcfec43 [2020-09-09T18:49:08.072Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T18:49:08.072Z] ---> Running in f6c6e884d7e9 [2020-09-09T18:49:08.349Z] Removing intermediate container f6c6e884d7e9 [2020-09-09T18:49:08.349Z] ---> fb34ccac17f4 [2020-09-09T18:49:08.349Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T18:49:08.621Z] Successfully built fb34ccac17f4 [2020-09-09T18:49:08.622Z] 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-09T18:49:10.350Z] provisioning config files... [2020-09-09T18:49:10.361Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config3755537586563292009tmp [Pipeline] { [Pipeline] sh [2020-09-09T18:49:10.760Z] + curl -s https://codecov.io/bash [2020-09-09T18:49:10.760Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config3755537586563292009tmp [Pipeline] } [2020-09-09T18:49:11.031Z] 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-09T18:49:13.133Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T18:49:13.707Z] ---> package-listing.sh [2020-09-09T18:49:13.707Z] ++ facter osfamily [2020-09-09T18:49:13.707Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-09T18:49:13.707Z] + OS_FAMILY=redhat [2020-09-09T18:49:13.707Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-09T18:49:13.707Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-09T18:49:13.707Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-09T18:49:13.707Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-09T18:49:13.707Z] + PACKAGES=/tmp/packages_start.txt [2020-09-09T18:49:13.707Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-09T18:49:13.707Z] + PACKAGES=/tmp/packages_end.txt [2020-09-09T18:49:13.707Z] + case "${OS_FAMILY}" in [2020-09-09T18:49:13.707Z] + rpm -qa [2020-09-09T18:49:13.707Z] + sort [2020-09-09T18:49:17.933Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-09T18:49:17.933Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-09T18:49:17.933Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-09T18:49:17.933Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-09T18:49:17.933Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [2020-09-09T18:49:17.933Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:49:18.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T18:49:18.367Z] [2020-09-09T18:49:18.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-09T18:49:18.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T18:49:18.715Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-09T18:49:18.715Z] df20fa9351a1: Pulling fs layer [2020-09-09T18:49:18.715Z] 36b3adc4ff6f: Pulling fs layer [2020-09-09T18:49:18.715Z] 8ad3a11d3b57: Pulling fs layer [2020-09-09T18:49:18.715Z] 46f8f816bc3b: Pulling fs layer [2020-09-09T18:49:18.715Z] 0dadc02b9964: Pulling fs layer [2020-09-09T18:49:18.715Z] ce6a7cf60c04: Pulling fs layer [2020-09-09T18:49:18.715Z] 7a184a31f384: Pulling fs layer [2020-09-09T18:49:18.715Z] 0879bd2ef858: Pulling fs layer [2020-09-09T18:49:18.715Z] 0dadc02b9964: Waiting [2020-09-09T18:49:18.715Z] ce6a7cf60c04: Waiting [2020-09-09T18:49:18.715Z] 7a184a31f384: Waiting [2020-09-09T18:49:18.715Z] 0879bd2ef858: Waiting [2020-09-09T18:49:18.715Z] 46f8f816bc3b: Waiting [2020-09-09T18:49:18.715Z] 36b3adc4ff6f: Verifying Checksum [2020-09-09T18:49:18.715Z] 36b3adc4ff6f: Download complete [2020-09-09T18:49:18.715Z] 46f8f816bc3b: Verifying Checksum [2020-09-09T18:49:18.715Z] 46f8f816bc3b: Download complete [2020-09-09T18:49:18.715Z] df20fa9351a1: Download complete [2020-09-09T18:49:18.715Z] ce6a7cf60c04: Verifying Checksum [2020-09-09T18:49:18.715Z] ce6a7cf60c04: Download complete [2020-09-09T18:49:18.715Z] 7a184a31f384: Verifying Checksum [2020-09-09T18:49:18.715Z] 7a184a31f384: Download complete [2020-09-09T18:49:18.715Z] 0dadc02b9964: Verifying Checksum [2020-09-09T18:49:18.715Z] 0dadc02b9964: Download complete [2020-09-09T18:49:18.979Z] 8ad3a11d3b57: Verifying Checksum [2020-09-09T18:49:18.979Z] 8ad3a11d3b57: Download complete [2020-09-09T18:49:18.979Z] df20fa9351a1: Pull complete [2020-09-09T18:49:19.242Z] 0879bd2ef858: Verifying Checksum [2020-09-09T18:49:19.242Z] 0879bd2ef858: Download complete [2020-09-09T18:49:19.242Z] 36b3adc4ff6f: Pull complete [2020-09-09T18:49:19.818Z] 8ad3a11d3b57: Pull complete [2020-09-09T18:49:20.079Z] 46f8f816bc3b: Pull complete [2020-09-09T18:49:20.340Z] 0dadc02b9964: Pull complete [2020-09-09T18:49:20.340Z] ce6a7cf60c04: Pull complete [2020-09-09T18:49:20.603Z] 7a184a31f384: Pull complete [2020-09-09T18:49:22.528Z] 0879bd2ef858: Pull complete [2020-09-09T18:49:22.528Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-09T18:49:22.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T18:49:22.528Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-09T18:49:22.664Z] prd-centos7-docker-4c-2g-1975 does not seem to be running inside a container [2020-09-09T18:49:22.715Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-571 -v /w/workspace/dgexfoundry_device-sdk-go_PR-571:/w/workspace/dgexfoundry_device-sdk-go_PR-571:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-571@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-09T18:49:28.182Z] $ docker top 22c1151d428062a35c9c7cdae01212f6b4ac89b0ee0b9495a841a4e204c86ea6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T18:49:28.707Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-09T18:49:29.002Z] + ls /var/log/sa-host [2020-09-09T18:49:29.002Z] + sadf -c /var/log/sa-host/sa05 [2020-09-09T18:49:29.002Z] file_magic: OK [2020-09-09T18:49:29.002Z] HZ: Using current value: 100 [2020-09-09T18:49:29.002Z] file_header: OK [2020-09-09T18:49:29.002Z] 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-09-09T18:49:29.002Z] Statistics: [2020-09-09T18:49:29.002Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T18:49:29.002Z] File successfully converted to sysstat format version 12.2.1 [2020-09-09T18:49:29.002Z] + sadf -c /var/log/sa-host/sa09 [2020-09-09T18:49:29.002Z] file_magic: OK [2020-09-09T18:49:29.002Z] HZ: Using current value: 100 [2020-09-09T18:49:29.002Z] file_header: OK [2020-09-09T18:49:29.002Z] 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-09-09T18:49:29.002Z] Statistics: [2020-09-09T18:49:29.002Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T18:49:29.002Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-09T18:49:29.063Z] provisioning config files... [2020-09-09T18:49:29.079Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config719792849787337930tmp [Pipeline] { [Pipeline] echo [2020-09-09T18:49:29.147Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T18:49:29.445Z] ---> create-netrc.sh [Pipeline] echo [2020-09-09T18:49:29.455Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T18:49:29.749Z] ---> logs-deploy.sh [2020-09-09T18:49:29.749Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/7 [2020-09-09T18:49:29.749Z] INFO: archiving workspace using pattern(s): [2020-09-09T18:49:31.133Z] Archives upload complete. [2020-09-09T18:49:31.133Z] INFO: archiving logs to Nexus