Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5c193f582c261f6dda3e0a4faf843856b5ce4cf5+0bbcb663a9153978e7e9ef8c297d5988e58906d0 (1108313983180e7f901bcfe8d4e23335328fdbd6) 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-8582 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [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-639 # 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 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 Merge succeeded, producing b567a72bdcddf3a9f2ec9adeae1c475825f625f6 Checking out Revision b567a72bdcddf3a9f2ec9adeae1c475825f625f6 (PR-639) > 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/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # 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 b567a72bdcddf3a9f2ec9adeae1c475825f625f6 # timeout=10 Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 2b64c87a378923a343546f60b4d65a3a76084f7c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-24T02:42:26.294Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-24T02:42:26.736Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-24T02:42:26.842Z] ========================================================= [2020-10-24T02:42:26.842Z] EdgeX Global Pipelines Version Info [2020-10-24T02:42:26.842Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:42:28.346Z] ------------------- [2020-10-24T02:42:28.346Z] stable info: [2020-10-24T02:42:28.346Z] ------------------- [2020-10-24T02:42:28.346Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-24T02:42:28.346Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-24T02:42:28.346Z] Message: update stable to v1.0.148 [2020-10-24T02:42:29.300Z] ------------------- [2020-10-24T02:42:29.300Z] experimental info: [2020-10-24T02:42:29.300Z] ------------------- [2020-10-24T02:42:29.300Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-24T02:42:29.300Z] Commit SHA: 2701555fd48d7f7017006eef04e32eb767bac8dc [2020-10-24T02:42:29.300Z] Message: update experimental to v1.0.151 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-24T02:42:29.695Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-24T02:42:29.801Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-24T02:42:29.896Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-24T02:42:29.990Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-24T02:42:30.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-24T02:42:30.308Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-24T02:42:30.455Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-24T02:42:30.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-24T02:42:30.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-24T02:42:30.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-24T02:42:30.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-24T02:42:31.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-24T02:42:31.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-24T02:42:31.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-24T02:42:31.348Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-24T02:42:31.465Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:42:31.562Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:42:31.660Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-24T02:42:31.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-24T02:42:31.864Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-24T02:42:31.969Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-24T02:42:32.081Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-24T02:42:32.177Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-24T02:42:32.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-24T02:42:32.469Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-24T02:42:32.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-639 [Pipeline] echo [2020-10-24T02:42:32.685Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-639 [Pipeline] echo [2020-10-24T02:42:32.780Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-639 [Pipeline] echo [2020-10-24T02:42:32.875Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b567a72bdcddf3a9f2ec9adeae1c475825f625f6 [Pipeline] echo [2020-10-24T02:42:32.977Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b567a72 [Pipeline] echo [2020-10-24T02:42:33.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:42:33.687Z] + git log --format=format:%s -1 b567a72bdcddf3a9f2ec9adeae1c475825f625f6 [Pipeline] echo [2020-10-24T02:42:33.752Z] GIT_COMMIT: b567a72bdcddf3a9f2ec9adeae1c475825f625f6, Commit Message: Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD [Pipeline] echo [2020-10-24T02:42:33.800Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:42:34.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:42:34.663Z] [2020-10-24T02:42:34.663Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:42:35.016Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:42:35.016Z] latest: Pulling from edgex-devops/git-semver [2020-10-24T02:42:35.016Z] 31603596830f: Pulling fs layer [2020-10-24T02:42:35.016Z] 2a8b12db71e7: Pulling fs layer [2020-10-24T02:42:35.016Z] 6ca5941a6612: Pulling fs layer [2020-10-24T02:42:35.016Z] ecc8261a40a4: Pulling fs layer [2020-10-24T02:42:35.016Z] ecc8261a40a4: Waiting [2020-10-24T02:42:35.016Z] 2a8b12db71e7: Verifying Checksum [2020-10-24T02:42:35.016Z] 2a8b12db71e7: Download complete [2020-10-24T02:42:35.286Z] 31603596830f: Verifying Checksum [2020-10-24T02:42:35.286Z] 31603596830f: Download complete [2020-10-24T02:42:35.286Z] ecc8261a40a4: Verifying Checksum [2020-10-24T02:42:35.286Z] ecc8261a40a4: Download complete [2020-10-24T02:42:35.286Z] 6ca5941a6612: Verifying Checksum [2020-10-24T02:42:35.286Z] 6ca5941a6612: Download complete [2020-10-24T02:42:35.553Z] 31603596830f: Pull complete [2020-10-24T02:42:35.553Z] 2a8b12db71e7: Pull complete [2020-10-24T02:42:36.504Z] 6ca5941a6612: Pull complete [2020-10-24T02:42:36.768Z] ecc8261a40a4: Pull complete [2020-10-24T02:42:36.768Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-24T02:42:36.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-24T02:42:36.768Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-24T02:42:36.872Z] prd-centos7-docker-4c-2g-8582 does not seem to be running inside a container [2020-10-24T02:42:36.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-639 -v /w/workspace/dgexfoundry_device-sdk-go_PR-639:/w/workspace/dgexfoundry_device-sdk-go_PR-639:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-24T02:42:38.895Z] $ docker top cbb0175be0850bad9f1d9d057290b57f8fcd7f84641f2e5466b57fa771f6faff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-24T02:42:39.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:42:39.217Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:42:39.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:42:39.482Z] $ docker exec cbb0175be0850bad9f1d9d057290b57f8fcd7f84641f2e5466b57fa771f6faff ssh-agent [2020-10-24T02:42:39.703Z] SSH_AUTH_SOCK=/tmp/ssh-1LUIDJG2QWCT/agent.11 [2020-10-24T02:42:39.703Z] SSH_AGENT_PID=17 [2020-10-24T02:42:39.720Z] Running ssh-add (command line suppressed) [2020-10-24T02:42:39.846Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_3360307743510403424.key (/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_3360307743510403424.key) [2020-10-24T02:42:39.900Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:42:40.275Z] + git tag --points-at HEAD [Pipeline] } [2020-10-24T02:42:40.303Z] $ docker exec --env ******** --env ******** cbb0175be0850bad9f1d9d057290b57f8fcd7f84641f2e5466b57fa771f6faff ssh-agent -k [2020-10-24T02:42:40.416Z] unset SSH_AUTH_SOCK; [2020-10-24T02:42:40.417Z] unset SSH_AGENT_PID; [2020-10-24T02:42:40.417Z] echo Agent pid 17 killed; [2020-10-24T02:42:40.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-24T02:42:40.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-24T02:42:40.626Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-24T02:42:40.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-24T02:42:40.792Z] $ docker exec cbb0175be0850bad9f1d9d057290b57f8fcd7f84641f2e5466b57fa771f6faff ssh-agent [2020-10-24T02:42:40.957Z] SSH_AUTH_SOCK=/tmp/ssh-kmPz0jBLFIXC/agent.45 [2020-10-24T02:42:40.957Z] SSH_AGENT_PID=51 [2020-10-24T02:42:40.965Z] Running ssh-add (command line suppressed) [2020-10-24T02:42:41.083Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4982025878282751772.key (/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/private_key_4982025878282751772.key) [2020-10-24T02:42:41.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-24T02:42:41.521Z] + git semver init [2020-10-24T02:42:41.521Z] # -> Open(): unable to determine branch for HEAD [2020-10-24T02:42:41.521Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-639/.git [2020-10-24T02:42:41.521Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-639 [2020-10-24T02:42:41.521Z] # $SEMVER_REMOTE_NAME = origin [2020-10-24T02:42:41.521Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-24T02:42:41.521Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-24T02:42:41.521Z] # $SEMVER_BRANCH = PR-639 [2020-10-24T02:42:41.521Z] # $SEMVER_TEMP = /tmp/semver-542417367 [2020-10-24T02:42:41.521Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-24T02:42:42.102Z] # '/tmp/semver-542417367' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-639/.semver' [2020-10-24T02:42:42.102Z] # -> Force: false [2020-10-24T02:42:42.102Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-639/.semver [Pipeline] } [2020-10-24T02:42:42.118Z] $ docker exec --env ******** --env ******** cbb0175be0850bad9f1d9d057290b57f8fcd7f84641f2e5466b57fa771f6faff ssh-agent -k [2020-10-24T02:42:42.262Z] unset SSH_AUTH_SOCK; [2020-10-24T02:42:42.264Z] unset SSH_AGENT_PID; [2020-10-24T02:42:42.264Z] echo Agent pid 51 killed; [2020-10-24T02:42:42.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-24T02:42:42.839Z] + git semver [Pipeline] } [2020-10-24T02:42:42.877Z] $ docker stop --time=1 cbb0175be0850bad9f1d9d057290b57f8fcd7f84641f2e5466b57fa771f6faff [2020-10-24T02:42:44.389Z] $ docker rm -f cbb0175be0850bad9f1d9d057290b57f8fcd7f84641f2e5466b57fa771f6faff [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-24T02:42:44.892Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-24T02:42:45.427Z] Stashed 1 file(s) [Pipeline] echo [2020-10-24T02:42:45.430Z] [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:01.004Z] Still waiting to schedule task [2020-10-24T02:43:01.005Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-8585’ 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’ [2020-10-24T02:43:01.007Z] Still waiting to schedule task [2020-10-24T02:43:01.007Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-24T02:43:50.710Z] Running on prd-centos7-docker-4c-2g-8588 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [Pipeline] { [Pipeline] ws [2020-10-24T02:43:50.769Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-24T02:43:53.421Z] using credential edgex-jenkins-ssh [2020-10-24T02:43:53.492Z] Cloning the remote Git repository [2020-10-24T02:43:53.522Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:43:53.594Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-24T02:43:53.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:43:53.642Z] > git --version # timeout=10 [2020-10-24T02:43:53.647Z] > git --version # 'git version 2.16.5' [2020-10-24T02:43:53.648Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:43:53.670Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:43:54.794Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-24T02:43:54.901Z] Merge succeeded, producing 44809d5ff35eee31b6a82faa3bbb42471b6b79d0 [2020-10-24T02:43:54.901Z] Checking out Revision 44809d5ff35eee31b6a82faa3bbb42471b6b79d0 (PR-639) [2020-10-24T02:43:54.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:43:54.343Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:43:54.354Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:43:54.367Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:43:54.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:43:54.371Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-24T02:43:54.803Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:43:54.809Z] > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [2020-10-24T02:43:54.854Z] > git remote # timeout=10 [2020-10-24T02:43:54.860Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:43:54.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:43:54.867Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:43:54.897Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:43:54.905Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:43:54.910Z] > git checkout -f 44809d5ff35eee31b6a82faa3bbb42471b6b79d0 # timeout=10 [2020-10-24T02:43:58.519Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:43:58.528Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-24T02:43:58.523Z] > git rev-list --no-walk 2b64c87a378923a343546f60b4d65a3a76084f7c # timeout=10 [Pipeline] echo [2020-10-24T02:43:59.400Z] ========================================================= [2020-10-24T02:43:59.400Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-24T02:43:59.400Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:44:00.173Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-24T02:44:00.440Z] Sending build context to Docker daemon 2.351MB [2020-10-24T02:44:00.440Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:44:00.440Z] Step 2/8 : FROM ${BASE} [2020-10-24T02:44:00.440Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-24T02:44:00.440Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:44:00.440Z] ed8968b2872e: Pulling fs layer [2020-10-24T02:44:00.440Z] a92cc7c5fd73: Pulling fs layer [2020-10-24T02:44:00.440Z] e871e8e8d7a9: Pulling fs layer [2020-10-24T02:44:00.440Z] e73272ec9a57: Pulling fs layer [2020-10-24T02:44:00.440Z] 1e910a182e73: Pulling fs layer [2020-10-24T02:44:00.440Z] 4e634b169226: Pulling fs layer [2020-10-24T02:44:00.440Z] e73272ec9a57: Waiting [2020-10-24T02:44:00.440Z] 1e910a182e73: Waiting [2020-10-24T02:44:00.440Z] 4e634b169226: Waiting [2020-10-24T02:44:00.440Z] e871e8e8d7a9: Waiting [2020-10-24T02:44:00.440Z] a92cc7c5fd73: Verifying Checksum [2020-10-24T02:44:00.440Z] a92cc7c5fd73: Download complete [2020-10-24T02:44:00.440Z] ed8968b2872e: Verifying Checksum [2020-10-24T02:44:00.440Z] ed8968b2872e: Download complete [2020-10-24T02:44:00.706Z] e73272ec9a57: Verifying Checksum [2020-10-24T02:44:00.706Z] e73272ec9a57: Download complete [2020-10-24T02:44:00.706Z] 1e910a182e73: Verifying Checksum [2020-10-24T02:44:00.706Z] 1e910a182e73: Download complete [2020-10-24T02:44:00.706Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:44:00.973Z] df20fa9351a1: Pull complete [2020-10-24T02:44:00.973Z] ed8968b2872e: Pull complete [2020-10-24T02:44:01.238Z] a92cc7c5fd73: Pull complete [2020-10-24T02:44:02.641Z] 4e634b169226: Verifying Checksum [2020-10-24T02:44:02.641Z] 4e634b169226: Download complete [2020-10-24T02:44:03.220Z] e871e8e8d7a9: Verifying Checksum [2020-10-24T02:44:03.220Z] e871e8e8d7a9: Download complete [2020-10-24T02:44:07.518Z] e871e8e8d7a9: Pull complete [2020-10-24T02:44:07.783Z] e73272ec9a57: Pull complete [2020-10-24T02:44:07.783Z] 1e910a182e73: Pull complete [2020-10-24T02:44:17.825Z] 4e634b169226: Pull complete [2020-10-24T02:44:17.825Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-24T02:44:17.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-24T02:44:17.825Z] ---> f7629b54cfaa [2020-10-24T02:44:17.825Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:44:17.825Z] ---> Running in 3da59c407b6e [2020-10-24T02:44:17.825Z] Removing intermediate container 3da59c407b6e [2020-10-24T02:44:17.825Z] ---> 7bc912809472 [2020-10-24T02:44:17.825Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:44:17.825Z] ---> Running in b0c43a8a663f [2020-10-24T02:44:19.260Z] Removing intermediate container b0c43a8a663f [2020-10-24T02:44:19.260Z] ---> 7e01c2f7bcf1 [2020-10-24T02:44:19.260Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-24T02:44:19.260Z] ---> Running in 6c713146dacb [2020-10-24T02:44:19.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:44:20.417Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:44:20.997Z] OK: 166 MiB in 39 packages [2020-10-24T02:44:21.261Z] Removing intermediate container 6c713146dacb [2020-10-24T02:44:21.261Z] ---> e4c1d402e24a [2020-10-24T02:44:21.261Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:44:21.528Z] ---> Running in 24edbf098ed5 [2020-10-24T02:44:21.528Z] Removing intermediate container 24edbf098ed5 [2020-10-24T02:44:21.528Z] ---> 4226385cc115 [2020-10-24T02:44:21.528Z] Step 7/8 : COPY . . [2020-10-24T02:44:22.927Z] ---> 19623fc4a2fd [2020-10-24T02:44:22.927Z] Step 8/8 : RUN go mod download [2020-10-24T02:44:22.927Z] ---> Running in cd4101e53432 [2020-10-24T02:44:41.121Z] Removing intermediate container cd4101e53432 [2020-10-24T02:44:41.121Z] ---> 213c0f6f3263 [2020-10-24T02:44:41.121Z] Successfully built 213c0f6f3263 [2020-10-24T02:44:41.121Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:44:41.474Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:44:41.474Z] . [Pipeline] withDockerContainer [2020-10-24T02:44:41.580Z] prd-centos7-docker-4c-2g-8588 does not seem to be running inside a container [2020-10-24T02:44:41.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-24T02:44:42.405Z] $ docker top c1aaa65367450635dd282191c2fc8bae6cae16b01b9f6ede1b174ba22d4e1fda -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:44:42.914Z] + go version [2020-10-24T02:44:42.914Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-24T02:44:42.931Z] $ docker stop --time=1 c1aaa65367450635dd282191c2fc8bae6cae16b01b9f6ede1b174ba22d4e1fda [2020-10-24T02:44:44.293Z] $ docker rm -f c1aaa65367450635dd282191c2fc8bae6cae16b01b9f6ede1b174ba22d4e1fda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:44:45.179Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-24T02:44:45.179Z] . [Pipeline] withDockerContainer [2020-10-24T02:44:45.368Z] prd-centos7-docker-4c-2g-8588 does not seem to be running inside a container [2020-10-24T02:44:45.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-24T02:44:46.076Z] $ docker top 7a7802e28e6d697a227cfd75c8e06656e92a9fbc400be2f003bb557d74cd867d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:44:46.584Z] + make test [2020-10-24T02:44:46.585Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:44:53.229Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:45:08.281Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:45:08.281Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:45:08.281Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:45:08.281Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.048s coverage: 21.4% of statements [2020-10-24T02:45:08.281Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.440s coverage: 97.1% of statements [2020-10-24T02:45:32.294Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-8591 in /w/workspace/dgexfoundry_device-sdk-go_PR-639 [Pipeline] { [Pipeline] ws [2020-10-24T02:45:32.349Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-24T02:45:37.350Z] using credential edgex-jenkins-ssh [2020-10-24T02:45:37.418Z] Cloning the remote Git repository [2020-10-24T02:45:37.475Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:37.592Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-24T02:45:37.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:37.677Z] > git --version # timeout=10 [2020-10-24T02:45:37.697Z] > git --version # 'git version 2.17.1' [2020-10-24T02:45:37.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:37.795Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:45:39.455Z] Merging remotes/origin/master commit 0bbcb663a9153978e7e9ef8c297d5988e58906d0 into PR head commit 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 [2020-10-24T02:45:39.783Z] Merge succeeded, producing f7927b9e383e643f5291047609b189253a2fa119 [2020-10-24T02:45:39.784Z] Checking out Revision f7927b9e383e643f5291047609b189253a2fa119 (PR-639) [2020-10-24T02:45:38.823Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:45:38.839Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-24T02:45:38.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-24T02:45:38.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-24T02:45:38.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:38.920Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-24T02:45:39.467Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:45:39.485Z] > git checkout -f 5c193f582c261f6dda3e0a4faf843856b5ce4cf5 # timeout=10 [2020-10-24T02:45:39.609Z] > git remote # timeout=10 [2020-10-24T02:45:39.627Z] > git config --get remote.origin.url # timeout=10 [2020-10-24T02:45:39.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-24T02:45:39.661Z] > git merge 0bbcb663a9153978e7e9ef8c297d5988e58906d0 # timeout=10 [2020-10-24T02:45:39.759Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-24T02:45:39.784Z] > git config core.sparsecheckout # timeout=10 [2020-10-24T02:45:39.798Z] > git checkout -f f7927b9e383e643f5291047609b189253a2fa119 # timeout=10 [2020-10-24T02:45:40.467Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.071s coverage: 9.4% of statements [2020-10-24T02:45:40.468Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:45:40.468Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.219s coverage: 42.6% of statements [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:45:40.468Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.274s coverage: 68.9% of statements [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:45:40.468Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.059s coverage: 52.6% of statements [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:45:40.468Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.249s coverage: 68.9% of statements [2020-10-24T02:45:40.468Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.053s coverage: 4.7% of statements [2020-10-24T02:45:40.468Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:45:40.468Z] GO111MODULE=on go vet ./... [2020-10-24T02:45:44.249Z] Commit message: "Merge commit '0bbcb663a9153978e7e9ef8c297d5988e58906d0' into HEAD" [2020-10-24T02:45:44.282Z] First time build. Skipping changelog. [2020-10-24T02:45:44.252Z] > git rev-list --no-walk 2b64c87a378923a343546f60b4d65a3a76084f7c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-24T02:45:45.179Z] ========================================================= [2020-10-24T02:45:45.179Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-24T02:45:45.179Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:46.487Z] + 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:45:47.194Z] gofmt -l . [2020-10-24T02:45:47.194Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:45:47.194Z] ./bin/test-attribution-txt.sh [2020-10-24T02:45:47.462Z] ./bin/test-go-mod-tidy.sh [2020-10-24T02:45:47.485Z] Sending build context to Docker daemon 2.351MB [2020-10-24T02:45:47.485Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-24T02:45:47.485Z] Step 2/8 : FROM ${BASE} [Pipeline] stash [2020-10-24T02:45:47.764Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-24T02:45:47.764Z] b538f80385f9: Pulling fs layer [2020-10-24T02:45:47.764Z] 74f711af9a0d: Pulling fs layer [2020-10-24T02:45:47.764Z] 99f96fe45779: Pulling fs layer [2020-10-24T02:45:47.764Z] 8529a6b9a6be: Pulling fs layer [2020-10-24T02:45:47.764Z] 45590311c82a: Pulling fs layer [2020-10-24T02:45:47.764Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-24T02:45:47.764Z] 209524e5b208: Pulling fs layer [2020-10-24T02:45:47.764Z] 45590311c82a: Waiting [2020-10-24T02:45:47.764Z] 69ca0ff8b7b3: Waiting [2020-10-24T02:45:47.764Z] 209524e5b208: Waiting [2020-10-24T02:45:47.764Z] 8529a6b9a6be: Waiting [2020-10-24T02:45:47.764Z] 99f96fe45779: Verifying Checksum [2020-10-24T02:45:47.764Z] 99f96fe45779: Download complete [2020-10-24T02:45:47.764Z] 74f711af9a0d: Verifying Checksum [2020-10-24T02:45:47.764Z] 74f711af9a0d: Download complete [2020-10-24T02:45:47.764Z] 45590311c82a: Verifying Checksum [2020-10-24T02:45:47.764Z] 45590311c82a: Download complete [2020-10-24T02:45:47.815Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:45:47.824Z] $ docker stop --time=1 7a7802e28e6d697a227cfd75c8e06656e92a9fbc400be2f003bb557d74cd867d [2020-10-24T02:45:48.042Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-24T02:45:48.042Z] 69ca0ff8b7b3: Download complete [2020-10-24T02:45:48.324Z] b538f80385f9: Verifying Checksum [2020-10-24T02:45:48.324Z] b538f80385f9: Download complete [2020-10-24T02:45:49.330Z] b538f80385f9: Pull complete [2020-10-24T02:45:49.606Z] 74f711af9a0d: Pull complete [2020-10-24T02:45:49.723Z] $ docker rm -f 7a7802e28e6d697a227cfd75c8e06656e92a9fbc400be2f003bb557d74cd867d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2020-10-24T02:45:50.215Z] 99f96fe45779: Pull complete [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-24T02:45:50.816Z] 209524e5b208: Verifying Checksum [2020-10-24T02:45:50.816Z] 209524e5b208: Download complete [2020-10-24T02:45:51.845Z] 8529a6b9a6be: Verifying Checksum [2020-10-24T02:45:51.845Z] 8529a6b9a6be: Download complete [Pipeline] sh [2020-10-24T02:45:52.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:45:52.808Z] + ls -al . [2020-10-24T02:45:52.808Z] total 208 [2020-10-24T02:45:52.808Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 24 02:45 . [2020-10-24T02:45:52.808Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 24 02:43 .. [2020-10-24T02:45:52.808Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 24 02:43 bin [2020-10-24T02:45:52.808Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 24 02:45 coverage.out [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 24 02:43 Dockerfile.build [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 24 02:43 .dockerignore [2020-10-24T02:45:52.808Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 24 02:43 example [2020-10-24T02:45:52.808Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 24 02:43 .git [2020-10-24T02:45:52.808Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 24 02:43 .github [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 24 02:43 .gitignore [2020-10-24T02:45:52.808Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 24 02:45 go.mod [2020-10-24T02:45:52.808Z] -rw-r--r--. 1 jenkins jenkins 13739 Oct 24 02:45 go.sum [2020-10-24T02:45:52.808Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 24 02:43 internal [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 24 02:43 Jenkinsfile [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 24 02:43 LICENSE [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 24 02:43 Makefile [2020-10-24T02:45:52.808Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 24 02:43 openapi [2020-10-24T02:45:52.808Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 24 02:43 pkg [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 24 02:43 README.md [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 24 02:43 RELEASE-NOTES.txt [2020-10-24T02:45:52.808Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 24 02:43 snap [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 24 02:42 VERSION [2020-10-24T02:45:52.808Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 24 02:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:45:53.132Z] + 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=b567a72bdcddf3a9f2ec9adeae1c475825f625f6 --label arch=amd64 --label version=0.0.0 . [2020-10-24T02:45:53.394Z] Sending build context to Docker daemon 2.48MB [2020-10-24T02:45:53.394Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:45:53.394Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:45:53.394Z] ---> 213c0f6f3263 [2020-10-24T02:45:53.394Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:45:53.968Z] ---> Running in b68e371beaed [2020-10-24T02:45:54.231Z] Removing intermediate container b68e371beaed [2020-10-24T02:45:54.231Z] ---> f8205f1d987b [2020-10-24T02:45:54.231Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:45:54.231Z] ---> Running in 36561d5d3e04 [2020-10-24T02:45:54.231Z] Removing intermediate container 36561d5d3e04 [2020-10-24T02:45:54.231Z] ---> ba9d8a2b7eaa [2020-10-24T02:45:54.231Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:45:54.494Z] ---> Running in 280c8e590144 [2020-10-24T02:45:54.494Z] Removing intermediate container 280c8e590144 [2020-10-24T02:45:54.494Z] ---> 7c58e562b5c8 [2020-10-24T02:45:54.494Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:45:54.494Z] ---> Running in fddf26bd9558 [2020-10-24T02:45:55.448Z] Removing intermediate container fddf26bd9558 [2020-10-24T02:45:55.449Z] ---> 122c69b5c96c [2020-10-24T02:45:55.449Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:45:55.449Z] ---> Running in e2de10b4fe7c [2020-10-24T02:45:56.023Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-24T02:45:56.595Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-24T02:45:57.173Z] OK: 166 MiB in 39 packages [2020-10-24T02:45:57.438Z] Removing intermediate container e2de10b4fe7c [2020-10-24T02:45:57.438Z] ---> 902e6c7b0a42 [2020-10-24T02:45:57.438Z] Step 8/24 : COPY . . [2020-10-24T02:45:58.388Z] ---> f9a62628e7f8 [2020-10-24T02:45:58.388Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:45:58.388Z] ---> Running in ae1f400525ef [2020-10-24T02:45:58.975Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-24T02:46:02.028Z] 8529a6b9a6be: Pull complete [2020-10-24T02:46:02.029Z] 45590311c82a: Pull complete [2020-10-24T02:46:02.306Z] 69ca0ff8b7b3: Pull complete [2020-10-24T02:46:05.709Z] 209524e5b208: Pull complete [2020-10-24T02:46:05.986Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-24T02:46:05.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-24T02:46:05.986Z] ---> 5bddaf1c2fca [2020-10-24T02:46:05.986Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:46:07.245Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:46:08.635Z] Removing intermediate container ae1f400525ef [2020-10-24T02:46:08.635Z] ---> 5a12b2438223 [2020-10-24T02:46:08.635Z] Step 10/24 : FROM scratch [2020-10-24T02:46:08.635Z] ---> [2020-10-24T02:46:08.635Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:46:08.635Z] ---> Running in 59a9cb24d3f4 [2020-10-24T02:46:08.635Z] Removing intermediate container 59a9cb24d3f4 [2020-10-24T02:46:08.635Z] ---> e570e55361c8 [2020-10-24T02:46:08.635Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:46:08.635Z] ---> Running in bb4db2bc41cd [2020-10-24T02:46:08.897Z] Removing intermediate container bb4db2bc41cd [2020-10-24T02:46:08.897Z] ---> 8ffef49cf20d [2020-10-24T02:46:08.897Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:46:08.897Z] ---> Running in 5f7bc471f43d [2020-10-24T02:46:08.897Z] Removing intermediate container 5f7bc471f43d [2020-10-24T02:46:08.897Z] ---> 3ce88484a44a [2020-10-24T02:46:08.897Z] Step 14/24 : WORKDIR / [2020-10-24T02:46:09.159Z] ---> Running in d9e4ea099feb [2020-10-24T02:46:09.159Z] Removing intermediate container d9e4ea099feb [2020-10-24T02:46:09.159Z] ---> 50636e9f9b3c [2020-10-24T02:46:09.159Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:46:09.378Z] ---> Running in 039f96d8c887 [2020-10-24T02:46:09.652Z] Removing intermediate container 039f96d8c887 [2020-10-24T02:46:09.652Z] ---> a950f6858757 [2020-10-24T02:46:09.652Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:46:09.652Z] ---> Running in f0073a53e7ed [2020-10-24T02:46:09.733Z] ---> 3362878eff88 [2020-10-24T02:46:09.734Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:46:09.996Z] ---> d16474b02fc4 [2020-10-24T02:46:09.996Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-24T02:46:09.996Z] ---> 7d64ef5e810f [2020-10-24T02:46:09.996Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:46:10.258Z] ---> 18b202f9ad2e [2020-10-24T02:46:10.258Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:46:10.520Z] ---> af0a627b087c [2020-10-24T02:46:10.521Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:46:10.521Z] ---> Running in 63b63df57f2c [2020-10-24T02:46:10.783Z] Removing intermediate container 63b63df57f2c [2020-10-24T02:46:10.783Z] ---> ea185cb38e10 [2020-10-24T02:46:10.783Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:46:10.783Z] ---> Running in 5254617cfbf2 [2020-10-24T02:46:11.048Z] Removing intermediate container 5254617cfbf2 [2020-10-24T02:46:11.048Z] ---> 4608ed51af75 [2020-10-24T02:46:11.048Z] Step 22/24 : LABEL arch=amd64 [2020-10-24T02:46:11.048Z] ---> Running in abff49acbaa8 [2020-10-24T02:46:11.048Z] Removing intermediate container abff49acbaa8 [2020-10-24T02:46:11.048Z] ---> 05e50a07d857 [2020-10-24T02:46:11.048Z] Step 23/24 : LABEL git_sha=b567a72bdcddf3a9f2ec9adeae1c475825f625f6 [2020-10-24T02:46:11.310Z] ---> Running in 385a1855b2d0 [2020-10-24T02:46:11.310Z] Removing intermediate container 385a1855b2d0 [2020-10-24T02:46:11.310Z] ---> c5674fc441f8 [2020-10-24T02:46:11.310Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:46:11.310Z] ---> Running in 0ddb57f29476 [2020-10-24T02:46:11.890Z] Removing intermediate container 0ddb57f29476 [2020-10-24T02:46:11.890Z] ---> 93579db5a460 [2020-10-24T02:46:11.890Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:46:11.890Z] Successfully built 93579db5a460 [2020-10-24T02:46:11.890Z] 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) [2020-10-24T02:46:12.300Z] Removing intermediate container f0073a53e7ed [2020-10-24T02:46:12.300Z] ---> 1ef34433ade0 [2020-10-24T02:46:12.300Z] Step 5/8 : RUN apk add --no-cache make git Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [2020-10-24T02:46:12.579Z] ---> Running in 0f5e56edda83 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-24T02:46:14.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:46:14.615Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:46:15.593Z] OK: 142 MiB in 39 packages [2020-10-24T02:46:16.571Z] Removing intermediate container 0f5e56edda83 [2020-10-24T02:46:16.571Z] ---> 91e9c2b7c133 [2020-10-24T02:46:16.571Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-24T02:46:16.571Z] ---> Running in 7538933aa61d [2020-10-24T02:46:17.167Z] Removing intermediate container 7538933aa61d [2020-10-24T02:46:17.167Z] ---> a4d59812a5d0 [2020-10-24T02:46:17.167Z] Step 7/8 : COPY . . [2020-10-24T02:46:18.611Z] ---> 24abeb830047 [2020-10-24T02:46:18.611Z] Step 8/8 : RUN go mod download [2020-10-24T02:46:18.611Z] ---> Running in c9a73f6d840e [2020-10-24T02:46:40.826Z] Removing intermediate container c9a73f6d840e [2020-10-24T02:46:40.826Z] ---> a5d0aa236369 [2020-10-24T02:46:40.826Z] Successfully built a5d0aa236369 [2020-10-24T02:46:40.826Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:41.225Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:46:41.225Z] . [Pipeline] withDockerContainer [2020-10-24T02:46:41.473Z] prd-ubuntu18.04-docker-arm64-4c-16g-8591 does not seem to be running inside a container [2020-10-24T02:46:41.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-24T02:46:43.401Z] $ docker top fd284ad6edeba80eb7e307742d1e29dd7e4b62a36900aeabe55f69cab0b16e74 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:46:44.814Z] + go version [2020-10-24T02:46:44.814Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-24T02:46:44.817Z] $ docker stop --time=1 fd284ad6edeba80eb7e307742d1e29dd7e4b62a36900aeabe55f69cab0b16e74 [2020-10-24T02:46:46.872Z] $ docker rm -f fd284ad6edeba80eb7e307742d1e29dd7e4b62a36900aeabe55f69cab0b16e74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:46:47.883Z] + docker inspect -f . ci-base-image-arm64 [2020-10-24T02:46:47.883Z] . [Pipeline] withDockerContainer [2020-10-24T02:46:48.173Z] prd-ubuntu18.04-docker-arm64-4c-16g-8591 does not seem to be running inside a container [2020-10-24T02:46:48.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-24T02:46:50.204Z] $ docker top 2ce0177bdc73184dabe5df037449ab5bea362c0835c66ee96ac6d17aacd89120 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:46:51.721Z] + make test [2020-10-24T02:46:51.721Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-24T02:47:13.939Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-24T02:48:01.010Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-24T02:48:01.010Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-24T02:48:01.010Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-24T02:48:01.010Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.153s coverage: 21.4% of statements [2020-10-24T02:48:02.472Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.268s coverage: 97.1% of statements [2020-10-24T02:48:29.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.154s coverage: 9.4% of statements [2020-10-24T02:48:29.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.123s coverage: 21.9% of statements [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-24T02:48:29.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.614s coverage: 42.6% of statements [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-24T02:48:29.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.863s coverage: 68.9% of statements [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-24T02:48:29.316Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.215s coverage: 52.6% of statements [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-24T02:48:29.316Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.307s coverage: 68.9% of statements [2020-10-24T02:48:29.316Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.153s coverage: 4.7% of statements [2020-10-24T02:48:29.316Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-24T02:48:29.594Z] GO111MODULE=on go vet ./... [2020-10-24T02:49:02.003Z] gofmt -l . [2020-10-24T02:49:02.003Z] [ "`gofmt -l .`" = "" ] [2020-10-24T02:49:02.003Z] ./bin/test-attribution-txt.sh [2020-10-24T02:49:02.605Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-24T02:49:03.287Z] Warning: overwriting stash ‘coverage-report’ [2020-10-24T02:49:04.269Z] Stashed 1 file(s) [Pipeline] } [2020-10-24T02:49:04.214Z] $ docker stop --time=1 2ce0177bdc73184dabe5df037449ab5bea362c0835c66ee96ac6d17aacd89120 [2020-10-24T02:49:06.506Z] $ docker rm -f 2ce0177bdc73184dabe5df037449ab5bea362c0835c66ee96ac6d17aacd89120 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-24T02:49:08.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-24T02:49:08.640Z] + ls -al . [2020-10-24T02:49:08.640Z] total 244 [2020-10-24T02:49:08.640Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 02:49 . [2020-10-24T02:49:08.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:45 .. [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 02:45 .dockerignore [2020-10-24T02:49:08.640Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 02:45 .git [2020-10-24T02:49:08.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:45 .github [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 24 02:45 .gitignore [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 24 02:45 Dockerfile.build [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 24 02:45 Jenkinsfile [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 02:45 LICENSE [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 24 02:45 Makefile [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 24 02:45 README.md [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 24 02:45 RELEASE-NOTES.txt [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 02:42 VERSION [2020-10-24T02:49:08.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 02:45 bin [2020-10-24T02:49:08.640Z] -rw-r--r-- 1 jenkins jenkins 127611 Oct 24 02:48 coverage.out [2020-10-24T02:49:08.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:45 example [2020-10-24T02:49:08.640Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 24 02:49 go.mod [2020-10-24T02:49:08.640Z] -rw-r--r-- 1 jenkins jenkins 13739 Oct 24 02:49 go.sum [2020-10-24T02:49:08.640Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 24 02:45 internal [2020-10-24T02:49:08.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:45 openapi [2020-10-24T02:49:08.640Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 02:45 pkg [2020-10-24T02:49:08.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 02:45 snap [2020-10-24T02:49:08.640Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:49:09.016Z] + 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=b567a72bdcddf3a9f2ec9adeae1c475825f625f6 --label arch=arm64 --label version=0.0.0 . [2020-10-24T02:49:09.669Z] Sending build context to Docker daemon 2.48MB [2020-10-24T02:49:09.669Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-24T02:49:09.669Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-24T02:49:09.669Z] ---> a5d0aa236369 [2020-10-24T02:49:09.669Z] Step 3/24 : ARG MAKE='make build' [2020-10-24T02:49:09.944Z] ---> Running in 7531d9a0c716 [2020-10-24T02:49:10.541Z] Removing intermediate container 7531d9a0c716 [2020-10-24T02:49:10.541Z] ---> 5fc7f2d06311 [2020-10-24T02:49:10.541Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-24T02:49:10.541Z] ---> Running in 39e1daba5226 [2020-10-24T02:49:11.139Z] Removing intermediate container 39e1daba5226 [2020-10-24T02:49:11.139Z] ---> 35da18159acf [2020-10-24T02:49:11.139Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:49:11.139Z] ---> Running in 101b60320cae [2020-10-24T02:49:11.746Z] Removing intermediate container 101b60320cae [2020-10-24T02:49:11.746Z] ---> 41ba9bd4539c [2020-10-24T02:49:11.746Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-24T02:49:11.746Z] ---> Running in f98da2c3f51b [2020-10-24T02:49:14.403Z] Removing intermediate container f98da2c3f51b [2020-10-24T02:49:14.403Z] ---> 380632e9ca22 [2020-10-24T02:49:14.403Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-24T02:49:14.678Z] ---> Running in 1c29dea60017 [2020-10-24T02:49:16.660Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-24T02:49:17.256Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-24T02:49:17.851Z] OK: 142 MiB in 39 packages [2020-10-24T02:49:19.295Z] Removing intermediate container 1c29dea60017 [2020-10-24T02:49:19.295Z] ---> a6992737610e [2020-10-24T02:49:19.295Z] Step 8/24 : COPY . . [2020-10-24T02:49:20.276Z] ---> e8ee401cf744 [2020-10-24T02:49:20.276Z] Step 9/24 : RUN ${MAKE} [2020-10-24T02:49:20.549Z] ---> Running in e558570ade22 [2020-10-24T02:49:21.983Z] 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:49:48.787Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-24T02:49:50.818Z] Removing intermediate container e558570ade22 [2020-10-24T02:49:50.818Z] ---> d9167b343001 [2020-10-24T02:49:50.818Z] Step 10/24 : FROM scratch [2020-10-24T02:49:50.818Z] ---> [2020-10-24T02:49:50.818Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-24T02:49:50.818Z] ---> Running in bfdfbc4b14ca [2020-10-24T02:49:51.413Z] Removing intermediate container bfdfbc4b14ca [2020-10-24T02:49:51.413Z] ---> 0c38d85819fb [2020-10-24T02:49:51.413Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-24T02:49:51.413Z] ---> Running in 741354f0bacc [2020-10-24T02:49:52.006Z] Removing intermediate container 741354f0bacc [2020-10-24T02:49:52.006Z] ---> c7749676d48f [2020-10-24T02:49:52.006Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-24T02:49:52.279Z] ---> Running in 7eb1617cde0e [2020-10-24T02:49:52.552Z] Removing intermediate container 7eb1617cde0e [2020-10-24T02:49:52.552Z] ---> d26c17733124 [2020-10-24T02:49:52.552Z] Step 14/24 : WORKDIR / [2020-10-24T02:49:52.826Z] ---> Running in 986c5244899b [2020-10-24T02:49:53.100Z] Removing intermediate container 986c5244899b [2020-10-24T02:49:53.100Z] ---> 467c56d154fc [2020-10-24T02:49:53.100Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-24T02:49:54.535Z] ---> 466269e2fea2 [2020-10-24T02:49:54.535Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-24T02:49:55.515Z] ---> 42e4c64ca621 [2020-10-24T02:49:55.515Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-24T02:49:56.111Z] ---> 81cdc9f1d051 [2020-10-24T02:49:56.111Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-24T02:49:57.093Z] ---> df13898566b1 [2020-10-24T02:49:57.093Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-24T02:49:57.690Z] ---> 19ec699188c6 [2020-10-24T02:49:57.690Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-24T02:49:57.690Z] ---> Running in 49ffca20786d [2020-10-24T02:49:58.287Z] Removing intermediate container 49ffca20786d [2020-10-24T02:49:58.287Z] ---> 2834dd10a408 [2020-10-24T02:49:58.287Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-24T02:49:58.287Z] ---> Running in 74a4a5298757 [2020-10-24T02:49:58.888Z] Removing intermediate container 74a4a5298757 [2020-10-24T02:49:58.888Z] ---> 1dbccf46323d [2020-10-24T02:49:58.888Z] Step 22/24 : LABEL arch=arm64 [2020-10-24T02:49:58.888Z] ---> Running in 050cb70e146a [2020-10-24T02:49:59.482Z] Removing intermediate container 050cb70e146a [2020-10-24T02:49:59.482Z] ---> 8fc9ed8a53c8 [2020-10-24T02:49:59.482Z] Step 23/24 : LABEL git_sha=b567a72bdcddf3a9f2ec9adeae1c475825f625f6 [2020-10-24T02:49:59.757Z] ---> Running in 49038b982621 [2020-10-24T02:50:00.032Z] Removing intermediate container 49038b982621 [2020-10-24T02:50:00.032Z] ---> 5e952d01fcd5 [2020-10-24T02:50:00.032Z] Step 24/24 : LABEL version=0.0.0 [2020-10-24T02:50:00.303Z] ---> Running in 3dc051789d25 [2020-10-24T02:50:00.898Z] Removing intermediate container 3dc051789d25 [2020-10-24T02:50:00.898Z] ---> fd93911ab234 [2020-10-24T02:50:00.898Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-24T02:50:00.898Z] Successfully built fd93911ab234 [2020-10-24T02:50:00.898Z] 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:03.121Z] provisioning config files... [2020-10-24T02:50:03.135Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/config63896023994919791tmp [Pipeline] { [Pipeline] sh [2020-10-24T02:50:03.546Z] + set +x [2020-10-24T02:50:03.546Z] + bash -s -- [2020-10-24T02:50:03.546Z] + curl -s https://codecov.io/bash [2020-10-24T02:50:03.811Z] [2020-10-24T02:50:03.811Z] _____ _ [2020-10-24T02:50:03.811Z] / ____| | | [2020-10-24T02:50:03.811Z] | | ___ __| | ___ ___ _____ __ [2020-10-24T02:50:03.811Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-24T02:50:03.811Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-24T02:50:03.811Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-24T02:50:03.811Z] Bash-20201009-048fee3 [2020-10-24T02:50:03.811Z] [2020-10-24T02:50:03.811Z] [2020-10-24T02:50:03.811Z] ==> Jenkins CI detected. [2020-10-24T02:50:03.811Z] project root: . [2020-10-24T02:50:03.811Z] Fixing merge commit SHA [2020-10-24T02:50:03.811Z] --> token set from env [2020-10-24T02:50:03.811Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-24T02:50:03.811Z] ==> Running gcov in . (disable via -X gcov) [2020-10-24T02:50:03.811Z] ==> Python coveragepy not found [2020-10-24T02:50:03.811Z] ==> Searching for coverage reports in: [2020-10-24T02:50:03.812Z] + . [2020-10-24T02:50:03.812Z] -> Found 1 reports [2020-10-24T02:50:03.812Z] ==> Detecting git/mercurial file structure [2020-10-24T02:50:03.812Z] ==> Reading reports [2020-10-24T02:50:03.812Z] + ./coverage.out bytes=127611 [2020-10-24T02:50:03.812Z] ==> Appending adjustments [2020-10-24T02:50:03.812Z] https://docs.codecov.io/docs/fixing-reports [2020-10-24T02:50:04.388Z] + Found adjustments [2020-10-24T02:50:04.388Z] ==> Gzipping contents [2020-10-24T02:50:04.388Z] ==> Uploading reports [2020-10-24T02:50:04.388Z] url: https://codecov.io [2020-10-24T02:50:04.388Z] query: branch=PR-639&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-639%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=639&job=&cmd_args= [2020-10-24T02:50:04.388Z] -> Pinging Codecov [2020-10-24T02:50:04.388Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-639&commit=0bbcb663a9153978e7e9ef8c297d5988e58906d0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-639%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=639&job=&cmd_args= [2020-10-24T02:50:04.388Z] -> Uploading to [2020-10-24T02:50:04.388Z] [2020-10-24T02:50:04.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:50:04.388Z] Dload Upload Total Spent Left Speed [2020-10-24T02:50:04.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-24T02:50:04.388Z] X> Failed to upload [2020-10-24T02:50:04.388Z] ==> Uploading to Codecov [2020-10-24T02:50:04.653Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-24T02:50:04.653Z] Dload Upload Total Spent Left Speed [2020-10-24T02:50:05.228Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 20958 0 0 100 20848 0 38967 --:--:-- --:--:-- --:--:-- 38968 100 20958 100 110 100 20848 205 38951 --:--:-- --:--:-- --:--:-- 38895 [2020-10-24T02:50:05.228Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0bbcb663a9153978e7e9ef8c297d5988e58906d0 [Pipeline] } [2020-10-24T02:50:05.241Z] 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:08.072Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:08.645Z] ---> package-listing.sh [2020-10-24T02:50:08.645Z] ++ facter osfamily [2020-10-24T02:50:08.645Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-24T02:50:08.645Z] + OS_FAMILY=redhat [2020-10-24T02:50:08.646Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-639 [2020-10-24T02:50:08.646Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-24T02:50:08.646Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-24T02:50:08.646Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-24T02:50:08.646Z] + PACKAGES=/tmp/packages_start.txt [2020-10-24T02:50:08.646Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-639 ']' [2020-10-24T02:50:08.646Z] + PACKAGES=/tmp/packages_end.txt [2020-10-24T02:50:08.646Z] + case "${OS_FAMILY}" in [2020-10-24T02:50:08.646Z] + rpm -qa [2020-10-24T02:50:08.646Z] + sort [2020-10-24T02:50:13.954Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-24T02:50:13.954Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-24T02:50:13.954Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-24T02:50:13.954Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-639 ']' [2020-10-24T02:50:13.954Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-639/archives/ [2020-10-24T02:50:13.954Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-639/archives/ [Pipeline] echo [2020-10-24T02:50:13.969Z] 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-639/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:14.268Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:50:14.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:50:14.576Z] [2020-10-24T02:50:14.576Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-24T02:50:14.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:50:14.934Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-24T02:50:14.934Z] df20fa9351a1: Pulling fs layer [2020-10-24T02:50:14.934Z] 36b3adc4ff6f: Pulling fs layer [2020-10-24T02:50:14.934Z] 8ad3a11d3b57: Pulling fs layer [2020-10-24T02:50:14.934Z] 46f8f816bc3b: Pulling fs layer [2020-10-24T02:50:14.934Z] 93b61091891f: Pulling fs layer [2020-10-24T02:50:14.934Z] 93b9cdb0e59b: Pulling fs layer [2020-10-24T02:50:14.934Z] 5e14af77c1be: Pulling fs layer [2020-10-24T02:50:14.934Z] 01666e4c0597: Pulling fs layer [2020-10-24T02:50:14.934Z] aa168da1d23b: Pulling fs layer [2020-10-24T02:50:14.934Z] 46f8f816bc3b: Waiting [2020-10-24T02:50:14.934Z] 93b61091891f: Waiting [2020-10-24T02:50:14.934Z] 93b9cdb0e59b: Waiting [2020-10-24T02:50:14.934Z] 5e14af77c1be: Waiting [2020-10-24T02:50:14.934Z] 01666e4c0597: Waiting [2020-10-24T02:50:14.934Z] aa168da1d23b: Waiting [2020-10-24T02:50:14.934Z] 36b3adc4ff6f: Verifying Checksum [2020-10-24T02:50:14.934Z] 36b3adc4ff6f: Download complete [2020-10-24T02:50:14.934Z] 46f8f816bc3b: Verifying Checksum [2020-10-24T02:50:14.934Z] 46f8f816bc3b: Download complete [2020-10-24T02:50:15.199Z] df20fa9351a1: Verifying Checksum [2020-10-24T02:50:15.199Z] df20fa9351a1: Download complete [2020-10-24T02:50:15.199Z] 93b9cdb0e59b: Download complete [2020-10-24T02:50:15.199Z] 93b61091891f: Download complete [2020-10-24T02:50:15.199Z] 01666e4c0597: Verifying Checksum [2020-10-24T02:50:15.199Z] 01666e4c0597: Download complete [2020-10-24T02:50:15.199Z] 5e14af77c1be: Verifying Checksum [2020-10-24T02:50:15.199Z] 5e14af77c1be: Download complete [2020-10-24T02:50:15.199Z] 8ad3a11d3b57: Verifying Checksum [2020-10-24T02:50:15.199Z] 8ad3a11d3b57: Download complete [2020-10-24T02:50:15.463Z] df20fa9351a1: Pull complete [2020-10-24T02:50:15.733Z] 36b3adc4ff6f: Pull complete [2020-10-24T02:50:16.328Z] 8ad3a11d3b57: Pull complete [2020-10-24T02:50:16.328Z] 46f8f816bc3b: Pull complete [2020-10-24T02:50:16.907Z] 93b61091891f: Pull complete [2020-10-24T02:50:17.486Z] aa168da1d23b: Verifying Checksum [2020-10-24T02:50:17.486Z] aa168da1d23b: Download complete [2020-10-24T02:50:18.065Z] 93b9cdb0e59b: Pull complete [2020-10-24T02:50:18.065Z] 5e14af77c1be: Pull complete [2020-10-24T02:50:18.065Z] 01666e4c0597: Pull complete [2020-10-24T02:50:24.684Z] aa168da1d23b: Pull complete [2020-10-24T02:50:24.684Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-24T02:50:24.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-24T02:50:24.684Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-24T02:50:24.865Z] prd-centos7-docker-4c-2g-8582 does not seem to be running inside a container [2020-10-24T02:50:24.917Z] $ 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-639/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-639 -v /w/workspace/dgexfoundry_device-sdk-go_PR-639:/w/workspace/dgexfoundry_device-sdk-go_PR-639:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-639@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-24T02:50:30.202Z] $ docker top e8605354b5bb833d7375d52d6659608545cb0e5a45f31e403db94e29ae5386ba -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-24T02:50:30.810Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-24T02:50:31.113Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-24T02:50:31.418Z] + ls /var/log/sa-host [2020-10-24T02:50:31.418Z] + sadf -c /var/log/sa-host/sa05 [2020-10-24T02:50:31.418Z] file_magic: OK [2020-10-24T02:50:31.418Z] HZ: Using current value: 100 [2020-10-24T02:50:31.418Z] file_header: OK [2020-10-24T02:50:31.418Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-24T02:50:31.418Z] Statistics: [2020-10-24T02:50:31.418Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:50:31.418Z] File successfully converted to sysstat format version 12.2.1 [2020-10-24T02:50:31.418Z] + sadf -c /var/log/sa-host/sa24 [2020-10-24T02:50:31.418Z] file_magic: OK [2020-10-24T02:50:31.418Z] HZ: Using current value: 100 [2020-10-24T02:50:31.418Z] file_header: OK [2020-10-24T02:50:31.418Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-24T02:50:31.418Z] Statistics: [2020-10-24T02:50:31.418Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-24T02:50:31.418Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-24T02:50:31.625Z] provisioning config files... [2020-10-24T02:50:31.641Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-639@tmp/config1523913533740781822tmp [Pipeline] { [Pipeline] echo [2020-10-24T02:50:31.721Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:32.030Z] ---> create-netrc.sh [Pipeline] } [2020-10-24T02:50:32.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-24T02:50:32.134Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:32.436Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-24T02:50:32.450Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:32.752Z] ---> sudo-logs.sh [2020-10-24T02:50:32.752Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-24T02:50:32.766Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:33.061Z] ---> job-cost.sh [2020-10-24T02:50:33.062Z] lf-activate-venv: SKIPPING [2020-10-24T02:50:33.062Z] INFO: No Stack... [2020-10-24T02:50:34.453Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-24T02:50:35.027Z] INFO: Archiving Costs [Pipeline] echo [2020-10-24T02:50:35.042Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-24T02:50:35.338Z] ---> logs-deploy.sh [2020-10-24T02:50:35.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-639/3 [2020-10-24T02:50:35.338Z] INFO: archiving workspace using pattern(s): [2020-10-24T02:50:37.258Z] Archives upload complete. [2020-10-24T02:50:37.258Z] INFO: archiving logs to Nexus