Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (a70d4b5d169be2d391606229babcaf6a78ea49a5) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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. Loading library lf-pipelines@master Attempting to resolve master 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 -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-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 --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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:lfit/releng-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, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-8583 in /w/workspace/dgexfoundry_device-sdk-go_PR-638 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-638 # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 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 --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/638/head:refs/remotes/origin/PR-638 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 Merge succeeded, producing e16f1b22cc869b5418a91f55ce4640b0207fa941 Checking out Revision e16f1b22cc869b5418a91f55ce4640b0207fa941 (PR-638) > git config core.sparsecheckout # timeout=10 > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e16f1b22cc869b5418a91f55ce4640b0207fa941 # timeout=10 Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-24T02:42:49.125Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-24T02:42:49.407Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-24T02:42:49.635Z] ========================================================= [2020-10-24T02:42:49.635Z] EdgeX Global Pipelines Version Info [2020-10-24T02:42:49.635Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:42:51.135Z] ------------------- [2020-10-24T02:42:51.135Z] stable info: [2020-10-24T02:42:51.135Z] ------------------- [2020-10-24T02:42:51.135Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-24T02:42:51.135Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-24T02:42:51.135Z] Message: update stable to v1.0.148 [2020-10-24T02:42:52.081Z] ------------------- [2020-10-24T02:42:52.081Z] experimental info: [2020-10-24T02:42:52.081Z] ------------------- [2020-10-24T02:42:52.081Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-24T02:42:52.081Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-24T02:42:52.081Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-24T02:42:52.424Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-24T02:42:52.523Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-24T02:42:52.618Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-24T02:42:52.722Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-24T02:42:52.823Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-24T02:42:52.946Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-24T02:42:53.037Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-24T02:42:53.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-24T02:42:53.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-24T02:42:53.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-24T02:42:53.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-24T02:42:53.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-24T02:42:53.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-24T02:42:53.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-24T02:42:53.792Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-24T02:42:53.919Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:42:54.027Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:42:54.128Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:42:54.219Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-24T02:42:54.314Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-24T02:42:54.459Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-24T02:42:54.572Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-24T02:42:54.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-24T02:42:54.754Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-24T02:42:54.853Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-24T02:42:54.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-638 [Pipeline] echo [2020-10-24T02:42:55.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-638 [Pipeline] echo [2020-10-24T02:42:55.147Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-638 [Pipeline] echo [2020-10-24T02:42:55.239Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e16f1b22cc869b5418a91f55ce4640b0207fa941 [Pipeline] echo [2020-10-24T02:42:55.354Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e16f1b2 [Pipeline] echo [2020-10-24T02:42:55.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:42:56.066Z] + git log --format=format:%s -1 e16f1b22cc869b5418a91f55ce4640b0207fa941 [Pipeline] echo [2020-10-24T02:42:56.125Z] GIT_COMMIT: e16f1b22cc869b5418a91f55ce4640b0207fa941, Commit Message: Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD [Pipeline] echo [2020-10-24T02:42:56.172Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:42:56.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:42:57.016Z] [2020-10-24T02:42:57.016Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:42:57.364Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:42:57.364Z] latest: Pulling from edgex-devops/git-semver [2020-10-24T02:42:57.364Z] 31603596830f: Pulling fs layer [2020-10-24T02:42:57.364Z] 2a8b12db71e7: Pulling fs layer [2020-10-24T02:42:57.364Z] 6ca5941a6612: Pulling fs layer [2020-10-24T02:42:57.364Z] ecc8261a40a4: Pulling fs layer [2020-10-24T02:42:57.364Z] ecc8261a40a4: Waiting [2020-10-24T02:42:57.364Z] 2a8b12db71e7: Download complete [2020-10-24T02:42:57.627Z] 31603596830f: Verifying Checksum [2020-10-24T02:42:57.627Z] 31603596830f: Download complete [2020-10-24T02:42:57.627Z] 6ca5941a6612: Verifying Checksum [2020-10-24T02:42:57.627Z] 6ca5941a6612: Download complete [2020-10-24T02:42:57.893Z] ecc8261a40a4: Verifying Checksum [2020-10-24T02:42:57.893Z] ecc8261a40a4: Download complete [2020-10-24T02:42:57.893Z] 31603596830f: Pull complete [2020-10-24T02:42:57.893Z] 2a8b12db71e7: Pull complete [2020-10-24T02:42:58.843Z] 6ca5941a6612: Pull complete [2020-10-24T02:42:59.104Z] ecc8261a40a4: Pull complete [2020-10-24T02:42:59.104Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-24T02:42:59.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:42:59.104Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-24T02:42:59.240Z] prd-centos7-docker-4c-2g-8583 does not seem to be running inside a container [2020-10-24T02:42:59.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-638 -v /w/workspace/dgexfoundry_device-sdk-go_PR-638:/w/workspace/dgexfoundry_device-sdk-go_PR-638:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-24T02:43:01.021Z] $ docker top 8e2543dff6d0fb599ee6f22b3d38192533eb99d8c28afa5dca27a5eb80e5e93f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-24T02:43:01.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:43:01.381Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:43:01.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:43:01.613Z] $ docker exec 8e2543dff6d0fb599ee6f22b3d38192533eb99d8c28afa5dca27a5eb80e5e93f ssh-agent [2020-10-24T02:43:01.782Z] SSH_AUTH_SOCK=/tmp/ssh-lTGwIV1PG6In/agent.11 [2020-10-24T02:43:01.782Z] SSH_AGENT_PID=17 [2020-10-24T02:43:01.795Z] Running ssh-add (command line suppressed) [2020-10-24T02:43:01.914Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_1657484650148439653.key (/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_1657484650148439653.key) [2020-10-24T02:43:01.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:43:02.304Z] + git tag --points-at HEAD [Pipeline] } [2020-10-24T02:43:02.326Z] $ docker exec --env ******** --env ******** 8e2543dff6d0fb599ee6f22b3d38192533eb99d8c28afa5dca27a5eb80e5e93f ssh-agent -k [2020-10-24T02:43:02.436Z] unset SSH_AUTH_SOCK; [2020-10-24T02:43:02.436Z] unset SSH_AGENT_PID; [2020-10-24T02:43:02.437Z] echo Agent pid 17 killed; [2020-10-24T02:43:02.483Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-24T02:43:02.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:43:02.642Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:43:02.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:43:02.816Z] $ docker exec 8e2543dff6d0fb599ee6f22b3d38192533eb99d8c28afa5dca27a5eb80e5e93f ssh-agent [2020-10-24T02:43:02.967Z] SSH_AUTH_SOCK=/tmp/ssh-exnM79f4CaZC/agent.46 [2020-10-24T02:43:02.967Z] SSH_AGENT_PID=51 [2020-10-24T02:43:02.975Z] Running ssh-add (command line suppressed) [2020-10-24T02:43:03.094Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_7746215716967786216.key (/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_7746215716967786216.key) [2020-10-24T02:43:03.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:43:03.476Z] + git semver init [2020-10-24T02:43:03.476Z] # -> Open(): unable to determine branch for HEAD [2020-10-24T02:43:03.476Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-638/.git [2020-10-24T02:43:03.476Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-638 [2020-10-24T02:43:03.476Z] # $SEMVER_REMOTE_NAME = origin [2020-10-24T02:43:03.476Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-24T02:43:03.476Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-24T02:43:03.476Z] # $SEMVER_BRANCH = PR-638 [2020-10-24T02:43:03.476Z] # $SEMVER_TEMP = /tmp/semver-935467791 [2020-10-24T02:43:03.476Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-24T02:43:04.057Z] # '/tmp/semver-935467791' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-638/.semver' [2020-10-24T02:43:04.057Z] # -> Force: false [2020-10-24T02:43:04.057Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-638/.semver [Pipeline] } [2020-10-24T02:43:04.070Z] $ docker exec --env ******** --env ******** 8e2543dff6d0fb599ee6f22b3d38192533eb99d8c28afa5dca27a5eb80e5e93f ssh-agent -k [2020-10-24T02:43:04.182Z] unset SSH_AUTH_SOCK; [2020-10-24T02:43:04.182Z] unset SSH_AGENT_PID; [2020-10-24T02:43:04.182Z] echo Agent pid 51 killed; [2020-10-24T02:43:04.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-24T02:43:04.697Z] + git semver [Pipeline] } [2020-10-24T02:43:04.715Z] $ docker stop --time=1 8e2543dff6d0fb599ee6f22b3d38192533eb99d8c28afa5dca27a5eb80e5e93f [2020-10-24T02:43:06.046Z] $ docker rm -f 8e2543dff6d0fb599ee6f22b3d38192533eb99d8c28afa5dca27a5eb80e5e93f [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-24T02:43:06.498Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-24T02:43:07.064Z] Stashed 1 file(s) [Pipeline] echo [2020-10-24T02:43:07.066Z] [edgeXSemver]: initialized semver on 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-10-24T02:43:22.651Z] Still waiting to schedule task [2020-10-24T02:43:22.651Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-24T02:43:22.653Z] Still waiting to schedule task [2020-10-24T02:43:22.653Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-24T02:44:24.796Z] Running on prd-centos7-docker-4c-2g-8589 in /w/workspace/dgexfoundry_device-sdk-go_PR-638 [Pipeline] { [Pipeline] ws [2020-10-24T02:44:24.858Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-24T02:44:28.686Z] using credential edgex-jenkins-ssh [2020-10-24T02:44:28.806Z] Cloning the remote Git repository [2020-10-24T02:44:28.838Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:44:28.914Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-24T02:44:28.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:44:28.981Z] > git --version # timeout=10 [2020-10-24T02:44:28.987Z] > git --version # 'git version 2.16.5' [2020-10-24T02:44:28.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:44:29.016Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:44:30.615Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 [2020-10-24T02:44:30.761Z] Merge succeeded, producing 1bc8ce325a623696681231b6a06c3b89df553969 [2020-10-24T02:44:30.761Z] Checking out Revision 1bc8ce325a623696681231b6a06c3b89df553969 (PR-638) [2020-10-24T02:44:30.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:44:30.217Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:44:30.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:44:30.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:44:30.251Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:44:30.256Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/638/head:refs/remotes/origin/PR-638 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-24T02:44:30.625Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:44:30.637Z] > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 [2020-10-24T02:44:30.696Z] > git remote # timeout=10 [2020-10-24T02:44:30.704Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:44:30.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:44:30.719Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:44:30.754Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:44:30.767Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:44:30.772Z] > git checkout -f 1bc8ce325a623696681231b6a06c3b89df553969 # timeout=10 [2020-10-24T02:44:34.429Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:44:34.442Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-24T02:44:35.296Z] ========================================================= [2020-10-24T02:44:35.296Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-24T02:44:35.296Z] ========================================================= [2020-10-24T02:44:34.435Z] > git rev-list --no-walk 0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 # timeout=10 [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:44:36.019Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-24T02:44:36.286Z] Sending build context to Docker daemon 2.349MB [2020-10-24T02:44:36.286Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:44:36.286Z] Step 2/8 : FROM ${BASE} [2020-10-24T02:44:36.552Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-24T02:44:36.552Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:44:36.552Z] ed8968b2872e: Pulling fs layer [2020-10-24T02:44:36.552Z] a92cc7c5fd73: Pulling fs layer [2020-10-24T02:44:36.552Z] e871e8e8d7a9: Pulling fs layer [2020-10-24T02:44:36.552Z] e73272ec9a57: Pulling fs layer [2020-10-24T02:44:36.552Z] 1e910a182e73: Pulling fs layer [2020-10-24T02:44:36.552Z] 4e634b169226: Pulling fs layer [2020-10-24T02:44:36.552Z] e871e8e8d7a9: Waiting [2020-10-24T02:44:36.552Z] e73272ec9a57: Waiting [2020-10-24T02:44:36.552Z] 1e910a182e73: Waiting [2020-10-24T02:44:36.552Z] 4e634b169226: Waiting [2020-10-24T02:44:36.552Z] a92cc7c5fd73: Verifying Checksum [2020-10-24T02:44:36.552Z] a92cc7c5fd73: Download complete [2020-10-24T02:44:36.552Z] ed8968b2872e: Verifying Checksum [2020-10-24T02:44:36.552Z] ed8968b2872e: Download complete [2020-10-24T02:44:36.552Z] e73272ec9a57: Verifying Checksum [2020-10-24T02:44:36.552Z] e73272ec9a57: Download complete [2020-10-24T02:44:36.552Z] 1e910a182e73: Verifying Checksum [2020-10-24T02:44:36.552Z] 1e910a182e73: Download complete [2020-10-24T02:44:36.552Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:44:36.552Z] df20fa9351a1: Download complete [2020-10-24T02:44:36.815Z] df20fa9351a1: Pull complete [2020-10-24T02:44:37.084Z] ed8968b2872e: Pull complete [2020-10-24T02:44:37.353Z] a92cc7c5fd73: Pull complete [2020-10-24T02:44:38.309Z] 4e634b169226: Verifying Checksum [2020-10-24T02:44:38.309Z] 4e634b169226: Download complete [2020-10-24T02:44:39.274Z] e871e8e8d7a9: Verifying Checksum [2020-10-24T02:44:39.274Z] e871e8e8d7a9: Download complete [2020-10-24T02:44:44.630Z] e871e8e8d7a9: Pull complete [2020-10-24T02:44:44.895Z] e73272ec9a57: Pull complete [2020-10-24T02:44:44.895Z] 1e910a182e73: Pull complete [2020-10-24T02:44:51.542Z] 4e634b169226: Pull complete [2020-10-24T02:44:51.542Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-24T02:44:51.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-24T02:44:51.542Z] ---> f7629b54cfaa [2020-10-24T02:44:51.542Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:44:51.542Z] ---> Running in 7999f18f5ff0 [2020-10-24T02:44:51.542Z] Removing intermediate container 7999f18f5ff0 [2020-10-24T02:44:51.542Z] ---> 411aa7865d99 [2020-10-24T02:44:51.542Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:44:51.542Z] ---> Running in cc16b2a8c076 [2020-10-24T02:44:52.969Z] Removing intermediate container cc16b2a8c076 [2020-10-24T02:44:52.969Z] ---> 3b228f8b684a [2020-10-24T02:44:52.969Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-24T02:44:52.969Z] ---> Running in 8755e71700b8 [2020-10-24T02:44:53.236Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:44:53.815Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:44:54.393Z] OK: 166 MiB in 39 packages [2020-10-24T02:44:54.662Z] Removing intermediate container 8755e71700b8 [2020-10-24T02:44:54.662Z] ---> d5443d946507 [2020-10-24T02:44:54.662Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:44:54.662Z] ---> Running in 7b81a9e23731 [2020-10-24T02:44:54.926Z] Removing intermediate container 7b81a9e23731 [2020-10-24T02:44:54.927Z] ---> 77ca6d13ddf5 [2020-10-24T02:44:54.927Z] Step 7/8 : COPY . . [2020-10-24T02:44:56.333Z] ---> 4cef3c1bd7b4 [2020-10-24T02:44:56.333Z] Step 8/8 : RUN go mod download [2020-10-24T02:44:56.333Z] ---> Running in c28be108299b [2020-10-24T02:45:14.574Z] Removing intermediate container c28be108299b [2020-10-24T02:45:14.574Z] ---> 18f194dced97 [2020-10-24T02:45:14.574Z] Successfully built 18f194dced97 [2020-10-24T02:45:14.574Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:14.925Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:45:14.925Z] . [Pipeline] withDockerContainer [2020-10-24T02:45:15.038Z] prd-centos7-docker-4c-2g-8589 does not seem to be running inside a container [2020-10-24T02:45:15.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-24T02:45:15.938Z] $ docker top 713b0ba9e34612deb4b3ec1a93a0d1658258e2b7684e77ec035f64298c4d0ae2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:45:16.525Z] + go version [2020-10-24T02:45:16.525Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-24T02:45:16.546Z] $ docker stop --time=1 713b0ba9e34612deb4b3ec1a93a0d1658258e2b7684e77ec035f64298c4d0ae2 [2020-10-24T02:45:17.890Z] $ docker rm -f 713b0ba9e34612deb4b3ec1a93a0d1658258e2b7684e77ec035f64298c4d0ae2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:18.804Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:45:18.804Z] . [Pipeline] withDockerContainer [2020-10-24T02:45:18.902Z] prd-centos7-docker-4c-2g-8589 does not seem to be running inside a container [2020-10-24T02:45:19.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-24T02:45:19.783Z] $ docker top 949b88a2245cad464cc112ab4518cbf1421bcf7b56a874840fffaf6236da1ce1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:45:20.353Z] + make test [2020-10-24T02:45:20.353Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:45:28.552Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:45:43.625Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:45:43.625Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:45:43.625Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:45:43.625Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.069s coverage: 21.4% of statements [2020-10-24T02:45:45.060Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.533s coverage: 97.1% of statements [2020-10-24T02:45:48.295Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8593 in /w/workspace/dgexfoundry_device-sdk-go_PR-638 [Pipeline] { [Pipeline] ws [2020-10-24T02:45:48.352Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-24T02:45:54.123Z] using credential edgex-jenkins-ssh [2020-10-24T02:45:54.193Z] Cloning the remote Git repository [2020-10-24T02:45:54.274Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:54.397Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-24T02:45:54.494Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:54.495Z] > git --version # timeout=10 [2020-10-24T02:45:54.515Z] > git --version # 'git version 2.17.1' [2020-10-24T02:45:54.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:54.585Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:45:55.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:45:55.747Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:45:55.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:45:55.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:55.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:55.848Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/638/head:refs/remotes/origin/PR-638 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-24T02:45:56.318Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 [2020-10-24T02:45:56.954Z] Merge succeeded, producing 8491b34eb748d34a3cd700948c304dbcde7a50a6 [2020-10-24T02:45:56.954Z] Checking out Revision 8491b34eb748d34a3cd700948c304dbcde7a50a6 (PR-638) [2020-10-24T02:45:56.360Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:45:56.390Z] > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 [2020-10-24T02:45:56.693Z] > git remote # timeout=10 [2020-10-24T02:45:56.763Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:45:56.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:56.819Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:45:56.951Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:45:56.977Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:45:56.994Z] > git checkout -f 8491b34eb748d34a3cd700948c304dbcde7a50a6 # timeout=10 [2020-10-24T02:46:01.421Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:46:01.450Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-10-24T02:46:01.444Z] > git rev-list --no-walk 0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-24T02:46:02.395Z] ========================================================= [2020-10-24T02:46:02.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-24T02:46:02.395Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:03.434Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-24T02:46:04.423Z] Sending build context to Docker daemon 2.351MB [2020-10-24T02:46:04.423Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:46:04.423Z] Step 2/8 : FROM ${BASE} [2020-10-24T02:46:04.699Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-24T02:46:04.699Z] b538f80385f9: Pulling fs layer [2020-10-24T02:46:04.699Z] 74f711af9a0d: Pulling fs layer [2020-10-24T02:46:04.699Z] 99f96fe45779: Pulling fs layer [2020-10-24T02:46:04.699Z] 8529a6b9a6be: Pulling fs layer [2020-10-24T02:46:04.699Z] 45590311c82a: Pulling fs layer [2020-10-24T02:46:04.699Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-24T02:46:04.699Z] 209524e5b208: Pulling fs layer [2020-10-24T02:46:04.699Z] 8529a6b9a6be: Waiting [2020-10-24T02:46:04.699Z] 45590311c82a: Waiting [2020-10-24T02:46:04.699Z] 69ca0ff8b7b3: Waiting [2020-10-24T02:46:04.699Z] 209524e5b208: Waiting [2020-10-24T02:46:04.699Z] 99f96fe45779: Verifying Checksum [2020-10-24T02:46:04.699Z] 99f96fe45779: Download complete [2020-10-24T02:46:04.699Z] 74f711af9a0d: Verifying Checksum [2020-10-24T02:46:04.699Z] 74f711af9a0d: Download complete [2020-10-24T02:46:04.699Z] 45590311c82a: Verifying Checksum [2020-10-24T02:46:04.699Z] 45590311c82a: Download complete [2020-10-24T02:46:04.981Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-24T02:46:04.981Z] 69ca0ff8b7b3: Download complete [2020-10-24T02:46:04.981Z] b538f80385f9: Verifying Checksum [2020-10-24T02:46:04.981Z] b538f80385f9: Download complete [2020-10-24T02:46:05.585Z] b538f80385f9: Pull complete [2020-10-24T02:46:06.187Z] 74f711af9a0d: Pull complete [2020-10-24T02:46:06.789Z] 99f96fe45779: Pull complete [2020-10-24T02:46:07.394Z] 209524e5b208: Verifying Checksum [2020-10-24T02:46:07.394Z] 209524e5b208: Download complete [2020-10-24T02:46:08.841Z] 8529a6b9a6be: Verifying Checksum [2020-10-24T02:46:08.841Z] 8529a6b9a6be: Download complete [2020-10-24T02:46:17.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.075s coverage: 9.4% of statements [2020-10-24T02:46:17.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.091s coverage: 21.9% of statements [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:46:17.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.245s coverage: 42.6% of statements [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:46:17.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.315s coverage: 68.9% of statements [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:46:17.259Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.080s coverage: 52.6% of statements [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:46:17.259Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.377s coverage: 68.9% of statements [2020-10-24T02:46:17.259Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.7% of statements [2020-10-24T02:46:17.259Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:46:17.259Z] GO111MODULE=on go vet ./... [2020-10-24T02:46:19.018Z] 8529a6b9a6be: Pull complete [2020-10-24T02:46:19.018Z] 45590311c82a: Pull complete [2020-10-24T02:46:19.018Z] 69ca0ff8b7b3: Pull complete [2020-10-24T02:46:23.330Z] 209524e5b208: Pull complete [2020-10-24T02:46:23.330Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-24T02:46:23.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-24T02:46:23.330Z] ---> 5bddaf1c2fca [2020-10-24T02:46:23.330Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:46:23.930Z] gofmt -l . [2020-10-24T02:46:23.930Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:46:23.930Z] ./bin/test-attribution-txt.sh [2020-10-24T02:46:24.516Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-24T02:46:25.188Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:46:25.196Z] $ docker stop --time=1 949b88a2245cad464cc112ab4518cbf1421bcf7b56a874840fffaf6236da1ce1 [2020-10-24T02:46:25.940Z] ---> Running in 87454bf33e9c [2020-10-24T02:46:26.215Z] Removing intermediate container 87454bf33e9c [2020-10-24T02:46:26.215Z] ---> d9435a581e37 [2020-10-24T02:46:26.215Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:46:26.215Z] ---> Running in ee0e70e81c96 [2020-10-24T02:46:27.158Z] $ docker rm -f 949b88a2245cad464cc112ab4518cbf1421bcf7b56a874840fffaf6236da1ce1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-24T02:46:28.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:46:28.841Z] Removing intermediate container ee0e70e81c96 [2020-10-24T02:46:28.841Z] ---> ff10b3e5ce4a [2020-10-24T02:46:28.841Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-24T02:46:29.079Z] + ls -al . [2020-10-24T02:46:29.079Z] total 208 [2020-10-24T02:46:29.079Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 24 02:46 . [2020-10-24T02:46:29.079Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 24 02:44 .. [2020-10-24T02:46:29.079Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 24 02:44 bin [2020-10-24T02:46:29.079Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 24 02:46 coverage.out [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 24 02:44 Dockerfile.build [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 24 02:44 .dockerignore [2020-10-24T02:46:29.079Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 24 02:44 example [2020-10-24T02:46:29.079Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 24 02:44 .git [2020-10-24T02:46:29.079Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 24 02:44 .github [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 24 02:44 .gitignore [2020-10-24T02:46:29.079Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 24 02:46 go.mod [2020-10-24T02:46:29.079Z] -rw-r--r--. 1 jenkins jenkins 13545 Oct 24 02:46 go.sum [2020-10-24T02:46:29.079Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 24 02:44 internal [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 24 02:44 Jenkinsfile [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 24 02:44 LICENSE [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 24 02:44 Makefile [2020-10-24T02:46:29.079Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 24 02:44 openapi [2020-10-24T02:46:29.079Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 24 02:44 pkg [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 24 02:44 README.md [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 24 02:44 RELEASE-NOTES.txt [2020-10-24T02:46:29.079Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 24 02:44 snap [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 24 02:43 VERSION [2020-10-24T02:46:29.079Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 24 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:29.141Z] ---> Running in 25a275d73be9 [2020-10-24T02:46:29.388Z] + 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=e16f1b22cc869b5418a91f55ce4640b0207fa941 --label arch=amd64 --label version=0.0.0 . [2020-10-24T02:46:29.655Z] Sending build context to Docker daemon 2.478MB [2020-10-24T02:46:29.655Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:46:29.655Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:46:29.655Z] ---> 18f194dced97 [2020-10-24T02:46:29.655Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:46:30.230Z] ---> Running in 6af5e7fe553c [2020-10-24T02:46:30.494Z] Removing intermediate container 6af5e7fe553c [2020-10-24T02:46:30.494Z] ---> 16cce1b17867 [2020-10-24T02:46:30.494Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:46:30.494Z] ---> Running in a35c3e0cfefc [2020-10-24T02:46:30.579Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:46:30.756Z] Removing intermediate container a35c3e0cfefc [2020-10-24T02:46:30.756Z] ---> 9302ad474e17 [2020-10-24T02:46:30.756Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:46:30.756Z] ---> Running in 84ea6270f5f3 [2020-10-24T02:46:31.034Z] Removing intermediate container 84ea6270f5f3 [2020-10-24T02:46:31.034Z] ---> 83334d1b8c16 [2020-10-24T02:46:31.034Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:46:31.034Z] ---> Running in 25757b529439 [2020-10-24T02:46:31.174Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:46:31.769Z] OK: 142 MiB in 39 packages [2020-10-24T02:46:32.002Z] Removing intermediate container 25757b529439 [2020-10-24T02:46:32.002Z] ---> c9d05490f61a [2020-10-24T02:46:32.002Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:46:32.002Z] ---> Running in df2de12a95d9 [2020-10-24T02:46:32.584Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:46:33.163Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:46:33.207Z] Removing intermediate container 25a275d73be9 [2020-10-24T02:46:33.207Z] ---> e42e5ba56bc1 [2020-10-24T02:46:33.207Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:46:33.207Z] ---> Running in 25cc579ccf66 [2020-10-24T02:46:33.739Z] OK: 166 MiB in 39 packages [2020-10-24T02:46:33.803Z] Removing intermediate container 25cc579ccf66 [2020-10-24T02:46:33.803Z] ---> 5ba28bf1aae8 [2020-10-24T02:46:33.803Z] Step 7/8 : COPY . . [2020-10-24T02:46:34.002Z] Removing intermediate container df2de12a95d9 [2020-10-24T02:46:34.002Z] ---> 3d6bc76d01e8 [2020-10-24T02:46:34.002Z] Step 8/24 : COPY . . [2020-10-24T02:46:35.238Z] ---> 491c9eee16f4 [2020-10-24T02:46:35.238Z] Step 8/8 : RUN go mod download [2020-10-24T02:46:35.238Z] ---> Running in bd404382bf64 [2020-10-24T02:46:35.401Z] ---> 609d9e86efaa [2020-10-24T02:46:35.401Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:46:35.401Z] ---> Running in c8e82bc25564 [2020-10-24T02:46:35.666Z] 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-10-24T02:46:43.925Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:46:47.241Z] Removing intermediate container c8e82bc25564 [2020-10-24T02:46:47.241Z] ---> cdb3e645e109 [2020-10-24T02:46:47.241Z] Step 10/24 : FROM scratch [2020-10-24T02:46:47.241Z] ---> [2020-10-24T02:46:47.241Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:46:47.241Z] ---> Running in 5ce4c4f16473 [2020-10-24T02:46:47.241Z] Removing intermediate container 5ce4c4f16473 [2020-10-24T02:46:47.241Z] ---> bedac1620131 [2020-10-24T02:46:47.241Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:46:47.241Z] ---> Running in 91692045a050 [2020-10-24T02:46:47.241Z] Removing intermediate container 91692045a050 [2020-10-24T02:46:47.241Z] ---> d367344b56f7 [2020-10-24T02:46:47.241Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:46:47.241Z] ---> Running in 2b2eef30e098 [2020-10-24T02:46:47.241Z] Removing intermediate container 2b2eef30e098 [2020-10-24T02:46:47.241Z] ---> ffa36c0db777 [2020-10-24T02:46:47.241Z] Step 14/24 : WORKDIR / [2020-10-24T02:46:47.241Z] ---> Running in b542652ae346 [2020-10-24T02:46:47.504Z] Removing intermediate container b542652ae346 [2020-10-24T02:46:47.504Z] ---> 33df0eb08a15 [2020-10-24T02:46:47.504Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:46:48.080Z] ---> 8d43920f9e44 [2020-10-24T02:46:48.080Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:46:48.080Z] ---> 7b14645a1768 [2020-10-24T02:46:48.080Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-24T02:46:48.343Z] ---> 064f3a7f8b06 [2020-10-24T02:46:48.343Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:46:48.606Z] ---> 80438565a965 [2020-10-24T02:46:48.606Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:46:48.870Z] ---> 809651684162 [2020-10-24T02:46:48.870Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:46:48.870Z] ---> Running in f5b78e5222be [2020-10-24T02:46:49.133Z] Removing intermediate container f5b78e5222be [2020-10-24T02:46:49.133Z] ---> 135dfa996cae [2020-10-24T02:46:49.133Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:46:49.133Z] ---> Running in 713a815166a5 [2020-10-24T02:46:49.396Z] Removing intermediate container 713a815166a5 [2020-10-24T02:46:49.396Z] ---> 01f4e4cdc596 [2020-10-24T02:46:49.396Z] Step 22/24 : LABEL arch=amd64 [2020-10-24T02:46:49.396Z] ---> Running in 3198a4bcf78b [2020-10-24T02:46:49.659Z] Removing intermediate container 3198a4bcf78b [2020-10-24T02:46:49.659Z] ---> d9a8df32ea1c [2020-10-24T02:46:49.659Z] Step 23/24 : LABEL git_sha=e16f1b22cc869b5418a91f55ce4640b0207fa941 [2020-10-24T02:46:49.659Z] ---> Running in 038f818a6673 [2020-10-24T02:46:49.659Z] Removing intermediate container 038f818a6673 [2020-10-24T02:46:49.659Z] ---> 38718be54fe5 [2020-10-24T02:46:49.659Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:46:49.922Z] ---> Running in fe30fd8eaf4c [2020-10-24T02:46:49.922Z] Removing intermediate container fe30fd8eaf4c [2020-10-24T02:46:49.922Z] ---> b7b38e804c55 [2020-10-24T02:46:49.922Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:46:49.922Z] Successfully built b7b38e804c55 [2020-10-24T02:46:49.922Z] Successfully tagged docker-device-sdk-simple:latest [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-10-24T02:46:57.419Z] Removing intermediate container bd404382bf64 [2020-10-24T02:46:57.419Z] ---> 219b73d8bd60 [2020-10-24T02:46:57.419Z] Successfully built 219b73d8bd60 [2020-10-24T02:46:57.419Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:57.834Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:46:57.834Z] . [Pipeline] withDockerContainer [2020-10-24T02:46:58.074Z] prd-ubuntu18.04-docker-arm64-4c-16g-8593 does not seem to be running inside a container [2020-10-24T02:46:58.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-24T02:47:00.002Z] $ docker top d219349c23bf612d684c07783512753d0a27d4f2978e5d072b639e94db1e637c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:47:01.363Z] + go version [2020-10-24T02:47:01.363Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-24T02:47:01.394Z] $ docker stop --time=1 d219349c23bf612d684c07783512753d0a27d4f2978e5d072b639e94db1e637c [2020-10-24T02:47:03.291Z] $ docker rm -f d219349c23bf612d684c07783512753d0a27d4f2978e5d072b639e94db1e637c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:47:04.295Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:47:04.295Z] . [Pipeline] withDockerContainer [2020-10-24T02:47:04.543Z] prd-ubuntu18.04-docker-arm64-4c-16g-8593 does not seem to be running inside a container [2020-10-24T02:47:04.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-24T02:47:06.442Z] $ docker top 0f35e22ab92138ae59043501114b1b7b1a6b8ea19e801bc62f7127498f8e7ac9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:47:07.894Z] + make test [2020-10-24T02:47:07.894Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:47:30.127Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:48:17.140Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:48:17.140Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:48:17.140Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:48:17.140Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.136s coverage: 21.4% of statements [2020-10-24T02:48:18.594Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.108s coverage: 97.1% of statements [2020-10-24T02:48:50.940Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.121s coverage: 9.4% of statements [2020-10-24T02:48:50.940Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.9% of statements [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:48:50.940Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.536s coverage: 42.6% of statements [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:48:50.940Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.757s coverage: 68.9% of statements [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:48:50.940Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.194s coverage: 52.6% of statements [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:48:50.940Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.619s coverage: 68.9% of statements [2020-10-24T02:48:50.940Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.140s coverage: 4.7% of statements [2020-10-24T02:48:50.940Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:48:50.940Z] GO111MODULE=on go vet ./... [2020-10-24T02:49:17.793Z] gofmt -l . [2020-10-24T02:49:18.391Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:49:18.668Z] ./bin/test-attribution-txt.sh [2020-10-24T02:49:19.648Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-24T02:49:19.942Z] Warning: overwriting stash ‘coverage-report’ [2020-10-24T02:49:20.823Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:49:20.853Z] $ docker stop --time=1 0f35e22ab92138ae59043501114b1b7b1a6b8ea19e801bc62f7127498f8e7ac9 [2020-10-24T02:49:23.196Z] $ docker rm -f 0f35e22ab92138ae59043501114b1b7b1a6b8ea19e801bc62f7127498f8e7ac9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:49:24.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:49:25.268Z] + ls -al . [2020-10-24T02:49:25.268Z] total 244 [2020-10-24T02:49:25.268Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 02:49 . [2020-10-24T02:49:25.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:45 .. [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 02:45 .dockerignore [2020-10-24T02:49:25.268Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 02:46 .git [2020-10-24T02:49:25.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:45 .github [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 24 02:45 .gitignore [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 24 02:45 Dockerfile.build [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 24 02:45 Jenkinsfile [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 02:45 LICENSE [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 24 02:45 Makefile [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 24 02:45 README.md [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 24 02:45 RELEASE-NOTES.txt [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 02:43 VERSION [2020-10-24T02:49:25.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:45 bin [2020-10-24T02:49:25.268Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 24 02:48 coverage.out [2020-10-24T02:49:25.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:45 example [2020-10-24T02:49:25.268Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 24 02:49 go.mod [2020-10-24T02:49:25.268Z] -rw-r--r-- 1 jenkins jenkins 13545 Oct 24 02:49 go.sum [2020-10-24T02:49:25.268Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 24 02:45 internal [2020-10-24T02:49:25.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:45 openapi [2020-10-24T02:49:25.268Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 02:45 pkg [2020-10-24T02:49:25.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:45 snap [2020-10-24T02:49:25.268Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:49:25.674Z] + 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=e16f1b22cc869b5418a91f55ce4640b0207fa941 --label arch=arm64 --label version=0.0.0 . [2020-10-24T02:49:26.286Z] Sending build context to Docker daemon 2.48MB [2020-10-24T02:49:26.286Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:49:26.286Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:49:26.286Z] ---> 219b73d8bd60 [2020-10-24T02:49:26.286Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:49:26.564Z] ---> Running in 64ca6e1ba87a [2020-10-24T02:49:26.844Z] Removing intermediate container 64ca6e1ba87a [2020-10-24T02:49:26.844Z] ---> 09d1a5aacac6 [2020-10-24T02:49:26.844Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:49:27.120Z] ---> Running in 4e2eaa8aed0b [2020-10-24T02:49:27.720Z] Removing intermediate container 4e2eaa8aed0b [2020-10-24T02:49:27.720Z] ---> 6241253eb715 [2020-10-24T02:49:27.720Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:49:27.720Z] ---> Running in 9485098ce3e8 [2020-10-24T02:49:28.330Z] Removing intermediate container 9485098ce3e8 [2020-10-24T02:49:28.330Z] ---> 5263faa0d51c [2020-10-24T02:49:28.330Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:49:28.330Z] ---> Running in c036d479f437 [2020-10-24T02:49:30.955Z] Removing intermediate container c036d479f437 [2020-10-24T02:49:30.955Z] ---> bed3f70311c8 [2020-10-24T02:49:30.955Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:49:30.955Z] ---> Running in bae977e411bd [2020-10-24T02:49:32.951Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:49:33.223Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:49:34.210Z] OK: 142 MiB in 39 packages [2020-10-24T02:49:35.198Z] Removing intermediate container bae977e411bd [2020-10-24T02:49:35.198Z] ---> 2428221202bd [2020-10-24T02:49:35.198Z] Step 8/24 : COPY . . [2020-10-24T02:49:36.629Z] ---> c2a5537c63ea [2020-10-24T02:49:36.629Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:49:36.629Z] ---> Running in a2d7670127e7 [2020-10-24T02:49:38.069Z] 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-10-24T02:50:04.910Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:50:06.346Z] Removing intermediate container a2d7670127e7 [2020-10-24T02:50:06.346Z] ---> 4b022c6b67ec [2020-10-24T02:50:06.346Z] Step 10/24 : FROM scratch [2020-10-24T02:50:06.346Z] ---> [2020-10-24T02:50:06.346Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:50:06.619Z] ---> Running in 3b6e5f6c9f21 [2020-10-24T02:50:06.892Z] Removing intermediate container 3b6e5f6c9f21 [2020-10-24T02:50:06.892Z] ---> 1361a1b8256f [2020-10-24T02:50:06.892Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:50:06.892Z] ---> Running in 249cf805f0a8 [2020-10-24T02:50:07.493Z] Removing intermediate container 249cf805f0a8 [2020-10-24T02:50:07.493Z] ---> 863a278ec180 [2020-10-24T02:50:07.493Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:50:07.493Z] ---> Running in e8968cc28b3a [2020-10-24T02:50:07.767Z] Removing intermediate container e8968cc28b3a [2020-10-24T02:50:07.767Z] ---> 2bf6e4d0feca [2020-10-24T02:50:07.767Z] Step 14/24 : WORKDIR / [2020-10-24T02:50:08.044Z] ---> Running in 07aa2ac2c694 [2020-10-24T02:50:08.316Z] Removing intermediate container 07aa2ac2c694 [2020-10-24T02:50:08.316Z] ---> 5d7b4fbd5ba0 [2020-10-24T02:50:08.316Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:50:09.752Z] ---> fc7a51de67d5 [2020-10-24T02:50:09.752Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:50:10.347Z] ---> c502ec73dea4 [2020-10-24T02:50:10.347Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-24T02:50:10.953Z] ---> 8f54af335c13 [2020-10-24T02:50:10.953Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:50:11.941Z] ---> a1ca3aad70f7 [2020-10-24T02:50:11.941Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:50:12.535Z] ---> 4f6968314d02 [2020-10-24T02:50:12.535Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:50:12.535Z] ---> Running in 10e660239c81 [2020-10-24T02:50:13.134Z] Removing intermediate container 10e660239c81 [2020-10-24T02:50:13.134Z] ---> 0a50e297b621 [2020-10-24T02:50:13.134Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:50:13.134Z] ---> Running in 5d602a4cb538 [2020-10-24T02:50:13.406Z] Removing intermediate container 5d602a4cb538 [2020-10-24T02:50:13.406Z] ---> c404f8328132 [2020-10-24T02:50:13.406Z] Step 22/24 : LABEL arch=arm64 [2020-10-24T02:50:13.677Z] ---> Running in 67473e283bf3 [2020-10-24T02:50:13.949Z] Removing intermediate container 67473e283bf3 [2020-10-24T02:50:13.949Z] ---> e6af69ab2261 [2020-10-24T02:50:13.949Z] Step 23/24 : LABEL git_sha=e16f1b22cc869b5418a91f55ce4640b0207fa941 [2020-10-24T02:50:14.225Z] ---> Running in e137d7d021c1 [2020-10-24T02:50:14.498Z] Removing intermediate container e137d7d021c1 [2020-10-24T02:50:14.498Z] ---> 823d9caf31b9 [2020-10-24T02:50:14.498Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:50:14.769Z] ---> Running in 6fb9e5ce2cad [2020-10-24T02:50:15.047Z] Removing intermediate container 6fb9e5ce2cad [2020-10-24T02:50:15.047Z] ---> 77dcb5010219 [2020-10-24T02:50:15.047Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:50:15.047Z] Successfully built 77dcb5010219 [2020-10-24T02:50:15.318Z] 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-10-24T02:50:17.093Z] provisioning config files... [2020-10-24T02:50:17.107Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/config2173462079424457858tmp [Pipeline] { [Pipeline] sh [2020-10-24T02:50:17.485Z] + set +x [2020-10-24T02:50:17.485Z] + curl -s https://codecov.io/bash [2020-10-24T02:50:17.485Z] + bash -s -- [2020-10-24T02:50:17.485Z] [2020-10-24T02:50:17.485Z] _____ _ [2020-10-24T02:50:17.485Z] / ____| | | [2020-10-24T02:50:17.485Z] | | ___ __| | ___ ___ _____ __ [2020-10-24T02:50:17.485Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-24T02:50:17.485Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-24T02:50:17.485Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-24T02:50:17.485Z] Bash-20201009-048fee3 [2020-10-24T02:50:17.485Z] [2020-10-24T02:50:17.485Z] [2020-10-24T02:50:17.485Z] ==> Jenkins CI detected. [2020-10-24T02:50:17.485Z] project root: . [2020-10-24T02:50:17.754Z] Fixing merge commit SHA [2020-10-24T02:50:17.754Z] --> token set from env [2020-10-24T02:50:17.754Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-24T02:50:17.754Z] ==> Running gcov in . (disable via -X gcov) [2020-10-24T02:50:17.754Z] ==> Python coveragepy not found [2020-10-24T02:50:17.754Z] ==> Searching for coverage reports in: [2020-10-24T02:50:17.754Z] + . [2020-10-24T02:50:17.754Z] -> Found 1 reports [2020-10-24T02:50:17.754Z] ==> Detecting git/mercurial file structure [2020-10-24T02:50:17.754Z] ==> Reading reports [2020-10-24T02:50:17.754Z] + ./coverage.out bytes=127611 [2020-10-24T02:50:17.754Z] ==> Appending adjustments [2020-10-24T02:50:17.754Z] https://docs.codecov.io/docs/fixing-reports [2020-10-24T02:50:18.015Z] + Found adjustments [2020-10-24T02:50:18.015Z] ==> Gzipping contents [2020-10-24T02:50:18.015Z] ==> Uploading reports [2020-10-24T02:50:18.015Z] url: https://codecov.io [2020-10-24T02:50:18.015Z] query: branch=PR-638&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-638%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=638&job=&cmd_args= [2020-10-24T02:50:18.015Z] -> Pinging Codecov [2020-10-24T02:50:18.015Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-638&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-638%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=638&job=&cmd_args= [2020-10-24T02:50:18.282Z] -> Uploading to [2020-10-24T02:50:18.282Z] [2020-10-24T02:50:18.282Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:50:18.282Z] Dload Upload Total Spent Left Speed [2020-10-24T02:50:18.282Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-24T02:50:18.282Z] X> Failed to upload [2020-10-24T02:50:18.282Z] ==> Uploading to Codecov [2020-10-24T02:50:18.282Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:50:18.282Z] Dload Upload Total Spent Left Speed [2020-10-24T02:50:18.861Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20968 100 110 100 20858 166 31587 --:--:-- --:--:-- --:--:-- 31603 [2020-10-24T02:50:18.861Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0bbcb663a9153978e7e9ef8c297d5988e58906d0 [Pipeline] } [2020-10-24T02:50:18.872Z] 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] { (Archive Prep) Stage "Archive Prep" 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-10-24T02:50:21.540Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:22.108Z] ---> package-listing.sh [2020-10-24T02:50:22.108Z] ++ facter osfamily [2020-10-24T02:50:22.108Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-24T02:50:22.108Z] + OS_FAMILY=redhat [2020-10-24T02:50:22.108Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-638 [2020-10-24T02:50:22.108Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-24T02:50:22.108Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-24T02:50:22.108Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-24T02:50:22.108Z] + PACKAGES=/tmp/packages_start.txt [2020-10-24T02:50:22.108Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-638 ']' [2020-10-24T02:50:22.108Z] + PACKAGES=/tmp/packages_end.txt [2020-10-24T02:50:22.108Z] + case "${OS_FAMILY}" in [2020-10-24T02:50:22.108Z] + rpm -qa [2020-10-24T02:50:22.108Z] + sort [2020-10-24T02:50:25.414Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-24T02:50:25.414Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-24T02:50:25.414Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-24T02:50:25.414Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-638 ']' [2020-10-24T02:50:25.414Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-638/archives/ [2020-10-24T02:50:25.414Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-638/archives/ [Pipeline] echo [2020-10-24T02:50:25.427Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-638/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-24T02:50:25.716Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:50:26.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:50:26.024Z] [2020-10-24T02:50:26.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:50:26.375Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:50:26.375Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-24T02:50:26.375Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:50:26.375Z] 36b3adc4ff6f: Pulling fs layer [2020-10-24T02:50:26.375Z] 8ad3a11d3b57: Pulling fs layer [2020-10-24T02:50:26.375Z] 46f8f816bc3b: Pulling fs layer [2020-10-24T02:50:26.375Z] 93b61091891f: Pulling fs layer [2020-10-24T02:50:26.375Z] 93b9cdb0e59b: Pulling fs layer [2020-10-24T02:50:26.375Z] 5e14af77c1be: Pulling fs layer [2020-10-24T02:50:26.375Z] 01666e4c0597: Pulling fs layer [2020-10-24T02:50:26.375Z] aa168da1d23b: Pulling fs layer [2020-10-24T02:50:26.375Z] 93b9cdb0e59b: Waiting [2020-10-24T02:50:26.375Z] 5e14af77c1be: Waiting [2020-10-24T02:50:26.375Z] 01666e4c0597: Waiting [2020-10-24T02:50:26.375Z] 46f8f816bc3b: Waiting [2020-10-24T02:50:26.375Z] 93b61091891f: Waiting [2020-10-24T02:50:26.375Z] 36b3adc4ff6f: Download complete [2020-10-24T02:50:26.375Z] 46f8f816bc3b: Verifying Checksum [2020-10-24T02:50:26.375Z] 46f8f816bc3b: Download complete [2020-10-24T02:50:26.375Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:50:26.375Z] df20fa9351a1: Download complete [2020-10-24T02:50:26.375Z] 93b9cdb0e59b: Verifying Checksum [2020-10-24T02:50:26.375Z] 93b9cdb0e59b: Download complete [2020-10-24T02:50:26.639Z] 93b61091891f: Verifying Checksum [2020-10-24T02:50:26.639Z] 93b61091891f: Download complete [2020-10-24T02:50:26.639Z] 01666e4c0597: Download complete [2020-10-24T02:50:26.639Z] df20fa9351a1: Pull complete [2020-10-24T02:50:26.905Z] 36b3adc4ff6f: Pull complete [2020-10-24T02:50:26.905Z] 8ad3a11d3b57: Verifying Checksum [2020-10-24T02:50:26.905Z] 8ad3a11d3b57: Download complete [2020-10-24T02:50:27.487Z] 5e14af77c1be: Verifying Checksum [2020-10-24T02:50:27.487Z] 5e14af77c1be: Download complete [2020-10-24T02:50:27.750Z] 8ad3a11d3b57: Pull complete [2020-10-24T02:50:27.750Z] 46f8f816bc3b: Pull complete [2020-10-24T02:50:28.335Z] 93b61091891f: Pull complete [2020-10-24T02:50:28.598Z] 93b9cdb0e59b: Pull complete [2020-10-24T02:50:28.598Z] aa168da1d23b: Verifying Checksum [2020-10-24T02:50:28.598Z] aa168da1d23b: Download complete [2020-10-24T02:50:29.176Z] 5e14af77c1be: Pull complete [2020-10-24T02:50:29.176Z] 01666e4c0597: Pull complete [2020-10-24T02:50:34.496Z] aa168da1d23b: Pull complete [2020-10-24T02:50:34.497Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-24T02:50:34.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:50:34.497Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-24T02:50:34.652Z] prd-centos7-docker-4c-2g-8583 does not seem to be running inside a container [2020-10-24T02:50:34.701Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-638/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-638 -v /w/workspace/dgexfoundry_device-sdk-go_PR-638:/w/workspace/dgexfoundry_device-sdk-go_PR-638:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-24T02:50:41.506Z] $ docker top 1bd12d4c9f6650b43bc78e078e0e1a329f042252f0ab3f84454ac4aadf3e42cd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:50:42.000Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-24T02:50:42.294Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-24T02:50:42.590Z] + ls /var/log/sa-host [2020-10-24T02:50:42.590Z] + sadf -c /var/log/sa-host/sa05 [2020-10-24T02:50:42.590Z] file_magic: OK [2020-10-24T02:50:42.590Z] HZ: Using current value: 100 [2020-10-24T02:50:42.590Z] file_header: OK [2020-10-24T02:50:42.590Z] 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-10-24T02:50:42.590Z] Statistics: [2020-10-24T02:50:42.590Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:50:42.590Z] File successfully converted to sysstat format version 12.2.1 [2020-10-24T02:50:42.590Z] + sadf -c /var/log/sa-host/sa24 [2020-10-24T02:50:42.590Z] file_magic: OK [2020-10-24T02:50:42.590Z] HZ: Using current value: 100 [2020-10-24T02:50:42.590Z] file_header: OK [2020-10-24T02:50:42.590Z] 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-10-24T02:50:42.590Z] Statistics: [2020-10-24T02:50:42.590Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:50:42.590Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-24T02:50:42.795Z] provisioning config files... [2020-10-24T02:50:42.815Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/config7931128627421703838tmp [Pipeline] { [Pipeline] echo [2020-10-24T02:50:42.892Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:43.192Z] ---> create-netrc.sh [Pipeline] } [2020-10-24T02:50:43.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-24T02:50:43.296Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:43.591Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-24T02:50:43.600Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:43.893Z] ---> sudo-logs.sh [2020-10-24T02:50:43.893Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-24T02:50:43.905Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:44.203Z] ---> job-cost.sh [2020-10-24T02:50:44.203Z] lf-activate-venv: SKIPPING [2020-10-24T02:50:44.203Z] INFO: No Stack... [2020-10-24T02:50:45.589Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-24T02:50:45.851Z] INFO: Archiving Costs [Pipeline] echo [2020-10-24T02:50:45.864Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:46.159Z] ---> logs-deploy.sh [2020-10-24T02:50:46.159Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-638/3 [2020-10-24T02:50:46.159Z] INFO: archiving workspace using pattern(s): [2020-10-24T02:50:47.551Z] Archives upload complete. [2020-10-24T02:50:47.817Z] INFO: archiving logs to Nexus