Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7+8b39936bc192f82b46677f7f05650a94960ef7f6 (984e5a204e473cb46b608ff323aa54eaa3a6ca80) 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-8355 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 Merging remotes/origin/master commit 8b39936bc192f82b46677f7f05650a94960ef7f6 into PR head commit ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 Merge succeeded, producing 0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 Checking out Revision 0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 (PR-638) > 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 > 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 8b39936bc192f82b46677f7f05650a94960ef7f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 # timeout=10 Commit message: "Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD" > git rev-list --no-walk ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-23T02:42:51.996Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-23T02:42:52.255Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-23T02:42:52.365Z] ========================================================= [2020-10-23T02:42:52.366Z] EdgeX Global Pipelines Version Info [2020-10-23T02:42:52.366Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:42:53.888Z] ------------------- [2020-10-23T02:42:53.888Z] stable info: [2020-10-23T02:42:53.888Z] ------------------- [2020-10-23T02:42:53.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-23T02:42:53.888Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-23T02:42:53.888Z] Message: update stable to v1.0.148 [2020-10-23T02:42:54.844Z] ------------------- [2020-10-23T02:42:54.844Z] experimental info: [2020-10-23T02:42:54.844Z] ------------------- [2020-10-23T02:42:54.844Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-23T02:42:54.844Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-23T02:42:54.844Z] Message: update experimental to v1.0.148 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-23T02:42:55.341Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-23T02:42:55.447Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-23T02:42:55.568Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-23T02:42:55.684Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-23T02:42:55.807Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-23T02:42:55.917Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-23T02:42:56.032Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-23T02:42:56.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-23T02:42:56.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-23T02:42:56.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-23T02:42:56.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-23T02:42:56.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-23T02:42:56.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-23T02:42:56.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-23T02:42:56.806Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-23T02:42:56.898Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-23T02:42:56.993Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-23T02:42:57.084Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-23T02:42:57.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-23T02:42:57.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-23T02:42:57.406Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-23T02:42:57.513Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-23T02:42:57.602Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-23T02:42:57.692Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-23T02:42:57.786Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-23T02:42:57.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-638 [Pipeline] echo [2020-10-23T02:42:57.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-638 [Pipeline] echo [2020-10-23T02:42:58.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-638 [Pipeline] echo [2020-10-23T02:42:58.154Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 [Pipeline] echo [2020-10-23T02:42:58.259Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0924d9d [Pipeline] echo [2020-10-23T02:42:58.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-23T02:42:58.978Z] + git log --format=format:%s -1 0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 [Pipeline] echo [2020-10-23T02:42:59.047Z] GIT_COMMIT: 0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6, Commit Message: Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD [Pipeline] echo [2020-10-23T02:42:59.097Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:42:59.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-23T02:42:59.977Z] [2020-10-23T02:42:59.977Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:43:00.330Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-23T02:43:00.330Z] latest: Pulling from edgex-devops/git-semver [2020-10-23T02:43:00.330Z] 31603596830f: Pulling fs layer [2020-10-23T02:43:00.330Z] 2a8b12db71e7: Pulling fs layer [2020-10-23T02:43:00.330Z] 6ca5941a6612: Pulling fs layer [2020-10-23T02:43:00.330Z] ecc8261a40a4: Pulling fs layer [2020-10-23T02:43:00.330Z] ecc8261a40a4: Waiting [2020-10-23T02:43:00.330Z] 2a8b12db71e7: Verifying Checksum [2020-10-23T02:43:00.330Z] 2a8b12db71e7: Download complete [2020-10-23T02:43:00.597Z] 31603596830f: Verifying Checksum [2020-10-23T02:43:00.597Z] 31603596830f: Download complete [2020-10-23T02:43:00.597Z] ecc8261a40a4: Verifying Checksum [2020-10-23T02:43:00.597Z] ecc8261a40a4: Download complete [2020-10-23T02:43:00.597Z] 6ca5941a6612: Verifying Checksum [2020-10-23T02:43:00.597Z] 6ca5941a6612: Download complete [2020-10-23T02:43:00.864Z] 31603596830f: Pull complete [2020-10-23T02:43:00.864Z] 2a8b12db71e7: Pull complete [2020-10-23T02:43:01.841Z] 6ca5941a6612: Pull complete [2020-10-23T02:43:02.106Z] ecc8261a40a4: Pull complete [2020-10-23T02:43:02.106Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-23T02:43:02.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-23T02:43:02.106Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-23T02:43:02.319Z] prd-centos7-docker-4c-2g-8355 does not seem to be running inside a container [2020-10-23T02:43:02.381Z] $ 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-23T02:43:04.678Z] $ docker top 19acdae1fe32519c81c688912d7d6a1f0ec0ac7683dd77a0d60f79fcb1b62352 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-23T02:43:04.977Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-23T02:43:04.977Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-23T02:43:05.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-23T02:43:05.206Z] $ docker exec 19acdae1fe32519c81c688912d7d6a1f0ec0ac7683dd77a0d60f79fcb1b62352 ssh-agent [2020-10-23T02:43:05.364Z] SSH_AUTH_SOCK=/tmp/ssh-y633izly5rqs/agent.13 [2020-10-23T02:43:05.364Z] SSH_AGENT_PID=19 [2020-10-23T02:43:05.376Z] Running ssh-add (command line suppressed) [2020-10-23T02:43:05.514Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_7556623300534607836.key (/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_7556623300534607836.key) [2020-10-23T02:43:05.563Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-23T02:43:05.904Z] + git tag --points-at HEAD [Pipeline] } [2020-10-23T02:43:06.008Z] $ docker exec --env ******** --env ******** 19acdae1fe32519c81c688912d7d6a1f0ec0ac7683dd77a0d60f79fcb1b62352 ssh-agent -k [2020-10-23T02:43:06.128Z] unset SSH_AUTH_SOCK; [2020-10-23T02:43:06.128Z] unset SSH_AGENT_PID; [2020-10-23T02:43:06.128Z] echo Agent pid 19 killed; [2020-10-23T02:43:06.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-23T02:43:06.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-23T02:43:06.322Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-23T02:43:06.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-23T02:43:06.485Z] $ docker exec 19acdae1fe32519c81c688912d7d6a1f0ec0ac7683dd77a0d60f79fcb1b62352 ssh-agent [2020-10-23T02:43:06.646Z] SSH_AUTH_SOCK=/tmp/ssh-vPoWZMYJtga0/agent.48 [2020-10-23T02:43:06.646Z] SSH_AGENT_PID=54 [2020-10-23T02:43:06.653Z] Running ssh-add (command line suppressed) [2020-10-23T02:43:06.776Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_8685519336624492089.key (/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/private_key_8685519336624492089.key) [2020-10-23T02:43:06.825Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-23T02:43:07.197Z] + git semver init [2020-10-23T02:43:07.197Z] # -> Open(): unable to determine branch for HEAD [2020-10-23T02:43:07.197Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-638/.git [2020-10-23T02:43:07.197Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-638 [2020-10-23T02:43:07.197Z] # $SEMVER_REMOTE_NAME = origin [2020-10-23T02:43:07.197Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-23T02:43:07.197Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-23T02:43:07.197Z] # $SEMVER_BRANCH = PR-638 [2020-10-23T02:43:07.197Z] # $SEMVER_TEMP = /tmp/semver-558921377 [2020-10-23T02:43:07.197Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-23T02:43:07.774Z] # '/tmp/semver-558921377' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-638/.semver' [2020-10-23T02:43:07.774Z] # -> Force: false [2020-10-23T02:43:07.774Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-638/.semver [Pipeline] } [2020-10-23T02:43:07.788Z] $ docker exec --env ******** --env ******** 19acdae1fe32519c81c688912d7d6a1f0ec0ac7683dd77a0d60f79fcb1b62352 ssh-agent -k [2020-10-23T02:43:07.900Z] unset SSH_AUTH_SOCK; [2020-10-23T02:43:07.900Z] unset SSH_AGENT_PID; [2020-10-23T02:43:07.900Z] echo Agent pid 54 killed; [2020-10-23T02:43:07.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-23T02:43:08.414Z] + git semver [Pipeline] } [2020-10-23T02:43:08.438Z] $ docker stop --time=1 19acdae1fe32519c81c688912d7d6a1f0ec0ac7683dd77a0d60f79fcb1b62352 [2020-10-23T02:43:09.838Z] $ docker rm -f 19acdae1fe32519c81c688912d7d6a1f0ec0ac7683dd77a0d60f79fcb1b62352 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-23T02:43:10.314Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-23T02:43:10.715Z] Stashed 1 file(s) [Pipeline] echo [2020-10-23T02:43:10.717Z] [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-23T02:43:26.371Z] Still waiting to schedule task [2020-10-23T02:43:26.371Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-8357’ 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’ [2020-10-23T02:43:26.374Z] Still waiting to schedule task [2020-10-23T02:43:26.374Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-23T02:44:38.681Z] Running on prd-centos7-docker-4c-2g-8360 in /w/workspace/dgexfoundry_device-sdk-go_PR-638 [Pipeline] { [Pipeline] ws [2020-10-23T02:44:38.742Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-23T02:44:41.728Z] using credential edgex-jenkins-ssh [2020-10-23T02:44:41.784Z] Cloning the remote Git repository [2020-10-23T02:44:41.817Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:44:41.890Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-23T02:44:41.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:44:41.948Z] > git --version # timeout=10 [2020-10-23T02:44:41.957Z] > git --version # 'git version 2.16.5' [2020-10-23T02:44:41.957Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:44:41.987Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:44:43.251Z] Merging remotes/origin/master commit 8b39936bc192f82b46677f7f05650a94960ef7f6 into PR head commit ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 [2020-10-23T02:44:43.398Z] Merge succeeded, producing eed80486ab273bcce215d46cd195935cf24a3346 [2020-10-23T02:44:43.398Z] Checking out Revision eed80486ab273bcce215d46cd195935cf24a3346 (PR-638) [2020-10-23T02:44:42.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:44:42.809Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:44:42.825Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:44:42.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:44:42.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:44:42.847Z] > 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-23T02:44:43.263Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:44:43.269Z] > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 [2020-10-23T02:44:43.332Z] > git remote # timeout=10 [2020-10-23T02:44:43.340Z] > git config --get remote.origin.url # timeout=10 [2020-10-23T02:44:43.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:44:43.360Z] > git merge 8b39936bc192f82b46677f7f05650a94960ef7f6 # timeout=10 [2020-10-23T02:44:43.394Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-23T02:44:43.404Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:44:43.409Z] > git checkout -f eed80486ab273bcce215d46cd195935cf24a3346 # timeout=10 [2020-10-23T02:44:47.240Z] Commit message: "Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD" [2020-10-23T02:44:47.246Z] > git rev-list --no-walk ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-23T02:44:48.048Z] ========================================================= [2020-10-23T02:44:48.048Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-23T02:44:48.048Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:44:48.731Z] + 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-23T02:44:49.316Z] Sending build context to Docker daemon 2.34MB [2020-10-23T02:44:49.316Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-23T02:44:49.316Z] Step 2/8 : FROM ${BASE} [2020-10-23T02:44:49.316Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-23T02:44:49.316Z] df20fa9351a1: Pulling fs layer [2020-10-23T02:44:49.316Z] ed8968b2872e: Pulling fs layer [2020-10-23T02:44:49.316Z] a92cc7c5fd73: Pulling fs layer [2020-10-23T02:44:49.316Z] e871e8e8d7a9: Pulling fs layer [2020-10-23T02:44:49.316Z] e73272ec9a57: Pulling fs layer [2020-10-23T02:44:49.316Z] 1e910a182e73: Pulling fs layer [2020-10-23T02:44:49.316Z] 4e634b169226: Pulling fs layer [2020-10-23T02:44:49.316Z] e871e8e8d7a9: Waiting [2020-10-23T02:44:49.316Z] e73272ec9a57: Waiting [2020-10-23T02:44:49.316Z] 4e634b169226: Waiting [2020-10-23T02:44:49.316Z] 1e910a182e73: Waiting [2020-10-23T02:44:49.316Z] a92cc7c5fd73: Verifying Checksum [2020-10-23T02:44:49.316Z] a92cc7c5fd73: Download complete [2020-10-23T02:44:49.316Z] ed8968b2872e: Verifying Checksum [2020-10-23T02:44:49.316Z] ed8968b2872e: Download complete [2020-10-23T02:44:49.316Z] e73272ec9a57: Verifying Checksum [2020-10-23T02:44:49.316Z] e73272ec9a57: Download complete [2020-10-23T02:44:49.316Z] 1e910a182e73: Verifying Checksum [2020-10-23T02:44:49.316Z] 1e910a182e73: Download complete [2020-10-23T02:44:49.893Z] df20fa9351a1: Download complete [2020-10-23T02:44:50.160Z] df20fa9351a1: Pull complete [2020-10-23T02:44:50.160Z] ed8968b2872e: Pull complete [2020-10-23T02:44:50.426Z] a92cc7c5fd73: Pull complete [2020-10-23T02:44:51.823Z] 4e634b169226: Download complete [2020-10-23T02:44:52.400Z] e871e8e8d7a9: Verifying Checksum [2020-10-23T02:44:52.400Z] e871e8e8d7a9: Download complete [2020-10-23T02:44:57.726Z] e871e8e8d7a9: Pull complete [2020-10-23T02:44:57.997Z] e73272ec9a57: Pull complete [2020-10-23T02:44:57.997Z] 1e910a182e73: Pull complete [2020-10-23T02:45:04.640Z] 4e634b169226: Pull complete [2020-10-23T02:45:04.640Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-23T02:45:04.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-23T02:45:04.905Z] ---> f7629b54cfaa [2020-10-23T02:45:04.905Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:45:05.169Z] ---> Running in 1fbb79daffc3 [2020-10-23T02:45:05.437Z] Removing intermediate container 1fbb79daffc3 [2020-10-23T02:45:05.437Z] ---> e477085e6897 [2020-10-23T02:45:05.437Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:45:05.437Z] ---> Running in 09f2849d29e4 [2020-10-23T02:45:06.398Z] Removing intermediate container 09f2849d29e4 [2020-10-23T02:45:06.398Z] ---> 705294a05e9c [2020-10-23T02:45:06.398Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-23T02:45:06.662Z] ---> Running in 2ac4b62b757b [2020-10-23T02:45:07.618Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-23T02:45:08.195Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-23T02:45:08.773Z] OK: 166 MiB in 39 packages [2020-10-23T02:45:09.350Z] Removing intermediate container 2ac4b62b757b [2020-10-23T02:45:09.350Z] ---> a9f6e3e97f3d [2020-10-23T02:45:09.350Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-23T02:45:09.350Z] ---> Running in 9a876f35893a [2020-10-23T02:45:09.615Z] Removing intermediate container 9a876f35893a [2020-10-23T02:45:09.615Z] ---> c69b0e07f5e4 [2020-10-23T02:45:09.615Z] Step 7/8 : COPY . . [2020-10-23T02:45:11.011Z] ---> bf5c9235a09f [2020-10-23T02:45:11.011Z] Step 8/8 : RUN go mod download [2020-10-23T02:45:11.011Z] ---> Running in 1688df61a595 [2020-10-23T02:45:29.215Z] Removing intermediate container 1688df61a595 [2020-10-23T02:45:29.215Z] ---> dead7529986b [2020-10-23T02:45:29.215Z] Successfully built dead7529986b [2020-10-23T02:45:29.215Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:45:29.598Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-23T02:45:29.598Z] . [Pipeline] withDockerContainer [2020-10-23T02:45:29.802Z] prd-centos7-docker-4c-2g-8360 does not seem to be running inside a container [2020-10-23T02:45:29.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-23T02:45:31.310Z] $ docker top a086dc6895bd58e37af840febe0c08fe9c3d4872f93e38f9cb8bfea683d3ee95 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:45:31.898Z] + go version [2020-10-23T02:45:31.899Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-23T02:45:31.917Z] $ docker stop --time=1 a086dc6895bd58e37af840febe0c08fe9c3d4872f93e38f9cb8bfea683d3ee95 [2020-10-23T02:45:33.290Z] $ docker rm -f a086dc6895bd58e37af840febe0c08fe9c3d4872f93e38f9cb8bfea683d3ee95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:45:34.216Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-23T02:45:34.217Z] . [Pipeline] withDockerContainer [2020-10-23T02:45:34.317Z] prd-centos7-docker-4c-2g-8360 does not seem to be running inside a container [2020-10-23T02:45:34.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-23T02:45:35.094Z] $ docker top d038770ab03bf56f8edfd009df7b2446d644c0a2f61e92068bd91c2220ab73f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:45:35.611Z] + make test [2020-10-23T02:45:35.612Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-23T02:45:43.853Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-23T02:45:58.851Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-23T02:45:58.851Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-23T02:45:58.851Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-23T02:45:58.851Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.054s coverage: 21.4% of statements [2020-10-23T02:45:58.851Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.470s coverage: 97.1% of statements [2020-10-23T02:46:31.044Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.050s coverage: 9.4% of statements [2020-10-23T02:46:31.044Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements [2020-10-23T02:46:31.044Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-23T02:46:31.044Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.231s coverage: 42.6% of statements [2020-10-23T02:46:31.044Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-23T02:46:31.044Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.264s coverage: 68.9% of statements [2020-10-23T02:46:31.044Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-23T02:46:31.044Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-23T02:46:31.044Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-23T02:46:31.044Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-23T02:46:31.044Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.078s coverage: 52.6% of statements [2020-10-23T02:46:31.044Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-23T02:46:31.044Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-23T02:46:31.045Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-23T02:46:31.045Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.360s coverage: 68.9% of statements [2020-10-23T02:46:31.045Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-23T02:46:31.045Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-23T02:46:31.045Z] GO111MODULE=on go vet ./... [2020-10-23T02:46:36.830Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8365 in /w/workspace/dgexfoundry_device-sdk-go_PR-638 [Pipeline] { [Pipeline] ws [2020-10-23T02:46:36.892Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-23T02:46:37.747Z] gofmt -l . [2020-10-23T02:46:37.747Z] [ "`gofmt -l .`" = "" ] [2020-10-23T02:46:37.747Z] ./bin/test-attribution-txt.sh [2020-10-23T02:46:37.747Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-23T02:46:38.410Z] Stashed 1 file(s) [Pipeline] } [2020-10-23T02:46:38.420Z] $ docker stop --time=1 d038770ab03bf56f8edfd009df7b2446d644c0a2f61e92068bd91c2220ab73f6 [2020-10-23T02:46:40.372Z] $ docker rm -f d038770ab03bf56f8edfd009df7b2446d644c0a2f61e92068bd91c2220ab73f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-23T02:46:41.991Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-23T02:46:42.231Z] using credential edgex-jenkins-ssh [2020-10-23T02:46:42.294Z] Cloning the remote Git repository [2020-10-23T02:46:42.297Z] + ls -al . [2020-10-23T02:46:42.297Z] total 188 [2020-10-23T02:46:42.297Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 23 02:46 . [2020-10-23T02:46:42.297Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 23 02:44 .. [2020-10-23T02:46:42.298Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 23 02:44 bin [2020-10-23T02:46:42.298Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 23 02:46 coverage.out [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 23 02:44 Dockerfile.build [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 23 02:44 .dockerignore [2020-10-23T02:46:42.298Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 23 02:44 example [2020-10-23T02:46:42.298Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 23 02:44 .git [2020-10-23T02:46:42.298Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 23 02:44 .github [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 23 02:44 .gitignore [2020-10-23T02:46:42.298Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 23 02:46 go.mod [2020-10-23T02:46:42.298Z] -rw-r--r--. 1 jenkins jenkins 13545 Oct 23 02:46 go.sum [2020-10-23T02:46:42.298Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 23 02:44 internal [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 23 02:44 Jenkinsfile [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 23 02:44 LICENSE [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 23 02:44 Makefile [2020-10-23T02:46:42.298Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 23 02:44 openapi [2020-10-23T02:46:42.298Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 23 02:44 pkg [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 23 02:44 README.md [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 23 02:44 RELEASE-NOTES.txt [2020-10-23T02:46:42.298Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 23 02:44 snap [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 23 02:43 VERSION [2020-10-23T02:46:42.298Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 23 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:46:42.607Z] + 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=0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 --label arch=amd64 --label version=0.0.0 . [2020-10-23T02:46:42.869Z] Sending build context to Docker daemon 2.451MB [2020-10-23T02:46:42.869Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-23T02:46:42.869Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-23T02:46:42.869Z] ---> dead7529986b [2020-10-23T02:46:42.869Z] Step 3/24 : ARG MAKE='make build' [2020-10-23T02:46:42.369Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:46:42.495Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-23T02:46:42.583Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:46:42.584Z] > git --version # timeout=10 [2020-10-23T02:46:42.611Z] > git --version # 'git version 2.17.1' [2020-10-23T02:46:42.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:46:42.688Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:46:43.445Z] ---> Running in 3e0a96a6063b [2020-10-23T02:46:43.445Z] Removing intermediate container 3e0a96a6063b [2020-10-23T02:46:43.445Z] ---> f993e323b33a [2020-10-23T02:46:43.445Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-23T02:46:43.710Z] ---> Running in 68593ea722b0 [2020-10-23T02:46:43.710Z] Removing intermediate container 68593ea722b0 [2020-10-23T02:46:43.710Z] ---> 3bdc666a0671 [2020-10-23T02:46:43.710Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:46:43.710Z] ---> Running in 7aa8029817e0 [2020-10-23T02:46:43.972Z] Removing intermediate container 7aa8029817e0 [2020-10-23T02:46:43.972Z] ---> 845ece40cff7 [2020-10-23T02:46:43.972Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:46:43.972Z] ---> Running in 9b2d0b35b4f2 [2020-10-23T02:46:44.489Z] Merging remotes/origin/master commit 8b39936bc192f82b46677f7f05650a94960ef7f6 into PR head commit ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 [2020-10-23T02:46:43.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:46:43.851Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-23T02:46:43.887Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-23T02:46:43.943Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-23T02:46:43.944Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:46:43.958Z] > 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-23T02:46:44.515Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:46:44.531Z] > git checkout -f ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 [2020-10-23T02:46:44.932Z] Removing intermediate container 9b2d0b35b4f2 [2020-10-23T02:46:44.932Z] ---> 505191869648 [2020-10-23T02:46:44.932Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-23T02:46:44.949Z] Merge succeeded, producing 1467dd538c53ddf1f65811ec591d19a482a179a4 [2020-10-23T02:46:44.950Z] Checking out Revision 1467dd538c53ddf1f65811ec591d19a482a179a4 (PR-638) [2020-10-23T02:46:45.200Z] ---> Running in 4ca88b3e4919 [2020-10-23T02:46:45.777Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-23T02:46:44.723Z] > git remote # timeout=10 [2020-10-23T02:46:44.770Z] > git config --get remote.origin.url # timeout=10 [2020-10-23T02:46:44.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-23T02:46:44.822Z] > git merge 8b39936bc192f82b46677f7f05650a94960ef7f6 # timeout=10 [2020-10-23T02:46:44.937Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-23T02:46:44.961Z] > git config core.sparsecheckout # timeout=10 [2020-10-23T02:46:44.975Z] > git checkout -f 1467dd538c53ddf1f65811ec591d19a482a179a4 # timeout=10 [2020-10-23T02:46:47.170Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-23T02:46:49.109Z] OK: 166 MiB in 39 packages [2020-10-23T02:46:49.320Z] Commit message: "Merge commit '8b39936bc192f82b46677f7f05650a94960ef7f6' into HEAD" [2020-10-23T02:46:49.371Z] Removing intermediate container 4ca88b3e4919 [2020-10-23T02:46:49.371Z] ---> cbd15b910afc [2020-10-23T02:46:49.371Z] Step 8/24 : COPY . . [2020-10-23T02:46:49.332Z] > git rev-list --no-walk ca4cf48f29a5cb9a53c68c529d9c449c8de69ee7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-23T02:46:50.198Z] ========================================================= [2020-10-23T02:46:50.198Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-23T02:46:50.198Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:46:50.770Z] ---> d2d4adf082f6 [2020-10-23T02:46:50.770Z] Step 9/24 : RUN ${MAKE} [2020-10-23T02:46:50.770Z] ---> Running in c6777fa1e78f [2020-10-23T02:46:51.033Z] 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-23T02:46:51.220Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-23T02:46:52.211Z] Sending build context to Docker daemon 2.34MB [2020-10-23T02:46:52.211Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-23T02:46:52.211Z] Step 2/8 : FROM ${BASE} [2020-10-23T02:46:52.485Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-23T02:46:52.485Z] b538f80385f9: Pulling fs layer [2020-10-23T02:46:52.485Z] 74f711af9a0d: Pulling fs layer [2020-10-23T02:46:52.485Z] 99f96fe45779: Pulling fs layer [2020-10-23T02:46:52.485Z] 8529a6b9a6be: Pulling fs layer [2020-10-23T02:46:52.485Z] 45590311c82a: Pulling fs layer [2020-10-23T02:46:52.485Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-23T02:46:52.485Z] 209524e5b208: Pulling fs layer [2020-10-23T02:46:52.485Z] 8529a6b9a6be: Waiting [2020-10-23T02:46:52.485Z] 69ca0ff8b7b3: Waiting [2020-10-23T02:46:52.485Z] 45590311c82a: Waiting [2020-10-23T02:46:52.485Z] 209524e5b208: Waiting [2020-10-23T02:46:52.485Z] 99f96fe45779: Verifying Checksum [2020-10-23T02:46:52.485Z] 99f96fe45779: Download complete [2020-10-23T02:46:52.485Z] 74f711af9a0d: Verifying Checksum [2020-10-23T02:46:52.485Z] 74f711af9a0d: Download complete [2020-10-23T02:46:52.759Z] 45590311c82a: Verifying Checksum [2020-10-23T02:46:52.759Z] 45590311c82a: Download complete [2020-10-23T02:46:53.037Z] 69ca0ff8b7b3: Download complete [2020-10-23T02:46:53.037Z] b538f80385f9: Verifying Checksum [2020-10-23T02:46:53.037Z] b538f80385f9: Download complete [2020-10-23T02:46:53.644Z] b538f80385f9: Pull complete [2020-10-23T02:46:54.249Z] 74f711af9a0d: Pull complete [2020-10-23T02:46:54.533Z] 99f96fe45779: Pull complete [2020-10-23T02:46:55.527Z] 209524e5b208: Verifying Checksum [2020-10-23T02:46:55.527Z] 209524e5b208: Download complete [2020-10-23T02:46:56.515Z] 8529a6b9a6be: Verifying Checksum [2020-10-23T02:46:56.515Z] 8529a6b9a6be: Download complete [2020-10-23T02:46:59.318Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-23T02:47:00.714Z] Removing intermediate container c6777fa1e78f [2020-10-23T02:47:00.714Z] ---> e14a5e14d99a [2020-10-23T02:47:00.714Z] Step 10/24 : FROM scratch [2020-10-23T02:47:00.714Z] ---> [2020-10-23T02:47:00.714Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:47:00.981Z] ---> Running in c4534b1af3e1 [2020-10-23T02:47:01.247Z] Removing intermediate container c4534b1af3e1 [2020-10-23T02:47:01.247Z] ---> 647febe48e5e [2020-10-23T02:47:01.247Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-23T02:47:01.247Z] ---> Running in 8e402710acc0 [2020-10-23T02:47:01.247Z] Removing intermediate container 8e402710acc0 [2020-10-23T02:47:01.247Z] ---> 8d55a1d37c90 [2020-10-23T02:47:01.247Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-23T02:47:01.247Z] ---> Running in b33e9f46f678 [2020-10-23T02:47:01.517Z] Removing intermediate container b33e9f46f678 [2020-10-23T02:47:01.517Z] ---> bd6e37ce2338 [2020-10-23T02:47:01.517Z] Step 14/24 : WORKDIR / [2020-10-23T02:47:01.517Z] ---> Running in 43389ac6e446 [2020-10-23T02:47:01.798Z] Removing intermediate container 43389ac6e446 [2020-10-23T02:47:01.798Z] ---> b356c3e27ca9 [2020-10-23T02:47:01.798Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-23T02:47:02.373Z] ---> 8a9a31776ba6 [2020-10-23T02:47:02.373Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-23T02:47:02.373Z] ---> 5c1835175e0b [2020-10-23T02:47:02.373Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-23T02:47:02.636Z] ---> fb84ffec0b10 [2020-10-23T02:47:02.636Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-23T02:47:02.902Z] ---> 48c4c361a93c [2020-10-23T02:47:02.902Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-23T02:47:03.166Z] ---> 9b1fb1097861 [2020-10-23T02:47:03.166Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-23T02:47:03.166Z] ---> Running in 77bc63707a6a [2020-10-23T02:47:03.431Z] Removing intermediate container 77bc63707a6a [2020-10-23T02:47:03.431Z] ---> 7a17bb503ba1 [2020-10-23T02:47:03.431Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-23T02:47:03.431Z] ---> Running in 4454928adf26 [2020-10-23T02:47:03.697Z] Removing intermediate container 4454928adf26 [2020-10-23T02:47:03.697Z] ---> 379f0042e790 [2020-10-23T02:47:03.697Z] Step 22/24 : LABEL arch=amd64 [2020-10-23T02:47:03.697Z] ---> Running in 85b4ab0b61d1 [2020-10-23T02:47:03.960Z] Removing intermediate container 85b4ab0b61d1 [2020-10-23T02:47:03.960Z] ---> 0178016ecfae [2020-10-23T02:47:03.960Z] Step 23/24 : LABEL git_sha=0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 [2020-10-23T02:47:03.960Z] ---> Running in af1c442e466f [2020-10-23T02:47:04.224Z] Removing intermediate container af1c442e466f [2020-10-23T02:47:04.224Z] ---> 32269d5ebdb6 [2020-10-23T02:47:04.224Z] Step 24/24 : LABEL version=0.0.0 [2020-10-23T02:47:04.224Z] ---> Running in 3f8ae996d558 [2020-10-23T02:47:04.224Z] Removing intermediate container 3f8ae996d558 [2020-10-23T02:47:04.224Z] ---> 26d3a19c7f8b [2020-10-23T02:47:04.224Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-23T02:47:04.489Z] Successfully built 26d3a19c7f8b [2020-10-23T02:47:04.489Z] 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-23T02:47:06.673Z] 8529a6b9a6be: Pull complete [2020-10-23T02:47:06.673Z] 45590311c82a: Pull complete [2020-10-23T02:47:06.673Z] 69ca0ff8b7b3: Pull complete [2020-10-23T02:47:10.099Z] 209524e5b208: Pull complete [2020-10-23T02:47:10.099Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-23T02:47:10.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-23T02:47:10.099Z] ---> 5bddaf1c2fca [2020-10-23T02:47:10.099Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:47:12.747Z] ---> Running in 65200dab4f0b [2020-10-23T02:47:13.027Z] Removing intermediate container 65200dab4f0b [2020-10-23T02:47:13.027Z] ---> f08a4af22788 [2020-10-23T02:47:13.027Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:47:13.300Z] ---> Running in 25b8272ee449 [2020-10-23T02:47:15.943Z] Removing intermediate container 25b8272ee449 [2020-10-23T02:47:15.943Z] ---> 5d0539d8c981 [2020-10-23T02:47:15.943Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-23T02:47:15.943Z] ---> Running in ee9483758765 [2020-10-23T02:47:17.380Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-23T02:47:18.834Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-23T02:47:20.269Z] OK: 142 MiB in 39 packages [2020-10-23T02:47:21.723Z] Removing intermediate container ee9483758765 [2020-10-23T02:47:21.723Z] ---> eb88a454fcaa [2020-10-23T02:47:21.723Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-23T02:47:21.723Z] ---> Running in cf5c406e186c [2020-10-23T02:47:22.320Z] Removing intermediate container cf5c406e186c [2020-10-23T02:47:22.320Z] ---> dff6fe482f50 [2020-10-23T02:47:22.320Z] Step 7/8 : COPY . . [2020-10-23T02:47:23.301Z] ---> 1fff39796387 [2020-10-23T02:47:23.301Z] Step 8/8 : RUN go mod download [2020-10-23T02:47:23.574Z] ---> Running in 631e34a5c2d7 [2020-10-23T02:47:45.763Z] Removing intermediate container 631e34a5c2d7 [2020-10-23T02:47:45.763Z] ---> cc7a4bf3b218 [2020-10-23T02:47:45.763Z] Successfully built cc7a4bf3b218 [2020-10-23T02:47:45.763Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:47:46.171Z] + docker inspect -f . ci-base-image-arm64 [2020-10-23T02:47:46.171Z] . [Pipeline] withDockerContainer [2020-10-23T02:47:46.462Z] prd-ubuntu18.04-docker-arm64-4c-16g-8365 does not seem to be running inside a container [2020-10-23T02:47:46.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-23T02:47:48.521Z] $ docker top e16e4b361d39a4eded62036d5ac581f099b20bf3d115523984e5d1a6087906a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:47:49.956Z] + go version [2020-10-23T02:47:49.956Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-23T02:47:49.982Z] $ docker stop --time=1 e16e4b361d39a4eded62036d5ac581f099b20bf3d115523984e5d1a6087906a3 [2020-10-23T02:47:51.952Z] $ docker rm -f e16e4b361d39a4eded62036d5ac581f099b20bf3d115523984e5d1a6087906a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:47:53.034Z] + docker inspect -f . ci-base-image-arm64 [2020-10-23T02:47:53.034Z] . [Pipeline] withDockerContainer [2020-10-23T02:47:53.303Z] prd-ubuntu18.04-docker-arm64-4c-16g-8365 does not seem to be running inside a container [2020-10-23T02:47:53.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-23T02:47:55.347Z] $ docker top e09f5531827ba3852cd26f1193f94776c80a0886e4338d3b0e3178bbfd360808 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:47:56.744Z] + make test [2020-10-23T02:47:56.744Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-23T02:48:18.938Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-23T02:48:58.022Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-23T02:48:58.022Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-23T02:48:58.022Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-23T02:48:58.022Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.208s coverage: 21.4% of statements [2020-10-23T02:49:02.377Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.200s coverage: 97.1% of statements [2020-10-23T02:49:29.180Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.129s coverage: 9.4% of statements [2020-10-23T02:49:29.180Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.9% of statements [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-23T02:49:29.180Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.546s coverage: 42.6% of statements [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-23T02:49:29.180Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.838s coverage: 68.9% of statements [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-23T02:49:29.180Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.169s coverage: 52.6% of statements [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-23T02:49:29.180Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.652s coverage: 68.9% of statements [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-23T02:49:29.180Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-23T02:49:29.779Z] GO111MODULE=on go vet ./... [2020-10-23T02:50:02.198Z] gofmt -l . [2020-10-23T02:50:02.198Z] [ "`gofmt -l .`" = "" ] [2020-10-23T02:50:02.198Z] ./bin/test-attribution-txt.sh [2020-10-23T02:50:02.198Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-23T02:50:02.218Z] Warning: overwriting stash ‘coverage-report’ [2020-10-23T02:50:03.030Z] Stashed 1 file(s) [Pipeline] } [2020-10-23T02:50:03.042Z] $ docker stop --time=1 e09f5531827ba3852cd26f1193f94776c80a0886e4338d3b0e3178bbfd360808 [2020-10-23T02:50:05.285Z] $ docker rm -f e09f5531827ba3852cd26f1193f94776c80a0886e4338d3b0e3178bbfd360808 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-23T02:50:06.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-23T02:50:07.232Z] + ls -al . [2020-10-23T02:50:07.232Z] total 224 [2020-10-23T02:50:07.232Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 02:50 . [2020-10-23T02:50:07.232Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:46 .. [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 23 02:46 .dockerignore [2020-10-23T02:50:07.232Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 02:46 .git [2020-10-23T02:50:07.232Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 02:46 .github [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 23 02:46 .gitignore [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 23 02:46 Dockerfile.build [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 23 02:46 Jenkinsfile [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 23 02:46 LICENSE [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 23 02:46 Makefile [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 23 02:46 README.md [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 23 02:46 RELEASE-NOTES.txt [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 02:43 VERSION [2020-10-23T02:50:07.232Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 02:46 bin [2020-10-23T02:50:07.232Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 23 02:49 coverage.out [2020-10-23T02:50:07.232Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:46 example [2020-10-23T02:50:07.232Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 23 02:50 go.mod [2020-10-23T02:50:07.232Z] -rw-r--r-- 1 jenkins jenkins 13545 Oct 23 02:50 go.sum [2020-10-23T02:50:07.232Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 23 02:46 internal [2020-10-23T02:50:07.232Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:46 openapi [2020-10-23T02:50:07.232Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 23 02:46 pkg [2020-10-23T02:50:07.232Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 02:46 snap [2020-10-23T02:50:07.232Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 23 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:50:07.605Z] + 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=0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 --label arch=arm64 --label version=0.0.0 . [2020-10-23T02:50:08.230Z] Sending build context to Docker daemon 2.451MB [2020-10-23T02:50:08.231Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-23T02:50:08.231Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-23T02:50:08.231Z] ---> cc7a4bf3b218 [2020-10-23T02:50:08.231Z] Step 3/24 : ARG MAKE='make build' [2020-10-23T02:50:08.514Z] ---> Running in 79f34fdeeb6f [2020-10-23T02:50:08.788Z] Removing intermediate container 79f34fdeeb6f [2020-10-23T02:50:08.788Z] ---> b95115ee4c82 [2020-10-23T02:50:08.788Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-23T02:50:09.067Z] ---> Running in 8d036ad1a0d8 [2020-10-23T02:50:09.664Z] Removing intermediate container 8d036ad1a0d8 [2020-10-23T02:50:09.664Z] ---> 8e9c92bcfae3 [2020-10-23T02:50:09.664Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:50:09.664Z] ---> Running in 59b50f704d89 [2020-10-23T02:50:09.940Z] Removing intermediate container 59b50f704d89 [2020-10-23T02:50:09.940Z] ---> ccab560ba5b4 [2020-10-23T02:50:09.940Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-23T02:50:10.213Z] ---> Running in 3fcd1594e346 [2020-10-23T02:50:12.839Z] Removing intermediate container 3fcd1594e346 [2020-10-23T02:50:12.839Z] ---> 1c57ccc02c6d [2020-10-23T02:50:12.839Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-23T02:50:12.839Z] ---> Running in 1bf6cf4935fe [2020-10-23T02:50:14.275Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-23T02:50:14.870Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-23T02:50:16.297Z] OK: 142 MiB in 39 packages [2020-10-23T02:50:17.275Z] Removing intermediate container 1bf6cf4935fe [2020-10-23T02:50:17.275Z] ---> 8fe255ef141a [2020-10-23T02:50:17.275Z] Step 8/24 : COPY . . [2020-10-23T02:50:18.707Z] ---> 8d492cc448f2 [2020-10-23T02:50:18.707Z] Step 9/24 : RUN ${MAKE} [2020-10-23T02:50:18.707Z] ---> Running in c5daf1c3a5f8 [2020-10-23T02:50:20.138Z] 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-23T02:50:46.977Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-23T02:50:46.978Z] Removing intermediate container c5daf1c3a5f8 [2020-10-23T02:50:46.978Z] ---> 01694647cbf7 [2020-10-23T02:50:46.978Z] Step 10/24 : FROM scratch [2020-10-23T02:50:46.978Z] ---> [2020-10-23T02:50:46.978Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-23T02:50:47.251Z] ---> Running in ddb14326d8a2 [2020-10-23T02:50:47.527Z] Removing intermediate container ddb14326d8a2 [2020-10-23T02:50:47.527Z] ---> 89fb9136a778 [2020-10-23T02:50:47.527Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-23T02:50:47.800Z] ---> Running in 6f60e10d6fad [2020-10-23T02:50:48.072Z] Removing intermediate container 6f60e10d6fad [2020-10-23T02:50:48.072Z] ---> 0f17a444ea0a [2020-10-23T02:50:48.072Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-23T02:50:48.344Z] ---> Running in 287b6b9f4675 [2020-10-23T02:50:48.618Z] Removing intermediate container 287b6b9f4675 [2020-10-23T02:50:48.618Z] ---> d7e584ae5143 [2020-10-23T02:50:48.618Z] Step 14/24 : WORKDIR / [2020-10-23T02:50:48.894Z] ---> Running in d1ff43774dde [2020-10-23T02:50:49.489Z] Removing intermediate container d1ff43774dde [2020-10-23T02:50:49.489Z] ---> f9d2bc61a226 [2020-10-23T02:50:49.489Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-23T02:50:50.924Z] ---> f9bc8972bf8f [2020-10-23T02:50:50.924Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-23T02:50:51.519Z] ---> d2f3cb668282 [2020-10-23T02:50:51.519Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-23T02:50:52.112Z] ---> 156a64362f33 [2020-10-23T02:50:52.112Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-23T02:50:53.092Z] ---> 0a6682b09a6a [2020-10-23T02:50:53.092Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-23T02:50:53.689Z] ---> 85fcac109536 [2020-10-23T02:50:53.689Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-23T02:50:53.689Z] ---> Running in 7f3a7c8c97b3 [2020-10-23T02:50:54.287Z] Removing intermediate container 7f3a7c8c97b3 [2020-10-23T02:50:54.287Z] ---> bd6a6d9f5a23 [2020-10-23T02:50:54.287Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-23T02:50:54.287Z] ---> Running in 38438537b445 [2020-10-23T02:50:54.881Z] Removing intermediate container 38438537b445 [2020-10-23T02:50:54.881Z] ---> 26fb38e16f7d [2020-10-23T02:50:54.881Z] Step 22/24 : LABEL arch=arm64 [2020-10-23T02:50:54.881Z] ---> Running in bdcf70cc51ca [2020-10-23T02:50:55.159Z] Removing intermediate container bdcf70cc51ca [2020-10-23T02:50:55.159Z] ---> fee5cf44abcf [2020-10-23T02:50:55.159Z] Step 23/24 : LABEL git_sha=0924d9d43f4adc4c51b94a9da39dfd7a9f8d7eb6 [2020-10-23T02:50:55.433Z] ---> Running in 3cdc7ce97b38 [2020-10-23T02:50:56.028Z] Removing intermediate container 3cdc7ce97b38 [2020-10-23T02:50:56.028Z] ---> 7cf74060590e [2020-10-23T02:50:56.028Z] Step 24/24 : LABEL version=0.0.0 [2020-10-23T02:50:56.028Z] ---> Running in 0cb13fbb4e63 [2020-10-23T02:50:56.303Z] Removing intermediate container 0cb13fbb4e63 [2020-10-23T02:50:56.303Z] ---> 6b69ce426c42 [2020-10-23T02:50:56.303Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-23T02:50:56.303Z] Successfully built 6b69ce426c42 [2020-10-23T02:50:56.576Z] 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-23T02:50:58.213Z] provisioning config files... [2020-10-23T02:50:58.224Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/config6060668972806052016tmp [Pipeline] { [Pipeline] sh [2020-10-23T02:50:58.609Z] + set +x [2020-10-23T02:50:58.609Z] + curl -s https://codecov.io/bash [2020-10-23T02:50:58.609Z] + bash -s -- [2020-10-23T02:50:58.871Z] [2020-10-23T02:50:58.871Z] _____ _ [2020-10-23T02:50:58.871Z] / ____| | | [2020-10-23T02:50:58.871Z] | | ___ __| | ___ ___ _____ __ [2020-10-23T02:50:58.871Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-23T02:50:58.871Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-23T02:50:58.871Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-23T02:50:58.871Z] Bash-20201009-048fee3 [2020-10-23T02:50:58.871Z] [2020-10-23T02:50:58.871Z] [2020-10-23T02:50:58.871Z] ==> Jenkins CI detected. [2020-10-23T02:50:58.871Z] project root: . [2020-10-23T02:50:58.871Z] Fixing merge commit SHA [2020-10-23T02:50:58.871Z] --> token set from env [2020-10-23T02:50:58.871Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-23T02:50:58.871Z] ==> Running gcov in . (disable via -X gcov) [2020-10-23T02:50:58.871Z] ==> Python coveragepy not found [2020-10-23T02:50:58.871Z] ==> Searching for coverage reports in: [2020-10-23T02:50:58.871Z] + . [2020-10-23T02:50:58.871Z] -> Found 1 reports [2020-10-23T02:50:58.871Z] ==> Detecting git/mercurial file structure [2020-10-23T02:50:58.871Z] ==> Reading reports [2020-10-23T02:50:58.871Z] + ./coverage.out bytes=110398 [2020-10-23T02:50:58.871Z] ==> Appending adjustments [2020-10-23T02:50:58.871Z] https://docs.codecov.io/docs/fixing-reports [2020-10-23T02:50:59.446Z] + Found adjustments [2020-10-23T02:50:59.446Z] ==> Gzipping contents [2020-10-23T02:50:59.446Z] ==> Uploading reports [2020-10-23T02:50:59.446Z] url: https://codecov.io [2020-10-23T02:50:59.446Z] query: branch=PR-638&commit=8b39936bc192f82b46677f7f05650a94960ef7f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-638%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=638&job=&cmd_args= [2020-10-23T02:50:59.446Z] -> Pinging Codecov [2020-10-23T02:50:59.446Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-638&commit=8b39936bc192f82b46677f7f05650a94960ef7f6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-638%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=638&job=&cmd_args= [2020-10-23T02:50:59.446Z] -> Uploading to [2020-10-23T02:50:59.446Z] [2020-10-23T02:50:59.446Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-23T02:50:59.446Z] Dload Upload Total Spent Left Speed [2020-10-23T02:50:59.446Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-23T02:50:59.446Z] X> Failed to upload [2020-10-23T02:50:59.446Z] ==> Uploading to Codecov [2020-10-23T02:50:59.446Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-23T02:50:59.446Z] Dload Upload Total Spent Left Speed [2020-10-23T02:50:59.970Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19138 100 110 100 19028 229 39736 --:--:-- --:--:-- --:--:-- 39724 [2020-10-23T02:50:59.970Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8b39936bc192f82b46677f7f05650a94960ef7f6 [Pipeline] } [2020-10-23T02:50:59.980Z] 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-23T02:51:02.764Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:51:03.341Z] ---> package-listing.sh [2020-10-23T02:51:03.341Z] ++ facter osfamily [2020-10-23T02:51:03.341Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-23T02:51:03.341Z] + OS_FAMILY=redhat [2020-10-23T02:51:03.341Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-638 [2020-10-23T02:51:03.341Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-23T02:51:03.341Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-23T02:51:03.341Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-23T02:51:03.341Z] + PACKAGES=/tmp/packages_start.txt [2020-10-23T02:51:03.341Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-638 ']' [2020-10-23T02:51:03.341Z] + PACKAGES=/tmp/packages_end.txt [2020-10-23T02:51:03.341Z] + case "${OS_FAMILY}" in [2020-10-23T02:51:03.341Z] + rpm -qa [2020-10-23T02:51:03.341Z] + sort [2020-10-23T02:51:07.568Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-23T02:51:07.568Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-23T02:51:07.568Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-23T02:51:07.568Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-638 ']' [2020-10-23T02:51:07.568Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-638/archives/ [2020-10-23T02:51:07.568Z] + 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-23T02:51:07.583Z] 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-23T02:51:07.878Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:51:08.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-23T02:51:08.189Z] [2020-10-23T02:51:08.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-23T02:51:08.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-23T02:51:08.548Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-23T02:51:08.548Z] df20fa9351a1: Pulling fs layer [2020-10-23T02:51:08.548Z] 36b3adc4ff6f: Pulling fs layer [2020-10-23T02:51:08.548Z] 8ad3a11d3b57: Pulling fs layer [2020-10-23T02:51:08.548Z] 46f8f816bc3b: Pulling fs layer [2020-10-23T02:51:08.548Z] 93b61091891f: Pulling fs layer [2020-10-23T02:51:08.548Z] 93b9cdb0e59b: Pulling fs layer [2020-10-23T02:51:08.548Z] 5e14af77c1be: Pulling fs layer [2020-10-23T02:51:08.548Z] 01666e4c0597: Pulling fs layer [2020-10-23T02:51:08.548Z] aa168da1d23b: Pulling fs layer [2020-10-23T02:51:08.548Z] 93b9cdb0e59b: Waiting [2020-10-23T02:51:08.548Z] 5e14af77c1be: Waiting [2020-10-23T02:51:08.548Z] 01666e4c0597: Waiting [2020-10-23T02:51:08.548Z] aa168da1d23b: Waiting [2020-10-23T02:51:08.548Z] 46f8f816bc3b: Waiting [2020-10-23T02:51:08.548Z] 93b61091891f: Waiting [2020-10-23T02:51:08.548Z] 36b3adc4ff6f: Verifying Checksum [2020-10-23T02:51:08.548Z] 36b3adc4ff6f: Download complete [2020-10-23T02:51:08.548Z] 46f8f816bc3b: Download complete [2020-10-23T02:51:08.548Z] df20fa9351a1: Verifying Checksum [2020-10-23T02:51:08.548Z] df20fa9351a1: Download complete [2020-10-23T02:51:08.812Z] 93b9cdb0e59b: Download complete [2020-10-23T02:51:08.812Z] 93b61091891f: Verifying Checksum [2020-10-23T02:51:08.812Z] 93b61091891f: Download complete [2020-10-23T02:51:08.812Z] 5e14af77c1be: Verifying Checksum [2020-10-23T02:51:08.812Z] 5e14af77c1be: Download complete [2020-10-23T02:51:08.812Z] 01666e4c0597: Verifying Checksum [2020-10-23T02:51:08.812Z] 01666e4c0597: Download complete [2020-10-23T02:51:09.085Z] df20fa9351a1: Pull complete [2020-10-23T02:51:09.085Z] 8ad3a11d3b57: Verifying Checksum [2020-10-23T02:51:09.085Z] 8ad3a11d3b57: Download complete [2020-10-23T02:51:09.352Z] 36b3adc4ff6f: Pull complete [2020-10-23T02:51:09.937Z] 8ad3a11d3b57: Pull complete [2020-10-23T02:51:10.213Z] 46f8f816bc3b: Pull complete [2020-10-23T02:51:10.477Z] 93b61091891f: Pull complete [2020-10-23T02:51:10.743Z] 93b9cdb0e59b: Pull complete [2020-10-23T02:51:10.743Z] 5e14af77c1be: Pull complete [2020-10-23T02:51:11.011Z] aa168da1d23b: Verifying Checksum [2020-10-23T02:51:11.011Z] aa168da1d23b: Download complete [2020-10-23T02:51:11.011Z] 01666e4c0597: Pull complete [2020-10-23T02:51:19.212Z] aa168da1d23b: Pull complete [2020-10-23T02:51:19.212Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-23T02:51:19.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-23T02:51:19.212Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-23T02:51:19.441Z] prd-centos7-docker-4c-2g-8355 does not seem to be running inside a container [2020-10-23T02:51:19.496Z] $ 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-23T02:51:25.776Z] $ docker top 043b43509e6760cb5775ec72f4994242a1b54e345059f65557a3fcd20bdbfb66 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-23T02:51:26.320Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-23T02:51:26.624Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-23T02:51:26.924Z] + ls /var/log/sa-host [2020-10-23T02:51:26.924Z] + sadf -c /var/log/sa-host/sa05 [2020-10-23T02:51:26.924Z] file_magic: OK [2020-10-23T02:51:26.924Z] HZ: Using current value: 100 [2020-10-23T02:51:26.924Z] file_header: OK [2020-10-23T02:51:26.924Z] 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-23T02:51:26.924Z] Statistics: [2020-10-23T02:51:26.924Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-23T02:51:26.924Z] File successfully converted to sysstat format version 12.2.1 [2020-10-23T02:51:26.924Z] + sadf -c /var/log/sa-host/sa23 [2020-10-23T02:51:26.924Z] file_magic: OK [2020-10-23T02:51:26.924Z] HZ: Using current value: 100 [2020-10-23T02:51:26.924Z] file_header: OK [2020-10-23T02:51:26.924Z] 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-23T02:51:26.924Z] Statistics: [2020-10-23T02:51:26.924Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-23T02:51:26.924Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-23T02:51:27.135Z] provisioning config files... [2020-10-23T02:51:27.156Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-638@tmp/config1082299429536751388tmp [Pipeline] { [Pipeline] echo [2020-10-23T02:51:27.267Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:51:27.572Z] ---> create-netrc.sh [Pipeline] } [2020-10-23T02:51:27.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-23T02:51:27.682Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:51:27.985Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-23T02:51:27.996Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:51:28.294Z] ---> sudo-logs.sh [2020-10-23T02:51:28.294Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-23T02:51:28.309Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:51:28.608Z] ---> job-cost.sh [2020-10-23T02:51:28.609Z] lf-activate-venv: SKIPPING [2020-10-23T02:51:28.609Z] INFO: No Stack... [2020-10-23T02:51:29.999Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-23T02:51:30.261Z] INFO: Archiving Costs [Pipeline] echo [2020-10-23T02:51:30.276Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-23T02:51:30.576Z] ---> logs-deploy.sh [2020-10-23T02:51:30.576Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-638/2 [2020-10-23T02:51:30.576Z] INFO: archiving workspace using pattern(s): [2020-10-23T02:51:32.498Z] Archives upload complete. [2020-10-23T02:51:32.498Z] INFO: archiving logs to Nexus