Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 25404775a81a428bce8a9a5b11db9d4fb024bb80+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (07e19f4691c8dfeae07e68e279fa3d67eeb8b914) 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-8584 in /w/workspace/dgexfoundry_device-sdk-go_PR-640 [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-640 # 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/640/head:refs/remotes/origin/PR-640 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 25404775a81a428bce8a9a5b11db9d4fb024bb80 Merge succeeded, producing 87ba3f747499c6e4dd0a8410046a07d0c7ffb20b Checking out Revision 87ba3f747499c6e4dd0a8410046a07d0c7ffb20b (PR-640) > git config core.sparsecheckout # timeout=10 > git checkout -f 25404775a81a428bce8a9a5b11db9d4fb024bb80 # 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 87ba3f747499c6e4dd0a8410046a07d0c7ffb20b # 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:59.427Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 88e32ef120ef76714f6ec9e25aaebfe207755857 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-24T02:42:59.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-24T02:42:59.812Z] ========================================================= [2020-10-24T02:42:59.812Z] EdgeX Global Pipelines Version Info [2020-10-24T02:42:59.812Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:43:01.307Z] ------------------- [2020-10-24T02:43:01.307Z] stable info: [2020-10-24T02:43:01.307Z] ------------------- [2020-10-24T02:43:01.307Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-24T02:43:01.307Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-24T02:43:01.307Z] Message: update stable to v1.0.148 [2020-10-24T02:43:02.261Z] ------------------- [2020-10-24T02:43:02.261Z] experimental info: [2020-10-24T02:43:02.261Z] ------------------- [2020-10-24T02:43:02.261Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-24T02:43:02.261Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-24T02:43:02.261Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-24T02:43:02.633Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-24T02:43:02.736Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-24T02:43:02.848Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-24T02:43:02.958Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-24T02:43:03.050Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-24T02:43:03.162Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-24T02:43:03.252Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-24T02:43:03.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-24T02:43:03.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-24T02:43:03.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-24T02:43:03.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-24T02:43:03.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-24T02:43:03.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-24T02:43:03.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-24T02:43:04.095Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-24T02:43:04.188Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:43:04.305Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:43:04.399Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:43:04.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-24T02:43:04.601Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-24T02:43:04.719Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-24T02:43:04.828Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-24T02:43:04.938Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-24T02:43:05.030Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-24T02:43:05.152Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-24T02:43:05.243Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-640 [Pipeline] echo [2020-10-24T02:43:05.351Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-640 [Pipeline] echo [2020-10-24T02:43:05.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-640 [Pipeline] echo [2020-10-24T02:43:05.545Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 87ba3f747499c6e4dd0a8410046a07d0c7ffb20b [Pipeline] echo [2020-10-24T02:43:05.637Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 87ba3f7 [Pipeline] echo [2020-10-24T02:43:05.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:43:06.337Z] + git log --format=format:%s -1 87ba3f747499c6e4dd0a8410046a07d0c7ffb20b [Pipeline] echo [2020-10-24T02:43:06.398Z] GIT_COMMIT: 87ba3f747499c6e4dd0a8410046a07d0c7ffb20b, Commit Message: Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD [Pipeline] echo [2020-10-24T02:43:06.461Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:43:07.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:43:07.048Z] [2020-10-24T02:43:07.048Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:43:07.402Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:43:07.402Z] latest: Pulling from edgex-devops/git-semver [2020-10-24T02:43:07.402Z] 31603596830f: Pulling fs layer [2020-10-24T02:43:07.402Z] 2a8b12db71e7: Pulling fs layer [2020-10-24T02:43:07.402Z] 6ca5941a6612: Pulling fs layer [2020-10-24T02:43:07.402Z] ecc8261a40a4: Pulling fs layer [2020-10-24T02:43:07.402Z] ecc8261a40a4: Waiting [2020-10-24T02:43:07.672Z] 2a8b12db71e7: Verifying Checksum [2020-10-24T02:43:07.672Z] 2a8b12db71e7: Download complete [2020-10-24T02:43:07.672Z] 31603596830f: Download complete [2020-10-24T02:43:07.672Z] 6ca5941a6612: Verifying Checksum [2020-10-24T02:43:07.672Z] 6ca5941a6612: Download complete [2020-10-24T02:43:07.941Z] ecc8261a40a4: Verifying Checksum [2020-10-24T02:43:07.941Z] ecc8261a40a4: Download complete [2020-10-24T02:43:07.941Z] 31603596830f: Pull complete [2020-10-24T02:43:07.941Z] 2a8b12db71e7: Pull complete [2020-10-24T02:43:08.895Z] 6ca5941a6612: Pull complete [2020-10-24T02:43:09.156Z] ecc8261a40a4: Pull complete [2020-10-24T02:43:09.156Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-24T02:43:09.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:43:09.156Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-24T02:43:09.258Z] prd-centos7-docker-4c-2g-8584 does not seem to be running inside a container [2020-10-24T02:43:09.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-640 -v /w/workspace/dgexfoundry_device-sdk-go_PR-640:/w/workspace/dgexfoundry_device-sdk-go_PR-640:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-640@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-640@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:11.032Z] $ docker top 85bcad111532a55ed5e1270d0340893a514a771e21477feeca7e37b305f5334b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-24T02:43:11.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:43:11.325Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:43:11.520Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:43:11.525Z] $ docker exec 85bcad111532a55ed5e1270d0340893a514a771e21477feeca7e37b305f5334b ssh-agent [2020-10-24T02:43:11.681Z] SSH_AUTH_SOCK=/tmp/ssh-8PNea7GcaIWF/agent.11 [2020-10-24T02:43:11.682Z] SSH_AGENT_PID=16 [2020-10-24T02:43:11.691Z] Running ssh-add (command line suppressed) [2020-10-24T02:43:11.809Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-640@tmp/private_key_2280502229471690399.key (/w/workspace/dgexfoundry_device-sdk-go_PR-640@tmp/private_key_2280502229471690399.key) [2020-10-24T02:43:11.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:43:12.201Z] + git tag --points-at HEAD [Pipeline] } [2020-10-24T02:43:12.221Z] $ docker exec --env ******** --env ******** 85bcad111532a55ed5e1270d0340893a514a771e21477feeca7e37b305f5334b ssh-agent -k [2020-10-24T02:43:12.324Z] unset SSH_AUTH_SOCK; [2020-10-24T02:43:12.325Z] unset SSH_AGENT_PID; [2020-10-24T02:43:12.325Z] echo Agent pid 16 killed; [2020-10-24T02:43:12.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-24T02:43:12.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:43:12.594Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:43:12.743Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:43:12.748Z] $ docker exec 85bcad111532a55ed5e1270d0340893a514a771e21477feeca7e37b305f5334b ssh-agent [2020-10-24T02:43:12.891Z] SSH_AUTH_SOCK=/tmp/ssh-yg2OWn89rrfF/agent.46 [2020-10-24T02:43:12.891Z] SSH_AGENT_PID=51 [2020-10-24T02:43:12.897Z] Running ssh-add (command line suppressed) [2020-10-24T02:43:13.009Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-640@tmp/private_key_4050739737345209740.key (/w/workspace/dgexfoundry_device-sdk-go_PR-640@tmp/private_key_4050739737345209740.key) [2020-10-24T02:43:13.054Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:43:13.398Z] + git semver init [2020-10-24T02:43:13.399Z] # -> Open(): unable to determine branch for HEAD [2020-10-24T02:43:13.399Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-640/.git [2020-10-24T02:43:13.399Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-640 [2020-10-24T02:43:13.399Z] # $SEMVER_REMOTE_NAME = origin [2020-10-24T02:43:13.399Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-24T02:43:13.399Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-24T02:43:13.399Z] # $SEMVER_BRANCH = PR-640 [2020-10-24T02:43:13.399Z] # $SEMVER_TEMP = /tmp/semver-980615319 [2020-10-24T02:43:13.399Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-24T02:43:14.344Z] # '/tmp/semver-980615319' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-640/.semver' [2020-10-24T02:43:14.344Z] # -> Force: false [2020-10-24T02:43:14.344Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-640/.semver [Pipeline] } [2020-10-24T02:43:14.358Z] $ docker exec --env ******** --env ******** 85bcad111532a55ed5e1270d0340893a514a771e21477feeca7e37b305f5334b ssh-agent -k [2020-10-24T02:43:14.468Z] unset SSH_AUTH_SOCK; [2020-10-24T02:43:14.468Z] unset SSH_AGENT_PID; [2020-10-24T02:43:14.468Z] echo Agent pid 51 killed; [2020-10-24T02:43:14.510Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-24T02:43:14.993Z] + git semver [Pipeline] } [2020-10-24T02:43:15.017Z] $ docker stop --time=1 85bcad111532a55ed5e1270d0340893a514a771e21477feeca7e37b305f5334b [2020-10-24T02:43:16.372Z] $ docker rm -f 85bcad111532a55ed5e1270d0340893a514a771e21477feeca7e37b305f5334b [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-24T02:43:16.836Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-24T02:43:17.308Z] Stashed 1 file(s) [Pipeline] echo [2020-10-24T02:43:17.312Z] [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:32.868Z] Still waiting to schedule task [2020-10-24T02:43:32.869Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-8587’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8508’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-8586’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-24T02:43:32.872Z] Still waiting to schedule task [2020-10-24T02:43:32.872Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-24T02:44:57.922Z] Running on prd-centos7-docker-4c-2g-8592 in /w/workspace/dgexfoundry_device-sdk-go_PR-640 [Pipeline] { [Pipeline] ws [2020-10-24T02:44:57.983Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-24T02:45:00.470Z] using credential edgex-jenkins-ssh [2020-10-24T02:45:00.523Z] Cloning the remote Git repository [2020-10-24T02:45:00.547Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:00.613Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-24T02:45:00.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:00.666Z] > git --version # timeout=10 [2020-10-24T02:45:00.672Z] > git --version # 'git version 2.16.5' [2020-10-24T02:45:00.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:00.700Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:45:01.326Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:45:01.335Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:45:01.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:45:01.360Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:01.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:01.368Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/640/head:refs/remotes/origin/PR-640 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-24T02:45:01.958Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 25404775a81a428bce8a9a5b11db9d4fb024bb80 [2020-10-24T02:45:02.087Z] Merge succeeded, producing fa6797599bc0b988593ed3a2e97d34de27279e38 [2020-10-24T02:45:02.088Z] Checking out Revision fa6797599bc0b988593ed3a2e97d34de27279e38 (PR-640) [2020-10-24T02:45:01.970Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:45:01.975Z] > git checkout -f 25404775a81a428bce8a9a5b11db9d4fb024bb80 # timeout=10 [2020-10-24T02:45:02.044Z] > git remote # timeout=10 [2020-10-24T02:45:02.053Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:45:02.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:02.063Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:45:02.083Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:45:02.093Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:45:02.097Z] > git checkout -f fa6797599bc0b988593ed3a2e97d34de27279e38 # timeout=10 [2020-10-24T02:45:05.857Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:45:05.870Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-24T02:45:05.863Z] > git rev-list --no-walk 88e32ef120ef76714f6ec9e25aaebfe207755857 # timeout=10 [Pipeline] echo [2020-10-24T02:45:06.644Z] ========================================================= [2020-10-24T02:45:06.644Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-24T02:45:06.644Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:07.351Z] + 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:45:07.616Z] Sending build context to Docker daemon 2.351MB [2020-10-24T02:45:07.616Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:45:07.616Z] Step 2/8 : FROM ${BASE} [2020-10-24T02:45:07.888Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-24T02:45:07.888Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:45:07.888Z] ed8968b2872e: Pulling fs layer [2020-10-24T02:45:07.888Z] a92cc7c5fd73: Pulling fs layer [2020-10-24T02:45:07.888Z] e871e8e8d7a9: Pulling fs layer [2020-10-24T02:45:07.888Z] e73272ec9a57: Pulling fs layer [2020-10-24T02:45:07.888Z] 1e910a182e73: Pulling fs layer [2020-10-24T02:45:07.888Z] 4e634b169226: Pulling fs layer [2020-10-24T02:45:07.888Z] e871e8e8d7a9: Waiting [2020-10-24T02:45:07.888Z] e73272ec9a57: Waiting [2020-10-24T02:45:07.888Z] 1e910a182e73: Waiting [2020-10-24T02:45:07.888Z] 4e634b169226: Waiting [2020-10-24T02:45:07.888Z] a92cc7c5fd73: Download complete [2020-10-24T02:45:07.888Z] ed8968b2872e: Verifying Checksum [2020-10-24T02:45:07.888Z] ed8968b2872e: Download complete [2020-10-24T02:45:07.888Z] e73272ec9a57: Verifying Checksum [2020-10-24T02:45:07.888Z] e73272ec9a57: Download complete [2020-10-24T02:45:07.888Z] 1e910a182e73: Verifying Checksum [2020-10-24T02:45:07.888Z] 1e910a182e73: Download complete [2020-10-24T02:45:07.888Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:45:07.888Z] df20fa9351a1: Download complete [2020-10-24T02:45:08.156Z] df20fa9351a1: Pull complete [2020-10-24T02:45:08.426Z] ed8968b2872e: Pull complete [2020-10-24T02:45:08.691Z] a92cc7c5fd73: Pull complete [2020-10-24T02:45:09.647Z] 4e634b169226: Verifying Checksum [2020-10-24T02:45:09.647Z] 4e634b169226: Download complete [2020-10-24T02:45:10.226Z] e871e8e8d7a9: Verifying Checksum [2020-10-24T02:45:10.226Z] e871e8e8d7a9: Download complete [2020-10-24T02:45:15.564Z] e871e8e8d7a9: Pull complete [2020-10-24T02:45:15.564Z] e73272ec9a57: Pull complete [2020-10-24T02:45:15.564Z] 1e910a182e73: Pull complete [2020-10-24T02:45:22.193Z] 4e634b169226: Pull complete [2020-10-24T02:45:22.193Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-24T02:45:22.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-24T02:45:22.194Z] ---> f7629b54cfaa [2020-10-24T02:45:22.194Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:45:22.194Z] ---> Running in 80ccf51193b8 [2020-10-24T02:45:22.194Z] Removing intermediate container 80ccf51193b8 [2020-10-24T02:45:22.194Z] ---> e80d3bd349e3 [2020-10-24T02:45:22.194Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:45:22.194Z] ---> Running in 2dde19396606 [2020-10-24T02:45:23.142Z] Removing intermediate container 2dde19396606 [2020-10-24T02:45:23.142Z] ---> 7b4811496c7d [2020-10-24T02:45:23.142Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-24T02:45:23.142Z] ---> Running in f18b88483b80 [2020-10-24T02:45:24.089Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:45:24.666Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:45:24.929Z] OK: 166 MiB in 39 packages [2020-10-24T02:45:25.508Z] Removing intermediate container f18b88483b80 [2020-10-24T02:45:25.508Z] ---> 9522c8260443 [2020-10-24T02:45:25.508Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:45:25.508Z] ---> Running in ed63c0d14c69 [2020-10-24T02:45:25.773Z] Removing intermediate container ed63c0d14c69 [2020-10-24T02:45:25.773Z] ---> 04ff52eba023 [2020-10-24T02:45:25.773Z] Step 7/8 : COPY . . [2020-10-24T02:45:27.166Z] ---> b7caf224b503 [2020-10-24T02:45:27.166Z] Step 8/8 : RUN go mod download [2020-10-24T02:45:27.166Z] ---> Running in 7761d15892d0 [2020-10-24T02:45:45.356Z] Removing intermediate container 7761d15892d0 [2020-10-24T02:45:45.356Z] ---> 0e1fe94056bc [2020-10-24T02:45:45.356Z] Successfully built 0e1fe94056bc [2020-10-24T02:45:45.356Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:45.798Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:45:45.798Z] . [Pipeline] withDockerContainer [2020-10-24T02:45:45.939Z] prd-centos7-docker-4c-2g-8592 does not seem to be running inside a container [2020-10-24T02:45:45.998Z] $ 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-x86_64 cat [2020-10-24T02:45:46.823Z] $ docker top 8c005969f213b94b469422a4c11a40520730b2451d7a9287ccea62ea09b4a156 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:45:47.321Z] + go version [2020-10-24T02:45:47.321Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-24T02:45:47.412Z] $ docker stop --time=1 8c005969f213b94b469422a4c11a40520730b2451d7a9287ccea62ea09b4a156 [2020-10-24T02:45:48.803Z] $ docker rm -f 8c005969f213b94b469422a4c11a40520730b2451d7a9287ccea62ea09b4a156 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:49.827Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:45:49.827Z] . [Pipeline] withDockerContainer [2020-10-24T02:45:49.946Z] prd-centos7-docker-4c-2g-8592 does not seem to be running inside a container [2020-10-24T02:45:50.035Z] $ 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-x86_64 cat [2020-10-24T02:45:50.707Z] $ docker top eecc945acf5714cd87f7572d50660ccd5d9b29836ab048778b55d69ce358f8bb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:45:51.286Z] + make test [2020-10-24T02:45:51.286Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:45:59.559Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:46:14.619Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:46:14.619Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:46:14.619Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:46:14.619Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.046s coverage: 21.4% of statements [2020-10-24T02:46:15.586Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.452s coverage: 97.1% of statements [2020-10-24T02:46:24.207Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8594 in /w/workspace/dgexfoundry_device-sdk-go_PR-640 [Pipeline] { [Pipeline] ws [2020-10-24T02:46:24.267Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-24T02:46:29.315Z] using credential edgex-jenkins-ssh [2020-10-24T02:46:29.367Z] Cloning the remote Git repository [2020-10-24T02:46:29.431Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:46:29.537Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-24T02:46:29.608Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:46:29.609Z] > git --version # timeout=10 [2020-10-24T02:46:29.631Z] > git --version # 'git version 2.17.1' [2020-10-24T02:46:29.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:46:29.707Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:46:31.214Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 25404775a81a428bce8a9a5b11db9d4fb024bb80 [2020-10-24T02:46:31.506Z] Merge succeeded, producing 626407bd16630f6a55384980573915c032df1d0b [2020-10-24T02:46:31.507Z] Checking out Revision 626407bd16630f6a55384980573915c032df1d0b (PR-640) [2020-10-24T02:46:30.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:46:30.694Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:46:30.723Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:46:30.763Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:46:30.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:46:30.775Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/640/head:refs/remotes/origin/PR-640 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-24T02:46:31.242Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:46:31.260Z] > git checkout -f 25404775a81a428bce8a9a5b11db9d4fb024bb80 # timeout=10 [2020-10-24T02:46:31.371Z] > git remote # timeout=10 [2020-10-24T02:46:31.386Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:46:31.402Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:46:31.411Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:46:31.505Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:46:31.551Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:46:31.560Z] > git checkout -f 626407bd16630f6a55384980573915c032df1d0b # timeout=10 [2020-10-24T02:46:35.841Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:46:35.866Z] First time build. Skipping changelog. [2020-10-24T02:46:35.858Z] > git rev-list --no-walk 88e32ef120ef76714f6ec9e25aaebfe207755857 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-24T02:46:36.702Z] ========================================================= [2020-10-24T02:46:36.703Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-24T02:46:36.703Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:37.656Z] + 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:38.651Z] Sending build context to Docker daemon 2.351MB [2020-10-24T02:46:38.651Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:46:38.651Z] Step 2/8 : FROM ${BASE} [2020-10-24T02:46:38.930Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-24T02:46:38.930Z] b538f80385f9: Pulling fs layer [2020-10-24T02:46:38.930Z] 74f711af9a0d: Pulling fs layer [2020-10-24T02:46:38.930Z] 99f96fe45779: Pulling fs layer [2020-10-24T02:46:38.930Z] 8529a6b9a6be: Pulling fs layer [2020-10-24T02:46:38.930Z] 45590311c82a: Pulling fs layer [2020-10-24T02:46:38.930Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-24T02:46:38.930Z] 209524e5b208: Pulling fs layer [2020-10-24T02:46:38.930Z] 8529a6b9a6be: Waiting [2020-10-24T02:46:38.930Z] 45590311c82a: Waiting [2020-10-24T02:46:38.930Z] 69ca0ff8b7b3: Waiting [2020-10-24T02:46:38.930Z] 209524e5b208: Waiting [2020-10-24T02:46:38.930Z] 99f96fe45779: Download complete [2020-10-24T02:46:38.930Z] 74f711af9a0d: Verifying Checksum [2020-10-24T02:46:38.930Z] 74f711af9a0d: Download complete [2020-10-24T02:46:38.930Z] 45590311c82a: Verifying Checksum [2020-10-24T02:46:38.930Z] 45590311c82a: Download complete [2020-10-24T02:46:38.930Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-24T02:46:38.930Z] 69ca0ff8b7b3: Download complete [2020-10-24T02:46:38.930Z] b538f80385f9: Verifying Checksum [2020-10-24T02:46:38.930Z] b538f80385f9: Download complete [2020-10-24T02:46:39.997Z] b538f80385f9: Pull complete [2020-10-24T02:46:40.273Z] 74f711af9a0d: Pull complete [2020-10-24T02:46:40.566Z] 99f96fe45779: Pull complete [2020-10-24T02:46:41.551Z] 209524e5b208: Verifying Checksum [2020-10-24T02:46:41.551Z] 209524e5b208: Download complete [2020-10-24T02:46:42.994Z] 8529a6b9a6be: Verifying Checksum [2020-10-24T02:46:42.994Z] 8529a6b9a6be: Download complete [2020-10-24T02:46:47.744Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.065s coverage: 9.4% of statements [2020-10-24T02:46:47.744Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.9% of statements [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:46:47.744Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.212s coverage: 42.6% of statements [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:46:47.744Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.299s coverage: 68.9% of statements [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:46:47.744Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.072s coverage: 52.6% of statements [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:46:47.744Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.403s coverage: 68.9% of statements [2020-10-24T02:46:47.744Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.064s coverage: 4.7% of statements [2020-10-24T02:46:47.744Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:46:47.744Z] GO111MODULE=on go vet ./... [2020-10-24T02:46:53.174Z] 8529a6b9a6be: Pull complete [2020-10-24T02:46:53.174Z] 45590311c82a: Pull complete [2020-10-24T02:46:53.174Z] 69ca0ff8b7b3: Pull complete [2020-10-24T02:46:54.412Z] gofmt -l . [2020-10-24T02:46:54.413Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:46:54.413Z] ./bin/test-attribution-txt.sh [2020-10-24T02:46:54.413Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-24T02:46:55.042Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:46:55.051Z] $ docker stop --time=1 eecc945acf5714cd87f7572d50660ccd5d9b29836ab048778b55d69ce358f8bb [2020-10-24T02:46:56.602Z] 209524e5b208: Pull complete [2020-10-24T02:46:56.602Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-24T02:46:56.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-24T02:46:56.602Z] ---> 5bddaf1c2fca [2020-10-24T02:46:56.602Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:46:56.915Z] $ docker rm -f eecc945acf5714cd87f7572d50660ccd5d9b29836ab048778b55d69ce358f8bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-24T02:46:58.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:46:58.791Z] + ls -al . [2020-10-24T02:46:58.791Z] total 208 [2020-10-24T02:46:58.791Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 24 02:46 . [2020-10-24T02:46:58.791Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 24 02:45 .. [2020-10-24T02:46:58.791Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 24 02:45 bin [2020-10-24T02:46:58.791Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 24 02:46 coverage.out [2020-10-24T02:46:58.791Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 24 02:45 Dockerfile.build [2020-10-24T02:46:58.791Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 24 02:45 .dockerignore [2020-10-24T02:46:58.791Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 24 02:45 example [2020-10-24T02:46:58.791Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 24 02:45 .git [2020-10-24T02:46:58.791Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 24 02:45 .github [2020-10-24T02:46:58.791Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 24 02:45 .gitignore [2020-10-24T02:46:58.791Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 24 02:46 go.mod [2020-10-24T02:46:58.791Z] -rw-r--r--. 1 jenkins jenkins 13840 Oct 24 02:46 go.sum [2020-10-24T02:46:58.791Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 24 02:45 internal [2020-10-24T02:46:58.791Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 24 02:45 Jenkinsfile [2020-10-24T02:46:58.791Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 24 02:45 LICENSE [2020-10-24T02:46:58.791Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 24 02:45 Makefile [2020-10-24T02:46:58.791Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 24 02:45 openapi [2020-10-24T02:46:58.791Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 24 02:45 pkg [2020-10-24T02:46:58.791Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 24 02:45 README.md [2020-10-24T02:46:58.791Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 24 02:45 RELEASE-NOTES.txt [2020-10-24T02:46:58.792Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 24 02:45 snap [2020-10-24T02:46:58.792Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 24 02:43 VERSION [2020-10-24T02:46:58.792Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 24 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:59.101Z] + 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=87ba3f747499c6e4dd0a8410046a07d0c7ffb20b --label arch=amd64 --label version=0.0.0 . [2020-10-24T02:46:59.364Z] Sending build context to Docker daemon 2.48MB [2020-10-24T02:46:59.364Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:46:59.364Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:46:59.364Z] ---> 0e1fe94056bc [2020-10-24T02:46:59.364Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:46:59.943Z] ---> Running in ff39ee8c11f4 [2020-10-24T02:47:00.025Z] ---> Running in c35eb406676b [2020-10-24T02:47:00.025Z] Removing intermediate container c35eb406676b [2020-10-24T02:47:00.025Z] ---> 8856d2de3d0c [2020-10-24T02:47:00.025Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:47:00.025Z] ---> Running in 0fc5c82b9368 [2020-10-24T02:47:00.206Z] Removing intermediate container ff39ee8c11f4 [2020-10-24T02:47:00.206Z] ---> cf13e49f1ca3 [2020-10-24T02:47:00.206Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:47:00.206Z] ---> Running in a25f17ed8e82 [2020-10-24T02:47:00.473Z] Removing intermediate container a25f17ed8e82 [2020-10-24T02:47:00.473Z] ---> 0357acdbeebc [2020-10-24T02:47:00.473Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:47:00.473Z] ---> Running in 67c46fbcbf14 [2020-10-24T02:47:00.473Z] Removing intermediate container 67c46fbcbf14 [2020-10-24T02:47:00.473Z] ---> cc5966bf063e [2020-10-24T02:47:00.473Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:47:00.741Z] ---> Running in e7a6cf85aa1d [2020-10-24T02:47:01.695Z] Removing intermediate container e7a6cf85aa1d [2020-10-24T02:47:01.695Z] ---> d4713ccf3543 [2020-10-24T02:47:01.695Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:47:01.695Z] ---> Running in 9e086adb5cfb [2020-10-24T02:47:02.279Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:47:02.854Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:47:03.432Z] Removing intermediate container 0fc5c82b9368 [2020-10-24T02:47:03.432Z] ---> 242864b482ca [2020-10-24T02:47:03.432Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-24T02:47:03.432Z] ---> Running in 17674a5c653b [2020-10-24T02:47:03.445Z] OK: 166 MiB in 39 packages [2020-10-24T02:47:03.708Z] Removing intermediate container 9e086adb5cfb [2020-10-24T02:47:03.708Z] ---> f055e4aa84a6 [2020-10-24T02:47:03.708Z] Step 8/24 : COPY . . [2020-10-24T02:47:04.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:47:05.098Z] ---> f0965300be5c [2020-10-24T02:47:05.099Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:47:05.099Z] ---> Running in fe4ed0a85376 [2020-10-24T02:47:05.490Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:47:05.680Z] 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:47:06.473Z] OK: 142 MiB in 39 packages [2020-10-24T02:47:07.923Z] Removing intermediate container 17674a5c653b [2020-10-24T02:47:07.923Z] ---> d34d5acffd14 [2020-10-24T02:47:07.923Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:47:07.923Z] ---> Running in c15d4bdf3abe [2020-10-24T02:47:08.197Z] Removing intermediate container c15d4bdf3abe [2020-10-24T02:47:08.197Z] ---> 6042ccec81d4 [2020-10-24T02:47:08.197Z] Step 7/8 : COPY . . [2020-10-24T02:47:09.642Z] ---> eeae3f6f9c3c [2020-10-24T02:47:09.642Z] Step 8/8 : RUN go mod download [2020-10-24T02:47:09.642Z] ---> Running in f65c209a7308 [2020-10-24T02:47:13.930Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:47:17.253Z] Removing intermediate container fe4ed0a85376 [2020-10-24T02:47:17.253Z] ---> fd6737568094 [2020-10-24T02:47:17.253Z] Step 10/24 : FROM scratch [2020-10-24T02:47:17.253Z] ---> [2020-10-24T02:47:17.253Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:47:17.253Z] ---> Running in 0e1c785b0782 [2020-10-24T02:47:17.253Z] Removing intermediate container 0e1c785b0782 [2020-10-24T02:47:17.253Z] ---> afa10582421d [2020-10-24T02:47:17.253Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:47:17.253Z] ---> Running in 072f074385fc [2020-10-24T02:47:17.253Z] Removing intermediate container 072f074385fc [2020-10-24T02:47:17.253Z] ---> 15c0c7752159 [2020-10-24T02:47:17.253Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:47:17.253Z] ---> Running in 15eaa6628c78 [2020-10-24T02:47:17.514Z] Removing intermediate container 15eaa6628c78 [2020-10-24T02:47:17.514Z] ---> 216ae235e25e [2020-10-24T02:47:17.514Z] Step 14/24 : WORKDIR / [2020-10-24T02:47:17.514Z] ---> Running in cf7adda639c4 [2020-10-24T02:47:17.776Z] Removing intermediate container cf7adda639c4 [2020-10-24T02:47:17.776Z] ---> bf4ef1d60915 [2020-10-24T02:47:17.776Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:47:18.041Z] ---> 2fdbc5226230 [2020-10-24T02:47:18.041Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:47:18.303Z] ---> abf4b07e3040 [2020-10-24T02:47:18.303Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-24T02:47:18.566Z] ---> 28bce2cc85ea [2020-10-24T02:47:18.566Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:47:18.828Z] ---> e790e370818f [2020-10-24T02:47:18.828Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:47:19.091Z] ---> 39ebbf26dd1c [2020-10-24T02:47:19.091Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:47:19.091Z] ---> Running in 15d2d950af71 [2020-10-24T02:47:19.353Z] Removing intermediate container 15d2d950af71 [2020-10-24T02:47:19.353Z] ---> c8ffc2fd5c98 [2020-10-24T02:47:19.353Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:47:19.353Z] ---> Running in 2986afdcf7d3 [2020-10-24T02:47:19.615Z] Removing intermediate container 2986afdcf7d3 [2020-10-24T02:47:19.615Z] ---> c69df79ad37f [2020-10-24T02:47:19.615Z] Step 22/24 : LABEL arch=amd64 [2020-10-24T02:47:19.615Z] ---> Running in 19fd99376cce [2020-10-24T02:47:19.879Z] Removing intermediate container 19fd99376cce [2020-10-24T02:47:19.879Z] ---> 0352a399ecb8 [2020-10-24T02:47:19.879Z] Step 23/24 : LABEL git_sha=87ba3f747499c6e4dd0a8410046a07d0c7ffb20b [2020-10-24T02:47:19.879Z] ---> Running in 67b43294bfdd [2020-10-24T02:47:19.879Z] Removing intermediate container 67b43294bfdd [2020-10-24T02:47:19.879Z] ---> 023e18ea7c30 [2020-10-24T02:47:19.879Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:47:20.141Z] ---> Running in c0d29d32d470 [2020-10-24T02:47:20.141Z] Removing intermediate container c0d29d32d470 [2020-10-24T02:47:20.141Z] ---> 93e53adcf4e1 [2020-10-24T02:47:20.141Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:47:20.141Z] Successfully built 93e53adcf4e1 [2020-10-24T02:47:20.141Z] 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:47:31.822Z] Removing intermediate container f65c209a7308 [2020-10-24T02:47:31.822Z] ---> 26eb70a8e0db [2020-10-24T02:47:31.822Z] Successfully built 26eb70a8e0db [2020-10-24T02:47:31.822Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:47:32.238Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:47:32.238Z] . [Pipeline] withDockerContainer [2020-10-24T02:47:32.516Z] prd-ubuntu18.04-docker-arm64-4c-16g-8594 does not seem to be running inside a container [2020-10-24T02:47:32.611Z] $ 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-arm64 cat [2020-10-24T02:47:34.755Z] $ docker top 4bb61b26ace73054ef551fef8d484e61ea29a850f643ea09b551878a2d03c454 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:47:36.180Z] + go version [2020-10-24T02:47:36.181Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-24T02:47:36.205Z] $ docker stop --time=1 4bb61b26ace73054ef551fef8d484e61ea29a850f643ea09b551878a2d03c454 [2020-10-24T02:47:38.101Z] $ docker rm -f 4bb61b26ace73054ef551fef8d484e61ea29a850f643ea09b551878a2d03c454 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:47:39.240Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:47:39.240Z] . [Pipeline] withDockerContainer [2020-10-24T02:47:39.510Z] prd-ubuntu18.04-docker-arm64-4c-16g-8594 does not seem to be running inside a container [2020-10-24T02:47:39.593Z] $ 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-arm64 cat [2020-10-24T02:47:41.617Z] $ docker top 5397dc9946e68773f07c3f4292ce65e0b16f71b275c5b6a8e85e7cca15d5aea2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:47:43.036Z] + make test [2020-10-24T02:47:43.036Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:48:05.263Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:48:44.299Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:48:44.299Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:48:44.299Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:48:44.299Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.132s coverage: 21.4% of statements [2020-10-24T02:48:46.285Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.217s coverage: 97.1% of statements [2020-10-24T02:49:18.634Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.204s coverage: 9.4% of statements [2020-10-24T02:49:18.634Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements [2020-10-24T02:49:18.634Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:49:18.634Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.585s coverage: 42.6% of statements [2020-10-24T02:49:18.634Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:49:18.634Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.779s coverage: 68.9% of statements [2020-10-24T02:49:18.634Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:49:18.634Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:49:18.634Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:49:18.634Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:49:18.635Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.211s coverage: 52.6% of statements [2020-10-24T02:49:18.635Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:49:18.635Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:49:18.635Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:49:18.635Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.768s coverage: 68.9% of statements [2020-10-24T02:49:18.635Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.137s coverage: 4.7% of statements [2020-10-24T02:49:18.635Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:49:18.635Z] GO111MODULE=on go vet ./... [2020-10-24T02:49:45.441Z] gofmt -l . [2020-10-24T02:49:45.441Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:49:45.441Z] ./bin/test-attribution-txt.sh [2020-10-24T02:49:45.441Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-24T02:49:45.460Z] Warning: overwriting stash ‘coverage-report’ [2020-10-24T02:49:46.440Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:49:46.448Z] $ docker stop --time=1 5397dc9946e68773f07c3f4292ce65e0b16f71b275c5b6a8e85e7cca15d5aea2 [2020-10-24T02:49:48.755Z] $ docker rm -f 5397dc9946e68773f07c3f4292ce65e0b16f71b275c5b6a8e85e7cca15d5aea2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:49:50.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:49:50.758Z] + ls -al . [2020-10-24T02:49:50.758Z] total 244 [2020-10-24T02:49:50.758Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 02:49 . [2020-10-24T02:49:50.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:46 .. [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 02:46 .dockerignore [2020-10-24T02:49:50.758Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 02:46 .git [2020-10-24T02:49:50.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:46 .github [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 24 02:46 .gitignore [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 24 02:46 Dockerfile.build [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 24 02:46 Jenkinsfile [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 02:46 LICENSE [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 24 02:46 Makefile [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 24 02:46 README.md [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 24 02:46 RELEASE-NOTES.txt [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 02:43 VERSION [2020-10-24T02:49:50.758Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:46 bin [2020-10-24T02:49:50.758Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 24 02:49 coverage.out [2020-10-24T02:49:50.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:46 example [2020-10-24T02:49:50.758Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 24 02:49 go.mod [2020-10-24T02:49:50.758Z] -rw-r--r-- 1 jenkins jenkins 13840 Oct 24 02:49 go.sum [2020-10-24T02:49:50.758Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 24 02:46 internal [2020-10-24T02:49:50.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:46 openapi [2020-10-24T02:49:50.758Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 02:46 pkg [2020-10-24T02:49:50.758Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:46 snap [2020-10-24T02:49:50.758Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:49:51.199Z] + 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=87ba3f747499c6e4dd0a8410046a07d0c7ffb20b --label arch=arm64 --label version=0.0.0 . [2020-10-24T02:49:51.802Z] Sending build context to Docker daemon 2.48MB [2020-10-24T02:49:51.802Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:49:51.802Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:49:51.802Z] ---> 26eb70a8e0db [2020-10-24T02:49:51.802Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:49:52.076Z] ---> Running in 9b086733ccd8 [2020-10-24T02:49:52.350Z] Removing intermediate container 9b086733ccd8 [2020-10-24T02:49:52.350Z] ---> 92abf3fd4236 [2020-10-24T02:49:52.350Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:49:52.621Z] ---> Running in b269a99605f0 [2020-10-24T02:49:52.892Z] Removing intermediate container b269a99605f0 [2020-10-24T02:49:52.892Z] ---> 5547c5d480ab [2020-10-24T02:49:52.892Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:49:53.166Z] ---> Running in 9ec715b7d63b [2020-10-24T02:49:53.438Z] Removing intermediate container 9ec715b7d63b [2020-10-24T02:49:53.438Z] ---> 9788ae36ab12 [2020-10-24T02:49:53.438Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:49:53.708Z] ---> Running in 48de8a7e1335 [2020-10-24T02:49:56.321Z] Removing intermediate container 48de8a7e1335 [2020-10-24T02:49:56.321Z] ---> 6a815e1aa36d [2020-10-24T02:49:56.321Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:49:56.321Z] ---> Running in db72ccde2c88 [2020-10-24T02:49:57.757Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:49:58.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:49:58.946Z] OK: 142 MiB in 39 packages [2020-10-24T02:49:59.918Z] Removing intermediate container db72ccde2c88 [2020-10-24T02:49:59.918Z] ---> 0510fb702447 [2020-10-24T02:49:59.918Z] Step 8/24 : COPY . . [2020-10-24T02:50:01.355Z] ---> 7b30cb256475 [2020-10-24T02:50:01.355Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:50:01.355Z] ---> Running in be3fa2ad3d41 [2020-10-24T02:50:02.804Z] 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:29.602Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:50:29.602Z] Removing intermediate container be3fa2ad3d41 [2020-10-24T02:50:29.602Z] ---> 62976f7acab1 [2020-10-24T02:50:29.602Z] Step 10/24 : FROM scratch [2020-10-24T02:50:29.602Z] ---> [2020-10-24T02:50:29.602Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:50:29.602Z] ---> Running in df6c1ae06f43 [2020-10-24T02:50:29.602Z] Removing intermediate container df6c1ae06f43 [2020-10-24T02:50:29.602Z] ---> 842fd3fb99de [2020-10-24T02:50:29.602Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:50:29.602Z] ---> Running in 655df67d3017 [2020-10-24T02:50:29.602Z] Removing intermediate container 655df67d3017 [2020-10-24T02:50:29.602Z] ---> 4558f055c5e3 [2020-10-24T02:50:29.602Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:50:29.602Z] ---> Running in b97e12e56050 [2020-10-24T02:50:29.872Z] Removing intermediate container b97e12e56050 [2020-10-24T02:50:29.872Z] ---> b049b0c94f45 [2020-10-24T02:50:29.872Z] Step 14/24 : WORKDIR / [2020-10-24T02:50:29.872Z] ---> Running in 98582cebca9b [2020-10-24T02:50:30.142Z] Removing intermediate container 98582cebca9b [2020-10-24T02:50:30.143Z] ---> f7062e3ace1c [2020-10-24T02:50:30.143Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:50:31.570Z] ---> ff88d0aca36e [2020-10-24T02:50:31.570Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:50:31.845Z] ---> 476578c680ec [2020-10-24T02:50:31.845Z] 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:32.439Z] ---> 053d3ec25ce1 [2020-10-24T02:50:32.439Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:50:33.421Z] ---> 3a73adb57443 [2020-10-24T02:50:33.421Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:50:34.014Z] ---> 25e5a804d281 [2020-10-24T02:50:34.014Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:50:34.014Z] ---> Running in 4acefe702515 [2020-10-24T02:50:34.604Z] Removing intermediate container 4acefe702515 [2020-10-24T02:50:34.604Z] ---> 5100ae68e132 [2020-10-24T02:50:34.604Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:50:34.604Z] ---> Running in a1a848f63e28 [2020-10-24T02:50:34.878Z] Removing intermediate container a1a848f63e28 [2020-10-24T02:50:34.878Z] ---> 9a8a16fe8f5b [2020-10-24T02:50:34.878Z] Step 22/24 : LABEL arch=arm64 [2020-10-24T02:50:35.149Z] ---> Running in 03faf9533c82 [2020-10-24T02:50:35.423Z] Removing intermediate container 03faf9533c82 [2020-10-24T02:50:35.423Z] ---> 07d0e3495c27 [2020-10-24T02:50:35.423Z] Step 23/24 : LABEL git_sha=87ba3f747499c6e4dd0a8410046a07d0c7ffb20b [2020-10-24T02:50:35.692Z] ---> Running in 9546371cf6fc [2020-10-24T02:50:35.962Z] Removing intermediate container 9546371cf6fc [2020-10-24T02:50:35.962Z] ---> 8c8cde880529 [2020-10-24T02:50:35.962Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:50:36.233Z] ---> Running in e441d3c12a6e [2020-10-24T02:50:36.507Z] Removing intermediate container e441d3c12a6e [2020-10-24T02:50:36.507Z] ---> 96b90882d62f [2020-10-24T02:50:36.507Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:50:36.507Z] Successfully built 96b90882d62f [2020-10-24T02:50:36.507Z] 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:38.803Z] provisioning config files... [2020-10-24T02:50:38.816Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-640@tmp/config1426658330332302331tmp [Pipeline] { [Pipeline] sh [2020-10-24T02:50:39.235Z] + set +x [2020-10-24T02:50:39.235Z] + curl -s https://codecov.io/bash [2020-10-24T02:50:39.235Z] + bash -s -- [2020-10-24T02:50:39.235Z] [2020-10-24T02:50:39.235Z] _____ _ [2020-10-24T02:50:39.235Z] / ____| | | [2020-10-24T02:50:39.235Z] | | ___ __| | ___ ___ _____ __ [2020-10-24T02:50:39.235Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-24T02:50:39.235Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-24T02:50:39.235Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-24T02:50:39.235Z] Bash-20201009-048fee3 [2020-10-24T02:50:39.235Z] [2020-10-24T02:50:39.235Z] [2020-10-24T02:50:39.235Z] ==> Jenkins CI detected. [2020-10-24T02:50:39.495Z] project root: . [2020-10-24T02:50:39.495Z] Fixing merge commit SHA [2020-10-24T02:50:39.495Z] --> token set from env [2020-10-24T02:50:39.495Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-24T02:50:39.495Z] ==> Running gcov in . (disable via -X gcov) [2020-10-24T02:50:39.495Z] ==> Python coveragepy not found [2020-10-24T02:50:39.495Z] ==> Searching for coverage reports in: [2020-10-24T02:50:39.495Z] + . [2020-10-24T02:50:39.495Z] -> Found 1 reports [2020-10-24T02:50:39.495Z] ==> Detecting git/mercurial file structure [2020-10-24T02:50:39.495Z] ==> Reading reports [2020-10-24T02:50:39.495Z] + ./coverage.out bytes=127611 [2020-10-24T02:50:39.495Z] ==> Appending adjustments [2020-10-24T02:50:39.495Z] https://docs.codecov.io/docs/fixing-reports [2020-10-24T02:50:39.757Z] + Found adjustments [2020-10-24T02:50:39.757Z] ==> Gzipping contents [2020-10-24T02:50:39.757Z] ==> Uploading reports [2020-10-24T02:50:39.757Z] url: https://codecov.io [2020-10-24T02:50:39.757Z] query: branch=PR-640&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-640%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=640&job=&cmd_args= [2020-10-24T02:50:39.757Z] -> Pinging Codecov [2020-10-24T02:50:39.757Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-640&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-640%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=640&job=&cmd_args= [2020-10-24T02:50:40.018Z] -> Uploading to [2020-10-24T02:50:40.018Z] [2020-10-24T02:50:40.018Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:50:40.018Z] Dload Upload Total Spent Left Speed [2020-10-24T02:50:40.018Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-24T02:50:40.018Z] X> Failed to upload [2020-10-24T02:50:40.018Z] ==> Uploading to Codecov [2020-10-24T02:50:40.018Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:50:40.018Z] Dload Upload Total Spent Left Speed [2020-10-24T02:50:40.557Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20970 100 110 100 20860 242 45942 --:--:-- --:--:-- --:--:-- 45947 [2020-10-24T02:50:40.557Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0bbcb663a9153978e7e9ef8c297d5988e58906d0 [Pipeline] } [2020-10-24T02:50:40.568Z] 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:43.318Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:43.883Z] ---> package-listing.sh [2020-10-24T02:50:43.883Z] ++ facter osfamily [2020-10-24T02:50:43.883Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-24T02:50:43.883Z] + OS_FAMILY=redhat [2020-10-24T02:50:43.883Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-640 [2020-10-24T02:50:43.883Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-24T02:50:43.883Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-24T02:50:43.883Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-24T02:50:43.883Z] + PACKAGES=/tmp/packages_start.txt [2020-10-24T02:50:43.883Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-640 ']' [2020-10-24T02:50:43.883Z] + PACKAGES=/tmp/packages_end.txt [2020-10-24T02:50:43.883Z] + case "${OS_FAMILY}" in [2020-10-24T02:50:43.883Z] + rpm -qa [2020-10-24T02:50:43.883Z] + sort [2020-10-24T02:50:47.189Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-24T02:50:47.189Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-24T02:50:47.189Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-24T02:50:47.189Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-640 ']' [2020-10-24T02:50:47.189Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-640/archives/ [2020-10-24T02:50:47.189Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-640/archives/ [Pipeline] echo [2020-10-24T02:50:47.202Z] 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-640/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:47.487Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:50:47.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:50:47.796Z] [2020-10-24T02:50:47.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:50:48.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:50:48.155Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-24T02:50:48.155Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:50:48.155Z] 36b3adc4ff6f: Pulling fs layer [2020-10-24T02:50:48.155Z] 8ad3a11d3b57: Pulling fs layer [2020-10-24T02:50:48.155Z] 46f8f816bc3b: Pulling fs layer [2020-10-24T02:50:48.155Z] 93b61091891f: Pulling fs layer [2020-10-24T02:50:48.155Z] 93b9cdb0e59b: Pulling fs layer [2020-10-24T02:50:48.155Z] 5e14af77c1be: Pulling fs layer [2020-10-24T02:50:48.155Z] 01666e4c0597: Pulling fs layer [2020-10-24T02:50:48.155Z] aa168da1d23b: Pulling fs layer [2020-10-24T02:50:48.155Z] 46f8f816bc3b: Waiting [2020-10-24T02:50:48.155Z] 93b61091891f: Waiting [2020-10-24T02:50:48.155Z] 93b9cdb0e59b: Waiting [2020-10-24T02:50:48.155Z] 01666e4c0597: Waiting [2020-10-24T02:50:48.155Z] 5e14af77c1be: Waiting [2020-10-24T02:50:48.155Z] aa168da1d23b: Waiting [2020-10-24T02:50:48.155Z] 36b3adc4ff6f: Download complete [2020-10-24T02:50:48.155Z] 46f8f816bc3b: Verifying Checksum [2020-10-24T02:50:48.155Z] 46f8f816bc3b: Download complete [2020-10-24T02:50:48.155Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:50:48.155Z] 93b9cdb0e59b: Verifying Checksum [2020-10-24T02:50:48.155Z] 93b9cdb0e59b: Download complete [2020-10-24T02:50:48.155Z] 5e14af77c1be: Verifying Checksum [2020-10-24T02:50:48.155Z] 5e14af77c1be: Download complete [2020-10-24T02:50:48.155Z] 93b61091891f: Verifying Checksum [2020-10-24T02:50:48.155Z] 93b61091891f: Download complete [2020-10-24T02:50:48.419Z] 01666e4c0597: Verifying Checksum [2020-10-24T02:50:48.419Z] 01666e4c0597: Download complete [2020-10-24T02:50:48.419Z] df20fa9351a1: Pull complete [2020-10-24T02:50:48.681Z] 36b3adc4ff6f: Pull complete [2020-10-24T02:50:48.952Z] 8ad3a11d3b57: Verifying Checksum [2020-10-24T02:50:48.952Z] 8ad3a11d3b57: Download complete [2020-10-24T02:50:49.547Z] 8ad3a11d3b57: Pull complete [2020-10-24T02:50:49.547Z] 46f8f816bc3b: Pull complete [2020-10-24T02:50:50.123Z] 93b61091891f: Pull complete [2020-10-24T02:50:50.123Z] 93b9cdb0e59b: Pull complete [2020-10-24T02:50:50.384Z] 5e14af77c1be: Pull complete [2020-10-24T02:50:50.384Z] 01666e4c0597: Pull complete [2020-10-24T02:50:50.384Z] aa168da1d23b: Verifying Checksum [2020-10-24T02:50:50.384Z] aa168da1d23b: Download complete [2020-10-24T02:50:57.005Z] aa168da1d23b: Pull complete [2020-10-24T02:50:57.005Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-24T02:50:57.005Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:50:57.005Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-24T02:50:57.158Z] prd-centos7-docker-4c-2g-8584 does not seem to be running inside a container [2020-10-24T02:50:57.205Z] $ 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-640/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-640 -v /w/workspace/dgexfoundry_device-sdk-go_PR-640:/w/workspace/dgexfoundry_device-sdk-go_PR-640:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-640@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-640@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:51:04.183Z] $ docker top c5a920193686df2758123b434325cdaf196bb06bdbdd6d985f3e90d9c687dcbd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:51:04.722Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-24T02:51:05.020Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-24T02:51:05.312Z] + ls /var/log/sa-host [2020-10-24T02:51:05.312Z] + sadf -c /var/log/sa-host/sa05 [2020-10-24T02:51:05.312Z] file_magic: OK [2020-10-24T02:51:05.312Z] HZ: Using current value: 100 [2020-10-24T02:51:05.312Z] file_header: OK [2020-10-24T02:51:05.312Z] 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:51:05.312Z] Statistics: [2020-10-24T02:51:05.312Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:51:05.312Z] File successfully converted to sysstat format version 12.2.1 [2020-10-24T02:51:05.312Z] + sadf -c /var/log/sa-host/sa24 [2020-10-24T02:51:05.312Z] file_magic: OK [2020-10-24T02:51:05.312Z] HZ: Using current value: 100 [2020-10-24T02:51:05.312Z] file_header: OK [2020-10-24T02:51:05.312Z] 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:51:05.312Z] Statistics: [2020-10-24T02:51:05.312Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:51:05.312Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-24T02:51:05.514Z] provisioning config files... [2020-10-24T02:51:05.528Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-640@tmp/config4528954550923079085tmp [Pipeline] { [Pipeline] echo [2020-10-24T02:51:05.622Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:05.915Z] ---> create-netrc.sh [Pipeline] } [2020-10-24T02:51:05.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-24T02:51:06.018Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:06.311Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-24T02:51:06.321Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:06.613Z] ---> sudo-logs.sh [2020-10-24T02:51:06.613Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-24T02:51:06.623Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:06.917Z] ---> job-cost.sh [2020-10-24T02:51:06.917Z] lf-activate-venv: SKIPPING [2020-10-24T02:51:06.917Z] INFO: No Stack... [2020-10-24T02:51:09.467Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-24T02:51:09.729Z] INFO: Archiving Costs [Pipeline] echo [2020-10-24T02:51:09.742Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:51:10.036Z] ---> logs-deploy.sh [2020-10-24T02:51:10.036Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-640/3 [2020-10-24T02:51:10.036Z] INFO: archiving workspace using pattern(s): [2020-10-24T02:51:11.952Z] Archives upload complete. [2020-10-24T02:51:11.952Z] INFO: archiving logs to Nexus