Pull request #645 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b2eb490afd9e6182a2743ce79f58bd4d9835a3bd+43893dea7cdf8ffe29fac0bba279684163774e51 (9dcfe8ee6797c33b8300c831a6442f1e7eea5627) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-9660 in /w/workspace/dgexfoundry_device-sdk-go_PR-645 [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-645 # 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 43893dea7cdf8ffe29fac0bba279684163774e51 into PR head commit b2eb490afd9e6182a2743ce79f58bd4d9835a3bd Merge succeeded, producing b2eb490afd9e6182a2743ce79f58bd4d9835a3bd Checking out Revision b2eb490afd9e6182a2743ce79f58bd4d9835a3bd (PR-645) > 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/645/head:refs/remotes/origin/PR-645 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2eb490afd9e6182a2743ce79f58bd4d9835a3bd # 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 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2eb490afd9e6182a2743ce79f58bd4d9835a3bd # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk ee875456f6072c1d2ed9eb5d05418b5d5698d85a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-29T07:02:31.757Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-29T07:02:32.037Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-29T07:02:32.137Z] ========================================================= [2020-10-29T07:02:32.137Z] EdgeX Global Pipelines Version Info [2020-10-29T07:02:32.137Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:02:33.576Z] ------------------- [2020-10-29T07:02:33.576Z] stable info: [2020-10-29T07:02:33.576Z] ------------------- [2020-10-29T07:02:33.576Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-29T07:02:33.576Z] Commit SHA: f3f382fce060f16c10d6f597981912fab355381a [2020-10-29T07:02:33.576Z] Message: update stable to v1.0.148 [2020-10-29T07:02:34.524Z] ------------------- [2020-10-29T07:02:34.524Z] experimental info: [2020-10-29T07:02:34.524Z] ------------------- [2020-10-29T07:02:34.524Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-29T07:02:34.524Z] Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f [2020-10-29T07:02:34.524Z] Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-29T07:02:34.878Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-29T07:02:34.969Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-29T07:02:35.061Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-29T07:02:35.165Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-29T07:02:35.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-29T07:02:35.361Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-29T07:02:35.457Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-29T07:02:35.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-29T07:02:35.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-29T07:02:35.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-29T07:02:35.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-29T07:02:35.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-29T07:02:36.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-29T07:02:36.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-29T07:02:36.265Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-29T07:02:36.387Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-29T07:02:36.485Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-29T07:02:36.581Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-29T07:02:36.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-29T07:02:36.760Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-29T07:02:36.854Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-29T07:02:36.953Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-29T07:02:37.292Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-29T07:02:37.383Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-29T07:02:37.487Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-29T07:02:37.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-645 [Pipeline] echo [2020-10-29T07:02:37.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-645 [Pipeline] echo [2020-10-29T07:02:37.789Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-645 [Pipeline] echo [2020-10-29T07:02:37.880Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2eb490afd9e6182a2743ce79f58bd4d9835a3bd [Pipeline] echo [2020-10-29T07:02:37.982Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2eb490 [Pipeline] echo [2020-10-29T07:02:38.076Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-29T07:02:38.685Z] + git log --format=format:%s -1 b2eb490afd9e6182a2743ce79f58bd4d9835a3bd [Pipeline] echo [2020-10-29T07:02:38.747Z] GIT_COMMIT: b2eb490afd9e6182a2743ce79f58bd4d9835a3bd, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-10-29T07:02:38.796Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:02:39.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-29T07:02:39.954Z] [2020-10-29T07:02:39.954Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:02:40.313Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-29T07:02:40.313Z] latest: Pulling from edgex-devops/git-semver [2020-10-29T07:02:40.313Z] 31603596830f: Pulling fs layer [2020-10-29T07:02:40.313Z] 2a8b12db71e7: Pulling fs layer [2020-10-29T07:02:40.313Z] 6ca5941a6612: Pulling fs layer [2020-10-29T07:02:40.313Z] ecc8261a40a4: Pulling fs layer [2020-10-29T07:02:40.313Z] ecc8261a40a4: Waiting [2020-10-29T07:02:40.313Z] 2a8b12db71e7: Verifying Checksum [2020-10-29T07:02:40.313Z] 2a8b12db71e7: Download complete [2020-10-29T07:02:40.580Z] 31603596830f: Verifying Checksum [2020-10-29T07:02:40.580Z] 31603596830f: Download complete [2020-10-29T07:02:40.580Z] ecc8261a40a4: Verifying Checksum [2020-10-29T07:02:40.580Z] ecc8261a40a4: Download complete [2020-10-29T07:02:40.580Z] 6ca5941a6612: Verifying Checksum [2020-10-29T07:02:40.580Z] 6ca5941a6612: Download complete [2020-10-29T07:02:40.844Z] 31603596830f: Pull complete [2020-10-29T07:02:41.109Z] 2a8b12db71e7: Pull complete [2020-10-29T07:02:41.706Z] 6ca5941a6612: Pull complete [2020-10-29T07:02:41.972Z] ecc8261a40a4: Pull complete [2020-10-29T07:02:41.972Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-29T07:02:41.972Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-29T07:02:41.972Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-29T07:02:42.100Z] prd-centos7-docker-4c-2g-9660 does not seem to be running inside a container [2020-10-29T07:02:42.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-645 -v /w/workspace/dgexfoundry_device-sdk-go_PR-645:/w/workspace/dgexfoundry_device-sdk-go_PR-645:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-645@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-29T07:02:44.334Z] $ docker top 391c866cabccc3f6bcf24bd975310a36a7e528bd7c61989f6316247444996d4b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-29T07:02:44.652Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-29T07:02:44.652Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-29T07:02:44.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-29T07:02:44.866Z] $ docker exec 391c866cabccc3f6bcf24bd975310a36a7e528bd7c61989f6316247444996d4b ssh-agent [2020-10-29T07:02:45.025Z] SSH_AUTH_SOCK=/tmp/ssh-4F1EVVkCrgU8/agent.12 [2020-10-29T07:02:45.025Z] SSH_AGENT_PID=18 [2020-10-29T07:02:45.036Z] Running ssh-add (command line suppressed) [2020-10-29T07:02:45.156Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_5431120319289640733.key (/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_5431120319289640733.key) [2020-10-29T07:02:45.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-29T07:02:45.554Z] + git tag --points-at HEAD [Pipeline] } [2020-10-29T07:02:45.578Z] $ docker exec --env ******** --env ******** 391c866cabccc3f6bcf24bd975310a36a7e528bd7c61989f6316247444996d4b ssh-agent -k [2020-10-29T07:02:45.695Z] unset SSH_AUTH_SOCK; [2020-10-29T07:02:45.695Z] unset SSH_AGENT_PID; [2020-10-29T07:02:45.695Z] echo Agent pid 18 killed; [2020-10-29T07:02:45.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-29T07:02:45.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-29T07:02:45.900Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-29T07:02:46.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-29T07:02:46.082Z] $ docker exec 391c866cabccc3f6bcf24bd975310a36a7e528bd7c61989f6316247444996d4b ssh-agent [2020-10-29T07:02:46.234Z] SSH_AUTH_SOCK=/tmp/ssh-87I0yXLPZgKF/agent.46 [2020-10-29T07:02:46.234Z] SSH_AGENT_PID=52 [2020-10-29T07:02:46.242Z] Running ssh-add (command line suppressed) [2020-10-29T07:02:46.380Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_9049943685073486330.key (/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/private_key_9049943685073486330.key) [2020-10-29T07:02:46.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-29T07:02:46.777Z] + git semver init [2020-10-29T07:02:46.777Z] # -> Open(): unable to determine branch for HEAD [2020-10-29T07:02:46.777Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-645/.git [2020-10-29T07:02:46.777Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-645 [2020-10-29T07:02:46.777Z] # $SEMVER_REMOTE_NAME = origin [2020-10-29T07:02:46.777Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-29T07:02:46.777Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-29T07:02:46.777Z] # $SEMVER_BRANCH = PR-645 [2020-10-29T07:02:46.777Z] # $SEMVER_TEMP = /tmp/semver-766667519 [2020-10-29T07:02:46.777Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-29T07:02:47.728Z] # '/tmp/semver-766667519' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-645/.semver' [2020-10-29T07:02:47.728Z] # -> Force: false [2020-10-29T07:02:47.728Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-645/.semver [Pipeline] } [2020-10-29T07:02:47.744Z] $ docker exec --env ******** --env ******** 391c866cabccc3f6bcf24bd975310a36a7e528bd7c61989f6316247444996d4b ssh-agent -k [2020-10-29T07:02:47.858Z] unset SSH_AUTH_SOCK; [2020-10-29T07:02:47.858Z] unset SSH_AGENT_PID; [2020-10-29T07:02:47.858Z] echo Agent pid 52 killed; [2020-10-29T07:02:47.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-29T07:02:48.383Z] + git semver [Pipeline] } [2020-10-29T07:02:48.405Z] $ docker stop --time=1 391c866cabccc3f6bcf24bd975310a36a7e528bd7c61989f6316247444996d4b [2020-10-29T07:02:49.805Z] $ docker rm -f 391c866cabccc3f6bcf24bd975310a36a7e528bd7c61989f6316247444996d4b [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-29T07:02:50.287Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-29T07:02:50.758Z] Stashed 1 file(s) [Pipeline] echo [2020-10-29T07:02:50.761Z] [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-29T07:03:06.406Z] Still waiting to schedule task [2020-10-29T07:03:06.406Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-29T07:03:06.408Z] Still waiting to schedule task [2020-10-29T07:03:06.409Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-29T07:05:51.670Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-9665 in /w/workspace/dgexfoundry_device-sdk-go_PR-645 [Pipeline] { [Pipeline] ws [2020-10-29T07:05:51.727Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-29T07:05:54.696Z] Running on prd-centos7-docker-4c-2g-9668 in /w/workspace/dgexfoundry_device-sdk-go_PR-645 [Pipeline] { [Pipeline] ws [2020-10-29T07:05:54.759Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-10-29T07:05:56.553Z] using credential edgex-jenkins-ssh [2020-10-29T07:05:56.617Z] Cloning the remote Git repository [2020-10-29T07:05:56.679Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:05:56.804Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-29T07:05:56.885Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:05:56.886Z] > git --version # timeout=10 [2020-10-29T07:05:56.909Z] > git --version # 'git version 2.17.1' [2020-10-29T07:05:56.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:05:56.995Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T07:05:57.979Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T07:05:58.001Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T07:05:58.034Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T07:05:58.556Z] Merging remotes/origin/master commit 43893dea7cdf8ffe29fac0bba279684163774e51 into PR head commit b2eb490afd9e6182a2743ce79f58bd4d9835a3bd [2020-10-29T07:05:58.768Z] Merge succeeded, producing b2eb490afd9e6182a2743ce79f58bd4d9835a3bd [2020-10-29T07:05:58.769Z] Checking out Revision b2eb490afd9e6182a2743ce79f58bd4d9835a3bd (PR-645) [2020-10-29T07:05:58.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:05:58.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:05:58.082Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/645/head:refs/remotes/origin/PR-645 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-29T07:05:58.580Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T07:05:58.592Z] > git checkout -f b2eb490afd9e6182a2743ce79f58bd4d9835a3bd # timeout=10 [2020-10-29T07:05:58.698Z] > git remote # timeout=10 [2020-10-29T07:05:58.714Z] > git config --get remote.origin.url # timeout=10 [2020-10-29T07:05:58.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:05:58.741Z] > git merge 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 [2020-10-29T07:05:58.761Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-29T07:05:58.781Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T07:05:58.791Z] > git checkout -f b2eb490afd9e6182a2743ce79f58bd4d9835a3bd # timeout=10 [2020-10-29T07:06:01.239Z] using credential edgex-jenkins-ssh [2020-10-29T07:06:01.296Z] Cloning the remote Git repository [2020-10-29T07:06:01.336Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:06:01.432Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-10-29T07:06:01.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:06:01.537Z] > git --version # timeout=10 [2020-10-29T07:06:01.549Z] > git --version # 'git version 2.16.5' [2020-10-29T07:06:01.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:06:01.601Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T07:06:02.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T07:06:02.601Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-29T07:06:02.626Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-29T07:06:02.657Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-29T07:06:02.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:06:02.664Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/645/head:refs/remotes/origin/PR-645 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-29T07:06:03.095Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-29T07:06:03.194Z] Merging remotes/origin/master commit 43893dea7cdf8ffe29fac0bba279684163774e51 into PR head commit b2eb490afd9e6182a2743ce79f58bd4d9835a3bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-10-29T07:06:03.949Z] Merge succeeded, producing b2eb490afd9e6182a2743ce79f58bd4d9835a3bd [2020-10-29T07:06:03.949Z] Checking out Revision b2eb490afd9e6182a2743ce79f58bd4d9835a3bd (PR-645) [Pipeline] echo [2020-10-29T07:06:04.061Z] ========================================================= [2020-10-29T07:06:04.061Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-29T07:06:04.061Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:06:03.216Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T07:06:03.318Z] > git checkout -f b2eb490afd9e6182a2743ce79f58bd4d9835a3bd # timeout=10 [2020-10-29T07:06:03.537Z] > git remote # timeout=10 [2020-10-29T07:06:03.602Z] > git config --get remote.origin.url # timeout=10 [2020-10-29T07:06:03.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-29T07:06:03.763Z] > git merge 43893dea7cdf8ffe29fac0bba279684163774e51 # timeout=10 [2020-10-29T07:06:03.926Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-29T07:06:03.960Z] > git config core.sparsecheckout # timeout=10 [2020-10-29T07:06:03.992Z] > git checkout -f b2eb490afd9e6182a2743ce79f58bd4d9835a3bd # timeout=10 [2020-10-29T07:06:05.148Z] + 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-29T07:06:06.138Z] Sending build context to Docker daemon 2.343MB [2020-10-29T07:06:06.138Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-29T07:06:06.138Z] Step 2/8 : FROM ${BASE} [2020-10-29T07:06:06.475Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-29T07:06:06.475Z] b538f80385f9: Pulling fs layer [2020-10-29T07:06:06.475Z] 74f711af9a0d: Pulling fs layer [2020-10-29T07:06:06.475Z] 99f96fe45779: Pulling fs layer [2020-10-29T07:06:06.475Z] 8529a6b9a6be: Pulling fs layer [2020-10-29T07:06:06.475Z] 45590311c82a: Pulling fs layer [2020-10-29T07:06:06.475Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-29T07:06:06.475Z] 209524e5b208: Pulling fs layer [2020-10-29T07:06:06.475Z] 8529a6b9a6be: Waiting [2020-10-29T07:06:06.475Z] 45590311c82a: Waiting [2020-10-29T07:06:06.475Z] 69ca0ff8b7b3: Waiting [2020-10-29T07:06:06.475Z] 209524e5b208: Waiting [2020-10-29T07:06:06.475Z] 99f96fe45779: Verifying Checksum [2020-10-29T07:06:06.475Z] 99f96fe45779: Download complete [2020-10-29T07:06:06.475Z] 74f711af9a0d: Verifying Checksum [2020-10-29T07:06:06.475Z] 74f711af9a0d: Download complete [2020-10-29T07:06:06.475Z] 45590311c82a: Verifying Checksum [2020-10-29T07:06:06.475Z] 45590311c82a: Download complete [2020-10-29T07:06:06.475Z] b538f80385f9: Download complete [2020-10-29T07:06:06.475Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-29T07:06:06.475Z] 69ca0ff8b7b3: Download complete [2020-10-29T07:06:07.085Z] b538f80385f9: Pull complete [2020-10-29T07:06:07.681Z] 74f711af9a0d: Pull complete [2020-10-29T07:06:08.281Z] 99f96fe45779: Pull complete [2020-10-29T07:06:08.552Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-29T07:06:08.875Z] 209524e5b208: Verifying Checksum [2020-10-29T07:06:08.875Z] 209524e5b208: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-29T07:06:09.463Z] ========================================================= [2020-10-29T07:06:09.463Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-29T07:06:09.463Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:06:10.333Z] 8529a6b9a6be: Verifying Checksum [2020-10-29T07:06:10.333Z] 8529a6b9a6be: Download complete [2020-10-29T07:06:11.143Z] + 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-29T07:06:11.747Z] Sending build context to Docker daemon 2.343MB [2020-10-29T07:06:11.747Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-29T07:06:11.747Z] Step 2/8 : FROM ${BASE} [2020-10-29T07:06:11.747Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-29T07:06:11.747Z] df20fa9351a1: Pulling fs layer [2020-10-29T07:06:11.747Z] ed8968b2872e: Pulling fs layer [2020-10-29T07:06:11.747Z] a92cc7c5fd73: Pulling fs layer [2020-10-29T07:06:11.747Z] e871e8e8d7a9: Pulling fs layer [2020-10-29T07:06:11.747Z] e73272ec9a57: Pulling fs layer [2020-10-29T07:06:11.747Z] 1e910a182e73: Pulling fs layer [2020-10-29T07:06:11.747Z] e871e8e8d7a9: Waiting [2020-10-29T07:06:11.747Z] e73272ec9a57: Waiting [2020-10-29T07:06:11.747Z] 1e910a182e73: Waiting [2020-10-29T07:06:11.747Z] 4e634b169226: Pulling fs layer [2020-10-29T07:06:11.747Z] 4e634b169226: Waiting [2020-10-29T07:06:12.016Z] a92cc7c5fd73: Verifying Checksum [2020-10-29T07:06:12.016Z] a92cc7c5fd73: Download complete [2020-10-29T07:06:12.016Z] ed8968b2872e: Verifying Checksum [2020-10-29T07:06:12.016Z] ed8968b2872e: Download complete [2020-10-29T07:06:12.016Z] e73272ec9a57: Verifying Checksum [2020-10-29T07:06:12.016Z] e73272ec9a57: Download complete [2020-10-29T07:06:12.016Z] 1e910a182e73: Verifying Checksum [2020-10-29T07:06:12.016Z] 1e910a182e73: Download complete [2020-10-29T07:06:12.305Z] df20fa9351a1: Verifying Checksum [2020-10-29T07:06:12.305Z] df20fa9351a1: Download complete [2020-10-29T07:06:12.652Z] df20fa9351a1: Pull complete [2020-10-29T07:06:12.943Z] ed8968b2872e: Pull complete [2020-10-29T07:06:13.248Z] a92cc7c5fd73: Pull complete [2020-10-29T07:06:17.619Z] 4e634b169226: Download complete [2020-10-29T07:06:19.091Z] e871e8e8d7a9: Verifying Checksum [2020-10-29T07:06:19.091Z] e871e8e8d7a9: Download complete [2020-10-29T07:06:20.516Z] 8529a6b9a6be: Pull complete [2020-10-29T07:06:20.792Z] 45590311c82a: Pull complete [2020-10-29T07:06:21.084Z] 69ca0ff8b7b3: Pull complete [2020-10-29T07:06:25.463Z] 209524e5b208: Pull complete [2020-10-29T07:06:25.463Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-29T07:06:25.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-29T07:06:25.463Z] ---> 5bddaf1c2fca [2020-10-29T07:06:25.463Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:06:27.509Z] e871e8e8d7a9: Pull complete [2020-10-29T07:06:27.509Z] e73272ec9a57: Pull complete [2020-10-29T07:06:27.509Z] 1e910a182e73: Pull complete [2020-10-29T07:06:28.089Z] ---> Running in 7927414e5e59 [2020-10-29T07:06:28.090Z] Removing intermediate container 7927414e5e59 [2020-10-29T07:06:28.090Z] ---> 76d04505cdb2 [2020-10-29T07:06:28.090Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T07:06:28.090Z] ---> Running in 3d2fc44084e2 [2020-10-29T07:06:30.724Z] Removing intermediate container 3d2fc44084e2 [2020-10-29T07:06:30.724Z] ---> d9627310c087 [2020-10-29T07:06:30.724Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-29T07:06:31.005Z] ---> Running in 9e312396aca5 [2020-10-29T07:06:32.458Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-29T07:06:32.991Z] 4e634b169226: Pull complete [2020-10-29T07:06:32.991Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-29T07:06:32.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-29T07:06:32.991Z] ---> f7629b54cfaa [2020-10-29T07:06:32.991Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:06:32.991Z] ---> Running in 04e7bcd5b37e [2020-10-29T07:06:32.991Z] Removing intermediate container 04e7bcd5b37e [2020-10-29T07:06:32.991Z] ---> 31b2b92e5d02 [2020-10-29T07:06:32.991Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T07:06:32.991Z] ---> Running in bee4bd572bbd [2020-10-29T07:06:34.954Z] Removing intermediate container bee4bd572bbd [2020-10-29T07:06:34.954Z] ---> 4becdb36d514 [2020-10-29T07:06:34.954Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-29T07:06:34.954Z] ---> Running in 4c5a8f8d69a7 [2020-10-29T07:06:35.099Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-29T07:06:35.578Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-29T07:06:37.713Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-29T07:06:37.714Z] OK: 142 MiB in 39 packages [2020-10-29T07:06:38.701Z] Removing intermediate container 9e312396aca5 [2020-10-29T07:06:38.701Z] ---> 2577986587af [2020-10-29T07:06:38.701Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-29T07:06:38.701Z] ---> Running in 84cc1907cbd6 [2020-10-29T07:06:38.727Z] OK: 166 MiB in 39 packages [2020-10-29T07:06:39.313Z] Removing intermediate container 84cc1907cbd6 [2020-10-29T07:06:39.313Z] ---> 4dabbcb13c4a [2020-10-29T07:06:39.313Z] Step 7/8 : COPY . . [2020-10-29T07:06:39.716Z] Removing intermediate container 4c5a8f8d69a7 [2020-10-29T07:06:39.716Z] ---> b8a0bd46960a [2020-10-29T07:06:39.716Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-29T07:06:39.716Z] ---> Running in d55c27dd9326 [2020-10-29T07:06:40.048Z] Removing intermediate container d55c27dd9326 [2020-10-29T07:06:40.048Z] ---> 54839f271290 [2020-10-29T07:06:40.048Z] Step 7/8 : COPY . . [2020-10-29T07:06:40.774Z] ---> 12b3d8fb21b3 [2020-10-29T07:06:40.774Z] Step 8/8 : RUN go mod download [2020-10-29T07:06:40.774Z] ---> Running in 94c5b37fe7f4 [2020-10-29T07:06:42.060Z] ---> f02ea4574330 [2020-10-29T07:06:42.060Z] Step 8/8 : RUN go mod download [2020-10-29T07:06:42.060Z] ---> Running in 331e0e1fd781 [2020-10-29T07:07:03.003Z] Removing intermediate container 94c5b37fe7f4 [2020-10-29T07:07:03.003Z] ---> e8f94c23b0df [2020-10-29T07:07:03.003Z] Successfully built e8f94c23b0df [2020-10-29T07:07:03.003Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:07:03.432Z] + docker inspect -f . ci-base-image-arm64 [2020-10-29T07:07:03.432Z] . [Pipeline] withDockerContainer [2020-10-29T07:07:03.712Z] prd-ubuntu18.04-docker-arm64-4c-16g-9665 does not seem to be running inside a container [2020-10-29T07:07:03.816Z] $ 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-arm64 cat [2020-10-29T07:07:04.552Z] Removing intermediate container 331e0e1fd781 [2020-10-29T07:07:04.552Z] ---> b5a96912cf40 [2020-10-29T07:07:04.552Z] Successfully built b5a96912cf40 [2020-10-29T07:07:04.552Z] Successfully tagged ci-base-image-x86_64:latest [2020-10-29T07:07:05.806Z] $ docker top 3d1166312ed5b1d3358e22fc05724903e72d465255b275a7586e311bcab285ce -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:07:06.751Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-29T07:07:06.751Z] . [Pipeline] withDockerContainer [2020-10-29T07:07:06.980Z] prd-centos7-docker-4c-2g-9668 does not seem to be running inside a container [2020-10-29T07:07:07.139Z] $ 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-x86_64 cat [2020-10-29T07:07:07.276Z] + go version [2020-10-29T07:07:07.276Z] go version go1.15.2 linux/arm64 [2020-10-29T07:07:08.198Z] $ docker top ae2e67a4a8f1727bea8f0880fe3884f8b49dd76df3aeef252a59e57ef28dfee4 -eo pid,comm [Pipeline] { [Pipeline] } [2020-10-29T07:07:08.682Z] $ docker stop --time=1 3d1166312ed5b1d3358e22fc05724903e72d465255b275a7586e311bcab285ce [2020-10-29T07:07:10.646Z] $ docker rm -f 3d1166312ed5b1d3358e22fc05724903e72d465255b275a7586e311bcab285ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [2020-10-29T07:07:11.291Z] + go version [2020-10-29T07:07:11.291Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-29T07:07:11.344Z] $ docker stop --time=1 ae2e67a4a8f1727bea8f0880fe3884f8b49dd76df3aeef252a59e57ef28dfee4 [2020-10-29T07:07:12.809Z] $ docker rm -f ae2e67a4a8f1727bea8f0880fe3884f8b49dd76df3aeef252a59e57ef28dfee4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:07:13.561Z] + docker inspect -f . ci-base-image-arm64 [2020-10-29T07:07:13.561Z] . [Pipeline] withDockerContainer [2020-10-29T07:07:13.741Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-29T07:07:13.741Z] . [2020-10-29T07:07:13.800Z] prd-ubuntu18.04-docker-arm64-4c-16g-9665 does not seem to be running inside a container [2020-10-29T07:07:13.889Z] $ 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-arm64 cat [2020-10-29T07:07:15.788Z] $ docker top 00c5e8d7179371d3cbc318a429619e5d425b7f715827bab80120eea2c236ba17 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2020-10-29T07:07:16.383Z] prd-centos7-docker-4c-2g-9668 does not seem to be running inside a container [2020-10-29T07:07:16.522Z] $ 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-x86_64 cat [2020-10-29T07:07:17.492Z] $ docker top 764198248fe4a594739cdcd21b1b85e1da111070edbeb229274d1db9632a3eeb -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-10-29T07:07:18.264Z] + make test [2020-10-29T07:07:18.264Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-29T07:07:18.820Z] + make test [2020-10-29T07:07:18.820Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-29T07:07:29.339Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-29T07:07:41.066Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-29T07:07:56.755Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-29T07:07:56.755Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-29T07:07:56.755Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-29T07:07:57.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.075s coverage: 21.4% of statements [2020-10-29T07:08:02.645Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.766s coverage: 97.1% of statements [2020-10-29T07:08:20.118Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-29T07:08:20.119Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-29T07:08:20.119Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-29T07:08:21.104Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.135s coverage: 21.4% of statements [2020-10-29T07:08:25.436Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.106s coverage: 97.1% of statements [2020-10-29T07:08:29.782Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements [2020-10-29T07:08:29.782Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.167s coverage: 21.9% of statements [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-29T07:08:29.782Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.591s coverage: 42.6% of statements [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-29T07:08:29.782Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.817s coverage: 68.9% of statements [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-29T07:08:29.782Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.133s coverage: 52.6% of statements [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-29T07:08:29.782Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.163s coverage: 68.9% of statements [2020-10-29T07:08:29.782Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.142s coverage: 4.7% of statements [2020-10-29T07:08:29.782Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-29T07:08:29.782Z] GO111MODULE=on go vet ./... [2020-10-29T07:08:48.423Z] gofmt -l . [2020-10-29T07:08:48.423Z] [ "`gofmt -l .`" = "" ] [2020-10-29T07:08:48.423Z] ./bin/test-attribution-txt.sh [2020-10-29T07:08:48.423Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-29T07:08:49.048Z] Stashed 1 file(s) [Pipeline] } [2020-10-29T07:08:49.066Z] $ docker stop --time=1 764198248fe4a594739cdcd21b1b85e1da111070edbeb229274d1db9632a3eeb [2020-10-29T07:08:51.333Z] $ docker rm -f 764198248fe4a594739cdcd21b1b85e1da111070edbeb229274d1db9632a3eeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-29T07:08:53.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-29T07:08:53.517Z] + ls -al . [2020-10-29T07:08:53.517Z] total 208 [2020-10-29T07:08:53.517Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 29 07:08 . [2020-10-29T07:08:53.517Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 29 07:06 .. [2020-10-29T07:08:53.517Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 29 07:06 bin [2020-10-29T07:08:53.517Z] -rw-r--r--. 1 jenkins jenkins 127611 Oct 29 07:08 coverage.out [2020-10-29T07:08:53.517Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 29 07:06 Dockerfile.build [2020-10-29T07:08:53.517Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 29 07:06 .dockerignore [2020-10-29T07:08:53.517Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 29 07:06 example [2020-10-29T07:08:53.517Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 29 07:06 .git [2020-10-29T07:08:53.517Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 29 07:06 .github [2020-10-29T07:08:53.517Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 29 07:06 .gitignore [2020-10-29T07:08:53.517Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 29 07:08 go.mod [2020-10-29T07:08:53.517Z] -rw-r--r--. 1 jenkins jenkins 13546 Oct 29 07:08 go.sum [2020-10-29T07:08:53.517Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 29 07:06 internal [2020-10-29T07:08:53.517Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 29 07:06 Jenkinsfile [2020-10-29T07:08:53.517Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 29 07:06 LICENSE [2020-10-29T07:08:53.517Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 29 07:06 Makefile [2020-10-29T07:08:53.517Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 29 07:06 openapi [2020-10-29T07:08:53.518Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 29 07:06 pkg [2020-10-29T07:08:53.518Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 29 07:06 README.md [2020-10-29T07:08:53.518Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 29 07:06 RELEASE-NOTES.txt [2020-10-29T07:08:53.518Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 29 07:06 snap [2020-10-29T07:08:53.518Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 29 07:02 VERSION [2020-10-29T07:08:53.518Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 29 07:06 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:08:53.876Z] + 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=b2eb490afd9e6182a2743ce79f58bd4d9835a3bd --label arch=amd64 --label version=0.0.0 . [2020-10-29T07:08:54.463Z] Sending build context to Docker daemon 2.471MB [2020-10-29T07:08:54.463Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-29T07:08:54.463Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-29T07:08:54.463Z] ---> b5a96912cf40 [2020-10-29T07:08:54.463Z] Step 3/24 : ARG MAKE='make build' [2020-10-29T07:08:54.732Z] ---> Running in 4cb6ee9895d5 [2020-10-29T07:08:54.732Z] Removing intermediate container 4cb6ee9895d5 [2020-10-29T07:08:54.732Z] ---> cb5574d6d40f [2020-10-29T07:08:54.732Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-29T07:08:55.005Z] ---> Running in 281407deb8b9 [2020-10-29T07:08:55.274Z] Removing intermediate container 281407deb8b9 [2020-10-29T07:08:55.274Z] ---> 3cf90d82f4f1 [2020-10-29T07:08:55.274Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:08:55.274Z] ---> Running in 217c43670d8c [2020-10-29T07:08:55.565Z] Removing intermediate container 217c43670d8c [2020-10-29T07:08:55.565Z] ---> 59fbea4d40b9 [2020-10-29T07:08:55.565Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T07:08:55.565Z] ---> Running in c9084ab7eb41 [2020-10-29T07:08:57.032Z] Removing intermediate container c9084ab7eb41 [2020-10-29T07:08:57.032Z] ---> e35ba5dae263 [2020-10-29T07:08:57.032Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-29T07:08:57.032Z] ---> Running in 81c7e0634224 [2020-10-29T07:08:57.701Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-29T07:08:57.785Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.129s coverage: 9.4% of statements [2020-10-29T07:08:57.785Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.108s coverage: 21.9% of statements [2020-10-29T07:08:57.785Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-29T07:08:57.786Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.621s coverage: 42.6% of statements [2020-10-29T07:08:57.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-29T07:08:57.786Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.774s coverage: 68.9% of statements [2020-10-29T07:08:57.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-29T07:08:57.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-29T07:08:57.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-29T07:08:57.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-29T07:08:57.786Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.175s coverage: 52.6% of statements [2020-10-29T07:08:57.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-29T07:08:57.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-29T07:08:57.786Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-29T07:08:57.786Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.888s coverage: 68.9% of statements [2020-10-29T07:08:57.786Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.130s coverage: 4.7% of statements [2020-10-29T07:08:57.786Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-29T07:08:57.786Z] GO111MODULE=on go vet ./... [2020-10-29T07:08:58.736Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-29T07:08:59.948Z] OK: 166 MiB in 39 packages [2020-10-29T07:09:00.694Z] Removing intermediate container 81c7e0634224 [2020-10-29T07:09:00.694Z] ---> 13232ddde0f8 [2020-10-29T07:09:00.694Z] Step 8/24 : COPY . . [2020-10-29T07:09:01.695Z] ---> 14d3c05c0eeb [2020-10-29T07:09:01.695Z] Step 9/24 : RUN ${MAKE} [2020-10-29T07:09:01.695Z] ---> Running in 7672fe8916e8 [2020-10-29T07:09:03.237Z] 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-29T07:09:18.954Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-29T07:09:21.634Z] Removing intermediate container 7672fe8916e8 [2020-10-29T07:09:21.634Z] ---> 87d2d8e11929 [2020-10-29T07:09:21.634Z] Step 10/24 : FROM scratch [2020-10-29T07:09:21.634Z] ---> [2020-10-29T07:09:21.634Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:09:21.634Z] ---> Running in a9f20d542eed [2020-10-29T07:09:21.634Z] Removing intermediate container a9f20d542eed [2020-10-29T07:09:21.634Z] ---> ec70d04b8b0b [2020-10-29T07:09:21.634Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-29T07:09:21.634Z] ---> Running in 825952da6a4a [2020-10-29T07:09:21.634Z] Removing intermediate container 825952da6a4a [2020-10-29T07:09:21.634Z] ---> 4c3271ddffeb [2020-10-29T07:09:21.634Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-29T07:09:21.634Z] ---> Running in 544d619c70dc [2020-10-29T07:09:21.901Z] Removing intermediate container 544d619c70dc [2020-10-29T07:09:21.901Z] ---> 762762483f39 [2020-10-29T07:09:21.901Z] Step 14/24 : WORKDIR / [2020-10-29T07:09:22.168Z] ---> Running in f8d60fef9c6e [2020-10-29T07:09:22.168Z] Removing intermediate container f8d60fef9c6e [2020-10-29T07:09:22.168Z] ---> 660e1c1aad33 [2020-10-29T07:09:22.168Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-29T07:09:22.794Z] ---> 1ff3eaa18064 [2020-10-29T07:09:22.794Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-29T07:09:23.086Z] ---> f682954a73c8 [2020-10-29T07:09:23.086Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-29T07:09:23.351Z] ---> 9e58f1b50848 [2020-10-29T07:09:23.351Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-29T07:09:23.651Z] ---> 04ce370b9594 [2020-10-29T07:09:23.651Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-29T07:09:24.291Z] ---> f62c460a20c9 [2020-10-29T07:09:24.292Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-29T07:09:24.292Z] ---> Running in 20ddd8501242 [2020-10-29T07:09:24.575Z] Removing intermediate container 20ddd8501242 [2020-10-29T07:09:24.575Z] ---> c519aa05f20c [2020-10-29T07:09:24.575Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-29T07:09:24.575Z] ---> Running in ca47f650a0fb [2020-10-29T07:09:24.639Z] gofmt -l . [2020-10-29T07:09:24.639Z] [ "`gofmt -l .`" = "" ] [2020-10-29T07:09:24.639Z] ./bin/test-attribution-txt.sh [2020-10-29T07:09:24.639Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-29T07:09:24.661Z] Warning: overwriting stash ‘coverage-report’ [2020-10-29T07:09:24.862Z] Removing intermediate container ca47f650a0fb [2020-10-29T07:09:24.862Z] ---> 97226ba29068 [2020-10-29T07:09:24.862Z] Step 22/24 : LABEL arch=amd64 [2020-10-29T07:09:24.862Z] ---> Running in 6d8b2655fc58 [2020-10-29T07:09:25.147Z] Removing intermediate container 6d8b2655fc58 [2020-10-29T07:09:25.147Z] ---> ca2bc6796545 [2020-10-29T07:09:25.147Z] Step 23/24 : LABEL git_sha=b2eb490afd9e6182a2743ce79f58bd4d9835a3bd [2020-10-29T07:09:25.419Z] ---> Running in a7064e613e2a [2020-10-29T07:09:25.419Z] Removing intermediate container a7064e613e2a [2020-10-29T07:09:25.419Z] ---> 3b05edc8b67d [2020-10-29T07:09:25.419Z] Step 24/24 : LABEL version=0.0.0 [2020-10-29T07:09:25.494Z] Stashed 1 file(s) [Pipeline] } [2020-10-29T07:09:25.510Z] $ docker stop --time=1 00c5e8d7179371d3cbc318a429619e5d425b7f715827bab80120eea2c236ba17 [2020-10-29T07:09:25.687Z] ---> Running in 0f9dd51013d8 [2020-10-29T07:09:25.687Z] Removing intermediate container 0f9dd51013d8 [2020-10-29T07:09:25.687Z] ---> 828bc82e725e [2020-10-29T07:09:25.687Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-29T07:09:25.687Z] Successfully built 828bc82e725e [2020-10-29T07:09:25.687Z] Successfully tagged docker-device-sdk-simple:latest [2020-10-29T07:09:27.850Z] $ docker rm -f 00c5e8d7179371d3cbc318a429619e5d425b7f715827bab80120eea2c236ba17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Build) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] script [Pipeline] { [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [2020-10-29T07:09:29.634Z] + sudo chown -R jenkins:jenkins . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2020-10-29T07:09:30.045Z] + ls -al . [2020-10-29T07:09:30.045Z] total 244 [2020-10-29T07:09:30.045Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 29 07:09 . [2020-10-29T07:09:30.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 07:05 .. [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 29 07:05 .dockerignore [2020-10-29T07:09:30.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 29 07:06 .git [2020-10-29T07:09:30.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 07:05 .github [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 29 07:05 .gitignore [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 29 07:05 Dockerfile.build [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 29 07:05 Jenkinsfile [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 29 07:05 LICENSE [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 29 07:05 Makefile [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 29 07:05 README.md [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 29 07:05 RELEASE-NOTES.txt [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 29 07:02 VERSION [2020-10-29T07:09:30.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 29 07:05 bin [2020-10-29T07:09:30.045Z] -rw-r--r-- 1 jenkins jenkins 127612 Oct 29 07:08 coverage.out [2020-10-29T07:09:30.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 07:05 example [2020-10-29T07:09:30.045Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 29 07:09 go.mod [2020-10-29T07:09:30.045Z] -rw-r--r-- 1 jenkins jenkins 13546 Oct 29 07:09 go.sum [2020-10-29T07:09:30.045Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 29 07:05 internal [2020-10-29T07:09:30.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 07:05 openapi [2020-10-29T07:09:30.045Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 29 07:05 pkg [2020-10-29T07:09:30.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 29 07:05 snap [2020-10-29T07:09:30.045Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 29 07:05 version.go [Pipeline] // stage [Pipeline] } [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:09:30.576Z] + 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=b2eb490afd9e6182a2743ce79f58bd4d9835a3bd --label arch=arm64 --label version=0.0.0 . [2020-10-29T07:09:31.200Z] Sending build context to Docker daemon 2.471MB [2020-10-29T07:09:31.200Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-29T07:09:31.200Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-29T07:09:31.200Z] ---> e8f94c23b0df [2020-10-29T07:09:31.200Z] Step 3/24 : ARG MAKE='make build' [2020-10-29T07:09:31.474Z] ---> Running in 94dd474a35d1 [2020-10-29T07:09:31.750Z] Removing intermediate container 94dd474a35d1 [2020-10-29T07:09:31.750Z] ---> 61a04a7cdce9 [2020-10-29T07:09:31.750Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-29T07:09:32.021Z] ---> Running in 1388180c0d71 [2020-10-29T07:09:32.295Z] Removing intermediate container 1388180c0d71 [2020-10-29T07:09:32.295Z] ---> 3caf2d1bda9a [2020-10-29T07:09:32.295Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:09:32.569Z] ---> Running in 5ad0a10cba09 [2020-10-29T07:09:32.855Z] Removing intermediate container 5ad0a10cba09 [2020-10-29T07:09:32.855Z] ---> 9f68db818d40 [2020-10-29T07:09:32.855Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-29T07:09:33.128Z] ---> Running in 4b5615b49ab2 [2020-10-29T07:09:35.750Z] Removing intermediate container 4b5615b49ab2 [2020-10-29T07:09:35.750Z] ---> d343a2fd7c88 [2020-10-29T07:09:35.750Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-29T07:09:35.750Z] ---> Running in 242efb73ad51 [2020-10-29T07:09:37.184Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-29T07:09:38.157Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-29T07:09:39.133Z] OK: 142 MiB in 39 packages [2020-10-29T07:09:40.114Z] Removing intermediate container 242efb73ad51 [2020-10-29T07:09:40.114Z] ---> 09347c65c345 [2020-10-29T07:09:40.114Z] Step 8/24 : COPY . . [2020-10-29T07:09:41.562Z] ---> 863e25857c72 [2020-10-29T07:09:41.562Z] Step 9/24 : RUN ${MAKE} [2020-10-29T07:09:41.562Z] ---> Running in c1527018e17f [2020-10-29T07:09:42.989Z] 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-29T07:10:09.841Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-29T07:10:09.841Z] Removing intermediate container c1527018e17f [2020-10-29T07:10:09.841Z] ---> 01ff8f1e6704 [2020-10-29T07:10:09.841Z] Step 10/24 : FROM scratch [2020-10-29T07:10:09.841Z] ---> [2020-10-29T07:10:09.841Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-29T07:10:09.841Z] ---> Running in e6618ea9b029 [2020-10-29T07:10:10.437Z] Removing intermediate container e6618ea9b029 [2020-10-29T07:10:10.437Z] ---> 042a6e84725a [2020-10-29T07:10:10.437Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-29T07:10:10.437Z] ---> Running in 2138cddff939 [2020-10-29T07:10:11.030Z] Removing intermediate container 2138cddff939 [2020-10-29T07:10:11.030Z] ---> e4d604fc5c14 [2020-10-29T07:10:11.030Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-29T07:10:11.030Z] ---> Running in 2e6f43c41c6e [2020-10-29T07:10:11.302Z] Removing intermediate container 2e6f43c41c6e [2020-10-29T07:10:11.302Z] ---> e9c3dd6114fc [2020-10-29T07:10:11.302Z] Step 14/24 : WORKDIR / [2020-10-29T07:10:11.575Z] ---> Running in 93f9d2b5bb44 [2020-10-29T07:10:12.170Z] Removing intermediate container 93f9d2b5bb44 [2020-10-29T07:10:12.170Z] ---> 5b30bf5371f2 [2020-10-29T07:10:12.170Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-29T07:10:13.145Z] ---> e7243d70c15c [2020-10-29T07:10:13.145Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-29T07:10:13.743Z] ---> 49f47e556425 [2020-10-29T07:10:13.743Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-29T07:10:14.726Z] ---> b2a44be914bb [2020-10-29T07:10:14.726Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-29T07:10:15.321Z] ---> c41ad4c2062d [2020-10-29T07:10:15.321Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-29T07:10:15.915Z] ---> d94641de8261 [2020-10-29T07:10:15.915Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-29T07:10:15.915Z] ---> Running in c17e41dc802b [2020-10-29T07:10:16.509Z] Removing intermediate container c17e41dc802b [2020-10-29T07:10:16.509Z] ---> 315bcd9b24fd [2020-10-29T07:10:16.509Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-29T07:10:16.509Z] ---> Running in ed1d8b60d2f1 [2020-10-29T07:10:17.106Z] Removing intermediate container ed1d8b60d2f1 [2020-10-29T07:10:17.106Z] ---> fc8606bafa53 [2020-10-29T07:10:17.106Z] Step 22/24 : LABEL arch=arm64 [2020-10-29T07:10:17.106Z] ---> Running in 28654183e2a9 [2020-10-29T07:10:17.703Z] Removing intermediate container 28654183e2a9 [2020-10-29T07:10:17.703Z] ---> fef4d5a01c01 [2020-10-29T07:10:17.703Z] Step 23/24 : LABEL git_sha=b2eb490afd9e6182a2743ce79f58bd4d9835a3bd [2020-10-29T07:10:17.703Z] ---> Running in 257daef66a27 [2020-10-29T07:10:18.298Z] Removing intermediate container 257daef66a27 [2020-10-29T07:10:18.298Z] ---> 62acfd6612d9 [2020-10-29T07:10:18.298Z] Step 24/24 : LABEL version=0.0.0 [2020-10-29T07:10:18.298Z] ---> Running in 08e189b5ed88 [2020-10-29T07:10:18.570Z] Removing intermediate container 08e189b5ed88 [2020-10-29T07:10:18.570Z] ---> 364be0348f0d [2020-10-29T07:10:18.570Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-29T07:10:18.842Z] Successfully built 364be0348f0d [2020-10-29T07:10:18.842Z] 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-29T07:10:21.407Z] provisioning config files... [2020-10-29T07:10:21.419Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/config4075456998028133914tmp [Pipeline] { [Pipeline] sh [2020-10-29T07:10:21.802Z] + set +x [2020-10-29T07:10:21.802Z] + curl -s https://codecov.io/bash [2020-10-29T07:10:21.802Z] + bash -s -- [2020-10-29T07:10:22.067Z] [2020-10-29T07:10:22.067Z] _____ _ [2020-10-29T07:10:22.067Z] / ____| | | [2020-10-29T07:10:22.067Z] | | ___ __| | ___ ___ _____ __ [2020-10-29T07:10:22.067Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-29T07:10:22.067Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-29T07:10:22.067Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-29T07:10:22.067Z] Bash-20201009-048fee3 [2020-10-29T07:10:22.067Z] [2020-10-29T07:10:22.067Z] [2020-10-29T07:10:22.067Z] ==> Jenkins CI detected. [2020-10-29T07:10:22.067Z] project root: . [2020-10-29T07:10:22.067Z] --> token set from env [2020-10-29T07:10:22.067Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-29T07:10:22.067Z] ==> Running gcov in . (disable via -X gcov) [2020-10-29T07:10:22.067Z] ==> Python coveragepy not found [2020-10-29T07:10:22.067Z] ==> Searching for coverage reports in: [2020-10-29T07:10:22.067Z] + . [2020-10-29T07:10:22.067Z] -> Found 1 reports [2020-10-29T07:10:22.067Z] ==> Detecting git/mercurial file structure [2020-10-29T07:10:22.067Z] ==> Reading reports [2020-10-29T07:10:22.067Z] + ./coverage.out bytes=127612 [2020-10-29T07:10:22.067Z] ==> Appending adjustments [2020-10-29T07:10:22.067Z] https://docs.codecov.io/docs/fixing-reports [2020-10-29T07:10:22.645Z] + Found adjustments [2020-10-29T07:10:22.645Z] ==> Gzipping contents [2020-10-29T07:10:22.645Z] ==> Uploading reports [2020-10-29T07:10:22.645Z] url: https://codecov.io [2020-10-29T07:10:22.645Z] query: branch=PR-645&commit=b2eb490afd9e6182a2743ce79f58bd4d9835a3bd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-645%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=645&job=&cmd_args= [2020-10-29T07:10:22.645Z] -> Pinging Codecov [2020-10-29T07:10:22.645Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-645&commit=b2eb490afd9e6182a2743ce79f58bd4d9835a3bd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-645%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=645&job=&cmd_args= [2020-10-29T07:10:22.908Z] -> Uploading to [2020-10-29T07:10:22.908Z] [2020-10-29T07:10:22.908Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-29T07:10:22.908Z] Dload Upload Total Spent Left Speed [2020-10-29T07:10:22.908Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-29T07:10:22.908Z] X> Failed to upload [2020-10-29T07:10:22.908Z] ==> Uploading to Codecov [2020-10-29T07:10:22.908Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-29T07:10:22.908Z] Dload Upload Total Spent Left Speed [2020-10-29T07:10:26.779Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20863 0 0 100 20863 0 17796 0:00:01 0:00:01 --:--:-- 17801 100 20863 0 0 100 20863 0 10424 0:00:02 0:00:02 --:--:-- 10426 100 20863 0 0 100 20863 0 6948 0:00:03 0:00:03 --:--:-- 6949 100 20973 100 110 100 20863 29 5534 0:00:03 0:00:03 --:--:-- 5535 [2020-10-29T07:10:26.779Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b2eb490afd9e6182a2743ce79f58bd4d9835a3bd [Pipeline] } [2020-10-29T07:10:26.790Z] 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-29T07:10:29.552Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:10:30.122Z] ---> package-listing.sh [2020-10-29T07:10:30.122Z] ++ facter osfamily [2020-10-29T07:10:30.122Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-29T07:10:30.122Z] + OS_FAMILY=redhat [2020-10-29T07:10:30.122Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-645 [2020-10-29T07:10:30.122Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-29T07:10:30.122Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-29T07:10:30.122Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-29T07:10:30.122Z] + PACKAGES=/tmp/packages_start.txt [2020-10-29T07:10:30.122Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-645 ']' [2020-10-29T07:10:30.122Z] + PACKAGES=/tmp/packages_end.txt [2020-10-29T07:10:30.122Z] + case "${OS_FAMILY}" in [2020-10-29T07:10:30.122Z] + rpm -qa [2020-10-29T07:10:30.122Z] + sort [2020-10-29T07:10:34.363Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-29T07:10:34.363Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-29T07:10:34.364Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-29T07:10:34.364Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-645 ']' [2020-10-29T07:10:34.364Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-645/archives/ [2020-10-29T07:10:34.364Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-645/archives/ [Pipeline] echo [2020-10-29T07:10:34.378Z] 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-645/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-29T07:10:34.671Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:10:34.978Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-29T07:10:34.978Z] [2020-10-29T07:10:34.978Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-29T07:10:35.331Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-29T07:10:35.332Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-29T07:10:35.332Z] df20fa9351a1: Pulling fs layer [2020-10-29T07:10:35.332Z] 36b3adc4ff6f: Pulling fs layer [2020-10-29T07:10:35.332Z] 8ad3a11d3b57: Pulling fs layer [2020-10-29T07:10:35.332Z] 46f8f816bc3b: Pulling fs layer [2020-10-29T07:10:35.332Z] 93b61091891f: Pulling fs layer [2020-10-29T07:10:35.332Z] 93b9cdb0e59b: Pulling fs layer [2020-10-29T07:10:35.332Z] 5e14af77c1be: Pulling fs layer [2020-10-29T07:10:35.332Z] 01666e4c0597: Pulling fs layer [2020-10-29T07:10:35.332Z] aa168da1d23b: Pulling fs layer [2020-10-29T07:10:35.332Z] 93b9cdb0e59b: Waiting [2020-10-29T07:10:35.332Z] 5e14af77c1be: Waiting [2020-10-29T07:10:35.332Z] 46f8f816bc3b: Waiting [2020-10-29T07:10:35.332Z] 01666e4c0597: Waiting [2020-10-29T07:10:35.332Z] 36b3adc4ff6f: Download complete [2020-10-29T07:10:35.332Z] 46f8f816bc3b: Download complete [2020-10-29T07:10:35.332Z] df20fa9351a1: Verifying Checksum [2020-10-29T07:10:35.332Z] df20fa9351a1: Download complete [2020-10-29T07:10:35.594Z] 93b9cdb0e59b: Verifying Checksum [2020-10-29T07:10:35.594Z] 93b9cdb0e59b: Download complete [2020-10-29T07:10:35.594Z] 5e14af77c1be: Verifying Checksum [2020-10-29T07:10:35.594Z] 5e14af77c1be: Download complete [2020-10-29T07:10:35.594Z] 93b61091891f: Verifying Checksum [2020-10-29T07:10:35.594Z] 93b61091891f: Download complete [2020-10-29T07:10:35.594Z] 01666e4c0597: Verifying Checksum [2020-10-29T07:10:35.594Z] 01666e4c0597: Download complete [2020-10-29T07:10:35.856Z] df20fa9351a1: Pull complete [2020-10-29T07:10:35.856Z] 36b3adc4ff6f: Pull complete [2020-10-29T07:10:36.122Z] 8ad3a11d3b57: Verifying Checksum [2020-10-29T07:10:36.122Z] 8ad3a11d3b57: Download complete [2020-10-29T07:10:37.092Z] 8ad3a11d3b57: Pull complete [2020-10-29T07:10:37.092Z] 46f8f816bc3b: Pull complete [2020-10-29T07:10:37.681Z] 93b61091891f: Pull complete [2020-10-29T07:10:37.945Z] 93b9cdb0e59b: Pull complete [2020-10-29T07:10:37.945Z] 5e14af77c1be: Pull complete [2020-10-29T07:10:37.945Z] aa168da1d23b: Verifying Checksum [2020-10-29T07:10:37.945Z] aa168da1d23b: Download complete [2020-10-29T07:10:38.212Z] 01666e4c0597: Pull complete [2020-10-29T07:10:44.854Z] aa168da1d23b: Pull complete [2020-10-29T07:10:44.854Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-29T07:10:44.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-29T07:10:44.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-29T07:10:45.035Z] prd-centos7-docker-4c-2g-9660 does not seem to be running inside a container [2020-10-29T07:10:45.093Z] $ 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-645/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-645 -v /w/workspace/dgexfoundry_device-sdk-go_PR-645:/w/workspace/dgexfoundry_device-sdk-go_PR-645:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-645@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-29T07:10:48.901Z] $ docker top 46969fe6c7dcf7c43c264107c0ab3efe0dac57afd36dc11b49e4abe64665e76c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-29T07:10:49.422Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-29T07:10:49.727Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-29T07:10:50.031Z] + ls /var/log/sa-host [2020-10-29T07:10:50.031Z] + sadf -c /var/log/sa-host/sa05 [2020-10-29T07:10:50.031Z] file_magic: OK [2020-10-29T07:10:50.031Z] HZ: Using current value: 100 [2020-10-29T07:10:50.031Z] file_header: OK [2020-10-29T07:10:50.031Z] 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-29T07:10:50.031Z] Statistics: [2020-10-29T07:10:50.031Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-29T07:10:50.031Z] File successfully converted to sysstat format version 12.2.1 [2020-10-29T07:10:50.031Z] + sadf -c /var/log/sa-host/sa29 [2020-10-29T07:10:50.031Z] file_magic: OK [2020-10-29T07:10:50.031Z] HZ: Using current value: 100 [2020-10-29T07:10:50.031Z] file_header: OK [2020-10-29T07:10:50.031Z] 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-29T07:10:50.031Z] Statistics: [2020-10-29T07:10:50.031Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-29T07:10:50.031Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-29T07:10:50.256Z] provisioning config files... [2020-10-29T07:10:50.279Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-645@tmp/config7743367458413082649tmp [Pipeline] { [Pipeline] echo [2020-10-29T07:10:50.350Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:10:50.656Z] ---> create-netrc.sh [Pipeline] } [2020-10-29T07:10:50.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-29T07:10:50.798Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:10:51.098Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-29T07:10:51.110Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:10:51.409Z] ---> sudo-logs.sh [2020-10-29T07:10:51.409Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-29T07:10:51.421Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:10:51.721Z] ---> job-cost.sh [2020-10-29T07:10:51.721Z] lf-activate-venv: SKIPPING [2020-10-29T07:10:51.721Z] INFO: No Stack... [2020-10-29T07:10:53.114Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-29T07:10:53.376Z] INFO: Archiving Costs [Pipeline] echo [2020-10-29T07:10:53.389Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-29T07:10:53.686Z] ---> logs-deploy.sh [2020-10-29T07:10:53.686Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-645/2 [2020-10-29T07:10:53.686Z] INFO: archiving workspace using pattern(s): [2020-10-29T07:10:55.623Z] Archives upload complete. [2020-10-29T07:10:55.623Z] INFO: archiving logs to Nexus