Pull request #614 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2bbf6af02697b011a7a794463910a22f9bcbb85f+6cec193abf44cabffe02bbcaff9748adb3f719d5 (4585d7baea0904e684f11b6ac28afdb416349ca0) 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-6238 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [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-614 # 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 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f Merge succeeded, producing 2bbf6af02697b011a7a794463910a22f9bcbb85f Checking out Revision 2bbf6af02697b011a7a794463910a22f9bcbb85f (PR-614) > 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/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # 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 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-19T07:50:19.187Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk a61210e4bab0a8e935d14f6878a7610afcc83bb0 # timeout=10 [2020-10-19T07:50:19.443Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T07:50:19.582Z] ========================================================= [2020-10-19T07:50:19.582Z] EdgeX Global Pipelines Version Info [2020-10-19T07:50:19.582Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:50:21.033Z] ------------------- [2020-10-19T07:50:21.034Z] stable info: [2020-10-19T07:50:21.034Z] ------------------- [2020-10-19T07:50:21.034Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:50:21.034Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:50:21.034Z] Message: update stable to v1.0.144 [2020-10-19T07:50:21.981Z] ------------------- [2020-10-19T07:50:21.981Z] experimental info: [2020-10-19T07:50:21.981Z] ------------------- [2020-10-19T07:50:21.981Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:50:21.981Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:50:21.981Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T07:50:22.345Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-19T07:50:22.573Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-19T07:50:22.666Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T07:50:22.765Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T07:50:22.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T07:50:22.948Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T07:50:23.045Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T07:50:23.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T07:50:23.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-19T07:50:23.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T07:50:23.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T07:50:23.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-19T07:50:23.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T07:50:23.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T07:50:23.870Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-19T07:50:23.966Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:50:24.060Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:50:24.182Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:50:24.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-19T07:50:24.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T07:50:24.515Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-19T07:50:24.607Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-19T07:50:24.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T07:50:24.799Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T07:50:24.890Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-19T07:50:24.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-614 [Pipeline] echo [2020-10-19T07:50:25.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-614 [Pipeline] echo [2020-10-19T07:50:25.221Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-614 [Pipeline] echo [2020-10-19T07:50:25.313Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bbf6af02697b011a7a794463910a22f9bcbb85f [Pipeline] echo [2020-10-19T07:50:25.405Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bbf6af [Pipeline] echo [2020-10-19T07:50:25.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:50:26.172Z] + git log --format=format:%s -1 2bbf6af02697b011a7a794463910a22f9bcbb85f [Pipeline] echo [2020-10-19T07:50:26.240Z] GIT_COMMIT: 2bbf6af02697b011a7a794463910a22f9bcbb85f, Commit Message: build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1 [Pipeline] echo [2020-10-19T07:50:26.287Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:50:26.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:50:27.485Z] [2020-10-19T07:50:27.485Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:50:27.842Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:50:27.842Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T07:50:27.842Z] 31603596830f: Pulling fs layer [2020-10-19T07:50:27.842Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T07:50:27.842Z] 6ca5941a6612: Pulling fs layer [2020-10-19T07:50:27.842Z] ecc8261a40a4: Pulling fs layer [2020-10-19T07:50:27.842Z] ecc8261a40a4: Waiting [2020-10-19T07:50:27.842Z] 2a8b12db71e7: Verifying Checksum [2020-10-19T07:50:27.842Z] 2a8b12db71e7: Download complete [2020-10-19T07:50:28.107Z] 31603596830f: Verifying Checksum [2020-10-19T07:50:28.107Z] 31603596830f: Download complete [2020-10-19T07:50:28.107Z] ecc8261a40a4: Verifying Checksum [2020-10-19T07:50:28.107Z] ecc8261a40a4: Download complete [2020-10-19T07:50:28.107Z] 6ca5941a6612: Verifying Checksum [2020-10-19T07:50:28.107Z] 6ca5941a6612: Download complete [2020-10-19T07:50:28.371Z] 31603596830f: Pull complete [2020-10-19T07:50:28.371Z] 2a8b12db71e7: Pull complete [2020-10-19T07:50:29.321Z] 6ca5941a6612: Pull complete [2020-10-19T07:50:29.896Z] ecc8261a40a4: Pull complete [2020-10-19T07:50:29.896Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T07:50:29.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:50:29.896Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T07:50:30.005Z] prd-centos7-docker-4c-2g-6238 does not seem to be running inside a container [2020-10-19T07:50:30.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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-19T07:50:31.846Z] $ docker top 5bc66cced8060f398ec80681b15dd3331bf61c4e6f26504c6fb804b48b450586 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T07:50:32.128Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:50:32.128Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:50:32.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:50:32.326Z] $ docker exec 5bc66cced8060f398ec80681b15dd3331bf61c4e6f26504c6fb804b48b450586 ssh-agent [2020-10-19T07:50:32.491Z] SSH_AUTH_SOCK=/tmp/ssh-WTDZ8bcc0RwV/agent.12 [2020-10-19T07:50:32.491Z] SSH_AGENT_PID=17 [2020-10-19T07:50:32.503Z] Running ssh-add (command line suppressed) [2020-10-19T07:50:32.623Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3875534386241068291.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_3875534386241068291.key) [2020-10-19T07:50:32.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:50:33.001Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T07:50:33.087Z] $ docker exec --env ******** --env ******** 5bc66cced8060f398ec80681b15dd3331bf61c4e6f26504c6fb804b48b450586 ssh-agent -k [2020-10-19T07:50:33.255Z] unset SSH_AUTH_SOCK; [2020-10-19T07:50:33.256Z] unset SSH_AGENT_PID; [2020-10-19T07:50:33.256Z] echo Agent pid 17 killed; [2020-10-19T07:50:33.313Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T07:50:33.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:50:33.464Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:50:33.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:50:33.631Z] $ docker exec 5bc66cced8060f398ec80681b15dd3331bf61c4e6f26504c6fb804b48b450586 ssh-agent [2020-10-19T07:50:33.776Z] SSH_AUTH_SOCK=/tmp/ssh-58JbJzpkzyU4/agent.46 [2020-10-19T07:50:33.776Z] SSH_AGENT_PID=51 [2020-10-19T07:50:33.784Z] Running ssh-add (command line suppressed) [2020-10-19T07:50:33.901Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_375587013806838557.key (/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/private_key_375587013806838557.key) [2020-10-19T07:50:33.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:50:34.319Z] + git semver init [2020-10-19T07:50:34.319Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T07:50:34.319Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.git [2020-10-19T07:50:34.319Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-19T07:50:34.319Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T07:50:34.319Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T07:50:34.319Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T07:50:34.319Z] # $SEMVER_BRANCH = PR-614 [2020-10-19T07:50:34.319Z] # $SEMVER_TEMP = /tmp/semver-538572009 [2020-10-19T07:50:34.319Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-19T07:50:34.897Z] # '/tmp/semver-538572009' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver' [2020-10-19T07:50:34.897Z] # -> Force: false [2020-10-19T07:50:34.897Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-614/.semver [Pipeline] } [2020-10-19T07:50:34.913Z] $ docker exec --env ******** --env ******** 5bc66cced8060f398ec80681b15dd3331bf61c4e6f26504c6fb804b48b450586 ssh-agent -k [2020-10-19T07:50:35.025Z] unset SSH_AUTH_SOCK; [2020-10-19T07:50:35.025Z] unset SSH_AGENT_PID; [2020-10-19T07:50:35.025Z] echo Agent pid 51 killed; [2020-10-19T07:50:35.062Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T07:50:35.520Z] + git semver [Pipeline] } [2020-10-19T07:50:35.545Z] $ docker stop --time=1 5bc66cced8060f398ec80681b15dd3331bf61c4e6f26504c6fb804b48b450586 [2020-10-19T07:50:36.985Z] $ docker rm -f 5bc66cced8060f398ec80681b15dd3331bf61c4e6f26504c6fb804b48b450586 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T07:50:37.438Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T07:50:37.885Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T07:50:37.888Z] [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-19T07:50:53.558Z] Still waiting to schedule task [2020-10-19T07:50:53.558Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6233’ is offline; ‘prd-centos7-docker-4c-2g-6235’ is offline; ‘prd-centos7-docker-4c-2g-6239’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-19T07:50:53.561Z] Still waiting to schedule task [2020-10-19T07:50:53.561Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-19T07:51:55.319Z] Running on prd-centos7-docker-4c-2g-6242 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-19T07:51:55.376Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2020-10-19T07:51:58.154Z] using credential edgex-jenkins-ssh [2020-10-19T07:51:58.220Z] Cloning the remote Git repository [2020-10-19T07:51:58.259Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:51:58.342Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2020-10-19T07:51:58.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:51:58.526Z] > git --version # timeout=10 [2020-10-19T07:51:58.535Z] > git --version # 'git version 2.16.5' [2020-10-19T07:51:58.536Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:51:58.570Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:51:59.695Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-19T07:51:59.845Z] Merge succeeded, producing 2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-19T07:51:59.846Z] Checking out Revision 2bbf6af02697b011a7a794463910a22f9bcbb85f (PR-614) [2020-10-19T07:51:59.308Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:51:59.315Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:51:59.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:51:59.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:51:59.339Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:51:59.344Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:51:59.714Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:51:59.720Z] > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [2020-10-19T07:51:59.821Z] > git remote # timeout=10 [2020-10-19T07:51:59.828Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:51:59.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:51:59.839Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-19T07:51:59.850Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:51:59.859Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:51:59.869Z] > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [2020-10-19T07:52:03.519Z] Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:52:04.370Z] ========================================================= [2020-10-19T07:52:04.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T07:52:04.370Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:52:05.110Z] + 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-19T07:52:05.689Z] Sending build context to Docker daemon 2.315MB [2020-10-19T07:52:05.689Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:52:05.689Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:52:05.689Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T07:52:05.689Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:52:05.689Z] ed8968b2872e: Pulling fs layer [2020-10-19T07:52:05.689Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T07:52:05.689Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T07:52:05.689Z] e73272ec9a57: Pulling fs layer [2020-10-19T07:52:05.689Z] 1e910a182e73: Pulling fs layer [2020-10-19T07:52:05.689Z] 4e634b169226: Pulling fs layer [2020-10-19T07:52:05.689Z] e871e8e8d7a9: Waiting [2020-10-19T07:52:05.689Z] e73272ec9a57: Waiting [2020-10-19T07:52:05.689Z] 1e910a182e73: Waiting [2020-10-19T07:52:05.689Z] 4e634b169226: Waiting [2020-10-19T07:52:05.689Z] a92cc7c5fd73: Verifying Checksum [2020-10-19T07:52:05.689Z] a92cc7c5fd73: Download complete [2020-10-19T07:52:05.689Z] ed8968b2872e: Verifying Checksum [2020-10-19T07:52:05.689Z] ed8968b2872e: Download complete [2020-10-19T07:52:05.689Z] e73272ec9a57: Download complete [2020-10-19T07:52:05.689Z] 1e910a182e73: Download complete [2020-10-19T07:52:05.689Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:52:05.689Z] df20fa9351a1: Download complete [2020-10-19T07:52:05.954Z] df20fa9351a1: Pull complete [2020-10-19T07:52:06.216Z] ed8968b2872e: Pull complete [2020-10-19T07:52:06.216Z] a92cc7c5fd73: Pull complete [2020-10-19T07:52:08.144Z] 4e634b169226: Verifying Checksum [2020-10-19T07:52:08.144Z] 4e634b169226: Download complete [2020-10-19T07:52:09.546Z] e871e8e8d7a9: Verifying Checksum [2020-10-19T07:52:09.546Z] e871e8e8d7a9: Download complete [2020-10-19T07:52:14.934Z] e871e8e8d7a9: Pull complete [2020-10-19T07:52:14.934Z] e73272ec9a57: Pull complete [2020-10-19T07:52:14.934Z] 1e910a182e73: Pull complete [2020-10-19T07:52:23.114Z] 4e634b169226: Pull complete [2020-10-19T07:52:23.114Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T07:52:23.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T07:52:23.114Z] ---> f7629b54cfaa [2020-10-19T07:52:23.114Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:52:23.114Z] ---> Running in b5c0626a5686 [2020-10-19T07:52:23.114Z] Removing intermediate container b5c0626a5686 [2020-10-19T07:52:23.114Z] ---> 04704b08d56a [2020-10-19T07:52:23.114Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:52:23.114Z] ---> Running in 027820c15821 [2020-10-19T07:52:24.076Z] Removing intermediate container 027820c15821 [2020-10-19T07:52:24.076Z] ---> 7cfd6ec7f535 [2020-10-19T07:52:24.076Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:52:24.076Z] ---> Running in 4502303104d8 [2020-10-19T07:52:24.342Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:52:25.297Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:52:26.245Z] OK: 166 MiB in 39 packages [2020-10-19T07:52:26.824Z] Removing intermediate container 4502303104d8 [2020-10-19T07:52:26.824Z] ---> 690ee5bc2af9 [2020-10-19T07:52:26.824Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:52:26.824Z] ---> Running in c3537f038147 [2020-10-19T07:52:27.088Z] Removing intermediate container c3537f038147 [2020-10-19T07:52:27.088Z] ---> a2a441dc5074 [2020-10-19T07:52:27.088Z] Step 7/8 : COPY . . [2020-10-19T07:52:28.036Z] ---> d80e6bef2111 [2020-10-19T07:52:28.036Z] Step 8/8 : RUN go mod download [2020-10-19T07:52:28.036Z] ---> Running in 590b4b19d19d [2020-10-19T07:52:46.213Z] Removing intermediate container 590b4b19d19d [2020-10-19T07:52:46.213Z] ---> e79a30ba4887 [2020-10-19T07:52:46.213Z] Successfully built e79a30ba4887 [2020-10-19T07:52:46.213Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:52:46.590Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:52:46.590Z] . [Pipeline] withDockerContainer [2020-10-19T07:52:46.727Z] prd-centos7-docker-4c-2g-6242 does not seem to be running inside a container [2020-10-19T07:52:46.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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-19T07:52:47.620Z] $ docker top b6f45445547f4e189f152ad1348e419896c41a4c248809cf9c9d8bfdaf682eba -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:52:48.122Z] + go version [2020-10-19T07:52:48.122Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T07:52:48.150Z] $ docker stop --time=1 b6f45445547f4e189f152ad1348e419896c41a4c248809cf9c9d8bfdaf682eba [2020-10-19T07:52:49.503Z] $ docker rm -f b6f45445547f4e189f152ad1348e419896c41a4c248809cf9c9d8bfdaf682eba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:52:50.611Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:52:50.611Z] . [Pipeline] withDockerContainer [2020-10-19T07:52:50.834Z] prd-centos7-docker-4c-2g-6242 does not seem to be running inside a container [2020-10-19T07:52:50.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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-19T07:52:51.514Z] $ docker top dcaf8c8e34ee2cd658c7354479b187491fbec7ef5613d45322e25c5b88f8fa72 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:52:51.988Z] + make test [2020-10-19T07:52:51.988Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:53:00.208Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:53:15.251Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:53:15.251Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:53:15.251Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:53:15.251Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 21.6% of statements [2020-10-19T07:53:15.251Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.425s coverage: 97.1% of statements [2020-10-19T07:53:47.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 9.4% of statements [2020-10-19T07:53:47.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.053s coverage: 21.9% of statements [2020-10-19T07:53:47.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:53:47.428Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.223s coverage: 42.6% of statements [2020-10-19T07:53:47.428Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:53:47.429Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.318s coverage: 68.9% of statements [2020-10-19T07:53:47.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:53:47.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:53:47.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:53:47.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:53:47.429Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.072s coverage: 52.6% of statements [2020-10-19T07:53:47.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:53:47.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:53:47.429Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:53:47.429Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.381s coverage: 68.9% of statements [2020-10-19T07:53:47.429Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:53:47.429Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:53:47.429Z] GO111MODULE=on go vet ./... [2020-10-19T07:53:55.700Z] gofmt -l . [2020-10-19T07:53:55.700Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:53:55.700Z] ./bin/test-attribution-txt.sh [2020-10-19T07:53:55.700Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:53:56.036Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:53:56.053Z] $ docker stop --time=1 dcaf8c8e34ee2cd658c7354479b187491fbec7ef5613d45322e25c5b88f8fa72 [2020-10-19T07:53:57.952Z] $ docker rm -f dcaf8c8e34ee2cd658c7354479b187491fbec7ef5613d45322e25c5b88f8fa72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-19T07:53:59.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:54:00.291Z] + ls -al . [2020-10-19T07:54:00.291Z] total 188 [2020-10-19T07:54:00.291Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:53 . [2020-10-19T07:54:00.291Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 19 07:51 .. [2020-10-19T07:54:00.291Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:51 bin [2020-10-19T07:54:00.291Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:53 coverage.out [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:51 Dockerfile.build [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:51 .dockerignore [2020-10-19T07:54:00.291Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:51 example [2020-10-19T07:54:00.291Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:52 .git [2020-10-19T07:54:00.291Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:51 .github [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:51 .gitignore [2020-10-19T07:54:00.291Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 19 07:53 go.mod [2020-10-19T07:54:00.291Z] -rw-r--r--. 1 jenkins jenkins 13821 Oct 19 07:53 go.sum [2020-10-19T07:54:00.291Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:51 internal [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:51 Jenkinsfile [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:51 LICENSE [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:51 Makefile [2020-10-19T07:54:00.291Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:51 openapi [2020-10-19T07:54:00.291Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:51 pkg [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:51 README.md [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:51 RELEASE-NOTES.txt [2020-10-19T07:54:00.291Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:51 snap [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:50 VERSION [2020-10-19T07:54:00.291Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:51 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:54:00.614Z] + 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=2bbf6af02697b011a7a794463910a22f9bcbb85f --label arch=amd64 --label version=0.0.0 . [2020-10-19T07:54:00.877Z] Sending build context to Docker daemon 2.426MB [2020-10-19T07:54:00.877Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:54:00.877Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:54:00.877Z] ---> e79a30ba4887 [2020-10-19T07:54:00.877Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:54:01.454Z] ---> Running in 92aef364a305 [2020-10-19T07:54:01.718Z] Removing intermediate container 92aef364a305 [2020-10-19T07:54:01.718Z] ---> cda0976f08f6 [2020-10-19T07:54:01.718Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:54:01.718Z] ---> Running in 320da58851f1 [2020-10-19T07:54:01.718Z] Removing intermediate container 320da58851f1 [2020-10-19T07:54:01.718Z] ---> dfb3850fec53 [2020-10-19T07:54:01.718Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:54:02.002Z] ---> Running in 191edde0023a [2020-10-19T07:54:02.002Z] Removing intermediate container 191edde0023a [2020-10-19T07:54:02.002Z] ---> 73709520ccfd [2020-10-19T07:54:02.002Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:54:02.002Z] ---> Running in aecc2bb53d73 [2020-10-19T07:54:03.408Z] Removing intermediate container aecc2bb53d73 [2020-10-19T07:54:03.408Z] ---> 483c6c7291e5 [2020-10-19T07:54:03.408Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:54:03.408Z] ---> Running in 6de21681440d [2020-10-19T07:54:03.671Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:54:10.279Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:54:14.511Z] OK: 166 MiB in 39 packages [2020-10-19T07:54:14.511Z] Removing intermediate container 6de21681440d [2020-10-19T07:54:14.511Z] ---> 62342418a4f9 [2020-10-19T07:54:14.511Z] Step 8/24 : COPY . . [2020-10-19T07:54:15.088Z] ---> a934895c0e12 [2020-10-19T07:54:15.088Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:54:15.351Z] ---> Running in 482b208118c3 [2020-10-19T07:54:15.621Z] 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-19T07:54:23.897Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:54:25.826Z] Removing intermediate container 482b208118c3 [2020-10-19T07:54:25.826Z] ---> 535759d7a08b [2020-10-19T07:54:25.826Z] Step 10/24 : FROM scratch [2020-10-19T07:54:25.826Z] ---> [2020-10-19T07:54:25.826Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:54:25.826Z] ---> Running in 67ba8ada13a3 [2020-10-19T07:54:26.088Z] Removing intermediate container 67ba8ada13a3 [2020-10-19T07:54:26.088Z] ---> 57b4a88b7d0a [2020-10-19T07:54:26.088Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:54:26.088Z] ---> Running in 1de388368057 [2020-10-19T07:54:26.351Z] Removing intermediate container 1de388368057 [2020-10-19T07:54:26.351Z] ---> 189e5a3ac8ce [2020-10-19T07:54:26.351Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:54:26.351Z] ---> Running in bc7075628c0f [2020-10-19T07:54:26.351Z] Removing intermediate container bc7075628c0f [2020-10-19T07:54:26.351Z] ---> 5dc0d0000411 [2020-10-19T07:54:26.351Z] Step 14/24 : WORKDIR / [2020-10-19T07:54:26.351Z] ---> Running in 8d40f25fd494 [2020-10-19T07:54:26.615Z] Removing intermediate container 8d40f25fd494 [2020-10-19T07:54:26.615Z] ---> 49ddd0d9f123 [2020-10-19T07:54:26.615Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:54:27.190Z] ---> beb2a7915189 [2020-10-19T07:54:27.190Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:54:27.456Z] ---> 95d771a939f6 [2020-10-19T07:54:27.456Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:54:27.456Z] ---> 327ba295f7ef [2020-10-19T07:54:27.456Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:54:27.722Z] ---> 97dc15b8b40e [2020-10-19T07:54:27.722Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:54:27.985Z] ---> c428b2dea0d5 [2020-10-19T07:54:27.985Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:54:28.250Z] ---> Running in ce1adecb0f83 [2020-10-19T07:54:28.250Z] Removing intermediate container ce1adecb0f83 [2020-10-19T07:54:28.250Z] ---> 10d7b947470d [2020-10-19T07:54:28.250Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:54:28.250Z] ---> Running in 5816a625931b [2020-10-19T07:54:28.513Z] Removing intermediate container 5816a625931b [2020-10-19T07:54:28.513Z] ---> 319565a89d70 [2020-10-19T07:54:28.513Z] Step 22/24 : LABEL arch=amd64 [2020-10-19T07:54:28.513Z] ---> Running in 36438f493965 [2020-10-19T07:54:28.776Z] Removing intermediate container 36438f493965 [2020-10-19T07:54:28.776Z] ---> e413cfb23f8e [2020-10-19T07:54:28.776Z] Step 23/24 : LABEL git_sha=2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-19T07:54:28.776Z] ---> Running in 972cfe634a4d [2020-10-19T07:54:29.038Z] Removing intermediate container 972cfe634a4d [2020-10-19T07:54:29.038Z] ---> 05aa7cea7b8c [2020-10-19T07:54:29.038Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:54:29.038Z] ---> Running in a4d5c7fe6ba4 [2020-10-19T07:54:29.302Z] Removing intermediate container a4d5c7fe6ba4 [2020-10-19T07:54:29.302Z] ---> 11e918f49cf9 [2020-10-19T07:54:29.302Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:54:29.302Z] Successfully built 11e918f49cf9 [2020-10-19T07:54:29.302Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-19T07:54:33.163Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6245 in /w/workspace/dgexfoundry_device-sdk-go_PR-614 [Pipeline] { [Pipeline] ws [2020-10-19T07:54:33.217Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2020-10-19T07:54:38.275Z] using credential edgex-jenkins-ssh [2020-10-19T07:54:38.339Z] Cloning the remote Git repository [2020-10-19T07:54:38.401Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:54:38.510Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2020-10-19T07:54:38.607Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:54:38.608Z] > git --version # timeout=10 [2020-10-19T07:54:38.625Z] > git --version # 'git version 2.17.1' [2020-10-19T07:54:38.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:54:38.684Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:54:40.420Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit 2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-19T07:54:40.647Z] Merge succeeded, producing 2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-19T07:54:40.647Z] Checking out Revision 2bbf6af02697b011a7a794463910a22f9bcbb85f (PR-614) [2020-10-19T07:54:39.777Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:54:39.808Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:54:39.836Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:54:39.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:54:39.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:54:39.882Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/614/head:refs/remotes/origin/PR-614 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:54:40.442Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:54:40.457Z] > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [2020-10-19T07:54:40.573Z] > git remote # timeout=10 [2020-10-19T07:54:40.590Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:54:40.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:54:40.612Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-19T07:54:40.634Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:54:40.656Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:54:40.707Z] > git checkout -f 2bbf6af02697b011a7a794463910a22f9bcbb85f # timeout=10 [2020-10-19T07:54:44.973Z] Commit message: "build(deps): bump github.com/pkg/errors from 0.8.1 to 0.9.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:54:46.086Z] ========================================================= [2020-10-19T07:54:46.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T07:54:46.086Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:54:47.045Z] + 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-19T07:54:48.030Z] Sending build context to Docker daemon 2.315MB [2020-10-19T07:54:48.030Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:54:48.030Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:54:48.309Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T07:54:48.309Z] b538f80385f9: Pulling fs layer [2020-10-19T07:54:48.309Z] 74f711af9a0d: Pulling fs layer [2020-10-19T07:54:48.309Z] 99f96fe45779: Pulling fs layer [2020-10-19T07:54:48.309Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T07:54:48.310Z] 45590311c82a: Pulling fs layer [2020-10-19T07:54:48.310Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T07:54:48.310Z] 209524e5b208: Pulling fs layer [2020-10-19T07:54:48.310Z] 69ca0ff8b7b3: Waiting [2020-10-19T07:54:48.310Z] 8529a6b9a6be: Waiting [2020-10-19T07:54:48.310Z] 45590311c82a: Waiting [2020-10-19T07:54:48.310Z] 209524e5b208: Waiting [2020-10-19T07:54:48.310Z] 99f96fe45779: Verifying Checksum [2020-10-19T07:54:48.310Z] 99f96fe45779: Download complete [2020-10-19T07:54:48.310Z] 74f711af9a0d: Verifying Checksum [2020-10-19T07:54:48.310Z] 74f711af9a0d: Download complete [2020-10-19T07:54:48.310Z] 45590311c82a: Download complete [2020-10-19T07:54:48.584Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-19T07:54:48.584Z] 69ca0ff8b7b3: Download complete [2020-10-19T07:54:48.860Z] b538f80385f9: Verifying Checksum [2020-10-19T07:54:48.860Z] b538f80385f9: Download complete [2020-10-19T07:54:49.872Z] b538f80385f9: Pull complete [2020-10-19T07:54:50.151Z] 74f711af9a0d: Pull complete [2020-10-19T07:54:50.762Z] 99f96fe45779: Pull complete [2020-10-19T07:54:50.762Z] 209524e5b208: Verifying Checksum [2020-10-19T07:54:50.762Z] 209524e5b208: Download complete [2020-10-19T07:54:52.202Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T07:54:52.202Z] 8529a6b9a6be: Download complete [2020-10-19T07:55:02.398Z] 8529a6b9a6be: Pull complete [2020-10-19T07:55:02.398Z] 45590311c82a: Pull complete [2020-10-19T07:55:02.996Z] 69ca0ff8b7b3: Pull complete [2020-10-19T07:55:06.395Z] 209524e5b208: Pull complete [2020-10-19T07:55:06.395Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T07:55:06.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T07:55:06.395Z] ---> 5bddaf1c2fca [2020-10-19T07:55:06.395Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:55:09.797Z] ---> Running in e32612bd146b [2020-10-19T07:55:09.797Z] Removing intermediate container e32612bd146b [2020-10-19T07:55:09.797Z] ---> 8bb6128c04ab [2020-10-19T07:55:09.797Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:55:09.797Z] ---> Running in 2e5f723dfe67 [2020-10-19T07:55:12.463Z] Removing intermediate container 2e5f723dfe67 [2020-10-19T07:55:12.463Z] ---> 0e4037127d17 [2020-10-19T07:55:12.463Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:55:12.463Z] ---> Running in 0db49a61bd68 [2020-10-19T07:55:13.902Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:55:14.877Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:55:16.307Z] OK: 142 MiB in 39 packages [2020-10-19T07:55:17.288Z] Removing intermediate container 0db49a61bd68 [2020-10-19T07:55:17.288Z] ---> bd0978acfafb [2020-10-19T07:55:17.288Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:55:17.563Z] ---> Running in e217cfd8765f [2020-10-19T07:55:18.162Z] Removing intermediate container e217cfd8765f [2020-10-19T07:55:18.162Z] ---> 992430ca5014 [2020-10-19T07:55:18.162Z] Step 7/8 : COPY . . [2020-10-19T07:55:19.629Z] ---> b6f49cec83d7 [2020-10-19T07:55:19.629Z] Step 8/8 : RUN go mod download [2020-10-19T07:55:19.629Z] ---> Running in 74ec77c08c5c [2020-10-19T07:55:41.879Z] Removing intermediate container 74ec77c08c5c [2020-10-19T07:55:41.879Z] ---> 65369dee3f8f [2020-10-19T07:55:41.879Z] Successfully built 65369dee3f8f [2020-10-19T07:55:41.879Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:55:42.311Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:55:42.311Z] . [Pipeline] withDockerContainer [2020-10-19T07:55:42.567Z] prd-ubuntu18.04-docker-arm64-4c-16g-6245 does not seem to be running inside a container [2020-10-19T07:55:42.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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-19T07:55:44.624Z] $ docker top f2f741642e021e208d0e344a8b8da84c47f1998a663bb265f7a0b369fa800edc -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:55:46.065Z] + go version [2020-10-19T07:55:46.065Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T07:55:46.090Z] $ docker stop --time=1 f2f741642e021e208d0e344a8b8da84c47f1998a663bb265f7a0b369fa800edc [2020-10-19T07:55:48.057Z] $ docker rm -f f2f741642e021e208d0e344a8b8da84c47f1998a663bb265f7a0b369fa800edc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:55:49.116Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:55:49.116Z] . [Pipeline] withDockerContainer [2020-10-19T07:55:49.382Z] prd-ubuntu18.04-docker-arm64-4c-16g-6245 does not seem to be running inside a container [2020-10-19T07:55:49.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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-19T07:55:51.338Z] $ docker top f7f063d9b199e3f7fc0b1b4953107554ed74fe1be4a1b51a377421faa568effd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:55:52.797Z] + make test [2020-10-19T07:55:52.797Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:56:15.030Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:56:54.074Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:56:54.074Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:56:54.074Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:56:54.074Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.137s coverage: 21.6% of statements [2020-10-19T07:56:59.512Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.189s coverage: 97.1% of statements [2020-10-19T07:57:26.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.147s coverage: 9.4% of statements [2020-10-19T07:57:26.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.134s coverage: 21.9% of statements [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:57:26.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.600s coverage: 42.6% of statements [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:57:26.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.852s coverage: 68.9% of statements [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:57:26.318Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.174s coverage: 52.6% of statements [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:57:26.318Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.844s coverage: 68.9% of statements [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:57:26.318Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:57:26.596Z] GO111MODULE=on go vet ./... [2020-10-19T07:57:59.023Z] gofmt -l . [2020-10-19T07:57:59.023Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:57:59.023Z] ./bin/test-attribution-txt.sh [2020-10-19T07:57:59.023Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:57:59.093Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T07:58:00.031Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:58:00.039Z] $ docker stop --time=1 f7f063d9b199e3f7fc0b1b4953107554ed74fe1be4a1b51a377421faa568effd [2020-10-19T07:58:02.504Z] $ docker rm -f f7f063d9b199e3f7fc0b1b4953107554ed74fe1be4a1b51a377421faa568effd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:58:03.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:58:04.362Z] + ls -al . [2020-10-19T07:58:04.362Z] total 224 [2020-10-19T07:58:04.362Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:57 . [2020-10-19T07:58:04.362Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:54 .. [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:54 .dockerignore [2020-10-19T07:58:04.362Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:54 .git [2020-10-19T07:58:04.362Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:54 .github [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:54 .gitignore [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:54 Dockerfile.build [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:54 Jenkinsfile [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:54 LICENSE [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:54 Makefile [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:54 README.md [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:54 RELEASE-NOTES.txt [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:50 VERSION [2020-10-19T07:58:04.362Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:54 bin [2020-10-19T07:58:04.362Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:57 coverage.out [2020-10-19T07:58:04.362Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:54 example [2020-10-19T07:58:04.362Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 19 07:57 go.mod [2020-10-19T07:58:04.362Z] -rw-r--r-- 1 jenkins jenkins 13821 Oct 19 07:57 go.sum [2020-10-19T07:58:04.362Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:54 internal [2020-10-19T07:58:04.362Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:54 openapi [2020-10-19T07:58:04.362Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:54 pkg [2020-10-19T07:58:04.362Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:54 snap [2020-10-19T07:58:04.362Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:58:04.787Z] + 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=2bbf6af02697b011a7a794463910a22f9bcbb85f --label arch=arm64 --label version=0.0.0 . [2020-10-19T07:58:05.409Z] Sending build context to Docker daemon 2.426MB [2020-10-19T07:58:05.409Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:58:05.409Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:58:05.409Z] ---> 65369dee3f8f [2020-10-19T07:58:05.409Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:58:05.690Z] ---> Running in 0f5e669dfe62 [2020-10-19T07:58:05.967Z] Removing intermediate container 0f5e669dfe62 [2020-10-19T07:58:05.967Z] ---> 73f91ab9b5d3 [2020-10-19T07:58:05.967Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:58:06.238Z] ---> Running in ffc1c557f5ea [2020-10-19T07:58:06.837Z] Removing intermediate container ffc1c557f5ea [2020-10-19T07:58:06.837Z] ---> 919d06e25b16 [2020-10-19T07:58:06.837Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:58:06.837Z] ---> Running in 3cfcc720b4f7 [2020-10-19T07:58:07.114Z] Removing intermediate container 3cfcc720b4f7 [2020-10-19T07:58:07.114Z] ---> 12156beadbfd [2020-10-19T07:58:07.114Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:58:07.393Z] ---> Running in a30a377d2565 [2020-10-19T07:58:10.022Z] Removing intermediate container a30a377d2565 [2020-10-19T07:58:10.022Z] ---> 9c07e65c431f [2020-10-19T07:58:10.022Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:58:10.022Z] ---> Running in c4ca9d86e5d6 [2020-10-19T07:58:11.456Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:58:12.430Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:58:14.403Z] OK: 142 MiB in 39 packages [2020-10-19T07:58:15.385Z] Removing intermediate container c4ca9d86e5d6 [2020-10-19T07:58:15.385Z] ---> 6b35e176d7e3 [2020-10-19T07:58:15.385Z] Step 8/24 : COPY . . [2020-10-19T07:58:16.816Z] ---> 6d89c3c87a31 [2020-10-19T07:58:16.816Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:58:16.816Z] ---> Running in 4382523bbc45 [2020-10-19T07:58:18.248Z] 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-19T07:58:45.083Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:58:45.083Z] Removing intermediate container 4382523bbc45 [2020-10-19T07:58:45.083Z] ---> 676845fbc3e3 [2020-10-19T07:58:45.083Z] Step 10/24 : FROM scratch [2020-10-19T07:58:45.083Z] ---> [2020-10-19T07:58:45.083Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:58:45.083Z] ---> Running in e1f806441f68 [2020-10-19T07:58:45.680Z] Removing intermediate container e1f806441f68 [2020-10-19T07:58:45.680Z] ---> 01c525c1dc50 [2020-10-19T07:58:45.680Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:58:45.680Z] ---> Running in 23bfeceaf0f6 [2020-10-19T07:58:46.282Z] Removing intermediate container 23bfeceaf0f6 [2020-10-19T07:58:46.282Z] ---> 293c0ca15a58 [2020-10-19T07:58:46.282Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:58:46.282Z] ---> Running in 105a55558d1e [2020-10-19T07:58:46.882Z] Removing intermediate container 105a55558d1e [2020-10-19T07:58:46.882Z] ---> b27ba09aee90 [2020-10-19T07:58:46.882Z] Step 14/24 : WORKDIR / [2020-10-19T07:58:46.882Z] ---> Running in e73da9348cb6 [2020-10-19T07:58:47.158Z] Removing intermediate container e73da9348cb6 [2020-10-19T07:58:47.158Z] ---> 5864d0884da3 [2020-10-19T07:58:47.158Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:58:48.594Z] ---> 13d0961b61ee [2020-10-19T07:58:48.595Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:58:48.877Z] ---> 1b6cf3bed4ad [2020-10-19T07:58:48.877Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:58:49.858Z] ---> 1d07ecf4e4ed [2020-10-19T07:58:49.858Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:58:50.456Z] ---> 14a95593f2bb [2020-10-19T07:58:50.456Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:58:51.429Z] ---> ee9ff8f5afd1 [2020-10-19T07:58:51.429Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:58:51.429Z] ---> Running in 37957c74d953 [2020-10-19T07:58:51.700Z] Removing intermediate container 37957c74d953 [2020-10-19T07:58:51.700Z] ---> 14a43cdae95c [2020-10-19T07:58:51.700Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:58:51.972Z] ---> Running in a7f803c9d4c1 [2020-10-19T07:58:52.246Z] Removing intermediate container a7f803c9d4c1 [2020-10-19T07:58:52.246Z] ---> 04ff95e80177 [2020-10-19T07:58:52.246Z] Step 22/24 : LABEL arch=arm64 [2020-10-19T07:58:52.519Z] ---> Running in 6304dfff2dd1 [2020-10-19T07:58:52.801Z] Removing intermediate container 6304dfff2dd1 [2020-10-19T07:58:52.801Z] ---> f7311dfe9316 [2020-10-19T07:58:52.801Z] Step 23/24 : LABEL git_sha=2bbf6af02697b011a7a794463910a22f9bcbb85f [2020-10-19T07:58:53.078Z] ---> Running in c7e90cc9de0a [2020-10-19T07:58:53.670Z] Removing intermediate container c7e90cc9de0a [2020-10-19T07:58:53.670Z] ---> 0a9f76848277 [2020-10-19T07:58:53.670Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:58:53.670Z] ---> Running in 0dcf76a332ab [2020-10-19T07:58:53.942Z] Removing intermediate container 0dcf76a332ab [2020-10-19T07:58:53.942Z] ---> cb4b4b71f24e [2020-10-19T07:58:53.942Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:58:54.211Z] Successfully built cb4b4b71f24e [2020-10-19T07:58:54.211Z] 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-19T07:58:55.927Z] provisioning config files... [2020-10-19T07:58:55.942Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config509042754486856741tmp [Pipeline] { [Pipeline] sh [2020-10-19T07:58:56.303Z] + set +x [2020-10-19T07:58:56.303Z] + curl -s https://codecov.io/bash [2020-10-19T07:58:56.303Z] + bash -s -- [2020-10-19T07:58:56.564Z] [2020-10-19T07:58:56.564Z] _____ _ [2020-10-19T07:58:56.564Z] / ____| | | [2020-10-19T07:58:56.564Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T07:58:56.564Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T07:58:56.564Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T07:58:56.564Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T07:58:56.564Z] Bash-20201009-048fee3 [2020-10-19T07:58:56.564Z] [2020-10-19T07:58:56.564Z] [2020-10-19T07:58:56.564Z] ==> Jenkins CI detected. [2020-10-19T07:58:56.564Z] project root: . [2020-10-19T07:58:56.564Z] --> token set from env [2020-10-19T07:58:56.564Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T07:58:56.564Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T07:58:56.564Z] ==> Python coveragepy not found [2020-10-19T07:58:56.564Z] ==> Searching for coverage reports in: [2020-10-19T07:58:56.564Z] + . [2020-10-19T07:58:56.564Z] -> Found 1 reports [2020-10-19T07:58:56.564Z] ==> Detecting git/mercurial file structure [2020-10-19T07:58:56.564Z] ==> Reading reports [2020-10-19T07:58:56.564Z] + ./coverage.out bytes=110398 [2020-10-19T07:58:56.564Z] ==> Appending adjustments [2020-10-19T07:58:56.564Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T07:58:57.137Z] + Found adjustments [2020-10-19T07:58:57.137Z] ==> Gzipping contents [2020-10-19T07:58:57.137Z] ==> Uploading reports [2020-10-19T07:58:57.137Z] url: https://codecov.io [2020-10-19T07:58:57.137Z] query: branch=PR-614&commit=2bbf6af02697b011a7a794463910a22f9bcbb85f&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-19T07:58:57.137Z] -> Pinging Codecov [2020-10-19T07:58:57.137Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-614&commit=2bbf6af02697b011a7a794463910a22f9bcbb85f&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-614%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=614&job=&cmd_args= [2020-10-19T07:58:57.137Z] -> Uploading to [2020-10-19T07:58:57.137Z] [2020-10-19T07:58:57.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:58:57.137Z] Dload Upload Total Spent Left Speed [2020-10-19T07:58:57.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T07:58:57.137Z] X> Failed to upload [2020-10-19T07:58:57.137Z] ==> Uploading to Codecov [2020-10-19T07:58:57.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:58:57.137Z] Dload Upload Total Spent Left Speed [2020-10-19T07:58:57.711Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19159 100 110 100 19049 234 40607 --:--:-- --:--:-- --:--:-- 40702 [2020-10-19T07:58:57.711Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2bbf6af02697b011a7a794463910a22f9bcbb85f [Pipeline] } [2020-10-19T07:58:57.720Z] 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-19T07:59:00.478Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:59:01.043Z] ---> package-listing.sh [2020-10-19T07:59:01.043Z] ++ facter osfamily [2020-10-19T07:59:01.043Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T07:59:01.043Z] + OS_FAMILY=redhat [2020-10-19T07:59:01.043Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-614 [2020-10-19T07:59:01.043Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T07:59:01.043Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T07:59:01.043Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T07:59:01.043Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T07:59:01.043Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-19T07:59:01.043Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T07:59:01.043Z] + case "${OS_FAMILY}" in [2020-10-19T07:59:01.043Z] + rpm -qa [2020-10-19T07:59:01.043Z] + sort [2020-10-19T07:59:05.269Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T07:59:05.269Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T07:59:05.269Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T07:59:05.269Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-614 ']' [2020-10-19T07:59:05.269Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [2020-10-19T07:59:05.269Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-614/archives/ [Pipeline] echo [2020-10-19T07:59:05.282Z] 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-614/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-19T07:59:05.576Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:59:05.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:59:05.880Z] [2020-10-19T07:59:05.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:59:06.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:59:06.233Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T07:59:06.233Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:59:06.233Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T07:59:06.233Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T07:59:06.233Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T07:59:06.233Z] 93b61091891f: Pulling fs layer [2020-10-19T07:59:06.233Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T07:59:06.233Z] 5e14af77c1be: Pulling fs layer [2020-10-19T07:59:06.233Z] 01666e4c0597: Pulling fs layer [2020-10-19T07:59:06.233Z] aa168da1d23b: Pulling fs layer [2020-10-19T07:59:06.233Z] 93b61091891f: Waiting [2020-10-19T07:59:06.233Z] 93b9cdb0e59b: Waiting [2020-10-19T07:59:06.233Z] 5e14af77c1be: Waiting [2020-10-19T07:59:06.233Z] 01666e4c0597: Waiting [2020-10-19T07:59:06.233Z] aa168da1d23b: Waiting [2020-10-19T07:59:06.233Z] 46f8f816bc3b: Waiting [2020-10-19T07:59:06.233Z] 36b3adc4ff6f: Verifying Checksum [2020-10-19T07:59:06.233Z] 36b3adc4ff6f: Download complete [2020-10-19T07:59:06.233Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:59:06.233Z] df20fa9351a1: Download complete [2020-10-19T07:59:06.496Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T07:59:06.496Z] 93b9cdb0e59b: Download complete [2020-10-19T07:59:06.496Z] 5e14af77c1be: Verifying Checksum [2020-10-19T07:59:06.496Z] 5e14af77c1be: Download complete [2020-10-19T07:59:06.496Z] 01666e4c0597: Verifying Checksum [2020-10-19T07:59:06.496Z] 01666e4c0597: Download complete [2020-10-19T07:59:06.496Z] 93b61091891f: Verifying Checksum [2020-10-19T07:59:06.496Z] 93b61091891f: Download complete [2020-10-19T07:59:06.496Z] df20fa9351a1: Pull complete [2020-10-19T07:59:06.758Z] 36b3adc4ff6f: Pull complete [2020-10-19T07:59:07.023Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T07:59:07.023Z] 8ad3a11d3b57: Download complete [2020-10-19T07:59:07.599Z] 8ad3a11d3b57: Pull complete [2020-10-19T07:59:07.868Z] 46f8f816bc3b: Pull complete [2020-10-19T07:59:08.447Z] 93b61091891f: Pull complete [2020-10-19T07:59:08.447Z] 93b9cdb0e59b: Pull complete [2020-10-19T07:59:08.447Z] 5e14af77c1be: Pull complete [2020-10-19T07:59:08.714Z] aa168da1d23b: Verifying Checksum [2020-10-19T07:59:08.714Z] aa168da1d23b: Download complete [2020-10-19T07:59:08.714Z] 01666e4c0597: Pull complete [2020-10-19T07:59:14.028Z] aa168da1d23b: Pull complete [2020-10-19T07:59:14.028Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T07:59:14.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:59:14.028Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T07:59:14.181Z] prd-centos7-docker-4c-2g-6238 does not seem to be running inside a container [2020-10-19T07:59:14.232Z] $ 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-614/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-614 -v /w/workspace/dgexfoundry_device-sdk-go_PR-614:/w/workspace/dgexfoundry_device-sdk-go_PR-614:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-614@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-19T07:59:20.949Z] $ docker top 4b43bf66d57fc51db3ab308967af6c7f42672e9ea2c053369645a4e4dbf13bb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:59:21.541Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T07:59:21.838Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T07:59:22.163Z] + ls /var/log/sa-host [2020-10-19T07:59:22.163Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T07:59:22.163Z] file_magic: OK [2020-10-19T07:59:22.163Z] HZ: Using current value: 100 [2020-10-19T07:59:22.163Z] file_header: OK [2020-10-19T07:59:22.163Z] 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-19T07:59:22.163Z] Statistics: [2020-10-19T07:59:22.163Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:59:22.163Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T07:59:22.163Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T07:59:22.163Z] file_magic: OK [2020-10-19T07:59:22.163Z] HZ: Using current value: 100 [2020-10-19T07:59:22.163Z] file_header: OK [2020-10-19T07:59:22.164Z] 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-19T07:59:22.164Z] Statistics: [2020-10-19T07:59:22.164Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:59:22.164Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T07:59:22.379Z] provisioning config files... [2020-10-19T07:59:22.393Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-614@tmp/config7012572597429596306tmp [Pipeline] { [Pipeline] echo [2020-10-19T07:59:22.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:59:22.794Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T07:59:22.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T07:59:22.909Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:59:23.206Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T07:59:23.217Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:59:23.514Z] ---> sudo-logs.sh [2020-10-19T07:59:23.514Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T07:59:23.527Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:59:23.825Z] ---> job-cost.sh [2020-10-19T07:59:23.825Z] lf-activate-venv: SKIPPING [2020-10-19T07:59:23.825Z] INFO: No Stack... [2020-10-19T07:59:24.772Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T07:59:25.346Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T07:59:25.360Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:59:25.654Z] ---> logs-deploy.sh [2020-10-19T07:59:25.655Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-614/14 [2020-10-19T07:59:25.655Z] INFO: archiving workspace using pattern(s): [2020-10-19T07:59:27.042Z] Archives upload complete. [2020-10-19T07:59:27.305Z] INFO: archiving logs to Nexus