Pull request #579 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 623c4a4b904299f2cc4efa6c125a0b3af12a3257+7ebf8157bed3f29606eb8346b104e57a74818c1e (b9ec76d2418e4de5a5af2aea641752657e236dd3) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1878 in /w/workspace/dgexfoundry_device-sdk-go_PR-579 [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 Fetching without tags > git init /w/workspace/dgexfoundry_device-sdk-go_PR-579 # 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/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/579/head:refs/remotes/origin/PR-579 # 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/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 623c4a4b904299f2cc4efa6c125a0b3af12a3257 Merge succeeded, producing 623c4a4b904299f2cc4efa6c125a0b3af12a3257 Checking out Revision 623c4a4b904299f2cc4efa6c125a0b3af12a3257 (PR-579) > git config core.sparsecheckout # timeout=10 > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 Commit message: "build: add dependabot.yml" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-09T00:52:21.737Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 1feafe2f8fee5d3912a2d19c174a0a1b1f297ec6 # timeout=10 [2020-09-09T00:52:21.967Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-09T00:52:22.047Z] ========================================================= [2020-09-09T00:52:22.047Z] EdgeX Global Pipelines Version Info [2020-09-09T00:52:22.047Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-09T00:52:24.294Z] ------------------- [2020-09-09T00:52:24.294Z] stable info: [2020-09-09T00:52:24.294Z] ------------------- [2020-09-09T00:52:24.295Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-09T00:52:24.295Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-09T00:52:24.295Z] Message: update stable to v1.0.119 [2020-09-09T00:52:26.244Z] ------------------- [2020-09-09T00:52:26.244Z] experimental info: [2020-09-09T00:52:26.244Z] ------------------- [2020-09-09T00:52:26.244Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-09T00:52:26.244Z] Commit SHA: fce6018850fd827eed96b6ce04e8822d251c695d [2020-09-09T00:52:26.244Z] Message: update experimental to v1.0.120 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-09T00:52:26.561Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-09T00:52:26.636Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-09T00:52:26.711Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-09T00:52:26.786Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-09T00:52:26.885Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-09T00:52:26.961Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.13 [Pipeline] echo [2020-09-09T00:52:27.049Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-09T00:52:27.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [Pipeline] echo [2020-09-09T00:52:27.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-09T00:52:27.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-09T00:52:27.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-09T00:52:27.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-09T00:52:27.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-09T00:52:27.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-09T00:52:27.699Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-09T00:52:27.781Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T00:52:27.883Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T00:52:27.961Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-09T00:52:28.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-09T00:52:28.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-09T00:52:28.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-09T00:52:28.293Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-09T00:52:28.408Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-579 [Pipeline] echo [2020-09-09T00:52:28.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-579 [Pipeline] echo [2020-09-09T00:52:28.568Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-579 [Pipeline] echo [2020-09-09T00:52:28.700Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 623c4a4b904299f2cc4efa6c125a0b3af12a3257 [Pipeline] echo [2020-09-09T00:52:28.793Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 623c4a4 [Pipeline] echo [2020-09-09T00:52:28.879Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T00:52:29.446Z] + git log --format=format:%s -1 623c4a4b904299f2cc4efa6c125a0b3af12a3257 [Pipeline] echo [2020-09-09T00:52:29.525Z] GIT_COMMIT: 623c4a4b904299f2cc4efa6c125a0b3af12a3257, Commit Message: build: add dependabot.yml [Pipeline] echo [2020-09-09T00:52:29.573Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-09T00:52:30.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T00:52:30.518Z] [2020-09-09T00:52:30.518Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-09T00:52:30.937Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T00:52:31.234Z] latest: Pulling from edgex-devops/git-semver [2020-09-09T00:52:31.234Z] 31603596830f: Pulling fs layer [2020-09-09T00:52:31.234Z] 2a8b12db71e7: Pulling fs layer [2020-09-09T00:52:31.234Z] 6ca5941a6612: Pulling fs layer [2020-09-09T00:52:31.234Z] ecc8261a40a4: Pulling fs layer [2020-09-09T00:52:31.234Z] ecc8261a40a4: Waiting [2020-09-09T00:52:31.234Z] 2a8b12db71e7: Verifying Checksum [2020-09-09T00:52:31.234Z] 2a8b12db71e7: Download complete [2020-09-09T00:52:31.526Z] 31603596830f: Download complete [2020-09-09T00:52:32.201Z] 31603596830f: Pull complete [2020-09-09T00:52:32.201Z] ecc8261a40a4: Verifying Checksum [2020-09-09T00:52:32.201Z] ecc8261a40a4: Download complete [2020-09-09T00:52:32.504Z] 2a8b12db71e7: Pull complete [2020-09-09T00:52:32.504Z] 6ca5941a6612: Verifying Checksum [2020-09-09T00:52:32.504Z] 6ca5941a6612: Download complete [2020-09-09T00:52:33.982Z] 6ca5941a6612: Pull complete [2020-09-09T00:52:34.247Z] ecc8261a40a4: Pull complete [2020-09-09T00:52:34.247Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-09T00:52:34.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-09T00:52:34.247Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-09T00:52:34.397Z] prd-centos7-docker-4c-2g-1878 does not seem to be running inside a container [2020-09-09T00:52:34.655Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-579 -v /w/workspace/dgexfoundry_device-sdk-go_PR-579:/w/workspace/dgexfoundry_device-sdk-go_PR-579:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-579@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-09T00:52:37.180Z] $ docker top 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-09T00:52:37.504Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T00:52:37.504Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T00:52:37.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T00:52:37.905Z] $ docker exec 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d ssh-agent [2020-09-09T00:52:38.197Z] SSH_AUTH_SOCK=/tmp/ssh-63HJLZn3zr3d/agent.11 [2020-09-09T00:52:38.198Z] SSH_AGENT_PID=17 [2020-09-09T00:52:38.219Z] Running ssh-add (command line suppressed) [2020-09-09T00:52:38.397Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/private_key_3391655282225123477.key (/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/private_key_3391655282225123477.key) [2020-09-09T00:52:38.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T00:52:38.883Z] + git describe --exact-match --tags HEAD [2020-09-09T00:52:38.883Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-09T00:52:38.909Z] $ docker exec --env ******** --env ******** 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d ssh-agent -k [2020-09-09T00:52:39.087Z] unset SSH_AUTH_SOCK; [2020-09-09T00:52:39.087Z] unset SSH_AGENT_PID; [2020-09-09T00:52:39.087Z] echo Agent pid 17 killed; [2020-09-09T00:52:39.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-09T00:52:39.258Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-09T00:52:39.259Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-09T00:52:39.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-09T00:52:39.339Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-09T00:52:39.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-09T00:52:39.717Z] $ docker exec 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d ssh-agent [2020-09-09T00:52:40.107Z] SSH_AUTH_SOCK=/tmp/ssh-Ewh4501P7Sn9/agent.47 [2020-09-09T00:52:40.107Z] SSH_AGENT_PID=52 [2020-09-09T00:52:40.115Z] Running ssh-add (command line suppressed) [2020-09-09T00:52:40.297Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/private_key_2351361917441634547.key (/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/private_key_2351361917441634547.key) [2020-09-09T00:52:40.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-09T00:52:41.048Z] + git semver init [2020-09-09T00:52:41.048Z] # -> Open(): unable to determine branch for HEAD [2020-09-09T00:52:41.048Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-579/.git [2020-09-09T00:52:41.048Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-579 [2020-09-09T00:52:41.048Z] # $SEMVER_REMOTE_NAME = origin [2020-09-09T00:52:41.048Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-09T00:52:41.048Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-09T00:52:41.048Z] # $SEMVER_BRANCH = PR-579 [2020-09-09T00:52:41.048Z] # $SEMVER_TEMP = /tmp/semver-167771466 [2020-09-09T00:52:41.048Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-09T00:52:42.032Z] # '/tmp/semver-167771466' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-579/.semver' [2020-09-09T00:52:42.032Z] # -> Force: false [2020-09-09T00:52:42.032Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-579/.semver [Pipeline] } [2020-09-09T00:52:42.055Z] $ docker exec --env ******** --env ******** 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d ssh-agent -k [2020-09-09T00:52:42.343Z] unset SSH_AUTH_SOCK; [2020-09-09T00:52:42.344Z] unset SSH_AGENT_PID; [2020-09-09T00:52:42.344Z] echo Agent pid 52 killed; [2020-09-09T00:52:42.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-09T00:52:42.882Z] + git semver [Pipeline] } [2020-09-09T00:52:42.907Z] $ docker stop --time=1 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d [2020-09-09T00:52:44.340Z] $ docker rm -f 39b0628327c20ba3d3d5c5b7fdd4efe45bc601e6811af589fb3b4e762fa6bd8d [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-09T00:52:45.673Z] Stashed 32 file(s) [Pipeline] echo [2020-09-09T00:52:45.676Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-09T00:52:45.754Z] 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-09T00:53:01.111Z] Still waiting to schedule task [2020-09-09T00:53:01.111Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-09T00:53:01.113Z] Still waiting to schedule task [2020-09-09T00:53:01.113Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1876’ is offline [2020-09-09T00:54:51.120Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1879 in /w/workspace/dgexfoundry_device-sdk-go_PR-579 [Pipeline] { [Pipeline] ws [2020-09-09T00:54:51.165Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-09T00:54:56.036Z] using credential edgex-jenkins-ssh [2020-09-09T00:54:56.089Z] Cloning the remote Git repository [2020-09-09T00:54:56.089Z] Cloning with configured refspecs honoured and without tags [2020-09-09T00:54:56.153Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T00:54:56.269Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-09T00:54:56.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T00:54:56.337Z] > git --version # timeout=10 [2020-09-09T00:54:56.356Z] > git --version # 'git version 2.17.1' [2020-09-09T00:54:56.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T00:54:56.449Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T00:54:57.477Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T00:54:57.504Z] > git config --add remote.origin.fetch +refs/pull/579/head:refs/remotes/origin/PR-579 # timeout=10 [2020-09-09T00:54:57.519Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T00:54:57.584Z] Fetching without tags [2020-09-09T00:54:58.171Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 623c4a4b904299f2cc4efa6c125a0b3af12a3257 [2020-09-09T00:54:58.493Z] Merge succeeded, producing 623c4a4b904299f2cc4efa6c125a0b3af12a3257 [2020-09-09T00:54:58.494Z] Checking out Revision 623c4a4b904299f2cc4efa6c125a0b3af12a3257 (PR-579) [2020-09-09T00:54:57.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T00:54:57.595Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T00:54:57.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T00:54:57.606Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T00:54:58.192Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T00:54:58.220Z] > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 [2020-09-09T00:54:58.334Z] > git remote # timeout=10 [2020-09-09T00:54:58.358Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T00:54:58.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T00:54:58.379Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-09T00:54:58.401Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T00:54:58.498Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T00:54:58.512Z] > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 [2020-09-09T00:55:02.873Z] Commit message: "build: add dependabot.yml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T00:55:04.229Z] ========================================================= [2020-09-09T00:55:04.229Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine] [2020-09-09T00:55:04.229Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T00:55:05.944Z] + 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-09T00:55:06.945Z] Sending build context to Docker daemon 3.138MB [2020-09-09T00:55:06.945Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T00:55:06.945Z] Step 2/8 : FROM ${BASE} [2020-09-09T00:55:07.223Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-09T00:55:07.223Z] b538f80385f9: Pulling fs layer [2020-09-09T00:55:07.223Z] 74f711af9a0d: Pulling fs layer [2020-09-09T00:55:07.223Z] 99f96fe45779: Pulling fs layer [2020-09-09T00:55:07.223Z] fd7a069fd194: Pulling fs layer [2020-09-09T00:55:07.223Z] 66aa3694b03b: Pulling fs layer [2020-09-09T00:55:07.223Z] 170f70906a0f: Pulling fs layer [2020-09-09T00:55:07.223Z] ad7c5574e4b9: Pulling fs layer [2020-09-09T00:55:07.223Z] e772456be8f7: Pulling fs layer [2020-09-09T00:55:07.223Z] c890913d741a: Pulling fs layer [2020-09-09T00:55:07.223Z] 2480fcc9aa5a: Pulling fs layer [2020-09-09T00:55:07.223Z] 09adf4765672: Pulling fs layer [2020-09-09T00:55:07.223Z] fd7a069fd194: Waiting [2020-09-09T00:55:07.223Z] 66aa3694b03b: Waiting [2020-09-09T00:55:07.223Z] 170f70906a0f: Waiting [2020-09-09T00:55:07.223Z] ad7c5574e4b9: Waiting [2020-09-09T00:55:07.223Z] e772456be8f7: Waiting [2020-09-09T00:55:07.223Z] c890913d741a: Waiting [2020-09-09T00:55:07.223Z] 2480fcc9aa5a: Waiting [2020-09-09T00:55:07.223Z] 09adf4765672: Waiting [2020-09-09T00:55:07.223Z] 99f96fe45779: Verifying Checksum [2020-09-09T00:55:07.223Z] 99f96fe45779: Download complete [2020-09-09T00:55:07.223Z] 74f711af9a0d: Verifying Checksum [2020-09-09T00:55:07.223Z] 74f711af9a0d: Download complete [2020-09-09T00:55:07.223Z] 66aa3694b03b: Verifying Checksum [2020-09-09T00:55:07.223Z] 66aa3694b03b: Download complete [2020-09-09T00:55:07.223Z] 170f70906a0f: Verifying Checksum [2020-09-09T00:55:07.223Z] 170f70906a0f: Download complete [2020-09-09T00:55:07.223Z] b538f80385f9: Download complete [2020-09-09T00:55:08.216Z] b538f80385f9: Pull complete [2020-09-09T00:55:08.821Z] 74f711af9a0d: Pull complete [2020-09-09T00:55:09.094Z] 99f96fe45779: Pull complete [2020-09-09T00:55:10.542Z] ad7c5574e4b9: Verifying Checksum [2020-09-09T00:55:10.542Z] ad7c5574e4b9: Download complete [2020-09-09T00:55:10.542Z] c890913d741a: Verifying Checksum [2020-09-09T00:55:10.542Z] c890913d741a: Download complete [2020-09-09T00:55:12.000Z] e772456be8f7: Verifying Checksum [2020-09-09T00:55:12.000Z] e772456be8f7: Download complete [2020-09-09T00:55:12.000Z] 09adf4765672: Download complete [2020-09-09T00:55:12.272Z] 2480fcc9aa5a: Verifying Checksum [2020-09-09T00:55:12.272Z] 2480fcc9aa5a: Download complete [2020-09-09T00:55:12.870Z] fd7a069fd194: Verifying Checksum [2020-09-09T00:55:12.870Z] fd7a069fd194: Download complete [2020-09-09T00:55:25.285Z] fd7a069fd194: Pull complete [2020-09-09T00:55:25.285Z] 66aa3694b03b: Pull complete [2020-09-09T00:55:25.285Z] 170f70906a0f: Pull complete [2020-09-09T00:55:28.709Z] ad7c5574e4b9: Pull complete [2020-09-09T00:55:33.027Z] e772456be8f7: Pull complete [2020-09-09T00:55:33.027Z] c890913d741a: Pull complete [2020-09-09T00:55:35.646Z] 2480fcc9aa5a: Pull complete [2020-09-09T00:55:35.646Z] 09adf4765672: Pull complete [2020-09-09T00:55:35.920Z] Digest: sha256:77242015624dc62c2655c7b963a03ae32e90cc8c4d034de6c6efb010c7806a28 [2020-09-09T00:55:35.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.13-alpine [2020-09-09T00:55:35.920Z] ---> 2248a725d1cf [2020-09-09T00:55:35.920Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T00:55:40.272Z] ---> Running in 49c90da7f35f [2020-09-09T00:55:40.273Z] Removing intermediate container 49c90da7f35f [2020-09-09T00:55:40.273Z] ---> 4a283a3aaf39 [2020-09-09T00:55:40.273Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T00:55:40.545Z] ---> Running in 9016332c3bce [2020-09-09T00:55:43.163Z] Removing intermediate container 9016332c3bce [2020-09-09T00:55:43.163Z] ---> 74b6f6d18903 [2020-09-09T00:55:43.163Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T00:55:43.163Z] ---> Running in 179495e660ce [2020-09-09T00:55:44.594Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T00:55:45.565Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T00:55:46.157Z] OK: 142 MiB in 39 packages [2020-09-09T00:55:47.133Z] Removing intermediate container 179495e660ce [2020-09-09T00:55:47.133Z] ---> 5289b178c38d [2020-09-09T00:55:47.133Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T00:55:47.133Z] ---> Running in 16129f8f0e63 [2020-09-09T00:55:47.727Z] Removing intermediate container 16129f8f0e63 [2020-09-09T00:55:47.727Z] ---> 840eecf26177 [2020-09-09T00:55:47.727Z] Step 7/8 : COPY . . [2020-09-09T00:55:49.164Z] ---> 391fddabca97 [2020-09-09T00:55:49.164Z] Step 8/8 : RUN go mod download [2020-09-09T00:55:49.164Z] ---> Running in 5c5bd7d06da4 [2020-09-09T00:55:51.778Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T00:55:51.778Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T00:55:51.778Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T00:55:51.778Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T00:55:51.778Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T00:55:51.778Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T00:55:51.778Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T00:55:52.049Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T00:55:52.049Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T00:55:52.049Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T00:55:52.049Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T00:55:52.049Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T00:55:52.049Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T00:55:52.318Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T00:55:52.318Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T00:55:52.318Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T00:55:52.318Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T00:55:52.318Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T00:55:52.318Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T00:55:52.318Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T00:55:52.318Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T00:55:52.318Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T00:55:52.318Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T00:55:52.318Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T00:55:52.587Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T00:55:52.859Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T00:55:52.859Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T00:55:52.859Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T00:55:52.859Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T00:55:52.859Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T00:55:52.859Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T00:55:52.859Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T00:55:52.859Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T00:55:52.859Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T00:55:52.859Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T00:55:52.859Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T00:55:53.130Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T00:55:53.130Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T00:55:53.130Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T00:55:53.130Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T00:55:53.130Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T00:55:53.130Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T00:55:53.130Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T00:55:53.130Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T00:55:53.130Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T00:55:53.130Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T00:55:53.130Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T00:55:53.403Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T00:55:53.403Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T00:55:53.403Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T00:55:53.403Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T00:55:53.403Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T00:55:53.403Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T00:55:53.403Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T00:55:53.403Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T00:55:53.403Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T00:55:53.403Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T00:55:56.906Z] Running on prd-centos7-docker-4c-2g-1880 in /w/workspace/dgexfoundry_device-sdk-go_PR-579 [Pipeline] { [Pipeline] ws [2020-09-09T00:55:56.952Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-09T00:56:03.551Z] Removing intermediate container 5c5bd7d06da4 [2020-09-09T00:56:03.552Z] ---> 328e4e1a7ca6 [2020-09-09T00:56:03.552Z] Successfully built 328e4e1a7ca6 [2020-09-09T00:56:03.552Z] Successfully tagged ci-base-image-arm64:latest [2020-09-09T00:56:03.584Z] using credential edgex-jenkins-ssh [Pipeline] } [2020-09-09T00:56:03.666Z] Cloning the remote Git repository [2020-09-09T00:56:03.667Z] Cloning with configured refspecs honoured and without tags [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-09T00:56:04.433Z] + docker inspect -f . ci-base-image-arm64 [2020-09-09T00:56:04.433Z] . [Pipeline] withDockerContainer [2020-09-09T00:56:03.742Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T00:56:03.840Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-09T00:56:03.913Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T00:56:03.913Z] > git --version # timeout=10 [2020-09-09T00:56:03.927Z] > git --version # 'git version 2.16.5' [2020-09-09T00:56:03.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T00:56:03.962Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T00:56:04.684Z] prd-ubuntu18.04-docker-arm64-4c-16g-1879 does not seem to be running inside a container [2020-09-09T00:56:04.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-09T00:56:04.984Z] Fetching without tags [2020-09-09T00:56:05.510Z] Merging remotes/origin/master commit 7ebf8157bed3f29606eb8346b104e57a74818c1e into PR head commit 623c4a4b904299f2cc4efa6c125a0b3af12a3257 [2020-09-09T00:56:05.759Z] Merge succeeded, producing 623c4a4b904299f2cc4efa6c125a0b3af12a3257 [2020-09-09T00:56:05.760Z] Checking out Revision 623c4a4b904299f2cc4efa6c125a0b3af12a3257 (PR-579) [2020-09-09T00:56:04.738Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T00:56:04.782Z] > git config --add remote.origin.fetch +refs/pull/579/head:refs/remotes/origin/PR-579 # timeout=10 [2020-09-09T00:56:04.797Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T00:56:04.918Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-09T00:56:05.009Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-09T00:56:05.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T00:56:05.093Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/579/head:refs/remotes/origin/PR-579 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-09T00:56:05.523Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T00:56:05.573Z] > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 [2020-09-09T00:56:05.681Z] > git remote # timeout=10 [2020-09-09T00:56:05.704Z] > git config --get remote.origin.url # timeout=10 [2020-09-09T00:56:05.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-09T00:56:05.719Z] > git merge 7ebf8157bed3f29606eb8346b104e57a74818c1e # timeout=10 [2020-09-09T00:56:05.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-09T00:56:05.764Z] > git config core.sparsecheckout # timeout=10 [2020-09-09T00:56:05.778Z] > git checkout -f 623c4a4b904299f2cc4efa6c125a0b3af12a3257 # timeout=10 [2020-09-09T00:56:06.589Z] $ docker top 1e475c7f923ac1efa19a029147c1026c38acf43beb9cd97ddaaeca5a2fd1b3db -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T00:56:08.042Z] + go version [2020-09-09T00:56:08.043Z] go version go1.13.13 linux/arm64 [Pipeline] sh [2020-09-09T00:56:09.089Z] + make test [2020-09-09T00:56:09.089Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T00:56:09.982Z] Commit message: "build: add dependabot.yml" [2020-09-09T00:56:10.069Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-09T00:56:11.384Z] ========================================================= [2020-09-09T00:56:11.385Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine] [2020-09-09T00:56:11.385Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-09T00:56:12.735Z] + 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-09T00:56:13.357Z] Sending build context to Docker daemon 3.139MB [2020-09-09T00:56:13.357Z] Step 1/8 : ARG BASE=golang:1.13-alpine [2020-09-09T00:56:13.357Z] Step 2/8 : FROM ${BASE} [2020-09-09T00:56:13.661Z] 1.13-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-09T00:56:13.661Z] df20fa9351a1: Pulling fs layer [2020-09-09T00:56:13.661Z] ed8968b2872e: Pulling fs layer [2020-09-09T00:56:13.661Z] a92cc7c5fd73: Pulling fs layer [2020-09-09T00:56:13.661Z] 2dd03ba5bac4: Pulling fs layer [2020-09-09T00:56:13.661Z] 1e091d79d1de: Pulling fs layer [2020-09-09T00:56:13.661Z] 481702a1767f: Pulling fs layer [2020-09-09T00:56:13.661Z] f64a6f60c768: Pulling fs layer [2020-09-09T00:56:13.661Z] e78d2573fc39: Pulling fs layer [2020-09-09T00:56:13.661Z] e876d2f968b6: Pulling fs layer [2020-09-09T00:56:13.661Z] ce8a83651883: Pulling fs layer [2020-09-09T00:56:13.661Z] 07967f4d0e4b: Pulling fs layer [2020-09-09T00:56:13.661Z] f64a6f60c768: Waiting [2020-09-09T00:56:13.661Z] e78d2573fc39: Waiting [2020-09-09T00:56:13.661Z] e876d2f968b6: Waiting [2020-09-09T00:56:13.661Z] ce8a83651883: Waiting [2020-09-09T00:56:13.661Z] 07967f4d0e4b: Waiting [2020-09-09T00:56:13.661Z] 2dd03ba5bac4: Waiting [2020-09-09T00:56:13.661Z] 1e091d79d1de: Waiting [2020-09-09T00:56:13.661Z] 481702a1767f: Waiting [2020-09-09T00:56:13.661Z] a92cc7c5fd73: Verifying Checksum [2020-09-09T00:56:13.661Z] a92cc7c5fd73: Download complete [2020-09-09T00:56:13.661Z] df20fa9351a1: Verifying Checksum [2020-09-09T00:56:13.661Z] df20fa9351a1: Download complete [2020-09-09T00:56:13.661Z] 1e091d79d1de: Verifying Checksum [2020-09-09T00:56:13.661Z] 1e091d79d1de: Download complete [2020-09-09T00:56:13.661Z] 481702a1767f: Verifying Checksum [2020-09-09T00:56:13.661Z] 481702a1767f: Download complete [2020-09-09T00:56:13.661Z] ed8968b2872e: Verifying Checksum [2020-09-09T00:56:13.661Z] ed8968b2872e: Download complete [2020-09-09T00:56:14.680Z] df20fa9351a1: Pull complete [2020-09-09T00:56:14.960Z] ed8968b2872e: Pull complete [2020-09-09T00:56:15.235Z] a92cc7c5fd73: Pull complete [2020-09-09T00:56:17.902Z] f64a6f60c768: Verifying Checksum [2020-09-09T00:56:17.902Z] e876d2f968b6: Verifying Checksum [2020-09-09T00:56:17.902Z] e876d2f968b6: Download complete [2020-09-09T00:56:19.960Z] ce8a83651883: Verifying Checksum [2020-09-09T00:56:19.960Z] ce8a83651883: Download complete [2020-09-09T00:56:20.282Z] 07967f4d0e4b: Verifying Checksum [2020-09-09T00:56:20.282Z] 07967f4d0e4b: Download complete [2020-09-09T00:56:20.873Z] e78d2573fc39: Verifying Checksum [2020-09-09T00:56:20.873Z] e78d2573fc39: Download complete [2020-09-09T00:56:21.468Z] 2dd03ba5bac4: Verifying Checksum [2020-09-09T00:56:21.468Z] 2dd03ba5bac4: Download complete [2020-09-09T00:56:31.986Z] 2dd03ba5bac4: Pull complete [2020-09-09T00:56:31.986Z] 1e091d79d1de: Pull complete [2020-09-09T00:56:31.986Z] 481702a1767f: Pull complete [2020-09-09T00:56:36.559Z] f64a6f60c768: Pull complete [2020-09-09T00:56:36.958Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T00:56:36.958Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T00:56:36.958Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T00:56:38.963Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.031s coverage: 21.0% of statements [2020-09-09T00:56:40.031Z] e78d2573fc39: Pull complete [2020-09-09T00:56:40.304Z] e876d2f968b6: Pull complete [2020-09-09T00:56:41.726Z] ce8a83651883: Pull complete [2020-09-09T00:56:41.999Z] 07967f4d0e4b: Pull complete [2020-09-09T00:56:41.999Z] Digest: sha256:323246222269c44bbdf124594b811e87e5df8ffc2c0adf7c0e497dcaec6e6afe [2020-09-09T00:56:41.999Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.13-alpine [2020-09-09T00:56:42.273Z] ---> 5d7c900382c6 [2020-09-09T00:56:42.273Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T00:56:42.395Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.165s coverage: 95.7% of statements [2020-09-09T00:56:43.230Z] ---> Running in f81f8ee5817a [2020-09-09T00:56:43.506Z] Removing intermediate container f81f8ee5817a [2020-09-09T00:56:43.506Z] ---> 48515e5420da [2020-09-09T00:56:43.506Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T00:56:43.506Z] ---> Running in 13bd154a9fda [2020-09-09T00:56:44.952Z] Removing intermediate container 13bd154a9fda [2020-09-09T00:56:44.952Z] ---> 31e16306c378 [2020-09-09T00:56:44.952Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-09T00:56:44.952Z] ---> Running in 92fcd326d931 [2020-09-09T00:56:45.944Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T00:56:46.552Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T00:56:47.145Z] OK: 166 MiB in 39 packages [2020-09-09T00:56:47.732Z] Removing intermediate container 92fcd326d931 [2020-09-09T00:56:47.732Z] ---> c5b2f3327ea1 [2020-09-09T00:56:47.732Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-09T00:56:47.732Z] ---> Running in fe1a6cb7ca01 [2020-09-09T00:56:48.000Z] Removing intermediate container fe1a6cb7ca01 [2020-09-09T00:56:48.000Z] ---> 626c7b56fa52 [2020-09-09T00:56:48.000Z] Step 7/8 : COPY . . [2020-09-09T00:56:48.970Z] ---> 5c394da12e27 [2020-09-09T00:56:48.970Z] Step 8/8 : RUN go mod download [2020-09-09T00:56:48.970Z] ---> Running in 9bb294a9311e [2020-09-09T00:56:50.951Z] go: finding github.com/BurntSushi/toml v0.3.1 [2020-09-09T00:56:50.951Z] go: finding github.com/OneOfOne/xxhash v1.2.6 [2020-09-09T00:56:50.951Z] go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e [2020-09-09T00:56:50.951Z] go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-09T00:56:50.951Z] go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 [2020-09-09T00:56:50.951Z] go: finding github.com/bgentry/speakeasy v0.1.0 [2020-09-09T00:56:50.951Z] go: finding github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-09T00:56:50.951Z] go: finding github.com/davecgh/go-spew v1.1.1 [2020-09-09T00:56:50.951Z] go: finding github.com/edgexfoundry/go-mod-bootstrap v0.0.37 [2020-09-09T00:56:50.951Z] go: finding github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-09T00:56:50.951Z] go: finding github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-09T00:56:50.951Z] go: finding github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-09T00:56:50.951Z] go: finding github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-09T00:56:50.951Z] go: finding github.com/fatih/color v1.7.0 [2020-09-09T00:56:50.951Z] go: finding github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-09T00:56:51.218Z] go: finding github.com/go-kit/kit v0.8.0 [2020-09-09T00:56:51.218Z] go: finding github.com/go-logfmt/logfmt v0.4.0 [2020-09-09T00:56:51.218Z] go: finding github.com/go-stack/stack v1.8.0 [2020-09-09T00:56:51.218Z] go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2020-09-09T00:56:51.218Z] go: finding github.com/google/uuid v1.1.0 [2020-09-09T00:56:51.218Z] go: finding github.com/gorilla/mux v1.7.1 [2020-09-09T00:56:51.218Z] go: finding github.com/hashicorp/consul/api v1.1.0 [2020-09-09T00:56:51.218Z] go: finding github.com/hashicorp/consul/sdk v0.1.1 [2020-09-09T00:56:51.218Z] go: finding github.com/hashicorp/errwrap v1.0.0 [2020-09-09T00:56:51.218Z] go: finding github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-09T00:56:51.218Z] go: finding github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/go-msgpack v0.5.3 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/go-multierror v1.0.0 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/go-sockaddr v1.0.0 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/go-syslog v1.0.0 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/go-uuid v1.0.1 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/go.net v0.0.1 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/golang-lru v0.5.0 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/logutils v1.0.0 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/mdns v1.0.0 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/memberlist v0.1.3 [2020-09-09T00:56:51.488Z] go: finding github.com/hashicorp/serf v0.8.2 [2020-09-09T00:56:51.778Z] go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 [2020-09-09T00:56:51.778Z] go: finding github.com/mattn/go-colorable v0.0.9 [2020-09-09T00:56:51.778Z] go: finding github.com/mattn/go-isatty v0.0.3 [2020-09-09T00:56:51.778Z] go: finding github.com/miekg/dns v1.0.14 [2020-09-09T00:56:51.778Z] go: finding github.com/mitchellh/cli v1.0.0 [2020-09-09T00:56:51.778Z] go: finding github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-09T00:56:51.778Z] go: finding github.com/mitchellh/copystructure v1.0.0 [2020-09-09T00:56:51.778Z] go: finding github.com/mitchellh/go-homedir v1.0.0 [2020-09-09T00:56:51.778Z] go: finding github.com/mitchellh/go-testing-interface v1.0.0 [2020-09-09T00:56:52.097Z] go: finding github.com/mitchellh/gox v0.4.0 [2020-09-09T00:56:52.097Z] go: finding github.com/mitchellh/iochan v1.0.0 [2020-09-09T00:56:52.097Z] go: finding github.com/mitchellh/mapstructure v1.1.2 [2020-09-09T00:56:52.097Z] go: finding github.com/mitchellh/reflectwalk v1.0.0 [2020-09-09T00:56:52.097Z] go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2020-09-09T00:56:52.097Z] go: finding github.com/pelletier/go-toml v1.2.0 [2020-09-09T00:56:52.097Z] go: finding github.com/pkg/errors v0.8.1 [2020-09-09T00:56:52.097Z] go: finding github.com/pmezard/go-difflib v1.0.0 [2020-09-09T00:56:52.097Z] go: finding github.com/posener/complete v1.1.1 [2020-09-09T00:56:52.097Z] go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f [2020-09-09T00:56:52.097Z] go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2020-09-09T00:56:52.097Z] go: finding github.com/stretchr/objx v0.1.0 [2020-09-09T00:56:52.097Z] go: finding github.com/stretchr/testify v1.5.1 [2020-09-09T00:56:52.097Z] go: finding github.com/ugorji/go v1.1.4 [2020-09-09T00:56:52.404Z] go: finding github.com/x448/float16 v0.8.4 [2020-09-09T00:56:52.404Z] go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3 [2020-09-09T00:56:52.404Z] go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc [2020-09-09T00:56:52.404Z] go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 [2020-09-09T00:56:52.404Z] go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5 [2020-09-09T00:56:52.404Z] go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [2020-09-09T00:56:52.404Z] go: finding gopkg.in/yaml.v2 v2.2.8 [2020-09-09T00:57:00.755Z] Removing intermediate container 9bb294a9311e [2020-09-09T00:57:00.755Z] ---> 5de5118ea767 [2020-09-09T00:57:00.755Z] Successfully built 5de5118ea767 [2020-09-09T00:57:00.755Z] 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-09T00:57:01.553Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-09T00:57:01.830Z] . [Pipeline] withDockerContainer [2020-09-09T00:57:02.056Z] prd-centos7-docker-4c-2g-1880 does not seem to be running inside a container [2020-09-09T00:57:02.193Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-09T00:57:04.065Z] $ docker top 8b2cc09168bc460f4f2dbb10be5d28486e977d9b6de7d59265fae3262a01b1ef -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T00:57:05.086Z] + go version [2020-09-09T00:57:05.086Z] go version go1.13.13 linux/amd64 [Pipeline] sh [2020-09-09T00:57:05.864Z] + make test [2020-09-09T00:57:05.864Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-09T00:57:07.994Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-09T00:57:14.737Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.020s coverage: 8.6% of statements [2020-09-09T00:57:14.737Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.014s coverage: 21.7% of statements [2020-09-09T00:57:14.737Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T00:57:14.737Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.081s coverage: 37.0% of statements [2020-09-09T00:57:14.737Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T00:57:14.737Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.146s coverage: 65.4% of statements [2020-09-09T00:57:14.737Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T00:57:14.737Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T00:57:14.737Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T00:57:14.737Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.087s coverage: 52.6% of statements [2020-09-09T00:57:14.737Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.332s coverage: 68.9% of statements [2020-09-09T00:57:14.737Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T00:57:14.737Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T00:57:14.738Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T00:57:18.161Z] gofmt -l . [2020-09-09T00:57:18.435Z] [ "`gofmt -l .`" = "" ] [2020-09-09T00:57:19.034Z] ./bin/test-attribution-txt.sh [2020-09-09T00:57:19.631Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T00:57:20.753Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T00:57:20.758Z] $ docker stop --time=1 1e475c7f923ac1efa19a029147c1026c38acf43beb9cd97ddaaeca5a2fd1b3db [2020-09-09T00:57:22.873Z] $ docker rm -f 1e475c7f923ac1efa19a029147c1026c38acf43beb9cd97ddaaeca5a2fd1b3db [Pipeline] // withDockerContainer [2020-09-09T00:57:23.449Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-09T00:57:23.449Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-09T00:57:23.449Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-09T00:57:23.449Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.006s coverage: 21.0% of statements [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2020-09-09T00:57:24.870Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.070s coverage: 95.7% of statements [Pipeline] sh [2020-09-09T00:57:26.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T00:57:26.512Z] + ls -al . [2020-09-09T00:57:26.512Z] total 228 [2020-09-09T00:57:26.512Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 9 00:57 . [2020-09-09T00:57:26.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 00:54 .. [2020-09-09T00:57:26.512Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 00:54 .dockerignore [2020-09-09T00:57:26.512Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 00:55 .git [2020-09-09T00:57:26.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 00:54 .github [2020-09-09T00:57:26.512Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 9 00:54 .gitignore [2020-09-09T00:57:26.512Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 00:55 .semver [2020-09-09T00:57:26.512Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 9 00:54 Dockerfile.build [2020-09-09T00:57:26.512Z] -rw-rw-r-- 1 jenkins jenkins 808 Sep 9 00:54 Jenkinsfile [2020-09-09T00:57:26.512Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 9 00:54 LICENSE [2020-09-09T00:57:26.512Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 9 00:54 Makefile [2020-09-09T00:57:26.512Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 9 00:54 README.md [2020-09-09T00:57:26.512Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 9 00:54 RELEASE-NOTES.txt [2020-09-09T00:57:26.512Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 00:52 VERSION [2020-09-09T00:57:26.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 00:54 bin [2020-09-09T00:57:26.512Z] -rw-r--r-- 1 jenkins jenkins 111650 Sep 9 00:57 coverage.out [2020-09-09T00:57:26.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 00:54 example [2020-09-09T00:57:26.512Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 9 00:57 go.mod [2020-09-09T00:57:26.512Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 9 00:57 go.sum [2020-09-09T00:57:26.512Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 9 00:54 internal [2020-09-09T00:57:26.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 00:54 openapi [2020-09-09T00:57:26.512Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 9 00:54 pkg [2020-09-09T00:57:26.513Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 00:54 snap [2020-09-09T00:57:26.513Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 9 00:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T00:57:26.901Z] + 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=623c4a4b904299f2cc4efa6c125a0b3af12a3257 --label arch=arm64 --label version=0.0.0 . [2020-09-09T00:57:27.508Z] Sending build context to Docker daemon 3.251MB [2020-09-09T00:57:27.508Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T00:57:27.508Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T00:57:27.508Z] ---> 328e4e1a7ca6 [2020-09-09T00:57:27.508Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T00:57:27.782Z] ---> Running in 0250b7b753e5 [2020-09-09T00:57:28.054Z] Removing intermediate container 0250b7b753e5 [2020-09-09T00:57:28.054Z] ---> e713cc4580fb [2020-09-09T00:57:28.054Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T00:57:28.324Z] ---> Running in 364e155c3cfb [2020-09-09T00:57:28.600Z] Removing intermediate container 364e155c3cfb [2020-09-09T00:57:28.600Z] ---> c45c30d31c16 [2020-09-09T00:57:28.600Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T00:57:28.870Z] ---> Running in 4259dd9105b1 [2020-09-09T00:57:29.142Z] Removing intermediate container 4259dd9105b1 [2020-09-09T00:57:29.142Z] ---> 0ec89643b28a [2020-09-09T00:57:29.142Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T00:57:29.426Z] ---> Running in 8344d84e6242 [2020-09-09T00:57:32.038Z] Removing intermediate container 8344d84e6242 [2020-09-09T00:57:32.038Z] ---> 22f286551051 [2020-09-09T00:57:32.038Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T00:57:32.038Z] ---> Running in 04d37644a74a [2020-09-09T00:57:33.463Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-09T00:57:34.051Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-09T00:57:34.642Z] OK: 142 MiB in 39 packages [2020-09-09T00:57:35.625Z] Removing intermediate container 04d37644a74a [2020-09-09T00:57:35.625Z] ---> 86c69ebf649f [2020-09-09T00:57:35.625Z] Step 8/24 : COPY . . [2020-09-09T00:57:37.059Z] ---> 89a93cac0516 [2020-09-09T00:57:37.059Z] Step 9/24 : RUN ${MAKE} [2020-09-09T00:57:37.333Z] ---> Running in e67720f72650 [2020-09-09T00:57:38.774Z] 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-09T00:57:57.251Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.008s coverage: 8.6% of statements [2020-09-09T00:57:57.252Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.020s coverage: 21.7% of statements [2020-09-09T00:57:57.252Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-09T00:57:57.252Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.028s coverage: 37.0% of statements [2020-09-09T00:57:57.252Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-09T00:57:57.252Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.057s coverage: 65.4% of statements [2020-09-09T00:57:57.252Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-09T00:57:57.252Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-09T00:57:57.252Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-09T00:57:57.252Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.021s coverage: 52.6% of statements [2020-09-09T00:57:57.252Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.118s coverage: 68.9% of statements [2020-09-09T00:57:57.252Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-09T00:57:57.252Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-09T00:57:57.252Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-09T00:57:57.252Z] gofmt -l . [2020-09-09T00:57:57.518Z] [ "`gofmt -l .`" = "" ] [2020-09-09T00:57:57.518Z] ./bin/test-attribution-txt.sh [2020-09-09T00:57:58.508Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-09T00:57:58.804Z] Warning: overwriting stash ‘coverage-report’ [2020-09-09T00:57:59.345Z] Stashed 1 file(s) [Pipeline] } [2020-09-09T00:57:59.402Z] $ docker stop --time=1 8b2cc09168bc460f4f2dbb10be5d28486e977d9b6de7d59265fae3262a01b1ef [2020-09-09T00:58:00.952Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T00:58:01.037Z] $ docker rm -f 8b2cc09168bc460f4f2dbb10be5d28486e977d9b6de7d59265fae3262a01b1ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-09T00:58:02.059Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-09T00:58:02.383Z] + ls -al . [2020-09-09T00:58:02.383Z] total 188 [2020-09-09T00:58:02.383Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 9 00:57 . [2020-09-09T00:58:02.383Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 9 00:56 .. [2020-09-09T00:58:02.383Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 9 00:56 bin [2020-09-09T00:58:02.383Z] -rw-r--r--. 1 jenkins jenkins 111650 Sep 9 00:57 coverage.out [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 9 00:56 Dockerfile.build [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 9 00:56 .dockerignore [2020-09-09T00:58:02.383Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 9 00:56 example [2020-09-09T00:58:02.383Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 9 00:56 .git [2020-09-09T00:58:02.383Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 9 00:56 .github [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 9 00:56 .gitignore [2020-09-09T00:58:02.383Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 9 00:57 go.mod [2020-09-09T00:58:02.383Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 9 00:57 go.sum [2020-09-09T00:58:02.383Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 9 00:56 internal [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 808 Sep 9 00:56 Jenkinsfile [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 9 00:56 LICENSE [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 9 00:56 Makefile [2020-09-09T00:58:02.383Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 9 00:56 openapi [2020-09-09T00:58:02.383Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 9 00:56 pkg [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 9 00:56 README.md [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 9 00:56 RELEASE-NOTES.txt [2020-09-09T00:58:02.383Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 9 00:56 .semver [2020-09-09T00:58:02.383Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 9 00:56 snap [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 9 00:52 VERSION [2020-09-09T00:58:02.383Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 9 00:56 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-09T00:58:02.771Z] + 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=623c4a4b904299f2cc4efa6c125a0b3af12a3257 --label arch=amd64 --label version=0.0.0 . [2020-09-09T00:58:03.035Z] Sending build context to Docker daemon 3.253MB [2020-09-09T00:58:03.035Z] Step 1/24 : ARG BASE=golang:1.13-alpine [2020-09-09T00:58:03.035Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-09T00:58:03.035Z] ---> 5de5118ea767 [2020-09-09T00:58:03.035Z] Step 3/24 : ARG MAKE='make build' [2020-09-09T00:58:03.300Z] ---> Running in fb3c84695534 [2020-09-09T00:58:03.559Z] Removing intermediate container e67720f72650 [2020-09-09T00:58:03.559Z] ---> a52dc8b917fc [2020-09-09T00:58:03.559Z] Step 10/24 : FROM scratch [2020-09-09T00:58:03.559Z] ---> [2020-09-09T00:58:03.559Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T00:58:03.559Z] ---> Running in 32fbb4816964 [2020-09-09T00:58:03.584Z] Removing intermediate container fb3c84695534 [2020-09-09T00:58:03.584Z] ---> d96368144556 [2020-09-09T00:58:03.584Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-09T00:58:03.584Z] ---> Running in e1d34c2b7371 [2020-09-09T00:58:03.832Z] Removing intermediate container 32fbb4816964 [2020-09-09T00:58:03.832Z] ---> 0028de3b80e3 [2020-09-09T00:58:03.832Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T00:58:03.832Z] ---> Running in 0db022335da3 [2020-09-09T00:58:03.850Z] Removing intermediate container e1d34c2b7371 [2020-09-09T00:58:03.850Z] ---> 337a12ea94f0 [2020-09-09T00:58:03.850Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T00:58:03.850Z] ---> Running in ab6db7ac747a [2020-09-09T00:58:04.113Z] Removing intermediate container ab6db7ac747a [2020-09-09T00:58:04.113Z] ---> 3274f5621f8b [2020-09-09T00:58:04.113Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-09T00:58:04.113Z] ---> Running in d89c87d9bc45 [2020-09-09T00:58:04.425Z] Removing intermediate container 0db022335da3 [2020-09-09T00:58:04.425Z] ---> f918dc3b7fda [2020-09-09T00:58:04.425Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T00:58:04.425Z] ---> Running in 54b88ee2692e [2020-09-09T00:58:05.018Z] Removing intermediate container 54b88ee2692e [2020-09-09T00:58:05.018Z] ---> e792ab44e046 [2020-09-09T00:58:05.018Z] Step 14/24 : WORKDIR / [2020-09-09T00:58:05.018Z] ---> Running in 5569493789cc [2020-09-09T00:58:05.579Z] Removing intermediate container d89c87d9bc45 [2020-09-09T00:58:05.579Z] ---> 64d37730a307 [2020-09-09T00:58:05.579Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-09T00:58:05.579Z] ---> Running in f0d6f2a960fa [2020-09-09T00:58:05.614Z] Removing intermediate container 5569493789cc [2020-09-09T00:58:05.614Z] ---> 24b8a07ddf48 [2020-09-09T00:58:05.614Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-09T00:58:06.192Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-09T00:58:06.592Z] ---> 073187c360c1 [2020-09-09T00:58:06.592Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-09T00:58:06.787Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-09T00:58:07.187Z] ---> 047ec08aaf0a [2020-09-09T00:58:07.187Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T00:58:07.391Z] OK: 166 MiB in 39 packages [2020-09-09T00:58:07.972Z] Removing intermediate container f0d6f2a960fa [2020-09-09T00:58:07.972Z] ---> d0006c1e507a [2020-09-09T00:58:07.972Z] Step 8/24 : COPY . . [2020-09-09T00:58:08.160Z] ---> 6a23d2b8235b [2020-09-09T00:58:08.160Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T00:58:08.753Z] ---> 4977655b782f [2020-09-09T00:58:08.753Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T00:58:08.944Z] ---> 3b82ad3ec15f [2020-09-09T00:58:08.944Z] Step 9/24 : RUN ${MAKE} [2020-09-09T00:58:08.944Z] ---> Running in ed06f1ef747b [2020-09-09T00:58:09.550Z] 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-09T00:58:09.725Z] ---> e87346538562 [2020-09-09T00:58:09.726Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-09T00:58:09.726Z] ---> Running in 48a027dee925 [2020-09-09T00:58:10.010Z] Removing intermediate container 48a027dee925 [2020-09-09T00:58:10.010Z] ---> 248fcee10faf [2020-09-09T00:58:10.010Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T00:58:10.289Z] ---> Running in 26ef0823ba1e [2020-09-09T00:58:10.881Z] Removing intermediate container 26ef0823ba1e [2020-09-09T00:58:10.881Z] ---> 4b500cdf327d [2020-09-09T00:58:10.881Z] Step 22/24 : LABEL arch=arm64 [2020-09-09T00:58:10.881Z] ---> Running in 90ecc58115b5 [2020-09-09T00:58:11.152Z] Removing intermediate container 90ecc58115b5 [2020-09-09T00:58:11.152Z] ---> d28ed2667094 [2020-09-09T00:58:11.152Z] Step 23/24 : LABEL git_sha=623c4a4b904299f2cc4efa6c125a0b3af12a3257 [2020-09-09T00:58:11.428Z] ---> Running in 9b5db8c50c25 [2020-09-09T00:58:12.022Z] Removing intermediate container 9b5db8c50c25 [2020-09-09T00:58:12.022Z] ---> 62d4409d05e7 [2020-09-09T00:58:12.022Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T00:58:12.022Z] ---> Running in 3207e8da8b7e [2020-09-09T00:58:12.613Z] Removing intermediate container 3207e8da8b7e [2020-09-09T00:58:12.613Z] ---> 9ab59774e28c [2020-09-09T00:58:12.613Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T00:58:12.613Z] Successfully built 9ab59774e28c [2020-09-09T00:58:12.613Z] 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-09T00:58:24.823Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-09T00:58:24.823Z] Removing intermediate container ed06f1ef747b [2020-09-09T00:58:24.823Z] ---> 08f654a35134 [2020-09-09T00:58:24.823Z] Step 10/24 : FROM scratch [2020-09-09T00:58:24.823Z] ---> [2020-09-09T00:58:24.823Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-09T00:58:24.823Z] ---> Running in 27010144df7e [2020-09-09T00:58:25.093Z] Removing intermediate container 27010144df7e [2020-09-09T00:58:25.094Z] ---> 21fac10acced [2020-09-09T00:58:25.094Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-09T00:58:25.094Z] ---> Running in 0200ecdfdbb8 [2020-09-09T00:58:25.364Z] Removing intermediate container 0200ecdfdbb8 [2020-09-09T00:58:25.364Z] ---> 8a6819a85edd [2020-09-09T00:58:25.364Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-09T00:58:25.364Z] ---> Running in 1d8bd5a1102c [2020-09-09T00:58:25.364Z] Removing intermediate container 1d8bd5a1102c [2020-09-09T00:58:25.364Z] ---> d9e87401d039 [2020-09-09T00:58:25.364Z] Step 14/24 : WORKDIR / [2020-09-09T00:58:25.630Z] ---> Running in 36878e4c552e [2020-09-09T00:58:25.630Z] Removing intermediate container 36878e4c552e [2020-09-09T00:58:25.630Z] ---> 9d8172ac8409 [2020-09-09T00:58:25.630Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-09T00:58:26.634Z] ---> a90302e1861a [2020-09-09T00:58:26.634Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-09T00:58:26.904Z] ---> 925497b14d9b [2020-09-09T00:58:26.904Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-09T00:58:27.186Z] ---> a02c82d98c21 [2020-09-09T00:58:27.186Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-09T00:58:27.455Z] ---> d0def171665a [2020-09-09T00:58:27.455Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-09T00:58:27.729Z] ---> ac46c9d9ab57 [2020-09-09T00:58:27.729Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-09T00:58:28.004Z] ---> Running in 1afe390d5e85 [2020-09-09T00:58:28.267Z] Removing intermediate container 1afe390d5e85 [2020-09-09T00:58:28.267Z] ---> 5c762878b587 [2020-09-09T00:58:28.267Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-09T00:58:28.267Z] ---> Running in 54252071a8ea [2020-09-09T00:58:28.536Z] Removing intermediate container 54252071a8ea [2020-09-09T00:58:28.536Z] ---> 31f5d44609d5 [2020-09-09T00:58:28.536Z] Step 22/24 : LABEL arch=amd64 [2020-09-09T00:58:28.536Z] ---> Running in 9f1ea671fc26 [2020-09-09T00:58:28.803Z] Removing intermediate container 9f1ea671fc26 [2020-09-09T00:58:28.803Z] ---> be5d38458831 [2020-09-09T00:58:28.803Z] Step 23/24 : LABEL git_sha=623c4a4b904299f2cc4efa6c125a0b3af12a3257 [2020-09-09T00:58:28.803Z] ---> Running in f2cc2316b35f [2020-09-09T00:58:28.803Z] Removing intermediate container f2cc2316b35f [2020-09-09T00:58:28.803Z] ---> 29e1777c1d5a [2020-09-09T00:58:28.803Z] Step 24/24 : LABEL version=0.0.0 [2020-09-09T00:58:29.074Z] ---> Running in b4b317dc7d22 [2020-09-09T00:58:29.075Z] Removing intermediate container b4b317dc7d22 [2020-09-09T00:58:29.075Z] ---> 59d0ffc658d8 [2020-09-09T00:58:29.075Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-09T00:58:29.075Z] Successfully built 59d0ffc658d8 [2020-09-09T00:58:29.344Z] 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-09T00:58:31.460Z] provisioning config files... [2020-09-09T00:58:31.481Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/config340647930525165240tmp [Pipeline] { [Pipeline] sh [2020-09-09T00:58:31.922Z] + curl -s https://codecov.io/bash [2020-09-09T00:58:31.922Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/config340647930525165240tmp [Pipeline] } [2020-09-09T00:58:32.231Z] 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-09T00:58:34.729Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T00:58:35.461Z] ---> package-listing.sh [2020-09-09T00:58:35.461Z] ++ facter osfamily [2020-09-09T00:58:35.461Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-09T00:58:35.732Z] + OS_FAMILY=redhat [2020-09-09T00:58:35.732Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-579 [2020-09-09T00:58:35.732Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-09T00:58:35.732Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-09T00:58:35.732Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-09T00:58:35.732Z] + PACKAGES=/tmp/packages_start.txt [2020-09-09T00:58:35.732Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-579 ']' [2020-09-09T00:58:35.732Z] + PACKAGES=/tmp/packages_end.txt [2020-09-09T00:58:35.732Z] + case "${OS_FAMILY}" in [2020-09-09T00:58:35.732Z] + rpm -qa [2020-09-09T00:58:35.732Z] + sort [2020-09-09T00:58:40.005Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-09T00:58:40.005Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-09T00:58:40.005Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-09T00:58:40.005Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-579 ']' [2020-09-09T00:58:40.005Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-579/archives/ [2020-09-09T00:58:40.005Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-579/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-09T00:58:41.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T00:58:41.005Z] [2020-09-09T00:58:41.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-09T00:58:41.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T00:58:41.393Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-09T00:58:41.393Z] df20fa9351a1: Pulling fs layer [2020-09-09T00:58:41.393Z] 36b3adc4ff6f: Pulling fs layer [2020-09-09T00:58:41.393Z] 8ad3a11d3b57: Pulling fs layer [2020-09-09T00:58:41.393Z] 46f8f816bc3b: Pulling fs layer [2020-09-09T00:58:41.393Z] 0dadc02b9964: Pulling fs layer [2020-09-09T00:58:41.393Z] ce6a7cf60c04: Pulling fs layer [2020-09-09T00:58:41.393Z] 7a184a31f384: Pulling fs layer [2020-09-09T00:58:41.393Z] 0879bd2ef858: Pulling fs layer [2020-09-09T00:58:41.393Z] 46f8f816bc3b: Waiting [2020-09-09T00:58:41.393Z] 0dadc02b9964: Waiting [2020-09-09T00:58:41.393Z] ce6a7cf60c04: Waiting [2020-09-09T00:58:41.393Z] 7a184a31f384: Waiting [2020-09-09T00:58:41.393Z] 0879bd2ef858: Waiting [2020-09-09T00:58:41.720Z] 36b3adc4ff6f: Verifying Checksum [2020-09-09T00:58:41.720Z] 36b3adc4ff6f: Download complete [2020-09-09T00:58:41.720Z] 46f8f816bc3b: Verifying Checksum [2020-09-09T00:58:41.720Z] 46f8f816bc3b: Download complete [2020-09-09T00:58:41.720Z] df20fa9351a1: Verifying Checksum [2020-09-09T00:58:41.720Z] df20fa9351a1: Download complete [2020-09-09T00:58:41.720Z] ce6a7cf60c04: Verifying Checksum [2020-09-09T00:58:41.720Z] ce6a7cf60c04: Download complete [2020-09-09T00:58:41.720Z] 7a184a31f384: Verifying Checksum [2020-09-09T00:58:41.720Z] 7a184a31f384: Download complete [2020-09-09T00:58:42.004Z] 0dadc02b9964: Verifying Checksum [2020-09-09T00:58:42.274Z] 8ad3a11d3b57: Verifying Checksum [2020-09-09T00:58:42.274Z] 8ad3a11d3b57: Download complete [2020-09-09T00:58:42.274Z] df20fa9351a1: Pull complete [2020-09-09T00:58:42.574Z] 36b3adc4ff6f: Pull complete [2020-09-09T00:58:43.665Z] 0879bd2ef858: Verifying Checksum [2020-09-09T00:58:43.665Z] 0879bd2ef858: Download complete [2020-09-09T00:58:43.941Z] 8ad3a11d3b57: Pull complete [2020-09-09T00:58:44.219Z] 46f8f816bc3b: Pull complete [2020-09-09T00:58:44.822Z] 0dadc02b9964: Pull complete [2020-09-09T00:58:44.822Z] ce6a7cf60c04: Pull complete [2020-09-09T00:58:45.124Z] 7a184a31f384: Pull complete [2020-09-09T00:58:48.639Z] 0879bd2ef858: Pull complete [2020-09-09T00:58:48.639Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-09T00:58:48.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-09T00:58:48.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-09T00:58:48.945Z] prd-centos7-docker-4c-2g-1878 does not seem to be running inside a container [2020-09-09T00:58:49.096Z] $ 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-579 -v /w/workspace/dgexfoundry_device-sdk-go_PR-579:/w/workspace/dgexfoundry_device-sdk-go_PR-579:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-579@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-09T00:58:56.302Z] $ docker top 22a374bc1583e368595bc63f15c1b7f296cad15990a619aa113ed7303a67a263 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-09T00:58:56.846Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-09T00:58:57.151Z] + ls /var/log/sa-host [2020-09-09T00:58:57.151Z] + sadf -c /var/log/sa-host/sa05 [2020-09-09T00:58:57.151Z] file_magic: OK [2020-09-09T00:58:57.151Z] HZ: Using current value: 100 [2020-09-09T00:58:57.151Z] file_header: OK [2020-09-09T00:58:57.151Z] 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-09T00:58:57.151Z] Statistics: [2020-09-09T00:58:57.151Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T00:58:57.151Z] File successfully converted to sysstat format version 12.2.1 [2020-09-09T00:58:57.151Z] + sadf -c /var/log/sa-host/sa09 [2020-09-09T00:58:57.151Z] file_magic: OK [2020-09-09T00:58:57.151Z] HZ: Using current value: 100 [2020-09-09T00:58:57.151Z] file_header: OK [2020-09-09T00:58:57.152Z] 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-09T00:58:57.152Z] Statistics: [2020-09-09T00:58:57.152Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-09T00:58:57.152Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-09T00:58:57.209Z] provisioning config files... [2020-09-09T00:58:57.223Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-579@tmp/config3570237542178758286tmp [Pipeline] { [Pipeline] echo [2020-09-09T00:58:57.293Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T00:58:57.610Z] ---> create-netrc.sh [Pipeline] echo [2020-09-09T00:58:57.620Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-09T00:58:57.927Z] ---> logs-deploy.sh [2020-09-09T00:58:57.927Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-579/2 [2020-09-09T00:58:57.927Z] INFO: archiving workspace using pattern(s): [2020-09-09T00:59:00.026Z] Archives upload complete. [2020-09-09T00:59:00.026Z] INFO: archiving logs to Nexus