Pull request #571 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from af5de07fbca8008184ecf07d9ae563f724de5245+4000e27a9f725d20d01bd2b86b2182ef891199d8 (89bab0bab19709ac05d548822e37f459e014f8e2) 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-2083 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 af5de07fbca8008184ecf07d9ae563f724de5245 > 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 af5de07fbca8008184ecf07d9ae563f724de5245 # 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 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing af5de07fbca8008184ecf07d9ae563f724de5245 Checking out Revision af5de07fbca8008184ecf07d9ae563f724de5245 (PR-571) > git config core.sparsecheckout # timeout=10 > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 Commit message: "Remove globalvars and refactor remaining packages" > git rev-list --no-walk 1b2bb57ab736822d33844b2e1f337cdce5a21e30 # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-10T09:13:14.375Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-10T09:13:14.627Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-10T09:13:14.710Z] ========================================================= [2020-09-10T09:13:14.710Z] EdgeX Global Pipelines Version Info [2020-09-10T09:13:14.710Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-10T09:13:16.126Z] ------------------- [2020-09-10T09:13:16.127Z] stable info: [2020-09-10T09:13:16.127Z] ------------------- [2020-09-10T09:13:16.127Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-10T09:13:16.127Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-10T09:13:16.127Z] Message: update stable to v1.0.119 [2020-09-10T09:13:17.070Z] ------------------- [2020-09-10T09:13:17.070Z] experimental info: [2020-09-10T09:13:17.070Z] ------------------- [2020-09-10T09:13:17.070Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-10T09:13:17.070Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-10T09:13:17.070Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-10T09:13:17.360Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-10T09:13:17.441Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-10T09:13:17.520Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-10T09:13:17.601Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-10T09:13:17.679Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-10T09:13:17.757Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-10T09:13:17.843Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-10T09:13:17.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-10T09:13:18.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-10T09:13:18.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-10T09:13:18.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-10T09:13:18.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-10T09:13:18.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-10T09:13:18.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-10T09:13:18.536Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-10T09:13:18.616Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T09:13:18.689Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T09:13:18.761Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-10T09:13:18.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-10T09:13:18.925Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-10T09:13:19.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-10T09:13:19.126Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-10T09:13:19.210Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-571 [Pipeline] echo [2020-09-10T09:13:19.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-571 [Pipeline] echo [2020-09-10T09:13:19.387Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-571 [Pipeline] echo [2020-09-10T09:13:19.461Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af5de07fbca8008184ecf07d9ae563f724de5245 [Pipeline] echo [2020-09-10T09:13:19.537Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af5de07 [Pipeline] echo [2020-09-10T09:13:19.624Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-10T09:13:20.173Z] + git log --format=format:%s -1 af5de07fbca8008184ecf07d9ae563f724de5245 [Pipeline] echo [2020-09-10T09:13:20.228Z] GIT_COMMIT: af5de07fbca8008184ecf07d9ae563f724de5245, Commit Message: Remove globalvars and refactor remaining packages [Pipeline] echo [2020-09-10T09:13:20.317Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-10T09:13:21.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T09:13:21.431Z] [2020-09-10T09:13:21.431Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-10T09:13:21.772Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T09:13:21.772Z] latest: Pulling from edgex-devops/git-semver [2020-09-10T09:13:21.772Z] 31603596830f: Pulling fs layer [2020-09-10T09:13:21.772Z] 2a8b12db71e7: Pulling fs layer [2020-09-10T09:13:21.772Z] 6ca5941a6612: Pulling fs layer [2020-09-10T09:13:21.772Z] ecc8261a40a4: Pulling fs layer [2020-09-10T09:13:21.772Z] ecc8261a40a4: Waiting [2020-09-10T09:13:21.772Z] 2a8b12db71e7: Verifying Checksum [2020-09-10T09:13:21.772Z] 2a8b12db71e7: Download complete [2020-09-10T09:13:22.040Z] 31603596830f: Verifying Checksum [2020-09-10T09:13:22.040Z] 31603596830f: Download complete [2020-09-10T09:13:22.310Z] 31603596830f: Pull complete [2020-09-10T09:13:22.310Z] 2a8b12db71e7: Pull complete [2020-09-10T09:13:22.310Z] 6ca5941a6612: Verifying Checksum [2020-09-10T09:13:22.310Z] 6ca5941a6612: Download complete [2020-09-10T09:13:22.592Z] ecc8261a40a4: Verifying Checksum [2020-09-10T09:13:22.592Z] ecc8261a40a4: Download complete [2020-09-10T09:13:23.193Z] 6ca5941a6612: Pull complete [2020-09-10T09:13:23.455Z] ecc8261a40a4: Pull complete [2020-09-10T09:13:23.455Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-10T09:13:23.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-10T09:13:23.455Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-10T09:13:23.553Z] prd-centos7-docker-4c-2g-2083 does not seem to be running inside a container [2020-09-10T09:13:23.595Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-10T09:13:25.868Z] $ docker top dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-10T09:13:26.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T09:13:26.196Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T09:13:26.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T09:13:26.419Z] $ docker exec dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 ssh-agent [2020-09-10T09:13:26.575Z] SSH_AUTH_SOCK=/tmp/ssh-Q3mXsUsSrmua/agent.11 [2020-09-10T09:13:26.575Z] SSH_AGENT_PID=17 [2020-09-10T09:13:26.587Z] Running ssh-add (command line suppressed) [2020-09-10T09:13:26.706Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_244439156946070131.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_244439156946070131.key) [2020-09-10T09:13:26.751Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T09:13:27.079Z] + git describe --exact-match --tags HEAD [2020-09-10T09:13:27.079Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-10T09:13:27.101Z] $ docker exec --env ******** --env ******** dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 ssh-agent -k [2020-09-10T09:13:27.207Z] unset SSH_AUTH_SOCK; [2020-09-10T09:13:27.207Z] unset SSH_AGENT_PID; [2020-09-10T09:13:27.207Z] echo Agent pid 17 killed; [2020-09-10T09:13:27.246Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-10T09:13:27.322Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-10T09:13:27.322Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-10T09:13:27.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-10T09:13:27.410Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-10T09:13:27.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-10T09:13:27.571Z] $ docker exec dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 ssh-agent [2020-09-10T09:13:27.719Z] SSH_AUTH_SOCK=/tmp/ssh-rKXCcUdjmfQE/agent.45 [2020-09-10T09:13:27.719Z] SSH_AGENT_PID=51 [2020-09-10T09:13:27.724Z] Running ssh-add (command line suppressed) [2020-09-10T09:13:27.836Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7607311789747920101.key (/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/private_key_7607311789747920101.key) [2020-09-10T09:13:27.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-10T09:13:28.219Z] + git semver init [2020-09-10T09:13:28.219Z] # -> Open(): unable to determine branch for HEAD [2020-09-10T09:13:28.219Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.git [2020-09-10T09:13:28.219Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-10T09:13:28.219Z] # $SEMVER_REMOTE_NAME = origin [2020-09-10T09:13:28.219Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-10T09:13:28.219Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-10T09:13:28.219Z] # $SEMVER_BRANCH = PR-571 [2020-09-10T09:13:28.219Z] # $SEMVER_TEMP = /tmp/semver-105762557 [2020-09-10T09:13:28.219Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-10T09:13:28.804Z] # '/tmp/semver-105762557' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver' [2020-09-10T09:13:28.804Z] # -> Force: false [2020-09-10T09:13:28.804Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-571/.semver [Pipeline] } [2020-09-10T09:13:28.818Z] $ docker exec --env ******** --env ******** dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 ssh-agent -k [2020-09-10T09:13:28.940Z] unset SSH_AUTH_SOCK; [2020-09-10T09:13:28.940Z] unset SSH_AGENT_PID; [2020-09-10T09:13:28.940Z] echo Agent pid 51 killed; [2020-09-10T09:13:28.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-10T09:13:29.413Z] + git semver [Pipeline] } [2020-09-10T09:13:29.430Z] $ docker stop --time=1 dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 [2020-09-10T09:13:30.827Z] $ docker rm -f dc655c3b1064e4fc2e6324d417a2afdc601d1400b110bdf64d9055499181f3e5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-10T09:13:31.737Z] Stashed 33 file(s) [Pipeline] echo [2020-09-10T09:13:31.739Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-10T09:13:31.817Z] 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-10T09:13:47.197Z] Still waiting to schedule task [2020-09-10T09:13:47.197Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-10T09:13:47.199Z] Still waiting to schedule task [2020-09-10T09:13:47.199Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-10T09:15:41.606Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2084 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-10T09:15:41.685Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-10T09:15:46.810Z] using credential edgex-jenkins-ssh [2020-09-10T09:15:46.863Z] Cloning the remote Git repository [2020-09-10T09:15:46.863Z] Cloning with configured refspecs honoured and without tags [2020-09-10T09:15:46.932Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T09:15:47.037Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-09-10T09:15:47.106Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T09:15:47.106Z] > git --version # timeout=10 [2020-09-10T09:15:47.126Z] > git --version # 'git version 2.17.1' [2020-09-10T09:15:47.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T09:15:47.198Z] > 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-10T09:15:48.271Z] Fetching without tags [2020-09-10T09:15:48.732Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit af5de07fbca8008184ecf07d9ae563f724de5245 [2020-09-10T09:15:48.973Z] Merge succeeded, producing af5de07fbca8008184ecf07d9ae563f724de5245 [2020-09-10T09:15:48.973Z] Checking out Revision af5de07fbca8008184ecf07d9ae563f724de5245 (PR-571) [2020-09-10T09:15:48.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T09:15:48.199Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-10T09:15:48.220Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T09:15:48.252Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T09:15:48.283Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T09:15:48.284Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T09:15:48.301Z] > 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-10T09:15:48.755Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T09:15:48.777Z] > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 [2020-09-10T09:15:48.887Z] > git remote # timeout=10 [2020-09-10T09:15:48.912Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T09:15:48.924Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T09:15:48.935Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-10T09:15:48.960Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T09:15:48.985Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T09:15:49.058Z] > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 [2020-09-10T09:15:53.354Z] Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-10T09:15:54.537Z] ========================================================= [2020-09-10T09:15:54.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-10T09:15:54.538Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T09:15:55.503Z] + 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-10T09:15:56.491Z] Sending build context to Docker daemon 3.14MB [2020-09-10T09:15:56.491Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-10T09:15:56.491Z] Step 2/8 : FROM ${BASE} [2020-09-10T09:15:56.768Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-10T09:15:56.768Z] b538f80385f9: Pulling fs layer [2020-09-10T09:15:56.768Z] 74f711af9a0d: Pulling fs layer [2020-09-10T09:15:56.768Z] 99f96fe45779: Pulling fs layer [2020-09-10T09:15:56.768Z] fd7a069fd194: Pulling fs layer [2020-09-10T09:15:56.768Z] 66aa3694b03b: Pulling fs layer [2020-09-10T09:15:56.768Z] 170f70906a0f: Pulling fs layer [2020-09-10T09:15:56.768Z] ad7c5574e4b9: Pulling fs layer [2020-09-10T09:15:56.768Z] e772456be8f7: Pulling fs layer [2020-09-10T09:15:56.768Z] fd7a069fd194: Waiting [2020-09-10T09:15:56.768Z] c890913d741a: Pulling fs layer [2020-09-10T09:15:56.768Z] 66aa3694b03b: Waiting [2020-09-10T09:15:56.768Z] 2480fcc9aa5a: Pulling fs layer [2020-09-10T09:15:56.768Z] 09adf4765672: Pulling fs layer [2020-09-10T09:15:56.768Z] c890913d741a: Waiting [2020-09-10T09:15:56.768Z] 2480fcc9aa5a: Waiting [2020-09-10T09:15:56.768Z] 09adf4765672: Waiting [2020-09-10T09:15:56.768Z] 170f70906a0f: Waiting [2020-09-10T09:15:56.768Z] ad7c5574e4b9: Waiting [2020-09-10T09:15:56.768Z] e772456be8f7: Waiting [2020-09-10T09:15:56.768Z] 99f96fe45779: Verifying Checksum [2020-09-10T09:15:56.768Z] 99f96fe45779: Download complete [2020-09-10T09:15:56.768Z] 74f711af9a0d: Verifying Checksum [2020-09-10T09:15:56.768Z] 74f711af9a0d: Download complete [2020-09-10T09:15:56.768Z] 66aa3694b03b: Download complete [2020-09-10T09:15:56.768Z] 170f70906a0f: Verifying Checksum [2020-09-10T09:15:56.768Z] 170f70906a0f: Download complete [2020-09-10T09:15:57.047Z] b538f80385f9: Verifying Checksum [2020-09-10T09:15:57.047Z] b538f80385f9: Download complete [2020-09-10T09:15:58.047Z] b538f80385f9: Pull complete [2020-09-10T09:15:58.324Z] 74f711af9a0d: Pull complete [2020-09-10T09:15:58.925Z] 99f96fe45779: Pull complete [2020-09-10T09:16:00.377Z] ad7c5574e4b9: Verifying Checksum [2020-09-10T09:16:00.377Z] ad7c5574e4b9: Download complete [2020-09-10T09:16:00.377Z] c890913d741a: Download complete [2020-09-10T09:16:01.354Z] e772456be8f7: Verifying Checksum [2020-09-10T09:16:01.354Z] e772456be8f7: Download complete [2020-09-10T09:16:01.354Z] 09adf4765672: Verifying Checksum [2020-09-10T09:16:01.354Z] 09adf4765672: Download complete [2020-09-10T09:16:01.949Z] 2480fcc9aa5a: Verifying Checksum [2020-09-10T09:16:01.949Z] 2480fcc9aa5a: Download complete [2020-09-10T09:16:02.544Z] fd7a069fd194: Download complete [2020-09-10T09:16:14.960Z] fd7a069fd194: Pull complete [2020-09-10T09:16:14.960Z] 66aa3694b03b: Pull complete [2020-09-10T09:16:14.960Z] 170f70906a0f: Pull complete [2020-09-10T09:16:17.580Z] ad7c5574e4b9: Pull complete [2020-09-10T09:16:21.887Z] e772456be8f7: Pull complete [2020-09-10T09:16:22.496Z] c890913d741a: Pull complete [2020-09-10T09:16:25.198Z] 2480fcc9aa5a: Pull complete [2020-09-10T09:16:25.198Z] 09adf4765672: Pull complete [2020-09-10T09:16:25.198Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-10T09:16:25.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-10T09:16:25.198Z] ---> 2248a725d1cf [2020-09-10T09:16:25.198Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T09:16:29.529Z] ---> Running in 5dfbc9473bda [2020-09-10T09:16:29.806Z] Removing intermediate container 5dfbc9473bda [2020-09-10T09:16:29.806Z] ---> 2c213f7d3a8f [2020-09-10T09:16:29.806Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T09:16:29.806Z] ---> Running in 37b62265d31f [2020-09-10T09:16:32.483Z] Removing intermediate container 37b62265d31f [2020-09-10T09:16:32.483Z] ---> d7105dafe927 [2020-09-10T09:16:32.483Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-10T09:16:32.483Z] ---> Running in 6ee327cbba6e [2020-09-10T09:16:33.948Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-10T09:16:34.931Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-10T09:16:35.543Z] OK: 142 MiB in 39 packages [2020-09-10T09:16:36.626Z] Running on prd-centos7-docker-4c-2g-2085 in /w/workspace/dgexfoundry_device-sdk-go_PR-571 [Pipeline] { [Pipeline] ws [2020-09-10T09:16:36.719Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2020-09-10T09:16:37.003Z] Removing intermediate container 6ee327cbba6e [2020-09-10T09:16:37.003Z] ---> ae3f5b00aa81 [2020-09-10T09:16:37.003Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-10T09:16:37.003Z] ---> Running in 21f1e4eba3c3 [2020-09-10T09:16:37.283Z] Removing intermediate container 21f1e4eba3c3 [2020-09-10T09:16:37.283Z] ---> 9c3aeda319aa [2020-09-10T09:16:37.283Z] Step 7/8 : COPY . . [2020-09-10T09:16:38.772Z] ---> 76aa7cfc56c1 [2020-09-10T09:16:38.772Z] Step 8/8 : RUN go mod download [2020-09-10T09:16:38.772Z] ---> Running in bd551be7c62a [2020-09-10T09:16:41.429Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-10T09:16:41.429Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-10T09:16:41.429Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-10T09:16:41.429Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-10T09:16:41.429Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-10T09:16:41.429Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-10T09:16:41.429Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-10T09:16:41.429Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-10T09:16:41.429Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-10T09:16:41.703Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-10T09:16:41.703Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-10T09:16:41.703Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-10T09:16:41.703Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-10T09:16:41.982Z] go: finding github.com/fatih/color v1.7.0 [2020-09-10T09:16:41.982Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-10T09:16:41.982Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-10T09:16:41.982Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-10T09:16:41.982Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-10T09:16:41.982Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-10T09:16:41.982Z] go: finding github.com/google/uuid v1.1.0 [2020-09-10T09:16:41.982Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-10T09:16:41.982Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-10T09:16:41.982Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-10T09:16:41.982Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-10T09:16:42.253Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-10T09:16:42.525Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-10T09:16:42.525Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-10T09:16:42.525Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-10T09:16:42.525Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-10T09:16:42.525Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-10T09:16:42.525Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-10T09:16:42.525Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-10T09:16:42.525Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-10T09:16:42.525Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-10T09:16:42.525Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-10T09:16:42.796Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-10T09:16:42.796Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-10T09:16:42.796Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-10T09:16:42.796Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-10T09:16:42.796Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-10T09:16:42.796Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-10T09:16:42.796Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-10T09:16:42.796Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-10T09:16:42.796Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-10T09:16:42.796Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-10T09:16:42.796Z] go: finding github.com/posener/complete v1.1.1 [2020-09-10T09:16:42.796Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-10T09:16:43.066Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-10T09:16:43.066Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-10T09:16:43.066Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-10T09:16:43.066Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-10T09:16:43.066Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-10T09:16:43.066Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-10T09:16:43.066Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-10T09:16:43.066Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-10T09:16:43.066Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-10T09:16:43.336Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-10T09:16:43.336Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-10T09:16:43.717Z] using credential edgex-jenkins-ssh [2020-09-10T09:16:43.763Z] Cloning the remote Git repository [2020-09-10T09:16:43.763Z] Cloning with configured refspecs honoured and without tags [2020-09-10T09:16:43.819Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T09:16:43.900Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2020-09-10T09:16:43.963Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T09:16:43.964Z] > git --version # timeout=10 [2020-09-10T09:16:43.976Z] > git --version # 'git version 2.16.5' [2020-09-10T09:16:43.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T09:16:44.024Z] > 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-10T09:16:44.825Z] Fetching without tags [2020-09-10T09:16:45.319Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit af5de07fbca8008184ecf07d9ae563f724de5245 [2020-09-10T09:16:45.467Z] Merge succeeded, producing af5de07fbca8008184ecf07d9ae563f724de5245 [2020-09-10T09:16:45.467Z] Checking out Revision af5de07fbca8008184ecf07d9ae563f724de5245 (PR-571) [2020-09-10T09:16:44.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T09:16:44.784Z] > git config --add remote.origin.fetch +refs/pull/571/head:refs/remotes/origin/PR-571 # timeout=10 [2020-09-10T09:16:44.800Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-10T09:16:44.818Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-10T09:16:44.832Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-10T09:16:44.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T09:16:44.837Z] > 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-10T09:16:45.331Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T09:16:45.339Z] > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 [2020-09-10T09:16:45.399Z] > git remote # timeout=10 [2020-09-10T09:16:45.419Z] > git config --get remote.origin.url # timeout=10 [2020-09-10T09:16:45.425Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-10T09:16:45.431Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-10T09:16:45.444Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-10T09:16:45.473Z] > git config core.sparsecheckout # timeout=10 [2020-09-10T09:16:45.480Z] > git checkout -f af5de07fbca8008184ecf07d9ae563f724de5245 # timeout=10 [2020-09-10T09:16:49.436Z] Commit message: "Remove globalvars and refactor remaining packages" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-10T09:16:50.447Z] ========================================================= [2020-09-10T09:16:50.447Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-10T09:16:50.447Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-10T09:16:51.610Z] Removing intermediate container bd551be7c62a [2020-09-10T09:16:51.610Z] ---> c9fc444dc843 [2020-09-10T09:16:51.610Z] Successfully built c9fc444dc843 [2020-09-10T09:16:51.736Z] + 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-10T09:16:51.880Z] 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-10T09:16:52.370Z] Sending build context to Docker daemon 3.138MB [2020-09-10T09:16:52.370Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-10T09:16:52.370Z] Step 2/8 : FROM ${BASE} [2020-09-10T09:16:52.370Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-10T09:16:52.370Z] df20fa9351a1: Pulling fs layer [2020-09-10T09:16:52.370Z] ed8968b2872e: Pulling fs layer [2020-09-10T09:16:52.370Z] a92cc7c5fd73: Pulling fs layer [2020-09-10T09:16:52.370Z] 2dd03ba5bac4: Pulling fs layer [2020-09-10T09:16:52.370Z] 1e091d79d1de: Pulling fs layer [2020-09-10T09:16:52.370Z] 481702a1767f: Pulling fs layer [2020-09-10T09:16:52.370Z] f64a6f60c768: Pulling fs layer [2020-09-10T09:16:52.370Z] e78d2573fc39: Pulling fs layer [2020-09-10T09:16:52.370Z] e876d2f968b6: Pulling fs layer [2020-09-10T09:16:52.370Z] ce8a83651883: Pulling fs layer [2020-09-10T09:16:52.370Z] 07967f4d0e4b: Pulling fs layer [2020-09-10T09:16:52.370Z] e78d2573fc39: Waiting [2020-09-10T09:16:52.370Z] e876d2f968b6: Waiting [2020-09-10T09:16:52.370Z] ce8a83651883: Waiting [2020-09-10T09:16:52.370Z] 07967f4d0e4b: Waiting [2020-09-10T09:16:52.370Z] 2dd03ba5bac4: Waiting [2020-09-10T09:16:52.370Z] 1e091d79d1de: Waiting [2020-09-10T09:16:52.370Z] 481702a1767f: Waiting [2020-09-10T09:16:52.370Z] f64a6f60c768: Waiting [2020-09-10T09:16:52.370Z] a92cc7c5fd73: Verifying Checksum [2020-09-10T09:16:52.370Z] a92cc7c5fd73: Download complete [2020-09-10T09:16:52.370Z] ed8968b2872e: Verifying Checksum [2020-09-10T09:16:52.370Z] ed8968b2872e: Download complete [2020-09-10T09:16:52.370Z] 1e091d79d1de: Verifying Checksum [2020-09-10T09:16:52.370Z] 1e091d79d1de: Download complete [2020-09-10T09:16:52.370Z] 481702a1767f: Verifying Checksum [2020-09-10T09:16:52.370Z] 481702a1767f: Download complete [2020-09-10T09:16:52.641Z] + docker inspect -f . ci-base-image-arm64 [2020-09-10T09:16:52.641Z] . [Pipeline] withDockerContainer [2020-09-10T09:16:52.916Z] prd-ubuntu18.04-docker-arm64-4c-16g-2084 does not seem to be running inside a container [2020-09-10T09:16:52.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-10T09:16:53.147Z] df20fa9351a1: Verifying Checksum [2020-09-10T09:16:53.147Z] df20fa9351a1: Download complete [2020-09-10T09:16:53.862Z] df20fa9351a1: Pull complete [2020-09-10T09:16:54.149Z] ed8968b2872e: Pull complete [2020-09-10T09:16:54.416Z] a92cc7c5fd73: Pull complete [2020-09-10T09:16:54.802Z] $ docker top 2e96bce14c4e40a37321091e048d1f0482bb04bc62eb02f6ad28c5a665d5c71f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T09:16:56.226Z] + go version [2020-09-10T09:16:56.226Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-10T09:16:56.419Z] f64a6f60c768: Verifying Checksum [2020-09-10T09:16:56.419Z] f64a6f60c768: Download complete [2020-09-10T09:16:56.419Z] e876d2f968b6: Verifying Checksum [2020-09-10T09:16:56.419Z] e876d2f968b6: Download complete [2020-09-10T09:16:57.274Z] + make test [2020-09-10T09:16:57.274Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-10T09:16:58.261Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-10T09:16:59.977Z] ce8a83651883: Verifying Checksum [2020-09-10T09:16:59.977Z] ce8a83651883: Download complete [2020-09-10T09:17:00.723Z] 07967f4d0e4b: Verifying Checksum [2020-09-10T09:17:00.723Z] 07967f4d0e4b: Download complete [2020-09-10T09:17:02.972Z] e78d2573fc39: Verifying Checksum [2020-09-10T09:17:02.972Z] e78d2573fc39: Download complete [2020-09-10T09:17:02.972Z] 2dd03ba5bac4: Verifying Checksum [2020-09-10T09:17:02.972Z] 2dd03ba5bac4: Download complete [2020-09-10T09:17:13.382Z] 2dd03ba5bac4: Pull complete [2020-09-10T09:17:13.382Z] 1e091d79d1de: Pull complete [2020-09-10T09:17:13.382Z] 481702a1767f: Pull complete [2020-09-10T09:17:17.694Z] f64a6f60c768: Pull complete [2020-09-10T09:17:22.096Z] e78d2573fc39: Pull complete [2020-09-10T09:17:22.395Z] e876d2f968b6: Pull complete [2020-09-10T09:17:23.986Z] ce8a83651883: Pull complete [2020-09-10T09:17:24.318Z] 07967f4d0e4b: Pull complete [2020-09-10T09:17:24.318Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-10T09:17:24.318Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-10T09:17:24.318Z] ---> 5d7c900382c6 [2020-09-10T09:17:24.318Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T09:17:25.767Z] ---> Running in 509b164dd030 [2020-09-10T09:17:26.042Z] Removing intermediate container 509b164dd030 [2020-09-10T09:17:26.042Z] ---> 8b6d2dcd5e9d [2020-09-10T09:17:26.042Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T09:17:26.042Z] ---> Running in 37c09a0f333e [2020-09-10T09:17:28.080Z] Removing intermediate container 37c09a0f333e [2020-09-10T09:17:28.080Z] ---> 2a3030791a4b [2020-09-10T09:17:28.080Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-10T09:17:28.080Z] ---> Running in 4cc0f5a21801 [2020-09-10T09:17:28.708Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-10T09:17:29.803Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-10T09:17:30.388Z] OK: 166 MiB in 39 packages [2020-09-10T09:17:30.632Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-10T09:17:30.632Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-10T09:17:30.632Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-10T09:17:30.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.027s coverage: 20.8% of statements [2020-09-10T09:17:30.632Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.139s coverage: 97.1% of statements [2020-09-10T09:17:31.250Z] Removing intermediate container 4cc0f5a21801 [2020-09-10T09:17:31.250Z] ---> 016cba71feff [2020-09-10T09:17:31.250Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-10T09:17:31.250Z] ---> Running in 86e228da6670 [2020-09-10T09:17:31.606Z] Removing intermediate container 86e228da6670 [2020-09-10T09:17:31.606Z] ---> 40a59f9d034c [2020-09-10T09:17:31.606Z] Step 7/8 : COPY . . [2020-09-10T09:17:33.126Z] ---> 33f1d6c8169e [2020-09-10T09:17:33.126Z] Step 8/8 : RUN go mod download [2020-09-10T09:17:33.126Z] ---> Running in 80deecd44086 [2020-09-10T09:17:35.766Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-10T09:17:35.766Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-10T09:17:35.766Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-10T09:17:35.766Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-10T09:17:35.766Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-10T09:17:35.766Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-10T09:17:35.766Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-10T09:17:35.766Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-10T09:17:35.766Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-10T09:17:35.766Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-10T09:17:35.766Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-10T09:17:35.766Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-10T09:17:35.766Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-10T09:17:35.766Z] go: finding github.com/fatih/color v1.7.0 [2020-09-10T09:17:35.766Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-10T09:17:35.766Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-10T09:17:35.766Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-10T09:17:35.766Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-10T09:17:35.766Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-10T09:17:35.766Z] go: finding github.com/google/uuid v1.1.0 [2020-09-10T09:17:35.766Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-10T09:17:35.766Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-10T09:17:35.766Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-10T09:17:35.766Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-10T09:17:35.766Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-10T09:17:36.058Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-10T09:17:36.058Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-10T09:17:36.058Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-10T09:17:36.058Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-10T09:17:36.058Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-10T09:17:36.058Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-10T09:17:36.058Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-10T09:17:36.058Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-10T09:17:36.059Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-10T09:17:36.059Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-10T09:17:36.059Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-10T09:17:36.351Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-10T09:17:36.351Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-10T09:17:36.351Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-10T09:17:36.351Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-10T09:17:36.351Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-10T09:17:36.351Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-10T09:17:36.351Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-10T09:17:36.351Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-10T09:17:36.351Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-10T09:17:36.621Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-10T09:17:36.621Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-10T09:17:36.621Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-10T09:17:36.621Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-10T09:17:36.621Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-10T09:17:36.621Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-10T09:17:36.621Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-10T09:17:36.621Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-10T09:17:36.621Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-10T09:17:36.893Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-10T09:17:36.893Z] go: finding github.com/posener/complete v1.1.1 [2020-09-10T09:17:36.893Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-10T09:17:36.893Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-10T09:17:36.893Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-10T09:17:36.893Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-10T09:17:36.893Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-10T09:17:36.893Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-10T09:17:36.893Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-10T09:17:36.893Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-10T09:17:36.893Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-10T09:17:37.290Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-10T09:17:37.290Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-10T09:17:37.290Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-10T09:17:47.726Z] Removing intermediate container 80deecd44086 [2020-09-10T09:17:47.726Z] ---> 69d448b84220 [2020-09-10T09:17:47.726Z] Successfully built 69d448b84220 [2020-09-10T09:17:47.726Z] 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-10T09:17:48.534Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-10T09:17:48.801Z] . [Pipeline] withDockerContainer [2020-09-10T09:17:48.949Z] prd-centos7-docker-4c-2g-2085 does not seem to be running inside a container [2020-09-10T09:17:49.038Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-10T09:17:50.322Z] $ docker top 3e4aec96d225078f43b00c5a543dcc2e86ffeb1b6e44a60f5e4c4fd03046e038 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T09:17:50.961Z] + go version [2020-09-10T09:17:50.961Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-10T09:17:51.365Z] + make test [2020-09-10T09:17:51.365Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-10T09:17:53.324Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-10T09:18:02.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.026s coverage: 9.4% of statements [2020-09-10T09:18:02.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.033s coverage: 21.9% of statements [2020-09-10T09:18:02.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-10T09:18:02.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.093s coverage: 37.0% of statements [2020-09-10T09:18:02.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-10T09:18:02.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.114s coverage: 65.4% of statements [2020-09-10T09:18:02.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-10T09:18:02.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-10T09:18:02.971Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-10T09:18:02.971Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.060s coverage: 52.6% of statements [2020-09-10T09:18:02.971Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.325s coverage: 68.9% of statements [2020-09-10T09:18:02.971Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-10T09:18:02.971Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-10T09:18:02.971Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-10T09:18:06.380Z] gofmt -l . [2020-09-10T09:18:06.380Z] [ "`gofmt -l .`" = "" ] [2020-09-10T09:18:06.380Z] ./bin/test-attribution-txt.sh [2020-09-10T09:18:07.362Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-10T09:18:08.655Z] Stashed 1 file(s) [Pipeline] } [2020-09-10T09:18:08.664Z] $ docker stop --time=1 2e96bce14c4e40a37321091e048d1f0482bb04bc62eb02f6ad28c5a665d5c71f [2020-09-10T09:18:10.845Z] $ docker rm -f 2e96bce14c4e40a37321091e048d1f0482bb04bc62eb02f6ad28c5a665d5c71f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-10T09:18:11.846Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-10T09:18:11.846Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-10T09:18:11.846Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-10T09:18:11.846Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 20.8% of statements [2020-09-10T09:18:13.364Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.125s coverage: 97.1% of statements [Pipeline] sh [2020-09-10T09:18:13.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-10T09:18:14.219Z] + ls -al . [2020-09-10T09:18:14.219Z] total 228 [2020-09-10T09:18:14.219Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 10 09:18 . [2020-09-10T09:18:14.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 09:15 .. [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 09:15 .dockerignore [2020-09-10T09:18:14.219Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 09:15 .git [2020-09-10T09:18:14.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 09:15 .github [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 10 09:15 .gitignore [2020-09-10T09:18:14.219Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 09:15 .semver [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 10 09:15 Dockerfile.build [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 10 09:15 Jenkinsfile [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 10 09:15 LICENSE [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 10 09:15 Makefile [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 10 09:15 README.md [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 10 09:15 RELEASE-NOTES.txt [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 10 09:13 VERSION [2020-09-10T09:18:14.219Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 09:15 bin [2020-09-10T09:18:14.219Z] -rw-r--r-- 1 jenkins jenkins 110898 Sep 10 09:17 coverage.out [2020-09-10T09:18:14.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 09:15 example [2020-09-10T09:18:14.219Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 10 09:18 go.mod [2020-09-10T09:18:14.219Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 10 09:18 go.sum [2020-09-10T09:18:14.219Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 10 09:15 internal [2020-09-10T09:18:14.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 09:15 openapi [2020-09-10T09:18:14.219Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 10 09:15 pkg [2020-09-10T09:18:14.219Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 09:15 snap [2020-09-10T09:18:14.219Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 10 09:15 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-10T09:18:14.570Z] + 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=af5de07fbca8008184ecf07d9ae563f724de5245 --label arch=arm64 --label version=0.0.0 . [2020-09-10T09:18:15.185Z] Sending build context to Docker daemon 3.252MB [2020-09-10T09:18:15.185Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-10T09:18:15.185Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-10T09:18:15.185Z] ---> c9fc444dc843 [2020-09-10T09:18:15.185Z] Step 3/24 : ARG MAKE='make build' [2020-09-10T09:18:15.457Z] ---> Running in b667b84c80aa [2020-09-10T09:18:15.729Z] Removing intermediate container b667b84c80aa [2020-09-10T09:18:15.729Z] ---> 73b0e4248b15 [2020-09-10T09:18:15.729Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-10T09:18:16.001Z] ---> Running in 97cef4557f40 [2020-09-10T09:18:16.274Z] Removing intermediate container 97cef4557f40 [2020-09-10T09:18:16.274Z] ---> 5964694db620 [2020-09-10T09:18:16.274Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T09:18:16.546Z] ---> Running in 9fa7befc8060 [2020-09-10T09:18:16.818Z] Removing intermediate container 9fa7befc8060 [2020-09-10T09:18:16.818Z] ---> 143ab1547eb8 [2020-09-10T09:18:16.818Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T09:18:17.091Z] ---> Running in b63da5366a33 [2020-09-10T09:18:19.710Z] Removing intermediate container b63da5366a33 [2020-09-10T09:18:19.710Z] ---> 55c2ccca4517 [2020-09-10T09:18:19.710Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-10T09:18:19.710Z] ---> Running in aeb6e0665410 [2020-09-10T09:18:21.137Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-10T09:18:22.107Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-10T09:18:22.700Z] OK: 142 MiB in 39 packages [2020-09-10T09:18:24.128Z] Removing intermediate container aeb6e0665410 [2020-09-10T09:18:24.128Z] ---> d29cbf32d1b9 [2020-09-10T09:18:24.128Z] Step 8/24 : COPY . . [2020-09-10T09:18:25.100Z] ---> 097898d8f87d [2020-09-10T09:18:25.100Z] Step 9/24 : RUN ${MAKE} [2020-09-10T09:18:25.372Z] ---> Running in 933927048b77 [2020-09-10T09:18:26.800Z] 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-10T09:18:45.830Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.006s coverage: 9.4% of statements [2020-09-10T09:18:45.830Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.022s coverage: 21.9% of statements [2020-09-10T09:18:45.830Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-10T09:18:45.830Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.047s coverage: 37.0% of statements [2020-09-10T09:18:45.830Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-10T09:18:45.830Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.081s coverage: 65.4% of statements [2020-09-10T09:18:45.830Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-10T09:18:45.830Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-10T09:18:45.830Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-10T09:18:45.830Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.020s coverage: 52.6% of statements [2020-09-10T09:18:45.830Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.114s coverage: 68.9% of statements [2020-09-10T09:18:45.830Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-10T09:18:45.830Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-10T09:18:45.830Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-10T09:18:45.830Z] gofmt -l . [2020-09-10T09:18:45.830Z] [ "`gofmt -l .`" = "" ] [2020-09-10T09:18:45.830Z] ./bin/test-attribution-txt.sh [2020-09-10T09:18:46.820Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-10T09:18:47.112Z] Warning: overwriting stash ‘coverage-report’ [2020-09-10T09:18:47.510Z] Stashed 1 file(s) [Pipeline] } [2020-09-10T09:18:47.520Z] $ docker stop --time=1 3e4aec96d225078f43b00c5a543dcc2e86ffeb1b6e44a60f5e4c4fd03046e038 [2020-09-10T09:18:48.968Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-10T09:18:49.201Z] $ docker rm -f 3e4aec96d225078f43b00c5a543dcc2e86ffeb1b6e44a60f5e4c4fd03046e038 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-10T09:18:50.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-10T09:18:50.515Z] + ls -al . [2020-09-10T09:18:50.515Z] total 188 [2020-09-10T09:18:50.515Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 10 09:18 . [2020-09-10T09:18:50.515Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 10 09:16 .. [2020-09-10T09:18:50.515Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 10 09:16 bin [2020-09-10T09:18:50.515Z] -rw-r--r--. 1 jenkins jenkins 110898 Sep 10 09:18 coverage.out [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 10 09:16 Dockerfile.build [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 10 09:16 .dockerignore [2020-09-10T09:18:50.515Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 10 09:16 example [2020-09-10T09:18:50.515Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 10 09:16 .git [2020-09-10T09:18:50.515Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 10 09:16 .github [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 10 09:16 .gitignore [2020-09-10T09:18:50.515Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 10 09:18 go.mod [2020-09-10T09:18:50.515Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 10 09:18 go.sum [2020-09-10T09:18:50.515Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 10 09:16 internal [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 10 09:16 Jenkinsfile [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 10 09:16 LICENSE [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 10 09:16 Makefile [2020-09-10T09:18:50.515Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 10 09:16 openapi [2020-09-10T09:18:50.515Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 10 09:16 pkg [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 10 09:16 README.md [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 10 09:16 RELEASE-NOTES.txt [2020-09-10T09:18:50.515Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 10 09:16 .semver [2020-09-10T09:18:50.515Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 10 09:16 snap [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 10 09:13 VERSION [2020-09-10T09:18:50.515Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 10 09:16 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-10T09:18:50.845Z] + 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=af5de07fbca8008184ecf07d9ae563f724de5245 --label arch=amd64 --label version=0.0.0 . [2020-09-10T09:18:51.455Z] Sending build context to Docker daemon 3.25MB [2020-09-10T09:18:51.455Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-10T09:18:51.455Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-10T09:18:51.455Z] ---> 69d448b84220 [2020-09-10T09:18:51.455Z] Step 3/24 : ARG MAKE='make build' [2020-09-10T09:18:51.576Z] Removing intermediate container 933927048b77 [2020-09-10T09:18:51.576Z] ---> 0e2a63478f84 [2020-09-10T09:18:51.576Z] Step 10/24 : FROM scratch [2020-09-10T09:18:51.576Z] ---> [2020-09-10T09:18:51.576Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T09:18:51.724Z] ---> Running in 935c4f01a22a [2020-09-10T09:18:51.846Z] ---> Running in 17667f3eded5 [2020-09-10T09:18:51.992Z] Removing intermediate container 935c4f01a22a [2020-09-10T09:18:51.992Z] ---> 4e449ea55930 [2020-09-10T09:18:51.992Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-10T09:18:51.992Z] ---> Running in 7de42fd66a03 [2020-09-10T09:18:52.120Z] Removing intermediate container 17667f3eded5 [2020-09-10T09:18:52.120Z] ---> 38ae2b13ad14 [2020-09-10T09:18:52.120Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-10T09:18:52.255Z] Removing intermediate container 7de42fd66a03 [2020-09-10T09:18:52.255Z] ---> fec763c02127 [2020-09-10T09:18:52.255Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T09:18:52.390Z] ---> Running in 1ca780d2f281 [2020-09-10T09:18:52.521Z] ---> Running in df8c8fb86d2b [2020-09-10T09:18:52.521Z] Removing intermediate container df8c8fb86d2b [2020-09-10T09:18:52.521Z] ---> a085f0f69b81 [2020-09-10T09:18:52.521Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-10T09:18:52.662Z] Removing intermediate container 1ca780d2f281 [2020-09-10T09:18:52.662Z] ---> e9fea122f0e0 [2020-09-10T09:18:52.662Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-10T09:18:52.788Z] ---> Running in c64d21582e80 [2020-09-10T09:18:52.936Z] ---> Running in d73e1761d8d5 [2020-09-10T09:18:53.206Z] Removing intermediate container d73e1761d8d5 [2020-09-10T09:18:53.206Z] ---> f585d9e27306 [2020-09-10T09:18:53.206Z] Step 14/24 : WORKDIR / [2020-09-10T09:18:53.477Z] ---> Running in 7e5a3dc583ad [2020-09-10T09:18:53.748Z] Removing intermediate container 7e5a3dc583ad [2020-09-10T09:18:53.748Z] ---> 77685dd2f3e3 [2020-09-10T09:18:53.748Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-10T09:18:54.195Z] Removing intermediate container c64d21582e80 [2020-09-10T09:18:54.195Z] ---> b0bacec5d7d9 [2020-09-10T09:18:54.195Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-10T09:18:54.195Z] ---> Running in 0a6cf283c1d1 [2020-09-10T09:18:54.458Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-10T09:18:55.180Z] ---> d69a454dd132 [2020-09-10T09:18:55.180Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-10T09:18:55.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-10T09:18:55.451Z] ---> 81a8b71c2033 [2020-09-10T09:18:55.451Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-10T09:18:55.747Z] OK: 166 MiB in 39 packages [2020-09-10T09:18:56.330Z] Removing intermediate container 0a6cf283c1d1 [2020-09-10T09:18:56.330Z] ---> 613bfc1e5c83 [2020-09-10T09:18:56.330Z] Step 8/24 : COPY . . [2020-09-10T09:18:56.428Z] ---> 7853d1702a03 [2020-09-10T09:18:56.428Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-10T09:18:57.019Z] ---> 5f46925f0da8 [2020-09-10T09:18:57.019Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-10T09:18:57.294Z] ---> 621970600e48 [2020-09-10T09:18:57.294Z] Step 9/24 : RUN ${MAKE} [2020-09-10T09:18:57.597Z] ---> Running in 05c21dddb02c [2020-09-10T09:18:57.613Z] ---> ca2b50771ab2 [2020-09-10T09:18:57.613Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-10T09:18:57.882Z] ---> Running in da1fec5ee5e5 [2020-09-10T09:18:58.152Z] Removing intermediate container da1fec5ee5e5 [2020-09-10T09:18:58.152Z] ---> d66de7feba84 [2020-09-10T09:18:58.152Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-10T09:18:58.190Z] 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-10T09:18:58.422Z] ---> Running in d27190d4d4d5 [2020-09-10T09:18:58.694Z] Removing intermediate container d27190d4d4d5 [2020-09-10T09:18:58.694Z] ---> 18ebf1907967 [2020-09-10T09:18:58.694Z] Step 22/24 : LABEL arch=arm64 [2020-09-10T09:18:58.970Z] ---> Running in 73722fbce53b [2020-09-10T09:18:59.241Z] Removing intermediate container 73722fbce53b [2020-09-10T09:18:59.241Z] ---> 9b734e1f19fc [2020-09-10T09:18:59.241Z] Step 23/24 : LABEL git_sha=af5de07fbca8008184ecf07d9ae563f724de5245 [2020-09-10T09:18:59.514Z] ---> Running in 40035b5ce5ce [2020-09-10T09:18:59.783Z] Removing intermediate container 40035b5ce5ce [2020-09-10T09:18:59.783Z] ---> 9d952965e748 [2020-09-10T09:18:59.783Z] Step 24/24 : LABEL version=0.0.0 [2020-09-10T09:19:00.056Z] ---> Running in 0f1902ca060c [2020-09-10T09:19:00.647Z] Removing intermediate container 0f1902ca060c [2020-09-10T09:19:00.647Z] ---> 1159fd2706e0 [2020-09-10T09:19:00.647Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-10T09:19:00.647Z] Successfully built 1159fd2706e0 [2020-09-10T09:19:00.647Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-10T09:19:10.687Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-10T09:19:11.652Z] Removing intermediate container 05c21dddb02c [2020-09-10T09:19:11.652Z] ---> a95b3f85b4c5 [2020-09-10T09:19:11.652Z] Step 10/24 : FROM scratch [2020-09-10T09:19:11.652Z] ---> [2020-09-10T09:19:11.652Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-10T09:19:11.652Z] ---> Running in d8d42f23c446 [2020-09-10T09:19:11.652Z] Removing intermediate container d8d42f23c446 [2020-09-10T09:19:11.652Z] ---> 9aad67dbd631 [2020-09-10T09:19:11.652Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-10T09:19:11.916Z] ---> Running in 7405578e298a [2020-09-10T09:19:11.916Z] Removing intermediate container 7405578e298a [2020-09-10T09:19:11.916Z] ---> bd4ab07a8382 [2020-09-10T09:19:11.916Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-10T09:19:11.916Z] ---> Running in 66c3bdbdf3e4 [2020-09-10T09:19:12.181Z] Removing intermediate container 66c3bdbdf3e4 [2020-09-10T09:19:12.181Z] ---> 20d8a12c7e6d [2020-09-10T09:19:12.181Z] Step 14/24 : WORKDIR / [2020-09-10T09:19:12.181Z] ---> Running in a01796f5bd91 [2020-09-10T09:19:12.447Z] Removing intermediate container a01796f5bd91 [2020-09-10T09:19:12.447Z] ---> 0773cb25b161 [2020-09-10T09:19:12.447Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-10T09:19:13.088Z] ---> 472fa10f3155 [2020-09-10T09:19:13.088Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-10T09:19:13.383Z] ---> 5eec0dc82ae3 [2020-09-10T09:19:13.383Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-10T09:19:13.383Z] ---> 10bcc3a5f995 [2020-09-10T09:19:13.383Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-10T09:19:14.342Z] ---> b7b50e044e19 [2020-09-10T09:19:14.342Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-10T09:19:14.956Z] ---> d638f82cd5ab [2020-09-10T09:19:14.956Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-10T09:19:14.956Z] ---> Running in 5c03606d51d2 [2020-09-10T09:19:15.220Z] Removing intermediate container 5c03606d51d2 [2020-09-10T09:19:15.220Z] ---> fbb5cb31c3f2 [2020-09-10T09:19:15.220Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-10T09:19:15.483Z] ---> Running in c7f00cec3d02 [2020-09-10T09:19:15.746Z] Removing intermediate container c7f00cec3d02 [2020-09-10T09:19:15.746Z] ---> b366b0a34d66 [2020-09-10T09:19:15.746Z] Step 22/24 : LABEL arch=amd64 [2020-09-10T09:19:15.746Z] ---> Running in 3ea662363fbd [2020-09-10T09:19:16.031Z] Removing intermediate container 3ea662363fbd [2020-09-10T09:19:16.031Z] ---> 6f5d36d7d409 [2020-09-10T09:19:16.031Z] Step 23/24 : LABEL git_sha=af5de07fbca8008184ecf07d9ae563f724de5245 [2020-09-10T09:19:16.031Z] ---> Running in 7ac363db1808 [2020-09-10T09:19:16.338Z] Removing intermediate container 7ac363db1808 [2020-09-10T09:19:16.338Z] ---> afa86d89880f [2020-09-10T09:19:16.339Z] Step 24/24 : LABEL version=0.0.0 [2020-09-10T09:19:16.339Z] ---> Running in 53e7bf88e36b [2020-09-10T09:19:16.339Z] Removing intermediate container 53e7bf88e36b [2020-09-10T09:19:16.339Z] ---> e800d21988fc [2020-09-10T09:19:16.339Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-10T09:19:16.603Z] Successfully built e800d21988fc [2020-09-10T09:19:16.603Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-10T09:19:18.015Z] provisioning config files... [2020-09-10T09:19:18.027Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5866335389049067823tmp [Pipeline] { [Pipeline] sh [2020-09-10T09:19:18.382Z] + curl -s https://codecov.io/bash [2020-09-10T09:19:18.382Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config5866335389049067823tmp [Pipeline] } [2020-09-10T09:19:18.652Z] 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-10T09:19:20.621Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T09:19:21.178Z] ---> package-listing.sh [2020-09-10T09:19:21.178Z] ++ facter osfamily [2020-09-10T09:19:21.178Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-10T09:19:21.178Z] + OS_FAMILY=redhat [2020-09-10T09:19:21.178Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-571 [2020-09-10T09:19:21.178Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-10T09:19:21.178Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-10T09:19:21.178Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-10T09:19:21.178Z] + PACKAGES=/tmp/packages_start.txt [2020-09-10T09:19:21.178Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-10T09:19:21.178Z] + PACKAGES=/tmp/packages_end.txt [2020-09-10T09:19:21.178Z] + case "${OS_FAMILY}" in [2020-09-10T09:19:21.178Z] + rpm -qa [2020-09-10T09:19:21.178Z] + sort [2020-09-10T09:19:25.391Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-10T09:19:25.391Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-10T09:19:25.391Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-10T09:19:25.391Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-571 ']' [2020-09-10T09:19:25.391Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-571/archives/ [2020-09-10T09:19:25.391Z] + 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-10T09:19:26.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T09:19:26.264Z] [2020-09-10T09:19:26.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-10T09:19:26.606Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T09:19:26.606Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-10T09:19:26.606Z] df20fa9351a1: Pulling fs layer [2020-09-10T09:19:26.606Z] 36b3adc4ff6f: Pulling fs layer [2020-09-10T09:19:26.606Z] 8ad3a11d3b57: Pulling fs layer [2020-09-10T09:19:26.606Z] 46f8f816bc3b: Pulling fs layer [2020-09-10T09:19:26.606Z] 0dadc02b9964: Pulling fs layer [2020-09-10T09:19:26.606Z] ce6a7cf60c04: Pulling fs layer [2020-09-10T09:19:26.606Z] 7a184a31f384: Pulling fs layer [2020-09-10T09:19:26.606Z] 0879bd2ef858: Pulling fs layer [2020-09-10T09:19:26.606Z] 0dadc02b9964: Waiting [2020-09-10T09:19:26.606Z] ce6a7cf60c04: Waiting [2020-09-10T09:19:26.606Z] 7a184a31f384: Waiting [2020-09-10T09:19:26.606Z] 0879bd2ef858: Waiting [2020-09-10T09:19:26.606Z] 46f8f816bc3b: Waiting [2020-09-10T09:19:26.606Z] 36b3adc4ff6f: Verifying Checksum [2020-09-10T09:19:26.606Z] 36b3adc4ff6f: Download complete [2020-09-10T09:19:26.606Z] 46f8f816bc3b: Verifying Checksum [2020-09-10T09:19:26.606Z] 46f8f816bc3b: Download complete [2020-09-10T09:19:26.871Z] 0dadc02b9964: Verifying Checksum [2020-09-10T09:19:26.871Z] 0dadc02b9964: Download complete [2020-09-10T09:19:26.871Z] ce6a7cf60c04: Verifying Checksum [2020-09-10T09:19:26.871Z] ce6a7cf60c04: Download complete [2020-09-10T09:19:26.871Z] 7a184a31f384: Download complete [2020-09-10T09:19:26.871Z] df20fa9351a1: Verifying Checksum [2020-09-10T09:19:26.871Z] df20fa9351a1: Download complete [2020-09-10T09:19:26.871Z] 8ad3a11d3b57: Verifying Checksum [2020-09-10T09:19:26.871Z] 8ad3a11d3b57: Download complete [2020-09-10T09:19:27.133Z] df20fa9351a1: Pull complete [2020-09-10T09:19:27.133Z] 0879bd2ef858: Verifying Checksum [2020-09-10T09:19:27.133Z] 0879bd2ef858: Download complete [2020-09-10T09:19:27.395Z] 36b3adc4ff6f: Pull complete [2020-09-10T09:19:27.979Z] 8ad3a11d3b57: Pull complete [2020-09-10T09:19:27.979Z] 46f8f816bc3b: Pull complete [2020-09-10T09:19:28.242Z] 0dadc02b9964: Pull complete [2020-09-10T09:19:28.502Z] ce6a7cf60c04: Pull complete [2020-09-10T09:19:28.502Z] 7a184a31f384: Pull complete [2020-09-10T09:19:31.068Z] 0879bd2ef858: Pull complete [2020-09-10T09:19:31.068Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-10T09:19:31.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-10T09:19:31.068Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-10T09:19:31.206Z] prd-centos7-docker-4c-2g-2083 does not seem to be running inside a container [2020-09-10T09:19:31.247Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-10T09:19:37.077Z] $ docker top cfef98ea2e6258d1e61875ee17285dda42f143a8655ae8e6a3d07b97bda46811 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-10T09:19:37.557Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-10T09:19:37.851Z] + ls /var/log/sa-host [2020-09-10T09:19:37.851Z] + sadf -c /var/log/sa-host/sa05 [2020-09-10T09:19:37.851Z] file_magic: OK [2020-09-10T09:19:37.851Z] HZ: Using current value: 100 [2020-09-10T09:19:37.851Z] file_header: OK [2020-09-10T09:19:37.851Z] 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-10T09:19:37.851Z] Statistics: [2020-09-10T09:19:37.851Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T09:19:37.851Z] File successfully converted to sysstat format version 12.2.1 [2020-09-10T09:19:37.851Z] + sadf -c /var/log/sa-host/sa10 [2020-09-10T09:19:37.851Z] file_magic: OK [2020-09-10T09:19:37.851Z] HZ: Using current value: 100 [2020-09-10T09:19:37.851Z] file_header: OK [2020-09-10T09:19:37.851Z] 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-10T09:19:37.851Z] Statistics: [2020-09-10T09:19:37.851Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-10T09:19:37.851Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-10T09:19:37.904Z] provisioning config files... [2020-09-10T09:19:37.917Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-571@tmp/config3939878091121418213tmp [Pipeline] { [Pipeline] echo [2020-09-10T09:19:38.010Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T09:19:38.301Z] ---> create-netrc.sh [Pipeline] echo [2020-09-10T09:19:38.310Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-10T09:19:38.602Z] ---> logs-deploy.sh [2020-09-10T09:19:38.602Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-571/9 [2020-09-10T09:19:38.602Z] INFO: archiving workspace using pattern(s): [2020-09-10T09:19:39.987Z] Archives upload complete. [2020-09-10T09:19:39.987Z] INFO: archiving logs to Nexus