Pull request #582 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8+4000e27a9f725d20d01bd2b86b2182ef891199d8 (b04adee32d9e03334738c6980909e92e554594c1) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-582/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.13, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.13 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1897 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 Merge succeeded, producing 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 Checking out Revision 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 (PR-582) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # 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/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-09T03:34:03.602Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-09T03:34:04.000Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-09T03:34:04.272Z] ========================================================= [2020-09-09T03:34:04.272Z] EdgeX Global Pipelines Version Info [2020-09-09T03:34:04.272Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:34:05.698Z] ------------------- [2020-09-09T03:34:05.698Z] stable info: [2020-09-09T03:34:05.698Z] ------------------- [2020-09-09T03:34:05.698Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-09T03:34:05.698Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-09T03:34:05.698Z] Message: update stable to v1.0.119 [2020-09-09T03:34:06.641Z] ------------------- [2020-09-09T03:34:06.641Z] experimental info: [2020-09-09T03:34:06.641Z] ------------------- [2020-09-09T03:34:06.641Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-09T03:34:06.641Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-09T03:34:06.641Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-09T03:34:07.090Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-09T03:34:07.209Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-09T03:34:07.325Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-09T03:34:07.438Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-09T03:34:07.558Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-09T03:34:07.670Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-09T03:34:07.829Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-09T03:34:07.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-09T03:34:08.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-09T03:34:08.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-09T03:34:08.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-09T03:34:08.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-09T03:34:08.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-09T03:34:08.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-09T03:34:08.828Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-09T03:34:08.940Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T03:34:09.050Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T03:34:09.167Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T03:34:09.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-09T03:34:09.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-09T03:34:09.532Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-09T03:34:09.644Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-09T03:34:09.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2020-09-09T03:34:09.877Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2020-09-09T03:34:09.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2020-09-09T03:34:10.150Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [Pipeline] echo [2020-09-09T03:34:10.312Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84f9d2a [Pipeline] echo [2020-09-09T03:34:10.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T03:34:11.298Z] + git log --format=format:%s -1 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [Pipeline] echo [2020-09-09T03:34:11.379Z] GIT_COMMIT: 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8, Commit Message: build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0 [Pipeline] echo [2020-09-09T03:34:11.449Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:34:12.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T03:34:12.267Z] [2020-09-09T03:34:12.267Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:34:12.654Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T03:34:12.654Z] latest: Pulling from edgex-devops/git-semver [2020-09-09T03:34:12.654Z] 31603596830f: Pulling fs layer [2020-09-09T03:34:12.655Z] 2a8b12db71e7: Pulling fs layer [2020-09-09T03:34:12.655Z] 6ca5941a6612: Pulling fs layer [2020-09-09T03:34:12.655Z] ecc8261a40a4: Pulling fs layer [2020-09-09T03:34:12.655Z] ecc8261a40a4: Waiting [2020-09-09T03:34:12.655Z] 2a8b12db71e7: Download complete [2020-09-09T03:34:12.926Z] 31603596830f: Verifying Checksum [2020-09-09T03:34:12.926Z] 31603596830f: Download complete [2020-09-09T03:34:12.926Z] ecc8261a40a4: Verifying Checksum [2020-09-09T03:34:12.926Z] ecc8261a40a4: Download complete [2020-09-09T03:34:12.926Z] 6ca5941a6612: Verifying Checksum [2020-09-09T03:34:12.926Z] 6ca5941a6612: Download complete [2020-09-09T03:34:13.189Z] 31603596830f: Pull complete [2020-09-09T03:34:13.189Z] 2a8b12db71e7: Pull complete [2020-09-09T03:34:14.134Z] 6ca5941a6612: Pull complete [2020-09-09T03:34:14.134Z] ecc8261a40a4: Pull complete [2020-09-09T03:34:14.134Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-09T03:34:14.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T03:34:14.134Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-09T03:34:14.264Z] prd-centos7-docker-4c-2g-1897 does not seem to be running inside a container [2020-09-09T03:34:14.308Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-09T03:34:16.570Z] $ docker top 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-09T03:34:16.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T03:34:16.947Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T03:34:17.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T03:34:17.150Z] $ docker exec 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc ssh-agent [2020-09-09T03:34:17.309Z] SSH_AUTH_SOCK=/tmp/ssh-zHkVQjXoKhc1/agent.12 [2020-09-09T03:34:17.309Z] SSH_AGENT_PID=17 [2020-09-09T03:34:17.320Z] Running ssh-add (command line suppressed) [2020-09-09T03:34:17.434Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_389993419966834100.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_389993419966834100.key) [2020-09-09T03:34:17.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T03:34:17.880Z] + git describe --exact-match --tags HEAD [2020-09-09T03:34:17.880Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-09T03:34:17.993Z] $ docker exec --env ******** --env ******** 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc ssh-agent -k [2020-09-09T03:34:18.144Z] unset SSH_AUTH_SOCK; [2020-09-09T03:34:18.144Z] unset SSH_AGENT_PID; [2020-09-09T03:34:18.144Z] echo Agent pid 17 killed; [2020-09-09T03:34:18.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-09T03:34:18.360Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-09T03:34:18.360Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-09T03:34:18.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T03:34:18.470Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T03:34:18.627Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T03:34:18.628Z] $ docker exec 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc ssh-agent [2020-09-09T03:34:18.781Z] SSH_AUTH_SOCK=/tmp/ssh-OXr13aOHlZDL/agent.46 [2020-09-09T03:34:18.781Z] SSH_AGENT_PID=51 [2020-09-09T03:34:18.787Z] Running ssh-add (command line suppressed) [2020-09-09T03:34:18.899Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1723044118717873978.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_1723044118717873978.key) [2020-09-09T03:34:18.950Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T03:34:19.326Z] + git semver init [2020-09-09T03:34:19.326Z] # -> Open(): unable to determine branch for HEAD [2020-09-09T03:34:19.326Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git [2020-09-09T03:34:19.326Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-09-09T03:34:19.326Z] # $SEMVER_REMOTE_NAME = origin [2020-09-09T03:34:19.326Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-09T03:34:19.326Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-09T03:34:19.326Z] # $SEMVER_BRANCH = PR-582 [2020-09-09T03:34:19.326Z] # $SEMVER_TEMP = /tmp/semver-718232975 [2020-09-09T03:34:19.326Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-09T03:34:19.902Z] # '/tmp/semver-718232975' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' [2020-09-09T03:34:19.902Z] # -> Force: false [2020-09-09T03:34:19.902Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } [2020-09-09T03:34:19.921Z] $ docker exec --env ******** --env ******** 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc ssh-agent -k [2020-09-09T03:34:20.033Z] unset SSH_AUTH_SOCK; [2020-09-09T03:34:20.033Z] unset SSH_AGENT_PID; [2020-09-09T03:34:20.033Z] echo Agent pid 51 killed; [2020-09-09T03:34:20.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-09T03:34:20.750Z] + git semver [Pipeline] } [2020-09-09T03:34:20.775Z] $ docker stop --time=1 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc [2020-09-09T03:34:22.127Z] $ docker rm -f 1c980df2c9b024de7fa3617eba0fabfeeca02f00852615b27740aff3e1d439fc [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-09T03:34:22.954Z] Stashed 32 file(s) [Pipeline] echo [2020-09-09T03:34:22.977Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-09T03:34:23.100Z] 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-09T03:34:38.806Z] Still waiting to schedule task [2020-09-09T03:34:38.806Z] ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-1899’ is offline; ‘prd-centos7-docker-4c-2g-213’ is offline [2020-09-09T03:34:38.837Z] Still waiting to schedule task [2020-09-09T03:34:38.837Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1896’ [2020-09-09T03:36:30.553Z] Running on prd-centos7-docker-4c-2g-1906 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-09-09T03:36:30.683Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-09T03:36:33.535Z] using credential edgex-jenkins-ssh [2020-09-09T03:36:33.587Z] Cloning the remote Git repository [2020-09-09T03:36:33.587Z] Cloning with configured refspecs honoured and without tags [2020-09-09T03:36:33.616Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:33.779Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-09T03:36:33.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:33.824Z] > git --version # timeout=10 [2020-09-09T03:36:33.842Z] > git --version # 'git version 2.16.5' [2020-09-09T03:36:33.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:33.880Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:35.761Z] Fetching without tags [2020-09-09T03:36:36.197Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [2020-09-09T03:36:36.285Z] Merge succeeded, producing 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [2020-09-09T03:36:36.286Z] Checking out Revision 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 (PR-582) [2020-09-09T03:36:35.729Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:36:35.735Z] > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 [2020-09-09T03:36:35.746Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:35.755Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:36:35.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:36:35.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:35.778Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:36:36.208Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:36:36.213Z] > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 [2020-09-09T03:36:36.257Z] > git remote # timeout=10 [2020-09-09T03:36:36.263Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T03:36:36.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:36:36.272Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T03:36:36.282Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T03:36:36.291Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:36:36.296Z] > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 [2020-09-09T03:36:39.919Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [2020-09-09T03:36:39.947Z] > git --version # timeout=10 [2020-09-09T03:36:39.951Z] > git --version # 'git version 2.16.5' [2020-09-09T03:36:39.956Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T03:36:41.155Z] ========================================================= [2020-09-09T03:36:41.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-09T03:36:41.155Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:36:41.997Z] + 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-09T03:36:42.573Z] Sending build context to Docker daemon 3.141MB [2020-09-09T03:36:42.573Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T03:36:42.573Z] Step 2/8 : FROM ${BASE} [2020-09-09T03:36:42.573Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-09T03:36:42.573Z] df20fa9351a1: Pulling fs layer [2020-09-09T03:36:42.573Z] ed8968b2872e: Pulling fs layer [2020-09-09T03:36:42.573Z] a92cc7c5fd73: Pulling fs layer [2020-09-09T03:36:42.573Z] 2dd03ba5bac4: Pulling fs layer [2020-09-09T03:36:42.573Z] 1e091d79d1de: Pulling fs layer [2020-09-09T03:36:42.573Z] 481702a1767f: Pulling fs layer [2020-09-09T03:36:42.573Z] f64a6f60c768: Pulling fs layer [2020-09-09T03:36:42.573Z] e78d2573fc39: Pulling fs layer [2020-09-09T03:36:42.573Z] e876d2f968b6: Pulling fs layer [2020-09-09T03:36:42.573Z] ce8a83651883: Pulling fs layer [2020-09-09T03:36:42.573Z] 07967f4d0e4b: Pulling fs layer [2020-09-09T03:36:42.573Z] f64a6f60c768: Waiting [2020-09-09T03:36:42.573Z] e78d2573fc39: Waiting [2020-09-09T03:36:42.573Z] e876d2f968b6: Waiting [2020-09-09T03:36:42.573Z] ce8a83651883: Waiting [2020-09-09T03:36:42.573Z] 07967f4d0e4b: Waiting [2020-09-09T03:36:42.573Z] 2dd03ba5bac4: Waiting [2020-09-09T03:36:42.573Z] 1e091d79d1de: Waiting [2020-09-09T03:36:42.573Z] 481702a1767f: Waiting [2020-09-09T03:36:42.573Z] a92cc7c5fd73: Verifying Checksum [2020-09-09T03:36:42.573Z] a92cc7c5fd73: Download complete [2020-09-09T03:36:42.573Z] ed8968b2872e: Download complete [2020-09-09T03:36:42.573Z] 1e091d79d1de: Verifying Checksum [2020-09-09T03:36:42.573Z] 1e091d79d1de: Download complete [2020-09-09T03:36:42.573Z] 481702a1767f: Verifying Checksum [2020-09-09T03:36:42.573Z] 481702a1767f: Download complete [2020-09-09T03:36:42.841Z] df20fa9351a1: Verifying Checksum [2020-09-09T03:36:42.841Z] df20fa9351a1: Download complete [2020-09-09T03:36:43.419Z] df20fa9351a1: Pull complete [2020-09-09T03:36:43.419Z] ed8968b2872e: Pull complete [2020-09-09T03:36:43.683Z] a92cc7c5fd73: Pull complete [2020-09-09T03:36:47.012Z] f64a6f60c768: Verifying Checksum [2020-09-09T03:36:47.012Z] f64a6f60c768: Download complete [2020-09-09T03:36:47.012Z] e876d2f968b6: Verifying Checksum [2020-09-09T03:36:47.012Z] e876d2f968b6: Download complete [2020-09-09T03:36:49.588Z] e78d2573fc39: Verifying Checksum [2020-09-09T03:36:49.588Z] e78d2573fc39: Download complete [2020-09-09T03:36:49.588Z] 07967f4d0e4b: Verifying Checksum [2020-09-09T03:36:49.588Z] 07967f4d0e4b: Download complete [2020-09-09T03:36:49.588Z] ce8a83651883: Verifying Checksum [2020-09-09T03:36:49.588Z] ce8a83651883: Download complete [2020-09-09T03:36:51.527Z] 2dd03ba5bac4: Verifying Checksum [2020-09-09T03:36:51.527Z] 2dd03ba5bac4: Download complete [2020-09-09T03:36:56.851Z] 2dd03ba5bac4: Pull complete [2020-09-09T03:36:56.851Z] 1e091d79d1de: Pull complete [2020-09-09T03:36:57.117Z] 481702a1767f: Pull complete [2020-09-09T03:37:05.301Z] f64a6f60c768: Pull complete [2020-09-09T03:37:07.874Z] e78d2573fc39: Pull complete [2020-09-09T03:37:07.874Z] e876d2f968b6: Pull complete [2020-09-09T03:37:08.837Z] ce8a83651883: Pull complete [2020-09-09T03:37:09.103Z] 07967f4d0e4b: Pull complete [2020-09-09T03:37:09.103Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-09T03:37:09.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-09T03:37:09.103Z] ---> 5d7c900382c6 [2020-09-09T03:37:09.103Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:37:11.036Z] ---> Running in a25b2cf636a6 [2020-09-09T03:37:11.036Z] Removing intermediate container a25b2cf636a6 [2020-09-09T03:37:11.036Z] ---> b7aa6688b848 [2020-09-09T03:37:11.036Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:37:11.036Z] ---> Running in 9d806588d4d9 [2020-09-09T03:37:12.439Z] Removing intermediate container 9d806588d4d9 [2020-09-09T03:37:12.439Z] ---> 65850d30337d [2020-09-09T03:37:12.439Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T03:37:12.439Z] ---> Running in 73fa67766086 [2020-09-09T03:37:13.015Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T03:37:13.589Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T03:37:14.165Z] OK: 166 MiB in 39 packages [2020-09-09T03:37:14.426Z] Removing intermediate container 73fa67766086 [2020-09-09T03:37:14.426Z] ---> 74693babe4aa [2020-09-09T03:37:14.426Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T03:37:14.426Z] ---> Running in 7c7862aabc6e [2020-09-09T03:37:14.686Z] Removing intermediate container 7c7862aabc6e [2020-09-09T03:37:14.686Z] ---> 9a7c851976e2 [2020-09-09T03:37:14.686Z] Step 7/8 : COPY . . [2020-09-09T03:37:16.073Z] ---> 3145925a90ac [2020-09-09T03:37:16.073Z] Step 8/8 : RUN go mod download [2020-09-09T03:37:16.073Z] ---> Running in 82947b0dce2f [2020-09-09T03:37:17.995Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T03:37:17.995Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T03:37:17.995Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T03:37:17.995Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T03:37:17.995Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T03:37:17.995Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T03:37:17.995Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T03:37:17.995Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T03:37:17.995Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T03:37:17.995Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T03:37:17.995Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T03:37:18.257Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T03:37:18.257Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T03:37:18.257Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T03:37:18.257Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T03:37:18.257Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T03:37:18.257Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T03:37:18.257Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T03:37:18.257Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T03:37:18.257Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T03:37:18.257Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T03:37:18.257Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T03:37:18.257Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T03:37:18.518Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T03:37:18.780Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T03:37:18.780Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T03:37:18.780Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T03:37:18.780Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T03:37:18.780Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T03:37:18.780Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T03:37:18.780Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T03:37:18.780Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T03:37:18.780Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T03:37:18.780Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T03:37:18.780Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T03:37:19.041Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T03:37:19.041Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T03:37:19.041Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T03:37:19.041Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T03:37:19.041Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T03:37:19.041Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T03:37:19.041Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T03:37:19.041Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T03:37:19.041Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T03:37:19.041Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T03:37:19.041Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T03:37:19.041Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T03:37:19.307Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T03:37:19.307Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T03:37:19.307Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T03:37:19.307Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T03:37:19.307Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T03:37:19.307Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T03:37:19.307Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T03:37:19.307Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T03:37:19.307Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T03:37:19.307Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T03:37:19.307Z] go: finding gopkg.in/yaml.v2 v2.3.0 [2020-09-09T03:37:27.472Z] Removing intermediate container 82947b0dce2f [2020-09-09T03:37:27.472Z] ---> 8e49ddd8ed46 [2020-09-09T03:37:27.472Z] Successfully built 8e49ddd8ed46 [2020-09-09T03:37:27.472Z] 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-09T03:37:28.303Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-09T03:37:28.303Z] . [Pipeline] withDockerContainer [2020-09-09T03:37:28.437Z] prd-centos7-docker-4c-2g-1906 does not seem to be running inside a container [2020-09-09T03:37:28.484Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2020-09-09T03:37:29.791Z] $ docker top 5bb3acd41968d7accd5fe136a0f26b063f0a8a7366bb0b5e008e4fdc4cc29182 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T03:37:30.363Z] + go version [2020-09-09T03:37:30.363Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-09T03:37:30.698Z] + make test [2020-09-09T03:37:30.698Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T03:37:31.656Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T03:37:41.805Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T03:37:41.805Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T03:37:41.805Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T03:37:41.805Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.028s coverage: 21.0% of statements [2020-09-09T03:37:42.773Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.051s coverage: 95.7% of statements [2020-09-09T03:37:44.694Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1909 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws [2020-09-09T03:37:44.785Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2020-09-09T03:37:49.797Z] using credential edgex-jenkins-ssh [2020-09-09T03:37:49.856Z] Cloning the remote Git repository [2020-09-09T03:37:49.856Z] Cloning with configured refspecs honoured and without tags [2020-09-09T03:37:49.938Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:37:50.057Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2020-09-09T03:37:50.135Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:37:50.135Z] > git --version # timeout=10 [2020-09-09T03:37:50.155Z] > git --version # 'git version 2.17.1' [2020-09-09T03:37:50.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:37:50.232Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:37:51.186Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:37:51.204Z] > git config --add remote.origin.fetch +refs/pull/582/head:refs/remotes/origin/PR-582 # timeout=10 [2020-09-09T03:37:51.229Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:37:51.272Z] Fetching without tags [2020-09-09T03:37:51.834Z] Merging remotes/origin/master commit 4000e27a9f725d20d01bd2b86b2182ef891199d8 into PR head commit 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [2020-09-09T03:37:52.153Z] Merge succeeded, producing 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [2020-09-09T03:37:52.153Z] Checking out Revision 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 (PR-582) [2020-09-09T03:37:51.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T03:37:51.301Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T03:37:51.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:37:51.311Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T03:37:51.868Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:37:51.896Z] > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 [2020-09-09T03:37:52.033Z] > git remote # timeout=10 [2020-09-09T03:37:52.062Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T03:37:52.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T03:37:52.108Z] > git merge 4000e27a9f725d20d01bd2b86b2182ef891199d8 # timeout=10 [2020-09-09T03:37:52.147Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T03:37:52.177Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T03:37:52.214Z] > git checkout -f 84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 # timeout=10 [2020-09-09T03:37:56.449Z] Commit message: "build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0" [2020-09-09T03:37:56.518Z] > git --version # timeout=10 [2020-09-09T03:37:56.534Z] > git --version # 'git version 2.17.1' [2020-09-09T03:37:56.547Z] fatal: bad object 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T03:37:57.957Z] ========================================================= [2020-09-09T03:37:57.957Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-09T03:37:57.957Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:37:59.220Z] + 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-09T03:38:00.196Z] Sending build context to Docker daemon 3.139MB [2020-09-09T03:38:00.196Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T03:38:00.196Z] Step 2/8 : FROM ${BASE} [2020-09-09T03:38:00.479Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-09T03:38:00.479Z] b538f80385f9: Pulling fs layer [2020-09-09T03:38:00.479Z] 74f711af9a0d: Pulling fs layer [2020-09-09T03:38:00.479Z] 99f96fe45779: Pulling fs layer [2020-09-09T03:38:00.479Z] fd7a069fd194: Pulling fs layer [2020-09-09T03:38:00.479Z] 66aa3694b03b: Pulling fs layer [2020-09-09T03:38:00.479Z] 170f70906a0f: Pulling fs layer [2020-09-09T03:38:00.479Z] ad7c5574e4b9: Pulling fs layer [2020-09-09T03:38:00.479Z] e772456be8f7: Pulling fs layer [2020-09-09T03:38:00.479Z] c890913d741a: Pulling fs layer [2020-09-09T03:38:00.479Z] 2480fcc9aa5a: Pulling fs layer [2020-09-09T03:38:00.479Z] 09adf4765672: Pulling fs layer [2020-09-09T03:38:00.479Z] 66aa3694b03b: Waiting [2020-09-09T03:38:00.479Z] 170f70906a0f: Waiting [2020-09-09T03:38:00.479Z] ad7c5574e4b9: Waiting [2020-09-09T03:38:00.479Z] e772456be8f7: Waiting [2020-09-09T03:38:00.479Z] c890913d741a: Waiting [2020-09-09T03:38:00.479Z] 2480fcc9aa5a: Waiting [2020-09-09T03:38:00.479Z] 09adf4765672: Waiting [2020-09-09T03:38:00.479Z] fd7a069fd194: Waiting [2020-09-09T03:38:00.479Z] 99f96fe45779: Download complete [2020-09-09T03:38:00.479Z] 74f711af9a0d: Download complete [2020-09-09T03:38:00.479Z] 66aa3694b03b: Verifying Checksum [2020-09-09T03:38:00.479Z] 66aa3694b03b: Download complete [2020-09-09T03:38:00.479Z] b538f80385f9: Verifying Checksum [2020-09-09T03:38:00.479Z] b538f80385f9: Download complete [2020-09-09T03:38:00.759Z] 170f70906a0f: Verifying Checksum [2020-09-09T03:38:00.759Z] 170f70906a0f: Download complete [2020-09-09T03:38:01.360Z] b538f80385f9: Pull complete [2020-09-09T03:38:01.960Z] 74f711af9a0d: Pull complete [2020-09-09T03:38:02.237Z] 99f96fe45779: Pull complete [2020-09-09T03:38:03.675Z] ad7c5574e4b9: Verifying Checksum [2020-09-09T03:38:03.675Z] ad7c5574e4b9: Download complete [2020-09-09T03:38:03.675Z] c890913d741a: Verifying Checksum [2020-09-09T03:38:03.675Z] c890913d741a: Download complete [2020-09-09T03:38:05.108Z] 2480fcc9aa5a: Verifying Checksum [2020-09-09T03:38:05.108Z] 2480fcc9aa5a: Download complete [2020-09-09T03:38:05.382Z] 09adf4765672: Verifying Checksum [2020-09-09T03:38:05.382Z] 09adf4765672: Download complete [2020-09-09T03:38:05.976Z] e772456be8f7: Verifying Checksum [2020-09-09T03:38:05.976Z] e772456be8f7: Download complete [2020-09-09T03:38:06.248Z] fd7a069fd194: Verifying Checksum [2020-09-09T03:38:06.248Z] fd7a069fd194: Download complete [2020-09-09T03:38:14.946Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.009s coverage: 8.6% of statements [2020-09-09T03:38:14.946Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.016s coverage: 21.7% of statements [2020-09-09T03:38:14.946Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T03:38:14.946Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.022s coverage: 37.0% of statements [2020-09-09T03:38:14.946Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T03:38:14.946Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.027s coverage: 65.4% of statements [2020-09-09T03:38:14.946Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T03:38:14.946Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T03:38:14.946Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T03:38:14.946Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.034s coverage: 52.6% of statements [2020-09-09T03:38:14.946Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.099s coverage: 68.9% of statements [2020-09-09T03:38:14.946Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T03:38:14.946Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T03:38:14.946Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T03:38:14.946Z] gofmt -l . [2020-09-09T03:38:14.946Z] [ "`gofmt -l .`" = "" ] [2020-09-09T03:38:14.946Z] ./bin/test-attribution-txt.sh [2020-09-09T03:38:15.547Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T03:38:16.195Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T03:38:16.218Z] $ docker stop --time=1 5bb3acd41968d7accd5fe136a0f26b063f0a8a7366bb0b5e008e4fdc4cc29182 [2020-09-09T03:38:16.424Z] fd7a069fd194: Pull complete [2020-09-09T03:38:16.701Z] 66aa3694b03b: Pull complete [2020-09-09T03:38:17.307Z] 170f70906a0f: Pull complete [2020-09-09T03:38:17.758Z] $ docker rm -f 5bb3acd41968d7accd5fe136a0f26b063f0a8a7366bb0b5e008e4fdc4cc29182 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T03:38:19.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T03:38:19.775Z] + ls -al . [2020-09-09T03:38:19.775Z] total 188 [2020-09-09T03:38:19.775Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 9 03:38 . [2020-09-09T03:38:19.775Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 9 03:36 .. [2020-09-09T03:38:19.775Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 9 03:36 bin [2020-09-09T03:38:19.775Z] -rw-r--r--. 1 jenkins jenkins 111650 Sep 9 03:38 coverage.out [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 9 03:36 Dockerfile.build [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 9 03:36 .dockerignore [2020-09-09T03:38:19.775Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 9 03:36 example [2020-09-09T03:38:19.775Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 9 03:36 .git [2020-09-09T03:38:19.775Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 9 03:36 .github [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 9 03:36 .gitignore [2020-09-09T03:38:19.775Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 9 03:38 go.mod [2020-09-09T03:38:19.775Z] -rw-r--r--. 1 jenkins jenkins 12258 Sep 9 03:38 go.sum [2020-09-09T03:38:19.775Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 9 03:36 internal [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 9 03:36 Jenkinsfile [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 9 03:36 LICENSE [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 9 03:36 Makefile [2020-09-09T03:38:19.775Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 9 03:36 openapi [2020-09-09T03:38:19.775Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 9 03:36 pkg [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 9 03:36 README.md [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 9 03:36 RELEASE-NOTES.txt [2020-09-09T03:38:19.775Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 9 03:36 .semver [2020-09-09T03:38:19.775Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 9 03:36 snap [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 9 03:34 VERSION [2020-09-09T03:38:19.775Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 9 03:36 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:38:20.114Z] + 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=84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 --label arch=amd64 --label version=0.0.0 . [2020-09-09T03:38:20.379Z] Sending build context to Docker daemon 3.255MB [2020-09-09T03:38:20.379Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T03:38:20.379Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T03:38:20.379Z] ---> 8e49ddd8ed46 [2020-09-09T03:38:20.379Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T03:38:20.640Z] ---> Running in 8c7152ed55da [2020-09-09T03:38:20.713Z] ad7c5574e4b9: Pull complete [2020-09-09T03:38:20.903Z] Removing intermediate container 8c7152ed55da [2020-09-09T03:38:20.903Z] ---> 76b5e821a7a0 [2020-09-09T03:38:20.903Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T03:38:20.903Z] ---> Running in 1265031d7790 [2020-09-09T03:38:21.167Z] Removing intermediate container 1265031d7790 [2020-09-09T03:38:21.167Z] ---> 52809b45ed23 [2020-09-09T03:38:21.167Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:38:21.167Z] ---> Running in 3405937ad601 [2020-09-09T03:38:21.167Z] Removing intermediate container 3405937ad601 [2020-09-09T03:38:21.167Z] ---> 00881602c3b4 [2020-09-09T03:38:21.167Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:38:21.430Z] ---> Running in 303e25eaf32f [2020-09-09T03:38:22.387Z] Removing intermediate container 303e25eaf32f [2020-09-09T03:38:22.387Z] ---> 31c6a0159b1d [2020-09-09T03:38:22.387Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T03:38:22.387Z] ---> Running in f921e84ad9f1 [2020-09-09T03:38:22.961Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T03:38:24.353Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T03:38:26.177Z] e772456be8f7: Pull complete [2020-09-09T03:38:26.177Z] c890913d741a: Pull complete [2020-09-09T03:38:26.277Z] OK: 166 MiB in 39 packages [2020-09-09T03:38:26.277Z] Removing intermediate container f921e84ad9f1 [2020-09-09T03:38:26.277Z] ---> 554d87036e50 [2020-09-09T03:38:26.277Z] Step 8/24 : COPY . . [2020-09-09T03:38:27.231Z] ---> 88760fa3ec19 [2020-09-09T03:38:27.231Z] Step 9/24 : RUN ${MAKE} [2020-09-09T03:38:27.231Z] ---> Running in 21d2e4080473 [2020-09-09T03:38:27.807Z] 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-09T03:38:28.181Z] 2480fcc9aa5a: Pull complete [2020-09-09T03:38:28.791Z] 09adf4765672: Pull complete [2020-09-09T03:38:28.791Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-09T03:38:28.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-09T03:38:28.791Z] ---> 2248a725d1cf [2020-09-09T03:38:28.791Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:38:33.141Z] ---> Running in 834fd12fa0d8 [2020-09-09T03:38:33.414Z] Removing intermediate container 834fd12fa0d8 [2020-09-09T03:38:33.414Z] ---> bfd4a89f2fe4 [2020-09-09T03:38:33.414Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:38:33.690Z] ---> Running in 9ad615331206 [2020-09-09T03:38:36.102Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T03:38:36.331Z] Removing intermediate container 9ad615331206 [2020-09-09T03:38:36.331Z] ---> fad50dce6279 [2020-09-09T03:38:36.331Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T03:38:36.331Z] ---> Running in 655a626e18c6 [2020-09-09T03:38:37.134Z] Removing intermediate container 21d2e4080473 [2020-09-09T03:38:37.134Z] ---> 817bcc17ffbc [2020-09-09T03:38:37.134Z] Step 10/24 : FROM scratch [2020-09-09T03:38:37.134Z] ---> [2020-09-09T03:38:37.134Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:38:37.134Z] ---> Running in fcebf9dcdb3d [2020-09-09T03:38:37.134Z] Removing intermediate container fcebf9dcdb3d [2020-09-09T03:38:37.134Z] ---> 11a7de5b96bd [2020-09-09T03:38:37.134Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T03:38:37.411Z] ---> Running in 90a6a8757f7f [2020-09-09T03:38:37.411Z] Removing intermediate container 90a6a8757f7f [2020-09-09T03:38:37.412Z] ---> 4f7a239b1a09 [2020-09-09T03:38:37.412Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T03:38:37.412Z] ---> Running in e02e53129754 [2020-09-09T03:38:37.682Z] Removing intermediate container e02e53129754 [2020-09-09T03:38:37.682Z] ---> cfbe8c4c9d71 [2020-09-09T03:38:37.682Z] Step 14/24 : WORKDIR / [2020-09-09T03:38:37.682Z] ---> Running in c9a84261b721 [2020-09-09T03:38:37.834Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T03:38:37.971Z] Removing intermediate container c9a84261b721 [2020-09-09T03:38:37.971Z] ---> 4c6bc6405ca5 [2020-09-09T03:38:37.971Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-09T03:38:38.272Z] ---> f9289035187c [2020-09-09T03:38:38.272Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-09T03:38:38.554Z] ---> 871e9391ee29 [2020-09-09T03:38:38.554Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T03:38:38.835Z] ---> 1be780cba394 [2020-09-09T03:38:38.835Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T03:38:38.843Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T03:38:39.100Z] ---> 18de872d9acc [2020-09-09T03:38:39.100Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T03:38:39.362Z] ---> 7577f72c07ba [2020-09-09T03:38:39.362Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-09T03:38:39.363Z] ---> Running in 5978d88dc221 [2020-09-09T03:38:39.626Z] Removing intermediate container 5978d88dc221 [2020-09-09T03:38:39.626Z] ---> d152604c65b9 [2020-09-09T03:38:39.626Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T03:38:39.626Z] ---> Running in 5f3cb58bab7d [2020-09-09T03:38:39.901Z] Removing intermediate container 5f3cb58bab7d [2020-09-09T03:38:39.901Z] ---> 4e36ee2ac0db [2020-09-09T03:38:39.901Z] Step 22/24 : LABEL arch=amd64 [2020-09-09T03:38:39.901Z] ---> Running in 62a176d5e9da [2020-09-09T03:38:39.901Z] Removing intermediate container 62a176d5e9da [2020-09-09T03:38:39.901Z] ---> 8a3713c54f97 [2020-09-09T03:38:39.901Z] Step 23/24 : LABEL git_sha=84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [2020-09-09T03:38:40.168Z] ---> Running in 8357e40bc0e5 [2020-09-09T03:38:40.168Z] Removing intermediate container 8357e40bc0e5 [2020-09-09T03:38:40.168Z] ---> d04d10219db8 [2020-09-09T03:38:40.168Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T03:38:40.168Z] ---> Running in 4d6059c441f3 [2020-09-09T03:38:40.436Z] Removing intermediate container 4d6059c441f3 [2020-09-09T03:38:40.436Z] ---> e1a1b33a2ba8 [2020-09-09T03:38:40.436Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T03:38:40.436Z] Successfully built e1a1b33a2ba8 [2020-09-09T03:38:40.436Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-09T03:38:40.824Z] OK: 142 MiB in 39 packages [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 [2020-09-09T03:38:41.823Z] Removing intermediate container 655a626e18c6 [2020-09-09T03:38:41.823Z] ---> 5fd14f4e0be2 [2020-09-09T03:38:41.823Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T03:38:41.823Z] ---> Running in bd71ea966f9e [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-09-09T03:38:42.437Z] Removing intermediate container bd71ea966f9e [2020-09-09T03:38:42.437Z] ---> 71a5c6cb600d [2020-09-09T03:38:42.437Z] Step 7/8 : COPY . . [Pipeline] // stage [Pipeline] } [2020-09-09T03:38:43.900Z] ---> 0cb446c14a54 [2020-09-09T03:38:43.900Z] Step 8/8 : RUN go mod download [2020-09-09T03:38:43.900Z] ---> Running in 78cd2a342bcf [2020-09-09T03:38:46.543Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T03:38:46.543Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T03:38:46.543Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T03:38:46.543Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T03:38:46.816Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T03:38:46.816Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T03:38:46.816Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T03:38:46.816Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T03:38:46.816Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T03:38:46.816Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T03:38:46.816Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T03:38:46.816Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T03:38:46.816Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T03:38:46.817Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T03:38:46.817Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T03:38:47.090Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T03:38:47.090Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T03:38:47.090Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T03:38:47.090Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T03:38:47.090Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T03:38:47.090Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T03:38:47.362Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T03:38:47.636Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T03:38:47.636Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T03:38:47.636Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T03:38:47.636Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T03:38:47.636Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T03:38:47.636Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T03:38:47.636Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T03:38:47.636Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T03:38:47.636Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T03:38:47.636Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T03:38:47.636Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T03:38:47.911Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T03:38:47.911Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T03:38:47.911Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T03:38:47.911Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T03:38:47.911Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T03:38:47.911Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T03:38:47.911Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T03:38:47.911Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T03:38:47.911Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T03:38:47.911Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T03:38:48.190Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T03:38:48.190Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T03:38:48.190Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T03:38:48.190Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T03:38:48.190Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T03:38:48.190Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T03:38:48.190Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T03:38:48.190Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T03:38:48.190Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T03:38:48.190Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T03:38:48.190Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T03:38:48.468Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T03:38:48.468Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T03:38:48.468Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T03:38:48.468Z] go: finding gopkg.in/yaml.v2 v2.3.0 [2020-09-09T03:38:58.692Z] Removing intermediate container 78cd2a342bcf [2020-09-09T03:38:58.692Z] ---> 39fb758b92dc [2020-09-09T03:38:58.692Z] Successfully built 39fb758b92dc [2020-09-09T03:38:58.692Z] 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-09T03:38:59.645Z] + docker inspect -f . ci-base-image-arm64 [2020-09-09T03:38:59.645Z] . [Pipeline] withDockerContainer [2020-09-09T03:38:59.925Z] prd-ubuntu18.04-docker-arm64-4c-16g-1909 does not seem to be running inside a container [2020-09-09T03:39:00.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2020-09-09T03:39:01.950Z] $ docker top e0f707e33dc36cbec66d0a607e18aca9902b9e30d81a0cdea7456f5a56206216 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T03:39:03.402Z] + go version [2020-09-09T03:39:03.402Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-09T03:39:04.480Z] + make test [2020-09-09T03:39:04.480Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T03:39:05.918Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T03:39:38.324Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T03:39:38.324Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T03:39:38.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T03:39:38.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.017s coverage: 21.0% of statements [2020-09-09T03:39:38.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.193s coverage: 95.7% of statements [2020-09-09T03:40:10.675Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.054s coverage: 8.6% of statements [2020-09-09T03:40:10.675Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements [2020-09-09T03:40:10.675Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T03:40:10.675Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.079s coverage: 37.0% of statements [2020-09-09T03:40:10.675Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T03:40:10.675Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.144s coverage: 65.4% of statements [2020-09-09T03:40:10.675Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T03:40:10.675Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T03:40:10.675Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T03:40:10.675Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.048s coverage: 52.6% of statements [2020-09-09T03:40:10.675Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.368s coverage: 68.9% of statements [2020-09-09T03:40:10.675Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T03:40:10.675Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T03:40:10.675Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T03:40:15.023Z] gofmt -l . [2020-09-09T03:40:15.023Z] [ "`gofmt -l .`" = "" ] [2020-09-09T03:40:15.293Z] ./bin/test-attribution-txt.sh [2020-09-09T03:40:16.360Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T03:40:17.011Z] Warning: overwriting stash ‘coverage-report’ [2020-09-09T03:40:18.016Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T03:40:18.056Z] $ docker stop --time=1 e0f707e33dc36cbec66d0a607e18aca9902b9e30d81a0cdea7456f5a56206216 [2020-09-09T03:40:20.576Z] $ docker rm -f e0f707e33dc36cbec66d0a607e18aca9902b9e30d81a0cdea7456f5a56206216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T03:40:21.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T03:40:22.321Z] + ls -al . [2020-09-09T03:40:22.321Z] total 228 [2020-09-09T03:40:22.321Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 9 03:40 . [2020-09-09T03:40:22.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 .. [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 03:37 .dockerignore [2020-09-09T03:40:22.321Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 03:37 .git [2020-09-09T03:40:22.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:37 .github [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 9 03:37 .gitignore [2020-09-09T03:40:22.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 03:37 .semver [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 9 03:37 Dockerfile.build [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 9 03:37 Jenkinsfile [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 9 03:37 LICENSE [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 9 03:37 Makefile [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 9 03:37 README.md [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 9 03:37 RELEASE-NOTES.txt [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 03:34 VERSION [2020-09-09T03:40:22.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 03:37 bin [2020-09-09T03:40:22.321Z] -rw-r--r-- 1 jenkins jenkins 111650 Sep 9 03:40 coverage.out [2020-09-09T03:40:22.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 example [2020-09-09T03:40:22.321Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 9 03:40 go.mod [2020-09-09T03:40:22.321Z] -rw-r--r-- 1 jenkins jenkins 12258 Sep 9 03:40 go.sum [2020-09-09T03:40:22.321Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 9 03:37 internal [2020-09-09T03:40:22.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 openapi [2020-09-09T03:40:22.321Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 9 03:37 pkg [2020-09-09T03:40:22.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 03:37 snap [2020-09-09T03:40:22.321Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 9 03:37 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:40:22.693Z] + 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=84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 --label arch=arm64 --label version=0.0.0 . [2020-09-09T03:40:22.965Z] Sending build context to Docker daemon 3.253MB [2020-09-09T03:40:23.238Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T03:40:23.238Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T03:40:23.238Z] ---> 39fb758b92dc [2020-09-09T03:40:23.238Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T03:40:23.238Z] ---> Running in a6352eaab61e [2020-09-09T03:40:23.841Z] Removing intermediate container a6352eaab61e [2020-09-09T03:40:23.841Z] ---> c399634b5606 [2020-09-09T03:40:23.841Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T03:40:23.841Z] ---> Running in 9276878db8dd [2020-09-09T03:40:24.444Z] Removing intermediate container 9276878db8dd [2020-09-09T03:40:24.444Z] ---> 575b4971a6cd [2020-09-09T03:40:24.444Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:40:24.444Z] ---> Running in e6d80940b28d [2020-09-09T03:40:25.041Z] Removing intermediate container e6d80940b28d [2020-09-09T03:40:25.041Z] ---> 41f22f5dae7d [2020-09-09T03:40:25.041Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T03:40:25.041Z] ---> Running in 42e101620f52 [2020-09-09T03:40:27.658Z] Removing intermediate container 42e101620f52 [2020-09-09T03:40:27.658Z] ---> 591934aa19b5 [2020-09-09T03:40:27.658Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T03:40:27.658Z] ---> Running in ec055abe12a5 [2020-09-09T03:40:29.088Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T03:40:30.057Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T03:40:30.649Z] OK: 142 MiB in 39 packages [2020-09-09T03:40:32.079Z] Removing intermediate container ec055abe12a5 [2020-09-09T03:40:32.079Z] ---> f6d03edaecdf [2020-09-09T03:40:32.079Z] Step 8/24 : COPY . . [2020-09-09T03:40:33.061Z] ---> 79bbcc77d6f2 [2020-09-09T03:40:33.061Z] Step 9/24 : RUN ${MAKE} [2020-09-09T03:40:33.335Z] ---> Running in 94ae239e84d2 [2020-09-09T03:40:34.772Z] 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-09T03:41:01.568Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T03:41:01.568Z] Removing intermediate container 94ae239e84d2 [2020-09-09T03:41:01.568Z] ---> 02eb31bbe286 [2020-09-09T03:41:01.568Z] Step 10/24 : FROM scratch [2020-09-09T03:41:01.568Z] ---> [2020-09-09T03:41:01.568Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T03:41:01.845Z] ---> Running in f56821be5d69 [2020-09-09T03:41:02.115Z] Removing intermediate container f56821be5d69 [2020-09-09T03:41:02.115Z] ---> 4db49829e98f [2020-09-09T03:41:02.115Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T03:41:02.386Z] ---> Running in 67e946003c75 [2020-09-09T03:41:02.659Z] Removing intermediate container 67e946003c75 [2020-09-09T03:41:02.659Z] ---> 6632bf04215e [2020-09-09T03:41:02.659Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T03:41:02.659Z] ---> Running in 745f8bb1e34f [2020-09-09T03:41:03.250Z] Removing intermediate container 745f8bb1e34f [2020-09-09T03:41:03.250Z] ---> c5bf847203db [2020-09-09T03:41:03.250Z] Step 14/24 : WORKDIR / [2020-09-09T03:41:03.250Z] ---> Running in 55913b33021e [2020-09-09T03:41:03.847Z] Removing intermediate container 55913b33021e [2020-09-09T03:41:03.847Z] ---> 9bb8d8301003 [2020-09-09T03:41:03.847Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-09T03:41:04.819Z] ---> a9e9f8635127 [2020-09-09T03:41:04.819Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-09T03:41:05.418Z] ---> d01a472444d7 [2020-09-09T03:41:05.418Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T03:41:06.408Z] ---> 4e07ea17b9d4 [2020-09-09T03:41:06.408Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T03:41:07.000Z] ---> 2281972bcf8c [2020-09-09T03:41:07.000Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T03:41:07.593Z] ---> 7fb30bd75898 [2020-09-09T03:41:07.593Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-09T03:41:07.865Z] ---> Running in 21246d9e4a95 [2020-09-09T03:41:08.137Z] Removing intermediate container 21246d9e4a95 [2020-09-09T03:41:08.137Z] ---> 629de1cad4d9 [2020-09-09T03:41:08.137Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T03:41:08.412Z] ---> Running in 84b4f51c3636 [2020-09-09T03:41:09.007Z] Removing intermediate container 84b4f51c3636 [2020-09-09T03:41:09.007Z] ---> f0b86834d974 [2020-09-09T03:41:09.007Z] Step 22/24 : LABEL arch=arm64 [2020-09-09T03:41:09.007Z] ---> Running in f4b8e065156b [2020-09-09T03:41:09.606Z] Removing intermediate container f4b8e065156b [2020-09-09T03:41:09.606Z] ---> df63250e3bbb [2020-09-09T03:41:09.606Z] Step 23/24 : LABEL git_sha=84f9d2aa0d4eb226d056c02c43807c9ec10a2cf8 [2020-09-09T03:41:09.606Z] ---> Running in b71b68589da7 [2020-09-09T03:41:10.201Z] Removing intermediate container b71b68589da7 [2020-09-09T03:41:10.201Z] ---> 00c66bbaf219 [2020-09-09T03:41:10.201Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T03:41:10.201Z] ---> Running in b979bd5bbdf5 [2020-09-09T03:41:10.797Z] Removing intermediate container b979bd5bbdf5 [2020-09-09T03:41:10.797Z] ---> 3d9c72889e7f [2020-09-09T03:41:10.797Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T03:41:10.797Z] Successfully built 3d9c72889e7f [2020-09-09T03:41:10.797Z] 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-09T03:41:13.248Z] provisioning config files... [2020-09-09T03:41:13.261Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config3471672705351511382tmp [Pipeline] { [Pipeline] sh [2020-09-09T03:41:13.704Z] + curl -s https://codecov.io/bash [2020-09-09T03:41:13.704Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config3471672705351511382tmp [Pipeline] } [2020-09-09T03:41:13.990Z] 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-09T03:41:16.906Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:41:17.506Z] ---> package-listing.sh [2020-09-09T03:41:17.506Z] ++ facter osfamily [2020-09-09T03:41:17.506Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-09T03:41:17.506Z] + OS_FAMILY=redhat [2020-09-09T03:41:17.506Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 [2020-09-09T03:41:17.506Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-09T03:41:17.506Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-09T03:41:17.506Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-09T03:41:17.506Z] + PACKAGES=/tmp/packages_start.txt [2020-09-09T03:41:17.506Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-09-09T03:41:17.506Z] + PACKAGES=/tmp/packages_end.txt [2020-09-09T03:41:17.506Z] + case "${OS_FAMILY}" in [2020-09-09T03:41:17.506Z] + rpm -qa [2020-09-09T03:41:17.506Z] + sort [2020-09-09T03:41:21.747Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-09T03:41:21.747Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-09T03:41:21.747Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-09T03:41:21.747Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' [2020-09-09T03:41:21.747Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [2020-09-09T03:41:21.747Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:41:22.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T03:41:22.222Z] [2020-09-09T03:41:22.222Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-09T03:41:22.609Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T03:41:22.609Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-09T03:41:22.609Z] df20fa9351a1: Pulling fs layer [2020-09-09T03:41:22.609Z] 36b3adc4ff6f: Pulling fs layer [2020-09-09T03:41:22.609Z] 8ad3a11d3b57: Pulling fs layer [2020-09-09T03:41:22.609Z] 46f8f816bc3b: Pulling fs layer [2020-09-09T03:41:22.609Z] 0dadc02b9964: Pulling fs layer [2020-09-09T03:41:22.609Z] ce6a7cf60c04: Pulling fs layer [2020-09-09T03:41:22.609Z] 7a184a31f384: Pulling fs layer [2020-09-09T03:41:22.609Z] 0879bd2ef858: Pulling fs layer [2020-09-09T03:41:22.609Z] ce6a7cf60c04: Waiting [2020-09-09T03:41:22.609Z] 46f8f816bc3b: Waiting [2020-09-09T03:41:22.609Z] 7a184a31f384: Waiting [2020-09-09T03:41:22.609Z] 0879bd2ef858: Waiting [2020-09-09T03:41:22.609Z] 0dadc02b9964: Waiting [2020-09-09T03:41:22.609Z] 36b3adc4ff6f: Verifying Checksum [2020-09-09T03:41:22.609Z] 36b3adc4ff6f: Download complete [2020-09-09T03:41:22.609Z] 46f8f816bc3b: Verifying Checksum [2020-09-09T03:41:22.609Z] 46f8f816bc3b: Download complete [2020-09-09T03:41:22.609Z] 0dadc02b9964: Verifying Checksum [2020-09-09T03:41:22.609Z] 0dadc02b9964: Download complete [2020-09-09T03:41:22.609Z] ce6a7cf60c04: Verifying Checksum [2020-09-09T03:41:22.609Z] ce6a7cf60c04: Download complete [2020-09-09T03:41:22.878Z] 7a184a31f384: Verifying Checksum [2020-09-09T03:41:22.878Z] 7a184a31f384: Download complete [2020-09-09T03:41:22.878Z] df20fa9351a1: Verifying Checksum [2020-09-09T03:41:22.878Z] df20fa9351a1: Download complete [2020-09-09T03:41:22.878Z] 8ad3a11d3b57: Verifying Checksum [2020-09-09T03:41:22.878Z] 8ad3a11d3b57: Download complete [2020-09-09T03:41:23.149Z] df20fa9351a1: Pull complete [2020-09-09T03:41:23.417Z] 36b3adc4ff6f: Pull complete [2020-09-09T03:41:23.417Z] 0879bd2ef858: Verifying Checksum [2020-09-09T03:41:23.417Z] 0879bd2ef858: Download complete [2020-09-09T03:41:23.995Z] 8ad3a11d3b57: Pull complete [2020-09-09T03:41:23.995Z] 46f8f816bc3b: Pull complete [2020-09-09T03:41:24.263Z] 0dadc02b9964: Pull complete [2020-09-09T03:41:24.525Z] ce6a7cf60c04: Pull complete [2020-09-09T03:41:24.525Z] 7a184a31f384: Pull complete [2020-09-09T03:41:27.131Z] 0879bd2ef858: Pull complete [2020-09-09T03:41:27.131Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-09T03:41:27.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T03:41:27.131Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-09T03:41:27.338Z] prd-centos7-docker-4c-2g-1897 does not seem to be running inside a container [2020-09-09T03:41:27.453Z] $ 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-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-09T03:41:32.946Z] $ docker top 04b3fbb6a2bf8b6c93126b8d738459ce5604c69ca3eb2cea2cba5b5c85960396 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T03:41:33.500Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-09T03:41:33.825Z] + ls /var/log/sa-host [2020-09-09T03:41:33.825Z] + sadf -c /var/log/sa-host/sa05 [2020-09-09T03:41:33.825Z] file_magic: OK [2020-09-09T03:41:33.825Z] HZ: Using current value: 100 [2020-09-09T03:41:33.825Z] file_header: OK [2020-09-09T03:41:33.825Z] 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-09T03:41:33.825Z] Statistics: [2020-09-09T03:41:33.825Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T03:41:33.825Z] File successfully converted to sysstat format version 12.2.1 [2020-09-09T03:41:33.825Z] + sadf -c /var/log/sa-host/sa09 [2020-09-09T03:41:33.825Z] file_magic: OK [2020-09-09T03:41:33.825Z] HZ: Using current value: 100 [2020-09-09T03:41:33.825Z] file_header: OK [2020-09-09T03:41:33.825Z] 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-09T03:41:33.825Z] Statistics: [2020-09-09T03:41:33.825Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T03:41:33.825Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-09T03:41:33.942Z] provisioning config files... [2020-09-09T03:41:33.960Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config4595292686548465928tmp [Pipeline] { [Pipeline] echo [2020-09-09T03:41:34.085Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:41:34.427Z] ---> create-netrc.sh [Pipeline] echo [2020-09-09T03:41:34.456Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T03:41:34.790Z] ---> logs-deploy.sh [2020-09-09T03:41:34.790Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/1 [2020-09-09T03:41:34.790Z] INFO: archiving workspace using pattern(s): [2020-09-09T03:41:36.210Z] Archives upload complete. [2020-09-09T03:41:36.210Z] INFO: archiving logs to Nexus