Pull request #635 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e418cf663496cfa0392ec3c9d73139fa3315b93f+6cec193abf44cabffe02bbcaff9748adb3f719d5 (9ba197256dcf8fafc51a810b2d933e3f52109175) 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-7464 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [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-635 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/635/head:refs/remotes/origin/PR-635 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit e418cf663496cfa0392ec3c9d73139fa3315b93f Merge succeeded, producing e418cf663496cfa0392ec3c9d73139fa3315b93f Checking out Revision e418cf663496cfa0392ec3c9d73139fa3315b93f (PR-635) > git config core.sparsecheckout # timeout=10 > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # 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 e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 Commit message: "fix(sdk): prevent creating duplicate autoevent executor" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-21T08:43:52.207Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-21T08:43:52.501Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-21T08:43:52.598Z] ========================================================= [2020-10-21T08:43:52.598Z] EdgeX Global Pipelines Version Info [2020-10-21T08:43:52.598Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cc47894417cb7a360f277ecc01c69c78e0f77f2e # timeout=10 [2020-10-21T08:43:54.036Z] ------------------- [2020-10-21T08:43:54.036Z] stable info: [2020-10-21T08:43:54.036Z] ------------------- [2020-10-21T08:43:54.036Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-21T08:43:54.036Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-21T08:43:54.036Z] Message: update stable to v1.0.144 [2020-10-21T08:43:54.986Z] ------------------- [2020-10-21T08:43:54.986Z] experimental info: [2020-10-21T08:43:54.986Z] ------------------- [2020-10-21T08:43:54.987Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-10-21T08:43:54.987Z] Commit SHA: 0fb566d11309be12c9baf3de23def7053bac1c97 [2020-10-21T08:43:54.987Z] Message: update experimental to v1.0.146 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-21T08:43:55.341Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-21T08:43:55.472Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-21T08:43:55.561Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-21T08:43:55.655Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-21T08:43:55.746Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-21T08:43:55.839Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-21T08:43:55.938Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-21T08:43:56.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-21T08:43:56.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-21T08:43:56.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-21T08:43:56.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-21T08:43:56.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-21T08:43:56.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-21T08:43:56.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-21T08:43:56.744Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-21T08:43:56.835Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T08:43:56.929Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T08:43:57.017Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-21T08:43:57.125Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-21T08:43:57.213Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-21T08:43:57.333Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-21T08:43:57.427Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-21T08:43:57.512Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-21T08:43:57.597Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-21T08:43:57.683Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-21T08:43:57.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-635 [Pipeline] echo [2020-10-21T08:43:57.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-635 [Pipeline] echo [2020-10-21T08:43:57.945Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-635 [Pipeline] echo [2020-10-21T08:43:58.031Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e418cf663496cfa0392ec3c9d73139fa3315b93f [Pipeline] echo [2020-10-21T08:43:58.170Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e418cf6 [Pipeline] echo [2020-10-21T08:43:58.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-21T08:43:58.863Z] + git log --format=format:%s -1 e418cf663496cfa0392ec3c9d73139fa3315b93f [Pipeline] echo [2020-10-21T08:43:58.929Z] GIT_COMMIT: e418cf663496cfa0392ec3c9d73139fa3315b93f, Commit Message: fix(sdk): prevent creating duplicate autoevent executor [Pipeline] echo [2020-10-21T08:43:58.978Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:43:59.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T08:44:00.530Z] [2020-10-21T08:44:00.530Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:44:00.880Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T08:44:00.880Z] latest: Pulling from edgex-devops/git-semver [2020-10-21T08:44:00.880Z] 31603596830f: Pulling fs layer [2020-10-21T08:44:00.881Z] 2a8b12db71e7: Pulling fs layer [2020-10-21T08:44:00.881Z] 6ca5941a6612: Pulling fs layer [2020-10-21T08:44:00.881Z] ecc8261a40a4: Pulling fs layer [2020-10-21T08:44:00.881Z] ecc8261a40a4: Waiting [2020-10-21T08:44:00.881Z] 2a8b12db71e7: Verifying Checksum [2020-10-21T08:44:00.881Z] 2a8b12db71e7: Download complete [2020-10-21T08:44:01.143Z] 31603596830f: Verifying Checksum [2020-10-21T08:44:01.143Z] 31603596830f: Download complete [2020-10-21T08:44:01.143Z] ecc8261a40a4: Verifying Checksum [2020-10-21T08:44:01.143Z] ecc8261a40a4: Download complete [2020-10-21T08:44:01.143Z] 6ca5941a6612: Verifying Checksum [2020-10-21T08:44:01.143Z] 6ca5941a6612: Download complete [2020-10-21T08:44:01.405Z] 31603596830f: Pull complete [2020-10-21T08:44:01.405Z] 2a8b12db71e7: Pull complete [2020-10-21T08:44:02.413Z] 6ca5941a6612: Pull complete [2020-10-21T08:44:02.413Z] ecc8261a40a4: Pull complete [2020-10-21T08:44:02.676Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-21T08:44:02.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-21T08:44:02.676Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-21T08:44:02.784Z] prd-centos7-docker-4c-2g-7464 does not seem to be running inside a container [2020-10-21T08:44:02.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-635 -v /w/workspace/dgexfoundry_device-sdk-go_PR-635:/w/workspace/dgexfoundry_device-sdk-go_PR-635:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-635@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-21T08:44:05.568Z] $ docker top f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-21T08:44:05.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-21T08:44:05.946Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-21T08:44:06.169Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-21T08:44:06.176Z] $ docker exec f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c ssh-agent [2020-10-21T08:44:06.338Z] SSH_AUTH_SOCK=/tmp/ssh-lHEOGBWvbqcX/agent.12 [2020-10-21T08:44:06.338Z] SSH_AGENT_PID=17 [2020-10-21T08:44:06.352Z] Running ssh-add (command line suppressed) [2020-10-21T08:44:06.473Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_5719635682545251843.key (/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_5719635682545251843.key) [2020-10-21T08:44:06.519Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-21T08:44:06.857Z] + git tag --points-at HEAD [Pipeline] } [2020-10-21T08:44:06.881Z] $ docker exec --env ******** --env ******** f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c ssh-agent -k [2020-10-21T08:44:07.008Z] unset SSH_AUTH_SOCK; [2020-10-21T08:44:07.009Z] unset SSH_AGENT_PID; [2020-10-21T08:44:07.009Z] echo Agent pid 17 killed; [2020-10-21T08:44:07.059Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-21T08:44:07.201Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-21T08:44:07.201Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-21T08:44:07.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-21T08:44:07.414Z] $ docker exec f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c ssh-agent [2020-10-21T08:44:07.601Z] SSH_AUTH_SOCK=/tmp/ssh-tHKycgVjMuNk/agent.45 [2020-10-21T08:44:07.601Z] SSH_AGENT_PID=50 [2020-10-21T08:44:07.608Z] Running ssh-add (command line suppressed) [2020-10-21T08:44:07.753Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_8442765851055127000.key (/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/private_key_8442765851055127000.key) [2020-10-21T08:44:07.800Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-21T08:44:08.134Z] + git semver init [2020-10-21T08:44:08.134Z] # -> Open(): unable to determine branch for HEAD [2020-10-21T08:44:08.134Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-635/.git [2020-10-21T08:44:08.134Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-635 [2020-10-21T08:44:08.134Z] # $SEMVER_REMOTE_NAME = origin [2020-10-21T08:44:08.134Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-21T08:44:08.134Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-21T08:44:08.134Z] # $SEMVER_BRANCH = PR-635 [2020-10-21T08:44:08.134Z] # $SEMVER_TEMP = /tmp/semver-689063032 [2020-10-21T08:44:08.134Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-21T08:44:08.708Z] # '/tmp/semver-689063032' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-635/.semver' [2020-10-21T08:44:08.708Z] # -> Force: false [2020-10-21T08:44:08.708Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-635/.semver [Pipeline] } [2020-10-21T08:44:08.724Z] $ docker exec --env ******** --env ******** f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c ssh-agent -k [2020-10-21T08:44:08.842Z] unset SSH_AUTH_SOCK; [2020-10-21T08:44:08.842Z] unset SSH_AGENT_PID; [2020-10-21T08:44:08.842Z] echo Agent pid 50 killed; [2020-10-21T08:44:08.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-21T08:44:09.361Z] + git semver [Pipeline] } [2020-10-21T08:44:09.382Z] $ docker stop --time=1 f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c [2020-10-21T08:44:10.753Z] $ docker rm -f f5920a1cc6a4864b4409670ee870f89603a2fe2c6d722e0e46dfb7042f508c7c [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-21T08:44:11.214Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-21T08:44:11.737Z] Stashed 1 file(s) [Pipeline] echo [2020-10-21T08:44:11.740Z] [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-21T08:44:27.385Z] Still waiting to schedule task [2020-10-21T08:44:27.385Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-21T08:44:27.387Z] Still waiting to schedule task [2020-10-21T08:44:27.387Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-21T08:46:18.011Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-7465 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [Pipeline] { [Pipeline] ws [2020-10-21T08:46:18.113Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-21T08:46:23.357Z] using credential edgex-jenkins-ssh [2020-10-21T08:46:23.414Z] Cloning the remote Git repository [2020-10-21T08:46:23.465Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T08:46:23.583Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-21T08:46:23.671Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T08:46:23.672Z] > git --version # timeout=10 [2020-10-21T08:46:23.696Z] > git --version # 'git version 2.17.1' [2020-10-21T08:46:23.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T08:46:23.767Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T08:46:25.663Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit e418cf663496cfa0392ec3c9d73139fa3315b93f [2020-10-21T08:46:24.930Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T08:46:24.951Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T08:46:24.978Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T08:46:25.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T08:46:25.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T08:46:25.019Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/635/head:refs/remotes/origin/PR-635 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-21T08:46:25.683Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T08:46:25.695Z] > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 [2020-10-21T08:46:25.892Z] Merge succeeded, producing e418cf663496cfa0392ec3c9d73139fa3315b93f [2020-10-21T08:46:25.893Z] Checking out Revision e418cf663496cfa0392ec3c9d73139fa3315b93f (PR-635) [2020-10-21T08:46:25.813Z] > git remote # timeout=10 [2020-10-21T08:46:25.828Z] > git config --get remote.origin.url # timeout=10 [2020-10-21T08:46:25.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T08:46:25.850Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-21T08:46:25.874Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-21T08:46:25.936Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T08:46:25.954Z] > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 [2020-10-21T08:46:30.446Z] Commit message: "fix(sdk): prevent creating duplicate autoevent executor" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-21T08:46:31.504Z] ========================================================= [2020-10-21T08:46:31.505Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-21T08:46:31.505Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:46:32.606Z] + 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-21T08:46:33.593Z] Sending build context to Docker daemon 2.337MB [2020-10-21T08:46:33.593Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-21T08:46:33.593Z] Step 2/8 : FROM ${BASE} [2020-10-21T08:46:33.872Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-21T08:46:33.872Z] b538f80385f9: Pulling fs layer [2020-10-21T08:46:33.872Z] 74f711af9a0d: Pulling fs layer [2020-10-21T08:46:33.872Z] 99f96fe45779: Pulling fs layer [2020-10-21T08:46:33.872Z] 8529a6b9a6be: Pulling fs layer [2020-10-21T08:46:33.872Z] 45590311c82a: Pulling fs layer [2020-10-21T08:46:33.872Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-21T08:46:33.872Z] 209524e5b208: Pulling fs layer [2020-10-21T08:46:33.872Z] 8529a6b9a6be: Waiting [2020-10-21T08:46:33.872Z] 45590311c82a: Waiting [2020-10-21T08:46:33.872Z] 69ca0ff8b7b3: Waiting [2020-10-21T08:46:33.872Z] 209524e5b208: Waiting [2020-10-21T08:46:33.872Z] 99f96fe45779: Verifying Checksum [2020-10-21T08:46:33.872Z] 74f711af9a0d: Verifying Checksum [2020-10-21T08:46:33.872Z] 74f711af9a0d: Download complete [2020-10-21T08:46:33.872Z] 45590311c82a: Verifying Checksum [2020-10-21T08:46:33.872Z] 45590311c82a: Download complete [2020-10-21T08:46:33.872Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-21T08:46:33.872Z] 69ca0ff8b7b3: Download complete [2020-10-21T08:46:34.152Z] b538f80385f9: Verifying Checksum [2020-10-21T08:46:34.152Z] b538f80385f9: Download complete [2020-10-21T08:46:34.762Z] b538f80385f9: Pull complete [2020-10-21T08:46:35.758Z] 74f711af9a0d: Pull complete [2020-10-21T08:46:36.039Z] 99f96fe45779: Pull complete [2020-10-21T08:46:36.638Z] 209524e5b208: Verifying Checksum [2020-10-21T08:46:36.638Z] 209524e5b208: Download complete [2020-10-21T08:46:38.098Z] 8529a6b9a6be: Download complete [2020-10-21T08:46:45.503Z] Running on prd-centos7-docker-4c-2g-7466 in /w/workspace/dgexfoundry_device-sdk-go_PR-635 [Pipeline] { [Pipeline] ws [2020-10-21T08:46:45.609Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-21T08:46:48.450Z] 8529a6b9a6be: Pull complete [2020-10-21T08:46:48.723Z] 45590311c82a: Pull complete [2020-10-21T08:46:48.996Z] 69ca0ff8b7b3: Pull complete [2020-10-21T08:46:53.323Z] 209524e5b208: Pull complete [2020-10-21T08:46:53.323Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-21T08:46:53.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-21T08:46:53.323Z] ---> 5bddaf1c2fca [2020-10-21T08:46:53.323Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T08:46:55.334Z] ---> Running in c7a93e145d06 [2020-10-21T08:46:55.932Z] Removing intermediate container c7a93e145d06 [2020-10-21T08:46:55.932Z] ---> 9ff56937a3b9 [2020-10-21T08:46:55.932Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T08:46:55.932Z] ---> Running in 4122181cb4b6 [2020-10-21T08:46:56.444Z] using credential edgex-jenkins-ssh [2020-10-21T08:46:56.506Z] Cloning the remote Git repository [2020-10-21T08:46:56.589Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T08:46:56.681Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-21T08:46:56.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T08:46:56.833Z] > git --version # timeout=10 [2020-10-21T08:46:56.855Z] > git --version # 'git version 2.16.5' [2020-10-21T08:46:56.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T08:46:57.005Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T08:46:58.576Z] Removing intermediate container 4122181cb4b6 [2020-10-21T08:46:58.576Z] ---> d2c5108a7e52 [2020-10-21T08:46:58.576Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-21T08:46:58.576Z] ---> Running in c380d2914686 [2020-10-21T08:46:58.006Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T08:46:58.059Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-21T08:46:58.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-21T08:46:58.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-21T08:46:58.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T08:46:58.334Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/635/head:refs/remotes/origin/PR-635 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-21T08:46:58.860Z] Merging remotes/origin/master commit 6cec193abf44cabffe02bbcaff9748adb3f719d5 into PR head commit e418cf663496cfa0392ec3c9d73139fa3315b93f [2020-10-21T08:46:59.199Z] Merge succeeded, producing e418cf663496cfa0392ec3c9d73139fa3315b93f [2020-10-21T08:46:59.199Z] Checking out Revision e418cf663496cfa0392ec3c9d73139fa3315b93f (PR-635) [2020-10-21T08:47:00.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-21T08:46:58.873Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T08:46:58.883Z] > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 [2020-10-21T08:46:59.002Z] > git remote # timeout=10 [2020-10-21T08:46:59.055Z] > git config --get remote.origin.url # timeout=10 [2020-10-21T08:46:59.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-21T08:46:59.091Z] > git merge 6cec193abf44cabffe02bbcaff9748adb3f719d5 # timeout=10 [2020-10-21T08:46:59.145Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-21T08:46:59.211Z] > git config core.sparsecheckout # timeout=10 [2020-10-21T08:46:59.233Z] > git checkout -f e418cf663496cfa0392ec3c9d73139fa3315b93f # timeout=10 [2020-10-21T08:47:00.611Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-21T08:47:01.594Z] OK: 142 MiB in 39 packages [2020-10-21T08:47:02.577Z] Removing intermediate container c380d2914686 [2020-10-21T08:47:02.577Z] ---> cc0778867f02 [2020-10-21T08:47:02.577Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-21T08:47:02.850Z] ---> Running in 9aaf64f2486d [2020-10-21T08:47:03.450Z] Removing intermediate container 9aaf64f2486d [2020-10-21T08:47:03.450Z] ---> 2f953bbc7ab5 [2020-10-21T08:47:03.450Z] Step 7/8 : COPY . . [2020-10-21T08:47:03.657Z] Commit message: "fix(sdk): prevent creating duplicate autoevent executor" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-21T08:47:04.648Z] ========================================================= [2020-10-21T08:47:04.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-21T08:47:04.648Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:47:04.894Z] ---> 66f96bdffc25 [2020-10-21T08:47:04.894Z] Step 8/8 : RUN go mod download [2020-10-21T08:47:04.894Z] ---> Running in 870f439c548a [2020-10-21T08:47:06.085Z] + 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-21T08:47:07.073Z] Sending build context to Docker daemon 2.335MB [2020-10-21T08:47:07.073Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-21T08:47:07.073Z] Step 2/8 : FROM ${BASE} [2020-10-21T08:47:07.356Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-21T08:47:07.356Z] df20fa9351a1: Pulling fs layer [2020-10-21T08:47:07.356Z] ed8968b2872e: Pulling fs layer [2020-10-21T08:47:07.356Z] a92cc7c5fd73: Pulling fs layer [2020-10-21T08:47:07.356Z] e871e8e8d7a9: Pulling fs layer [2020-10-21T08:47:07.356Z] e73272ec9a57: Pulling fs layer [2020-10-21T08:47:07.356Z] 1e910a182e73: Pulling fs layer [2020-10-21T08:47:07.356Z] 4e634b169226: Pulling fs layer [2020-10-21T08:47:07.356Z] e871e8e8d7a9: Waiting [2020-10-21T08:47:07.356Z] e73272ec9a57: Waiting [2020-10-21T08:47:07.356Z] 1e910a182e73: Waiting [2020-10-21T08:47:07.356Z] 4e634b169226: Waiting [2020-10-21T08:47:07.356Z] a92cc7c5fd73: Verifying Checksum [2020-10-21T08:47:07.356Z] a92cc7c5fd73: Download complete [2020-10-21T08:47:07.356Z] ed8968b2872e: Verifying Checksum [2020-10-21T08:47:07.356Z] ed8968b2872e: Download complete [2020-10-21T08:47:07.356Z] e73272ec9a57: Verifying Checksum [2020-10-21T08:47:07.356Z] e73272ec9a57: Download complete [2020-10-21T08:47:07.356Z] 1e910a182e73: Verifying Checksum [2020-10-21T08:47:07.356Z] 1e910a182e73: Download complete [2020-10-21T08:47:07.653Z] df20fa9351a1: Verifying Checksum [2020-10-21T08:47:07.654Z] df20fa9351a1: Download complete [2020-10-21T08:47:08.289Z] df20fa9351a1: Pull complete [2020-10-21T08:47:08.934Z] ed8968b2872e: Pull complete [2020-10-21T08:47:08.934Z] a92cc7c5fd73: Pull complete [2020-10-21T08:47:11.706Z] 4e634b169226: Verifying Checksum [2020-10-21T08:47:11.706Z] 4e634b169226: Download complete [2020-10-21T08:47:15.277Z] e871e8e8d7a9: Verifying Checksum [2020-10-21T08:47:15.277Z] e871e8e8d7a9: Download complete [2020-10-21T08:47:25.614Z] e871e8e8d7a9: Pull complete [2020-10-21T08:47:25.614Z] e73272ec9a57: Pull complete [2020-10-21T08:47:25.896Z] 1e910a182e73: Pull complete [2020-10-21T08:47:27.093Z] Removing intermediate container 870f439c548a [2020-10-21T08:47:27.093Z] ---> feaa642252da [2020-10-21T08:47:27.093Z] Successfully built feaa642252da [2020-10-21T08:47:27.093Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:47:27.503Z] + docker inspect -f . ci-base-image-arm64 [2020-10-21T08:47:27.503Z] . [Pipeline] withDockerContainer [2020-10-21T08:47:27.743Z] prd-ubuntu18.04-docker-arm64-4c-16g-7465 does not seem to be running inside a container [2020-10-21T08:47:27.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-21T08:47:29.668Z] $ docker top 0f8e7417a05027dd6167de6cdd3129529b24f50354999286ffee5ae34c39b9e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T08:47:31.258Z] + go version [2020-10-21T08:47:31.259Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-21T08:47:31.285Z] $ docker stop --time=1 0f8e7417a05027dd6167de6cdd3129529b24f50354999286ffee5ae34c39b9e5 [2020-10-21T08:47:31.569Z] 4e634b169226: Pull complete [2020-10-21T08:47:31.569Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-21T08:47:31.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-21T08:47:31.569Z] ---> f7629b54cfaa [2020-10-21T08:47:31.569Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T08:47:31.569Z] ---> Running in 6a406fcadb72 [2020-10-21T08:47:31.569Z] Removing intermediate container 6a406fcadb72 [2020-10-21T08:47:31.569Z] ---> fb34dbe8cf8b [2020-10-21T08:47:31.569Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T08:47:31.569Z] ---> Running in 21981fd510c3 [2020-10-21T08:47:33.218Z] $ docker rm -f 0f8e7417a05027dd6167de6cdd3129529b24f50354999286ffee5ae34c39b9e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-10-21T08:47:33.682Z] Removing intermediate container 21981fd510c3 [2020-10-21T08:47:33.682Z] ---> 39a529cb4ecd [2020-10-21T08:47:33.682Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-21T08:47:33.682Z] ---> Running in a26c240da80c [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:47:34.268Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-21T08:47:34.280Z] + docker inspect -f . ci-base-image-arm64 [2020-10-21T08:47:34.280Z] . [Pipeline] withDockerContainer [2020-10-21T08:47:34.547Z] prd-ubuntu18.04-docker-arm64-4c-16g-7465 does not seem to be running inside a container [2020-10-21T08:47:34.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-21T08:47:34.905Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-21T08:47:35.540Z] OK: 166 MiB in 39 packages [2020-10-21T08:47:36.164Z] Removing intermediate container a26c240da80c [2020-10-21T08:47:36.164Z] ---> 9ebdd4fdf593 [2020-10-21T08:47:36.164Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-21T08:47:36.164Z] ---> Running in 4bf8d8ec9c1b [2020-10-21T08:47:36.437Z] Removing intermediate container 4bf8d8ec9c1b [2020-10-21T08:47:36.437Z] ---> 317b1d772cb6 [2020-10-21T08:47:36.437Z] Step 7/8 : COPY . . [2020-10-21T08:47:36.478Z] $ docker top 2a38d175a4cfe39f6032eb26e3beb6b39299f8a44d51cc889c9891545c91f509 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T08:47:37.856Z] + make test [2020-10-21T08:47:37.856Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-21T08:47:37.860Z] ---> 215ddc134b26 [2020-10-21T08:47:37.860Z] Step 8/8 : RUN go mod download [2020-10-21T08:47:37.860Z] ---> Running in 3b30edc0bd0d [2020-10-21T08:48:00.053Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-21T08:48:00.296Z] Removing intermediate container 3b30edc0bd0d [2020-10-21T08:48:00.296Z] ---> 68d629fba75e [2020-10-21T08:48:00.296Z] Successfully built 68d629fba75e [2020-10-21T08:48:00.296Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:48:00.799Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-21T08:48:00.799Z] . [Pipeline] withDockerContainer [2020-10-21T08:48:01.119Z] prd-centos7-docker-4c-2g-7466 does not seem to be running inside a container [2020-10-21T08:48:01.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-21T08:48:02.585Z] $ docker top 0a221f2b2bb3765989926d20506c12b56e3f717ffc0ea5c1b4f0d8a274ed0147 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T08:48:03.297Z] + go version [2020-10-21T08:48:03.297Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-21T08:48:03.348Z] $ docker stop --time=1 0a221f2b2bb3765989926d20506c12b56e3f717ffc0ea5c1b4f0d8a274ed0147 [2020-10-21T08:48:04.816Z] $ docker rm -f 0a221f2b2bb3765989926d20506c12b56e3f717ffc0ea5c1b4f0d8a274ed0147 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:48:05.843Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-21T08:48:05.843Z] . [Pipeline] withDockerContainer [2020-10-21T08:48:05.991Z] prd-centos7-docker-4c-2g-7466 does not seem to be running inside a container [2020-10-21T08:48:06.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-21T08:48:06.971Z] $ docker top 9a3ab283df602f3d07846b522d45dd32934ae037dfcfab74f22fd78f647dfe66 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T08:48:07.755Z] + make test [2020-10-21T08:48:07.755Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-21T08:48:20.376Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-21T08:48:39.112Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-21T08:48:39.112Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-21T08:48:39.112Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-21T08:48:39.112Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.137s coverage: 20.8% of statements [2020-10-21T08:48:41.102Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.301s coverage: 97.1% of statements [2020-10-21T08:48:43.351Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-21T08:48:43.351Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-21T08:48:43.351Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-21T08:48:43.639Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.121s coverage: 20.8% of statements [2020-10-21T08:48:47.376Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.677s coverage: 97.1% of statements [2020-10-21T08:49:13.473Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.124s coverage: 9.4% of statements [2020-10-21T08:49:13.474Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.114s coverage: 21.9% of statements [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-21T08:49:13.474Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.610s coverage: 42.6% of statements [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-21T08:49:13.474Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.799s coverage: 68.9% of statements [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-21T08:49:13.474Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.179s coverage: 52.6% of statements [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-21T08:49:13.474Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.847s coverage: 68.9% of statements [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-21T08:49:13.474Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-21T08:49:13.474Z] GO111MODULE=on go vet ./... [2020-10-21T08:49:20.273Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.123s coverage: 9.4% of statements [2020-10-21T08:49:20.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.119s coverage: 21.9% of statements [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-21T08:49:20.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.347s coverage: 42.6% of statements [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-21T08:49:20.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.582s coverage: 68.9% of statements [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-21T08:49:20.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.088s coverage: 52.6% of statements [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-21T08:49:20.274Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 3.409s coverage: 68.9% of statements [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-21T08:49:20.274Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-21T08:49:20.274Z] GO111MODULE=on go vet ./... [2020-10-21T08:49:32.958Z] gofmt -l . [2020-10-21T08:49:32.958Z] [ "`gofmt -l .`" = "" ] [2020-10-21T08:49:32.958Z] ./bin/test-attribution-txt.sh [2020-10-21T08:49:32.958Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-21T08:49:33.494Z] Stashed 1 file(s) [Pipeline] } [2020-10-21T08:49:33.523Z] $ docker stop --time=1 9a3ab283df602f3d07846b522d45dd32934ae037dfcfab74f22fd78f647dfe66 [2020-10-21T08:49:35.683Z] $ docker rm -f 9a3ab283df602f3d07846b522d45dd32934ae037dfcfab74f22fd78f647dfe66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-21T08:49:39.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-21T08:49:39.964Z] + ls -al . [2020-10-21T08:49:39.964Z] total 192 [2020-10-21T08:49:39.964Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 21 08:49 . [2020-10-21T08:49:39.964Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 21 08:46 .. [2020-10-21T08:49:39.964Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 21 08:46 bin [2020-10-21T08:49:39.964Z] -rw-r--r--. 1 jenkins jenkins 110652 Oct 21 08:49 coverage.out [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 21 08:46 Dockerfile.build [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 21 08:46 .dockerignore [2020-10-21T08:49:39.964Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 21 08:46 example [2020-10-21T08:49:39.964Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 21 08:47 .git [2020-10-21T08:49:39.964Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 21 08:46 .github [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 21 08:46 .gitignore [2020-10-21T08:49:39.964Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 21 08:49 go.mod [2020-10-21T08:49:39.964Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 21 08:49 go.sum [2020-10-21T08:49:39.964Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 21 08:46 internal [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 21 08:46 Jenkinsfile [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 21 08:46 LICENSE [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 21 08:46 Makefile [2020-10-21T08:49:39.964Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 21 08:46 openapi [2020-10-21T08:49:39.964Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 21 08:46 pkg [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 21 08:46 README.md [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 21 08:46 RELEASE-NOTES.txt [2020-10-21T08:49:39.964Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 21 08:46 snap [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 21 08:44 VERSION [2020-10-21T08:49:39.964Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 21 08:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:49:40.557Z] + 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=e418cf663496cfa0392ec3c9d73139fa3315b93f --label arch=amd64 --label version=0.0.0 . [2020-10-21T08:49:40.831Z] Sending build context to Docker daemon 2.447MB [2020-10-21T08:49:40.831Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-21T08:49:40.831Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-21T08:49:40.831Z] ---> 68d629fba75e [2020-10-21T08:49:40.831Z] Step 3/24 : ARG MAKE='make build' [2020-10-21T08:49:41.417Z] ---> Running in 268a048e3666 [2020-10-21T08:49:41.417Z] Removing intermediate container 268a048e3666 [2020-10-21T08:49:41.417Z] ---> f24e2765f4c5 [2020-10-21T08:49:41.417Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-21T08:49:41.684Z] ---> Running in 7f396cc0e155 [2020-10-21T08:49:41.684Z] Removing intermediate container 7f396cc0e155 [2020-10-21T08:49:41.684Z] ---> 90de291c84a7 [2020-10-21T08:49:41.684Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T08:49:41.949Z] ---> Running in 887bf52928d4 [2020-10-21T08:49:41.949Z] Removing intermediate container 887bf52928d4 [2020-10-21T08:49:41.949Z] ---> d711a4c8320f [2020-10-21T08:49:41.949Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T08:49:42.536Z] ---> Running in c0e1e61de770 [2020-10-21T08:49:44.027Z] Removing intermediate container c0e1e61de770 [2020-10-21T08:49:44.027Z] ---> 0eea0e9633d0 [2020-10-21T08:49:44.027Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-21T08:49:44.027Z] ---> Running in 96abc0c1eeaf [2020-10-21T08:49:45.033Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-21T08:49:45.652Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-21T08:49:45.862Z] gofmt -l . [2020-10-21T08:49:45.862Z] [ "`gofmt -l .`" = "" ] [2020-10-21T08:49:45.862Z] ./bin/test-attribution-txt.sh [2020-10-21T08:49:45.862Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-21T08:49:45.931Z] Warning: overwriting stash ‘coverage-report’ [2020-10-21T08:49:46.255Z] OK: 166 MiB in 39 packages [2020-10-21T08:49:46.839Z] Removing intermediate container 96abc0c1eeaf [2020-10-21T08:49:46.839Z] ---> 5c78fa88f340 [2020-10-21T08:49:46.839Z] Step 8/24 : COPY . . [2020-10-21T08:49:46.850Z] Stashed 1 file(s) [Pipeline] } [2020-10-21T08:49:46.868Z] $ docker stop --time=1 2a38d175a4cfe39f6032eb26e3beb6b39299f8a44d51cc889c9891545c91f509 [2020-10-21T08:49:47.425Z] ---> 16579bbd7e80 [2020-10-21T08:49:47.425Z] Step 9/24 : RUN ${MAKE} [2020-10-21T08:49:47.693Z] ---> Running in f8079d4cd5bf [2020-10-21T08:49:48.291Z] 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-21T08:49:49.158Z] $ docker rm -f 2a38d175a4cfe39f6032eb26e3beb6b39299f8a44d51cc889c9891545c91f509 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-21T08:49:50.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-21T08:49:51.123Z] + ls -al . [2020-10-21T08:49:51.123Z] total 228 [2020-10-21T08:49:51.123Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 08:49 . [2020-10-21T08:49:51.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:46 .. [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 08:46 .dockerignore [2020-10-21T08:49:51.123Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 08:46 .git [2020-10-21T08:49:51.123Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 08:46 .github [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 21 08:46 .gitignore [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 21 08:46 Dockerfile.build [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 21 08:46 Jenkinsfile [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 08:46 LICENSE [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 21 08:46 Makefile [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 21 08:46 README.md [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 21 08:46 RELEASE-NOTES.txt [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 21 08:44 VERSION [2020-10-21T08:49:51.123Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 08:46 bin [2020-10-21T08:49:51.123Z] -rw-r--r-- 1 jenkins jenkins 110652 Oct 21 08:49 coverage.out [2020-10-21T08:49:51.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:46 example [2020-10-21T08:49:51.123Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 21 08:49 go.mod [2020-10-21T08:49:51.123Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 21 08:49 go.sum [2020-10-21T08:49:51.123Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 21 08:46 internal [2020-10-21T08:49:51.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:46 openapi [2020-10-21T08:49:51.123Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 08:46 pkg [2020-10-21T08:49:51.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 08:46 snap [2020-10-21T08:49:51.123Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 08:46 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:49:51.469Z] + 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=e418cf663496cfa0392ec3c9d73139fa3315b93f --label arch=arm64 --label version=0.0.0 . [2020-10-21T08:49:52.064Z] Sending build context to Docker daemon 2.449MB [2020-10-21T08:49:52.064Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-21T08:49:52.064Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-21T08:49:52.064Z] ---> feaa642252da [2020-10-21T08:49:52.064Z] Step 3/24 : ARG MAKE='make build' [2020-10-21T08:49:52.340Z] ---> Running in 486663965a83 [2020-10-21T08:49:52.614Z] Removing intermediate container 486663965a83 [2020-10-21T08:49:52.614Z] ---> 0d607ffd4cf7 [2020-10-21T08:49:52.614Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-21T08:49:52.894Z] ---> Running in 4594794041d9 [2020-10-21T08:49:53.167Z] Removing intermediate container 4594794041d9 [2020-10-21T08:49:53.167Z] ---> 820f50d3948b [2020-10-21T08:49:53.167Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T08:49:53.440Z] ---> Running in b0cb003997e8 [2020-10-21T08:49:53.716Z] Removing intermediate container b0cb003997e8 [2020-10-21T08:49:53.716Z] ---> 79160f707b20 [2020-10-21T08:49:53.716Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-21T08:49:53.994Z] ---> Running in f03f82391daf [2020-10-21T08:49:56.622Z] Removing intermediate container f03f82391daf [2020-10-21T08:49:56.622Z] ---> f95289bccf35 [2020-10-21T08:49:56.622Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-21T08:49:56.622Z] ---> Running in 5a0589336172 [2020-10-21T08:49:58.056Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-21T08:49:58.653Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-21T08:49:59.628Z] OK: 142 MiB in 39 packages [2020-10-21T08:50:00.629Z] Removing intermediate container 5a0589336172 [2020-10-21T08:50:00.629Z] ---> 3f64bbdc7ba4 [2020-10-21T08:50:00.629Z] Step 8/24 : COPY . . [2020-10-21T08:50:02.073Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-21T08:50:02.080Z] ---> 6031e96df30a [2020-10-21T08:50:02.080Z] Step 9/24 : RUN ${MAKE} [2020-10-21T08:50:02.080Z] ---> Running in 71db1a0201fe [2020-10-21T08:50:03.194Z] Removing intermediate container f8079d4cd5bf [2020-10-21T08:50:03.194Z] ---> b5a590f32049 [2020-10-21T08:50:03.194Z] Step 10/24 : FROM scratch [2020-10-21T08:50:03.194Z] ---> [2020-10-21T08:50:03.194Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T08:50:03.465Z] ---> Running in 783a8abef0b4 [2020-10-21T08:50:03.512Z] 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-21T08:50:03.745Z] Removing intermediate container 783a8abef0b4 [2020-10-21T08:50:03.745Z] ---> bf7822290536 [2020-10-21T08:50:03.745Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-21T08:50:03.745Z] ---> Running in c79d3d949ccc [2020-10-21T08:50:04.034Z] Removing intermediate container c79d3d949ccc [2020-10-21T08:50:04.034Z] ---> aa1f40b40145 [2020-10-21T08:50:04.034Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-21T08:50:04.034Z] ---> Running in 10db8b5cc4a0 [2020-10-21T08:50:04.313Z] Removing intermediate container 10db8b5cc4a0 [2020-10-21T08:50:04.313Z] ---> ec0d8b432a34 [2020-10-21T08:50:04.313Z] Step 14/24 : WORKDIR / [2020-10-21T08:50:04.313Z] ---> Running in 33d913dfa559 [2020-10-21T08:50:04.608Z] Removing intermediate container 33d913dfa559 [2020-10-21T08:50:04.608Z] ---> c171bd390e8c [2020-10-21T08:50:04.608Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-21T08:50:05.649Z] ---> eec96be07260 [2020-10-21T08:50:05.649Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-21T08:50:06.249Z] ---> 436e49837e3c [2020-10-21T08:50:06.249Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-21T08:50:06.521Z] ---> 325f798db2b9 [2020-10-21T08:50:06.521Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-21T08:50:06.789Z] ---> e18e0cd61754 [2020-10-21T08:50:06.789Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-21T08:50:07.075Z] ---> f1d47a2f188f [2020-10-21T08:50:07.075Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-21T08:50:07.075Z] ---> Running in c5a220848faa [2020-10-21T08:50:07.379Z] Removing intermediate container c5a220848faa [2020-10-21T08:50:07.379Z] ---> d8297611e5a7 [2020-10-21T08:50:07.379Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-21T08:50:07.379Z] ---> Running in 60ea490b882f [2020-10-21T08:50:07.679Z] Removing intermediate container 60ea490b882f [2020-10-21T08:50:07.679Z] ---> 340553deb624 [2020-10-21T08:50:07.679Z] Step 22/24 : LABEL arch=amd64 [2020-10-21T08:50:07.679Z] ---> Running in 0621e843009c [2020-10-21T08:50:07.948Z] Removing intermediate container 0621e843009c [2020-10-21T08:50:07.948Z] ---> aeb8a613bcca [2020-10-21T08:50:07.948Z] Step 23/24 : LABEL git_sha=e418cf663496cfa0392ec3c9d73139fa3315b93f [2020-10-21T08:50:08.231Z] ---> Running in 48268ad6ec51 [2020-10-21T08:50:08.231Z] Removing intermediate container 48268ad6ec51 [2020-10-21T08:50:08.231Z] ---> ef9ed972bec8 [2020-10-21T08:50:08.231Z] Step 24/24 : LABEL version=0.0.0 [2020-10-21T08:50:08.534Z] ---> Running in c7f0bc3f0fb8 [2020-10-21T08:50:08.534Z] Removing intermediate container c7f0bc3f0fb8 [2020-10-21T08:50:08.534Z] ---> 9bb64b1dfbad [2020-10-21T08:50:08.534Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-21T08:50:08.534Z] Successfully built 9bb64b1dfbad [2020-10-21T08:50:08.801Z] 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-21T08:50:30.338Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-21T08:50:30.338Z] Removing intermediate container 71db1a0201fe [2020-10-21T08:50:30.338Z] ---> 6cf489939f18 [2020-10-21T08:50:30.338Z] Step 10/24 : FROM scratch [2020-10-21T08:50:30.338Z] ---> [2020-10-21T08:50:30.338Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-21T08:50:30.338Z] ---> Running in 76e9b5e94811 [2020-10-21T08:50:30.338Z] Removing intermediate container 76e9b5e94811 [2020-10-21T08:50:30.338Z] ---> 7ccbc2e3cca9 [2020-10-21T08:50:30.338Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-21T08:50:30.338Z] ---> Running in eb2880c981f9 [2020-10-21T08:50:30.612Z] Removing intermediate container eb2880c981f9 [2020-10-21T08:50:30.612Z] ---> 54153db6b821 [2020-10-21T08:50:30.612Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-21T08:50:30.885Z] ---> Running in 0a98606cb940 [2020-10-21T08:50:31.162Z] Removing intermediate container 0a98606cb940 [2020-10-21T08:50:31.163Z] ---> a99d2a3cc340 [2020-10-21T08:50:31.163Z] Step 14/24 : WORKDIR / [2020-10-21T08:50:31.436Z] ---> Running in a8e58134670f [2020-10-21T08:50:31.709Z] Removing intermediate container a8e58134670f [2020-10-21T08:50:31.709Z] ---> 56aada344b77 [2020-10-21T08:50:31.709Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-21T08:50:33.683Z] ---> 3b793c57393f [2020-10-21T08:50:33.683Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-21T08:50:34.288Z] ---> c9a2fb92d655 [2020-10-21T08:50:34.288Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-21T08:50:35.274Z] ---> 78ac642ff94e [2020-10-21T08:50:35.274Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-21T08:50:35.871Z] ---> 90fe109b20ef [2020-10-21T08:50:35.871Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-21T08:50:36.467Z] ---> 356380f31319 [2020-10-21T08:50:36.467Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-21T08:50:36.467Z] ---> Running in 6fccb8309280 [2020-10-21T08:50:37.064Z] Removing intermediate container 6fccb8309280 [2020-10-21T08:50:37.064Z] ---> 19145a31bb2f [2020-10-21T08:50:37.064Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-21T08:50:37.064Z] ---> Running in ae5c4545f407 [2020-10-21T08:50:37.339Z] Removing intermediate container ae5c4545f407 [2020-10-21T08:50:37.339Z] ---> e1182d3726c7 [2020-10-21T08:50:37.339Z] Step 22/24 : LABEL arch=arm64 [2020-10-21T08:50:37.616Z] ---> Running in be175af003b6 [2020-10-21T08:50:37.891Z] Removing intermediate container be175af003b6 [2020-10-21T08:50:37.891Z] ---> 013f53f78cdc [2020-10-21T08:50:37.891Z] Step 23/24 : LABEL git_sha=e418cf663496cfa0392ec3c9d73139fa3315b93f [2020-10-21T08:50:38.165Z] ---> Running in 73d442bd8206 [2020-10-21T08:50:38.437Z] Removing intermediate container 73d442bd8206 [2020-10-21T08:50:38.437Z] ---> e48e64c84542 [2020-10-21T08:50:38.437Z] Step 24/24 : LABEL version=0.0.0 [2020-10-21T08:50:38.710Z] ---> Running in 2a55332367a8 [2020-10-21T08:50:38.983Z] Removing intermediate container 2a55332367a8 [2020-10-21T08:50:38.983Z] ---> 3d37e1995510 [2020-10-21T08:50:38.983Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-21T08:50:39.253Z] Successfully built 3d37e1995510 [2020-10-21T08:50:39.253Z] 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-21T08:50:41.832Z] provisioning config files... [2020-10-21T08:50:41.844Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/config1639663999643264870tmp [Pipeline] { [Pipeline] sh [2020-10-21T08:50:42.223Z] + set +x [2020-10-21T08:50:42.223Z] + curl -s https://codecov.io/bash [2020-10-21T08:50:42.223Z] + bash -s -- [2020-10-21T08:50:42.484Z] [2020-10-21T08:50:42.484Z] _____ _ [2020-10-21T08:50:42.484Z] / ____| | | [2020-10-21T08:50:42.484Z] | | ___ __| | ___ ___ _____ __ [2020-10-21T08:50:42.484Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-21T08:50:42.484Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-21T08:50:42.484Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-21T08:50:42.484Z] Bash-20201009-048fee3 [2020-10-21T08:50:42.484Z] [2020-10-21T08:50:42.484Z] [2020-10-21T08:50:42.484Z] ==> Jenkins CI detected. [2020-10-21T08:50:42.484Z] project root: . [2020-10-21T08:50:42.484Z] --> token set from env [2020-10-21T08:50:42.484Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-21T08:50:42.484Z] ==> Running gcov in . (disable via -X gcov) [2020-10-21T08:50:42.484Z] ==> Python coveragepy not found [2020-10-21T08:50:42.484Z] ==> Searching for coverage reports in: [2020-10-21T08:50:42.484Z] + . [2020-10-21T08:50:42.484Z] -> Found 1 reports [2020-10-21T08:50:42.484Z] ==> Detecting git/mercurial file structure [2020-10-21T08:50:42.484Z] ==> Reading reports [2020-10-21T08:50:42.484Z] + ./coverage.out bytes=110652 [2020-10-21T08:50:42.484Z] ==> Appending adjustments [2020-10-21T08:50:42.484Z] https://docs.codecov.io/docs/fixing-reports [2020-10-21T08:50:43.061Z] + Found adjustments [2020-10-21T08:50:43.061Z] ==> Gzipping contents [2020-10-21T08:50:43.061Z] ==> Uploading reports [2020-10-21T08:50:43.061Z] url: https://codecov.io [2020-10-21T08:50:43.061Z] query: branch=PR-635&commit=e418cf663496cfa0392ec3c9d73139fa3315b93f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-635%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=635&job=&cmd_args= [2020-10-21T08:50:43.061Z] -> Pinging Codecov [2020-10-21T08:50:43.061Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-635&commit=e418cf663496cfa0392ec3c9d73139fa3315b93f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-635%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=635&job=&cmd_args= [2020-10-21T08:50:43.061Z] -> Uploading to [2020-10-21T08:50:43.061Z] [2020-10-21T08:50:43.061Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-21T08:50:43.061Z] Dload Upload Total Spent Left Speed [2020-10-21T08:50:43.323Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-21T08:50:43.323Z] X> Failed to upload [2020-10-21T08:50:43.323Z] ==> Uploading to Codecov [2020-10-21T08:50:43.323Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-21T08:50:43.323Z] Dload Upload Total Spent Left Speed [2020-10-21T08:51:03.808Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19068 0 0 100 19068 0 16365 0:00:01 0:00:01 --:--:-- 16367 100 19068 0 0 100 19068 0 9527 0:00:02 0:00:02 --:--:-- 9529 100 19068 0 0 100 19068 0 6350 0:00:03 0:00:03 --:--:-- 6351 100 19068 0 0 100 19068 0 4762 0:00:04 0:00:04 --:--:-- 4763 100 19068 0 0 100 19068 0 3809 0:00:05 0:00:05 --:--:-- 3809 100 19068 0 0 100 19068 0 3174 0:00:06 0:00:06 --:--:-- 0 100 19068 0 0 100 19068 0 2720 0:00:07 0:00:07 --:--:-- 0 100 19068 0 0 100 19068 0 2380 0:00:08 0:00:08 --:--:-- 0 100 19068 0 0 100 19068 0 2116 0:00:09 0:00:09 --:--:-- 0 100 19068 0 0 100 19068 0 1904 0:00:10 0:00:10 --:--:-- 0 100 19068 0 0 100 19068 0 1731 0:00:11 0:00:11 --:--:-- 0 100 19068 0 0 100 19068 0 1587 0:00:12 0:00:12 --:--:-- 0 100 19068 0 0 100 19068 0 1464 0:00:13 0:00:13 --:--:-- 0 100 19068 0 0 100 19068 0 1360 0:00:14 0:00:14 --:--:-- 0 100 19068 0 0 100 19068 0 1269 0:00:15 0:00:15 --:--:-- 0 100 19068 0 0 100 19068 0 1190 0:00:16 0:00:16 --:--:-- 0 100 19068 0 0 100 19068 0 1120 0:00:17 0:00:17 --:--:-- 0 100 19068 0 0 100 19068 0 1058 0:00:18 0:00:18 --:--:-- 0 100 19068 0 0 100 19068 0 1002 0:00:19 0:00:19 --:--:-- 0 100 19068 0 0 100 19068 0 952 0:00:20 0:00:20 --:--:-- 0 100 19178 100 110 100 19068 5 926 0:00:22 0:00:20 0:00:02 0 [2020-10-21T08:51:03.808Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e418cf663496cfa0392ec3c9d73139fa3315b93f [Pipeline] } [2020-10-21T08:51:03.818Z] 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-21T08:51:06.562Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T08:51:07.138Z] ---> package-listing.sh [2020-10-21T08:51:07.138Z] ++ facter osfamily [2020-10-21T08:51:07.138Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-21T08:51:07.138Z] + OS_FAMILY=redhat [2020-10-21T08:51:07.138Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-635 [2020-10-21T08:51:07.138Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-21T08:51:07.138Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-21T08:51:07.138Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-21T08:51:07.138Z] + PACKAGES=/tmp/packages_start.txt [2020-10-21T08:51:07.138Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-635 ']' [2020-10-21T08:51:07.138Z] + PACKAGES=/tmp/packages_end.txt [2020-10-21T08:51:07.138Z] + case "${OS_FAMILY}" in [2020-10-21T08:51:07.138Z] + rpm -qa [2020-10-21T08:51:07.138Z] + sort [2020-10-21T08:51:12.447Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-21T08:51:12.448Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-21T08:51:12.448Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-21T08:51:12.448Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-635 ']' [2020-10-21T08:51:12.448Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-635/archives/ [2020-10-21T08:51:12.448Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-635/archives/ [Pipeline] echo [2020-10-21T08:51:12.469Z] 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-635/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-21T08:51:12.760Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:51:13.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T08:51:13.064Z] [2020-10-21T08:51:13.064Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-21T08:51:13.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T08:51:13.426Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-21T08:51:13.426Z] df20fa9351a1: Pulling fs layer [2020-10-21T08:51:13.426Z] 36b3adc4ff6f: Pulling fs layer [2020-10-21T08:51:13.426Z] 8ad3a11d3b57: Pulling fs layer [2020-10-21T08:51:13.426Z] 46f8f816bc3b: Pulling fs layer [2020-10-21T08:51:13.426Z] 93b61091891f: Pulling fs layer [2020-10-21T08:51:13.426Z] 93b9cdb0e59b: Pulling fs layer [2020-10-21T08:51:13.426Z] 5e14af77c1be: Pulling fs layer [2020-10-21T08:51:13.426Z] 01666e4c0597: Pulling fs layer [2020-10-21T08:51:13.426Z] aa168da1d23b: Pulling fs layer [2020-10-21T08:51:13.426Z] 46f8f816bc3b: Waiting [2020-10-21T08:51:13.426Z] 93b9cdb0e59b: Waiting [2020-10-21T08:51:13.426Z] 5e14af77c1be: Waiting [2020-10-21T08:51:13.426Z] 93b61091891f: Waiting [2020-10-21T08:51:13.426Z] 01666e4c0597: Waiting [2020-10-21T08:51:13.426Z] aa168da1d23b: Waiting [2020-10-21T08:51:13.426Z] 36b3adc4ff6f: Verifying Checksum [2020-10-21T08:51:13.426Z] 36b3adc4ff6f: Download complete [2020-10-21T08:51:13.426Z] 46f8f816bc3b: Download complete [2020-10-21T08:51:13.426Z] df20fa9351a1: Verifying Checksum [2020-10-21T08:51:13.426Z] df20fa9351a1: Download complete [2020-10-21T08:51:13.426Z] 93b9cdb0e59b: Download complete [2020-10-21T08:51:13.691Z] 5e14af77c1be: Verifying Checksum [2020-10-21T08:51:13.691Z] 5e14af77c1be: Download complete [2020-10-21T08:51:13.691Z] 93b61091891f: Download complete [2020-10-21T08:51:13.691Z] 01666e4c0597: Verifying Checksum [2020-10-21T08:51:13.691Z] 01666e4c0597: Download complete [2020-10-21T08:51:13.953Z] df20fa9351a1: Pull complete [2020-10-21T08:51:13.954Z] 36b3adc4ff6f: Pull complete [2020-10-21T08:51:14.530Z] 8ad3a11d3b57: Verifying Checksum [2020-10-21T08:51:14.530Z] 8ad3a11d3b57: Download complete [2020-10-21T08:51:15.106Z] 8ad3a11d3b57: Pull complete [2020-10-21T08:51:15.377Z] 46f8f816bc3b: Pull complete [2020-10-21T08:51:15.954Z] 93b61091891f: Pull complete [2020-10-21T08:51:15.954Z] 93b9cdb0e59b: Pull complete [2020-10-21T08:51:15.954Z] 5e14af77c1be: Pull complete [2020-10-21T08:51:16.223Z] aa168da1d23b: Verifying Checksum [2020-10-21T08:51:16.223Z] aa168da1d23b: Download complete [2020-10-21T08:51:16.223Z] 01666e4c0597: Pull complete [2020-10-21T08:51:22.832Z] aa168da1d23b: Pull complete [2020-10-21T08:51:23.094Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-21T08:51:23.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-21T08:51:23.094Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-21T08:51:23.241Z] prd-centos7-docker-4c-2g-7464 does not seem to be running inside a container [2020-10-21T08:51:23.291Z] $ 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-635/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-635 -v /w/workspace/dgexfoundry_device-sdk-go_PR-635:/w/workspace/dgexfoundry_device-sdk-go_PR-635:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-635@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-21T08:51:27.190Z] $ docker top a24ff1e9b2b0d44011fe24d9c7db61fb35bf9587f229292456fe6561d32d6979 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-21T08:51:27.755Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-21T08:51:28.058Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-21T08:51:28.357Z] + ls /var/log/sa-host [2020-10-21T08:51:28.357Z] + sadf -c /var/log/sa-host/sa05 [2020-10-21T08:51:28.357Z] file_magic: OK [2020-10-21T08:51:28.357Z] HZ: Using current value: 100 [2020-10-21T08:51:28.357Z] file_header: OK [2020-10-21T08:51:28.357Z] 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-21T08:51:28.357Z] Statistics: [2020-10-21T08:51:28.357Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T08:51:28.357Z] File successfully converted to sysstat format version 12.2.1 [2020-10-21T08:51:28.357Z] + sadf -c /var/log/sa-host/sa21 [2020-10-21T08:51:28.357Z] file_magic: OK [2020-10-21T08:51:28.357Z] HZ: Using current value: 100 [2020-10-21T08:51:28.357Z] file_header: OK [2020-10-21T08:51:28.357Z] 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-21T08:51:28.357Z] Statistics: [2020-10-21T08:51:28.357Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-21T08:51:28.357Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-21T08:51:28.567Z] provisioning config files... [2020-10-21T08:51:28.594Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-635@tmp/config9873255937674469tmp [Pipeline] { [Pipeline] echo [2020-10-21T08:51:28.660Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T08:51:28.960Z] ---> create-netrc.sh [Pipeline] } [2020-10-21T08:51:28.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-21T08:51:29.075Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T08:51:29.374Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-21T08:51:29.385Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T08:51:29.688Z] ---> sudo-logs.sh [2020-10-21T08:51:29.688Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-21T08:51:29.700Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T08:51:29.997Z] ---> job-cost.sh [2020-10-21T08:51:29.998Z] lf-activate-venv: SKIPPING [2020-10-21T08:51:29.998Z] INFO: No Stack... [2020-10-21T08:51:31.922Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-21T08:51:32.185Z] INFO: Archiving Costs [Pipeline] echo [2020-10-21T08:51:32.198Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-21T08:51:32.498Z] ---> logs-deploy.sh [2020-10-21T08:51:32.498Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-635/3 [2020-10-21T08:51:32.498Z] INFO: archiving workspace using pattern(s): [2020-10-21T08:51:34.418Z] Archives upload complete. [2020-10-21T08:51:34.418Z] INFO: archiving logs to Nexus