Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 628559142d23fa9d6fe61ea3329529ff5e9788fb+9f44a914c3163ba6aceeb076ef4043962d95dc92 (8896cbe593cdae940b9c0a996742d87c26640c06) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-420 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-586 # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb Merge succeeded, producing c32e77c47295eebff2be14fc653f9bdef707d5d3 Checking out Revision c32e77c47295eebff2be14fc653f9bdef707d5d3 (PR-586) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # 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 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c32e77c47295eebff2be14fc653f9bdef707d5d3 # timeout=10 Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 008e04b076563efc6f8683aeda7071f1facd26eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-18T18:41:38.568Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-18T18:41:38.844Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-18T18:41:38.951Z] ========================================================= [2020-09-18T18:41:38.951Z] EdgeX Global Pipelines Version Info [2020-09-18T18:41:38.951Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-18T18:41:40.597Z] ------------------- [2020-09-18T18:41:40.597Z] stable info: [2020-09-18T18:41:40.597Z] ------------------- [2020-09-18T18:41:40.597Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-18T18:41:40.597Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-18T18:41:40.597Z] Message: update stable to v1.0.122 [2020-09-18T18:41:41.560Z] ------------------- [2020-09-18T18:41:41.560Z] experimental info: [2020-09-18T18:41:41.560Z] ------------------- [2020-09-18T18:41:41.560Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-18T18:41:41.560Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-18T18:41:41.560Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-18T18:41:42.025Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-18T18:41:42.173Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-18T18:41:42.302Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-18T18:41:42.416Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-18T18:41:42.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-18T18:41:42.648Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-18T18:41:42.915Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-18T18:41:43.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-18T18:41:43.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-18T18:41:43.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-18T18:41:43.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-18T18:41:43.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-18T18:41:43.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-18T18:41:43.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-18T18:41:43.731Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-18T18:41:43.830Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T18:41:43.926Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T18:41:44.022Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T18:41:44.118Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-18T18:41:44.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-18T18:41:44.390Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-18T18:41:44.530Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-18T18:41:44.619Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo [2020-09-18T18:41:44.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo [2020-09-18T18:41:44.819Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo [2020-09-18T18:41:44.922Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c32e77c47295eebff2be14fc653f9bdef707d5d3 [Pipeline] echo [2020-09-18T18:41:45.013Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c32e77c [Pipeline] echo [2020-09-18T18:41:45.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T18:41:45.697Z] + git log --format=format:%s -1 c32e77c47295eebff2be14fc653f9bdef707d5d3 [Pipeline] echo [2020-09-18T18:41:45.758Z] GIT_COMMIT: c32e77c47295eebff2be14fc653f9bdef707d5d3, Commit Message: Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD [Pipeline] echo [2020-09-18T18:41:45.822Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:41:46.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T18:41:46.778Z] [2020-09-18T18:41:46.778Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:41:47.141Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T18:41:47.141Z] latest: Pulling from edgex-devops/git-semver [2020-09-18T18:41:47.141Z] 31603596830f: Pulling fs layer [2020-09-18T18:41:47.141Z] 2a8b12db71e7: Pulling fs layer [2020-09-18T18:41:47.141Z] 6ca5941a6612: Pulling fs layer [2020-09-18T18:41:47.141Z] ecc8261a40a4: Pulling fs layer [2020-09-18T18:41:47.141Z] ecc8261a40a4: Waiting [2020-09-18T18:41:47.407Z] 2a8b12db71e7: Verifying Checksum [2020-09-18T18:41:47.407Z] 2a8b12db71e7: Download complete [2020-09-18T18:41:47.407Z] 31603596830f: Verifying Checksum [2020-09-18T18:41:47.407Z] 31603596830f: Download complete [2020-09-18T18:41:47.674Z] 6ca5941a6612: Verifying Checksum [2020-09-18T18:41:47.674Z] 6ca5941a6612: Download complete [2020-09-18T18:41:47.674Z] ecc8261a40a4: Verifying Checksum [2020-09-18T18:41:47.674Z] ecc8261a40a4: Download complete [2020-09-18T18:41:47.674Z] 31603596830f: Pull complete [2020-09-18T18:41:47.940Z] 2a8b12db71e7: Pull complete [2020-09-18T18:41:48.892Z] 6ca5941a6612: Pull complete [2020-09-18T18:41:48.892Z] ecc8261a40a4: Pull complete [2020-09-18T18:41:48.892Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-18T18:41:48.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T18:41:48.892Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-18T18:41:48.996Z] prd-centos7-docker-4c-2g-420 does not seem to be running inside a container [2020-09-18T18:41:49.036Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-09-18T18:41:51.035Z] $ docker top 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-18T18:41:51.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T18:41:51.331Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T18:41:51.570Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T18:41:51.564Z] $ docker exec 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 ssh-agent [2020-09-18T18:41:51.747Z] SSH_AUTH_SOCK=/tmp/ssh-wsnJx9G80HAg/agent.12 [2020-09-18T18:41:51.747Z] SSH_AGENT_PID=17 [2020-09-18T18:41:51.761Z] Running ssh-add (command line suppressed) [2020-09-18T18:41:51.873Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_5722409161065221239.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_5722409161065221239.key) [2020-09-18T18:41:51.938Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T18:41:52.321Z] + git describe --exact-match --tags HEAD [2020-09-18T18:41:52.321Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-18T18:41:52.343Z] $ docker exec --env ******** --env ******** 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 ssh-agent -k [2020-09-18T18:41:52.461Z] unset SSH_AUTH_SOCK; [2020-09-18T18:41:52.461Z] unset SSH_AGENT_PID; [2020-09-18T18:41:52.461Z] echo Agent pid 17 killed; [2020-09-18T18:41:52.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-18T18:41:52.623Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-18T18:41:52.623Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-18T18:41:52.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T18:41:52.731Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T18:41:52.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T18:41:52.896Z] $ docker exec 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 ssh-agent [2020-09-18T18:41:53.071Z] SSH_AUTH_SOCK=/tmp/ssh-XkrnWxLXjwEF/agent.47 [2020-09-18T18:41:53.071Z] SSH_AGENT_PID=53 [2020-09-18T18:41:53.078Z] Running ssh-add (command line suppressed) [2020-09-18T18:41:53.201Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_5413462356375569915.key (/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/private_key_5413462356375569915.key) [2020-09-18T18:41:53.264Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T18:41:53.652Z] + git semver init [2020-09-18T18:41:53.652Z] # -> Open(): unable to determine branch for HEAD [2020-09-18T18:41:53.652Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.git [2020-09-18T18:41:53.652Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-586 [2020-09-18T18:41:53.652Z] # $SEMVER_REMOTE_NAME = origin [2020-09-18T18:41:53.652Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-18T18:41:53.652Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-18T18:41:53.652Z] # $SEMVER_BRANCH = PR-586 [2020-09-18T18:41:53.652Z] # $SEMVER_TEMP = /tmp/semver-539591596 [2020-09-18T18:41:53.652Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-18T18:41:54.608Z] # '/tmp/semver-539591596' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver' [2020-09-18T18:41:54.608Z] # -> Force: false [2020-09-18T18:41:54.608Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-586/.semver [Pipeline] } [2020-09-18T18:41:54.614Z] $ docker exec --env ******** --env ******** 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 ssh-agent -k [2020-09-18T18:41:54.732Z] unset SSH_AUTH_SOCK; [2020-09-18T18:41:54.733Z] unset SSH_AGENT_PID; [2020-09-18T18:41:54.733Z] echo Agent pid 53 killed; [2020-09-18T18:41:54.789Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-18T18:41:55.254Z] + git semver [Pipeline] } [2020-09-18T18:41:55.260Z] $ docker stop --time=1 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 [2020-09-18T18:41:56.718Z] $ docker rm -f 13d473ecccdc9918c4d027336b7751cae348e3492838c8e62c46a96dca6ba3c2 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-18T18:41:57.544Z] Stashed 37 file(s) [Pipeline] echo [2020-09-18T18:41:57.547Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-18T18:41:57.653Z] Archived original 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-09-18T18:42:13.157Z] Still waiting to schedule task [2020-09-18T18:42:13.157Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-18T18:42:13.159Z] Still waiting to schedule task [2020-09-18T18:42:13.159Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-18T18:43:49.527Z] Running on prd-centos7-docker-4c-2g-427 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws [2020-09-18T18:43:49.576Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-09-18T18:43:52.472Z] using credential edgex-jenkins-ssh [2020-09-18T18:43:52.537Z] Cloning the remote Git repository [2020-09-18T18:43:52.537Z] Cloning with configured refspecs honoured and without tags [2020-09-18T18:43:52.576Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:43:52.666Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-09-18T18:43:52.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:43:52.730Z] > git --version # timeout=10 [2020-09-18T18:43:52.740Z] > git --version # 'git version 2.16.5' [2020-09-18T18:43:52.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:43:52.905Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T18:43:53.618Z] Fetching without tags [2020-09-18T18:43:54.016Z] Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb [2020-09-18T18:43:54.138Z] Merge succeeded, producing 38ca9e4f7c608237591802e5bb4700ca371422a6 [2020-09-18T18:43:54.138Z] Checking out Revision 38ca9e4f7c608237591802e5bb4700ca371422a6 (PR-586) [2020-09-18T18:43:53.567Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T18:43:53.586Z] > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 [2020-09-18T18:43:53.592Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T18:43:53.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T18:43:53.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:43:53.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:43:53.632Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T18:43:54.027Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T18:43:54.034Z] > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 [2020-09-18T18:43:54.085Z] > git remote # timeout=10 [2020-09-18T18:43:54.092Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T18:43:54.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:43:54.101Z] > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 [2020-09-18T18:43:54.132Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T18:43:54.143Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T18:43:54.148Z] > git checkout -f 38ca9e4f7c608237591802e5bb4700ca371422a6 # timeout=10 [2020-09-18T18:43:57.798Z] Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" [2020-09-18T18:43:57.810Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-09-18T18:43:57.804Z] > git rev-list --no-walk 008e04b076563efc6f8683aeda7071f1facd26eb # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T18:43:58.665Z] ========================================================= [2020-09-18T18:43:58.665Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-18T18:43:58.665Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:43:59.420Z] + 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-09-18T18:43:59.687Z] Sending build context to Docker daemon 3.166MB [2020-09-18T18:43:59.687Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-18T18:43:59.687Z] Step 2/8 : FROM ${BASE} [2020-09-18T18:43:59.687Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-18T18:43:59.687Z] df20fa9351a1: Pulling fs layer [2020-09-18T18:43:59.687Z] ed8968b2872e: Pulling fs layer [2020-09-18T18:43:59.687Z] a92cc7c5fd73: Pulling fs layer [2020-09-18T18:43:59.687Z] e871e8e8d7a9: Pulling fs layer [2020-09-18T18:43:59.687Z] e73272ec9a57: Pulling fs layer [2020-09-18T18:43:59.687Z] 1e910a182e73: Pulling fs layer [2020-09-18T18:43:59.687Z] 4e634b169226: Pulling fs layer [2020-09-18T18:43:59.687Z] e73272ec9a57: Waiting [2020-09-18T18:43:59.687Z] 1e910a182e73: Waiting [2020-09-18T18:43:59.687Z] 4e634b169226: Waiting [2020-09-18T18:43:59.687Z] e871e8e8d7a9: Waiting [2020-09-18T18:43:59.687Z] a92cc7c5fd73: Verifying Checksum [2020-09-18T18:43:59.687Z] a92cc7c5fd73: Download complete [2020-09-18T18:43:59.687Z] ed8968b2872e: Verifying Checksum [2020-09-18T18:43:59.687Z] ed8968b2872e: Download complete [2020-09-18T18:43:59.687Z] e73272ec9a57: Verifying Checksum [2020-09-18T18:43:59.687Z] e73272ec9a57: Download complete [2020-09-18T18:43:59.951Z] 1e910a182e73: Verifying Checksum [2020-09-18T18:43:59.951Z] 1e910a182e73: Download complete [2020-09-18T18:43:59.951Z] df20fa9351a1: Download complete [2020-09-18T18:44:00.214Z] df20fa9351a1: Pull complete [2020-09-18T18:44:00.214Z] ed8968b2872e: Pull complete [2020-09-18T18:44:00.480Z] a92cc7c5fd73: Pull complete [2020-09-18T18:44:02.413Z] 4e634b169226: Verifying Checksum [2020-09-18T18:44:02.413Z] 4e634b169226: Download complete [2020-09-18T18:44:02.991Z] e871e8e8d7a9: Verifying Checksum [2020-09-18T18:44:02.991Z] e871e8e8d7a9: Download complete [2020-09-18T18:44:05.336Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-425 in /w/workspace/dgexfoundry_device-sdk-go_PR-586 [Pipeline] { [Pipeline] ws [2020-09-18T18:44:05.408Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2020-09-18T18:44:08.330Z] e871e8e8d7a9: Pull complete [2020-09-18T18:44:08.331Z] e73272ec9a57: Pull complete [2020-09-18T18:44:08.597Z] 1e910a182e73: Pull complete [2020-09-18T18:44:10.154Z] using credential edgex-jenkins-ssh [2020-09-18T18:44:10.249Z] Cloning the remote Git repository [2020-09-18T18:44:10.249Z] Cloning with configured refspecs honoured and without tags [2020-09-18T18:44:10.312Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:44:10.421Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2020-09-18T18:44:11.486Z] Fetching without tags [2020-09-18T18:44:10.484Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:44:10.485Z] > git --version # timeout=10 [2020-09-18T18:44:10.500Z] > git --version # 'git version 2.17.1' [2020-09-18T18:44:10.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:44:10.551Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T18:44:11.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T18:44:11.432Z] > git config --add remote.origin.fetch +refs/pull/586/head:refs/remotes/origin/PR-586 # timeout=10 [2020-09-18T18:44:11.455Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T18:44:11.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T18:44:11.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T18:44:11.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:44:11.513Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T18:44:12.004Z] Merging remotes/origin/master commit 9f44a914c3163ba6aceeb076ef4043962d95dc92 into PR head commit 628559142d23fa9d6fe61ea3329529ff5e9788fb [2020-09-18T18:44:12.281Z] Merge succeeded, producing 56c0213b2e83177bc3095957058a821592d22434 [2020-09-18T18:44:12.282Z] Checking out Revision 56c0213b2e83177bc3095957058a821592d22434 (PR-586) [2020-09-18T18:44:12.026Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T18:44:12.041Z] > git checkout -f 628559142d23fa9d6fe61ea3329529ff5e9788fb # timeout=10 [2020-09-18T18:44:12.144Z] > git remote # timeout=10 [2020-09-18T18:44:12.161Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T18:44:12.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T18:44:12.187Z] > git merge 9f44a914c3163ba6aceeb076ef4043962d95dc92 # timeout=10 [2020-09-18T18:44:12.271Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T18:44:12.290Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T18:44:12.300Z] > git checkout -f 56c0213b2e83177bc3095957058a821592d22434 # timeout=10 [2020-09-18T18:44:16.813Z] 4e634b169226: Pull complete [2020-09-18T18:44:16.814Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-18T18:44:16.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-18T18:44:16.814Z] ---> f7629b54cfaa [2020-09-18T18:44:16.814Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T18:44:16.814Z] ---> Running in aaaf8be21258 [2020-09-18T18:44:16.814Z] Removing intermediate container aaaf8be21258 [2020-09-18T18:44:16.814Z] ---> 5fbc69838f3b [2020-09-18T18:44:16.814Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T18:44:16.925Z] Commit message: "Merge commit '9f44a914c3163ba6aceeb076ef4043962d95dc92' into HEAD" [2020-09-18T18:44:16.957Z] First time build. Skipping changelog. [2020-09-18T18:44:17.079Z] ---> Running in 85a832e42873 [2020-09-18T18:44:16.937Z] > git rev-list --no-walk 008e04b076563efc6f8683aeda7071f1facd26eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T18:44:18.212Z] ========================================================= [2020-09-18T18:44:18.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-18T18:44:18.212Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:44:18.492Z] Removing intermediate container 85a832e42873 [2020-09-18T18:44:18.492Z] ---> 455731ac5f9e [2020-09-18T18:44:18.492Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-18T18:44:18.756Z] ---> Running in 19aeb5f379f7 [2020-09-18T18:44:19.273Z] + 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-09-18T18:44:19.335Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T18:44:20.264Z] Sending build context to Docker daemon 3.166MB [2020-09-18T18:44:20.265Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-18T18:44:20.265Z] Step 2/8 : FROM ${BASE} [2020-09-18T18:44:20.541Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-18T18:44:20.541Z] b538f80385f9: Pulling fs layer [2020-09-18T18:44:20.541Z] 74f711af9a0d: Pulling fs layer [2020-09-18T18:44:20.541Z] 99f96fe45779: Pulling fs layer [2020-09-18T18:44:20.541Z] 8529a6b9a6be: Pulling fs layer [2020-09-18T18:44:20.541Z] 45590311c82a: Pulling fs layer [2020-09-18T18:44:20.541Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-18T18:44:20.541Z] 209524e5b208: Pulling fs layer [2020-09-18T18:44:20.541Z] 8529a6b9a6be: Waiting [2020-09-18T18:44:20.541Z] 45590311c82a: Waiting [2020-09-18T18:44:20.541Z] 69ca0ff8b7b3: Waiting [2020-09-18T18:44:20.541Z] 209524e5b208: Waiting [2020-09-18T18:44:20.541Z] 99f96fe45779: Verifying Checksum [2020-09-18T18:44:20.541Z] 99f96fe45779: Download complete [2020-09-18T18:44:20.541Z] 74f711af9a0d: Verifying Checksum [2020-09-18T18:44:20.541Z] 74f711af9a0d: Download complete [2020-09-18T18:44:20.541Z] 45590311c82a: Verifying Checksum [2020-09-18T18:44:20.541Z] 45590311c82a: Download complete [2020-09-18T18:44:20.541Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-18T18:44:20.541Z] 69ca0ff8b7b3: Download complete [2020-09-18T18:44:20.818Z] b538f80385f9: Download complete [2020-09-18T18:44:21.260Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T18:44:21.422Z] b538f80385f9: Pull complete [2020-09-18T18:44:22.044Z] 74f711af9a0d: Pull complete [2020-09-18T18:44:22.657Z] 99f96fe45779: Pull complete [2020-09-18T18:44:22.930Z] 209524e5b208: Verifying Checksum [2020-09-18T18:44:22.930Z] 209524e5b208: Download complete [2020-09-18T18:44:23.821Z] OK: 166 MiB in 39 packages [2020-09-18T18:44:23.821Z] Removing intermediate container 19aeb5f379f7 [2020-09-18T18:44:23.822Z] ---> af41d3c5faaf [2020-09-18T18:44:23.822Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-18T18:44:23.822Z] ---> Running in 0e622d0e9f32 [2020-09-18T18:44:24.085Z] Removing intermediate container 0e622d0e9f32 [2020-09-18T18:44:24.085Z] ---> 366efbc392ae [2020-09-18T18:44:24.085Z] Step 7/8 : COPY . . [2020-09-18T18:44:24.915Z] 8529a6b9a6be: Verifying Checksum [2020-09-18T18:44:24.915Z] 8529a6b9a6be: Download complete [2020-09-18T18:44:25.045Z] ---> 9c961a7f23d5 [2020-09-18T18:44:25.045Z] Step 8/8 : RUN go mod download [2020-09-18T18:44:25.045Z] ---> Running in 55250cbd4c44 [2020-09-18T18:44:35.083Z] 8529a6b9a6be: Pull complete [2020-09-18T18:44:35.083Z] 45590311c82a: Pull complete [2020-09-18T18:44:35.358Z] 69ca0ff8b7b3: Pull complete [2020-09-18T18:44:37.355Z] Removing intermediate container 55250cbd4c44 [2020-09-18T18:44:37.355Z] ---> 233969bdebfa [2020-09-18T18:44:37.355Z] Successfully built 233969bdebfa [2020-09-18T18:44:37.355Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:44:37.843Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T18:44:37.843Z] . [Pipeline] withDockerContainer [2020-09-18T18:44:37.963Z] prd-centos7-docker-4c-2g-427 does not seem to be running inside a container [2020-09-18T18:44:38.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat [2020-09-18T18:44:39.349Z] $ docker top ee6997045edf6d5404d2016de56fcfcdb980887482a561d3e763d57452a4d86a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:44:39.685Z] 209524e5b208: Pull complete [2020-09-18T18:44:39.685Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-18T18:44:39.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-18T18:44:39.685Z] ---> 5bddaf1c2fca [2020-09-18T18:44:39.685Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T18:44:39.912Z] + go version [2020-09-18T18:44:39.912Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-18T18:44:39.928Z] $ docker stop --time=1 ee6997045edf6d5404d2016de56fcfcdb980887482a561d3e763d57452a4d86a [2020-09-18T18:44:41.337Z] $ docker rm -f ee6997045edf6d5404d2016de56fcfcdb980887482a561d3e763d57452a4d86a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2020-09-18T18:44:41.679Z] ---> Running in 491661ae1009 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:44:41.953Z] Removing intermediate container 491661ae1009 [2020-09-18T18:44:41.953Z] ---> 1cf2e8ea713d [2020-09-18T18:44:41.953Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T18:44:42.227Z] ---> Running in c6fcbe32c88b [2020-09-18T18:44:42.237Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T18:44:42.238Z] . [Pipeline] withDockerContainer [2020-09-18T18:44:42.344Z] prd-centos7-docker-4c-2g-427 does not seem to be running inside a container [2020-09-18T18:44:42.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-x86_64 cat [2020-09-18T18:44:43.103Z] $ docker top 1caeec5d81ca335165e96592ba82486b56ac20e65f1e71a9daf3eb67e834e82b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:44:43.661Z] + make test [2020-09-18T18:44:43.661Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-18T18:44:44.872Z] Removing intermediate container c6fcbe32c88b [2020-09-18T18:44:44.873Z] ---> 1373fd85315b [2020-09-18T18:44:44.873Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-18T18:44:44.873Z] ---> Running in fa77d4ff6247 [2020-09-18T18:44:46.327Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T18:44:47.761Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T18:44:49.751Z] OK: 142 MiB in 39 packages [2020-09-18T18:44:50.352Z] Removing intermediate container fa77d4ff6247 [2020-09-18T18:44:50.352Z] ---> 3e060e665aaa [2020-09-18T18:44:50.352Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-18T18:44:50.628Z] ---> Running in bd8dc25c1420 [2020-09-18T18:44:51.226Z] Removing intermediate container bd8dc25c1420 [2020-09-18T18:44:51.226Z] ---> 7b9ba0829bb8 [2020-09-18T18:44:51.226Z] Step 7/8 : COPY . . [2020-09-18T18:44:51.914Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-18T18:44:52.670Z] ---> 5dc3d5fe1d58 [2020-09-18T18:44:52.670Z] Step 8/8 : RUN go mod download [2020-09-18T18:44:52.670Z] ---> Running in afc0c37e61ff [2020-09-18T18:45:07.013Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-18T18:45:07.013Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-18T18:45:07.013Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-18T18:45:07.013Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.029s coverage: 21.0% of statements [2020-09-18T18:45:07.013Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.441s coverage: 95.7% of statements [2020-09-18T18:45:07.774Z] Removing intermediate container afc0c37e61ff [2020-09-18T18:45:07.774Z] ---> 9aa399b1d77e [2020-09-18T18:45:07.774Z] Successfully built 9aa399b1d77e [2020-09-18T18:45:07.774Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:45:08.176Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T18:45:08.176Z] . [Pipeline] withDockerContainer [2020-09-18T18:45:08.463Z] prd-ubuntu18.04-docker-arm64-4c-16g-425 does not seem to be running inside a container [2020-09-18T18:45:08.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat [2020-09-18T18:45:10.426Z] $ docker top afd83947089b27c46ab5d4e69d4c5d5c110220b1d09b0544afe13dc5409bbaab -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:45:11.946Z] + go version [2020-09-18T18:45:11.946Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-18T18:45:11.972Z] $ docker stop --time=1 afd83947089b27c46ab5d4e69d4c5d5c110220b1d09b0544afe13dc5409bbaab [2020-09-18T18:45:13.954Z] $ docker rm -f afd83947089b27c46ab5d4e69d4c5d5c110220b1d09b0544afe13dc5409bbaab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:45:15.103Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T18:45:15.103Z] . [Pipeline] withDockerContainer [2020-09-18T18:45:15.383Z] prd-ubuntu18.04-docker-arm64-4c-16g-425 does not seem to be running inside a container [2020-09-18T18:45:15.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 ******** ci-base-image-arm64 cat [2020-09-18T18:45:17.461Z] $ docker top f67073fa177ecf91dc0d418133ada1e0b122c2733e96217e663c8a1d4bac2611 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:45:18.898Z] + make test [2020-09-18T18:45:18.898Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-18T18:45:39.192Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.038s coverage: 8.6% of statements [2020-09-18T18:45:39.192Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.036s coverage: 21.7% of statements [2020-09-18T18:45:39.192Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-18T18:45:39.192Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.166s coverage: 37.0% of statements [2020-09-18T18:45:39.192Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-18T18:45:39.192Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.283s coverage: 65.4% of statements [2020-09-18T18:45:39.192Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-18T18:45:39.192Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-18T18:45:39.192Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-18T18:45:39.192Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.093s coverage: 52.6% of statements [2020-09-18T18:45:39.192Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.408s coverage: 68.9% of statements [2020-09-18T18:45:39.192Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-18T18:45:39.192Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-18T18:45:39.192Z] GO111MODULE=on go vet ./... [2020-09-18T18:45:41.114Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-18T18:45:44.590Z] gofmt -l . [2020-09-18T18:45:44.590Z] [ "`gofmt -l .`" = "" ] [2020-09-18T18:45:44.590Z] ./bin/test-attribution-txt.sh [2020-09-18T18:45:45.175Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-18T18:45:45.808Z] Stashed 1 file(s) [Pipeline] } [2020-09-18T18:45:45.817Z] $ docker stop --time=1 1caeec5d81ca335165e96592ba82486b56ac20e65f1e71a9daf3eb67e834e82b [2020-09-18T18:45:47.730Z] $ docker rm -f 1caeec5d81ca335165e96592ba82486b56ac20e65f1e71a9daf3eb67e834e82b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T18:45:50.876Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-18T18:45:51.199Z] + ls -al . [2020-09-18T18:45:51.199Z] total 188 [2020-09-18T18:45:51.199Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 18 18:45 . [2020-09-18T18:45:51.199Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 18:43 .. [2020-09-18T18:45:51.199Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 18:43 bin [2020-09-18T18:45:51.199Z] -rw-r--r--. 1 jenkins jenkins 111785 Sep 18 18:45 coverage.out [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 18 18:43 Dockerfile.build [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 18 18:43 .dockerignore [2020-09-18T18:45:51.199Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 18 18:43 example [2020-09-18T18:45:51.199Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 18:43 .git [2020-09-18T18:45:51.199Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 18 18:43 .github [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 18 18:43 .gitignore [2020-09-18T18:45:51.199Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 18 18:45 go.mod [2020-09-18T18:45:51.199Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 18 18:45 go.sum [2020-09-18T18:45:51.199Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 18 18:43 internal [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 18 18:43 Jenkinsfile [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 18 18:43 LICENSE [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 18 18:43 Makefile [2020-09-18T18:45:51.199Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 18 18:43 openapi [2020-09-18T18:45:51.199Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 18 18:43 pkg [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 18 18:43 README.md [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 18 18:43 RELEASE-NOTES.txt [2020-09-18T18:45:51.199Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 18 18:43 .semver [2020-09-18T18:45:51.199Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 18:43 snap [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 18:41 VERSION [2020-09-18T18:45:51.199Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 18 18:43 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:45:51.517Z] + 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=c32e77c47295eebff2be14fc653f9bdef707d5d3 --label arch=amd64 --label version=0.0.0 . [2020-09-18T18:45:51.781Z] Sending build context to Docker daemon 3.28MB [2020-09-18T18:45:51.781Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-18T18:45:51.781Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-18T18:45:51.781Z] ---> 233969bdebfa [2020-09-18T18:45:51.781Z] Step 3/24 : ARG MAKE='make build' [2020-09-18T18:45:52.359Z] ---> Running in 914bbe8ab8e0 [2020-09-18T18:45:52.624Z] Removing intermediate container 914bbe8ab8e0 [2020-09-18T18:45:52.624Z] ---> c1d4503d4a4e [2020-09-18T18:45:52.624Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-18T18:45:52.624Z] ---> Running in 6d8d410fe0bf [2020-09-18T18:45:52.889Z] Removing intermediate container 6d8d410fe0bf [2020-09-18T18:45:52.889Z] ---> 161d97c44867 [2020-09-18T18:45:52.889Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T18:45:52.889Z] ---> Running in 5a7d65881a61 [2020-09-18T18:45:53.153Z] Removing intermediate container 5a7d65881a61 [2020-09-18T18:45:53.153Z] ---> 7927b8293c64 [2020-09-18T18:45:53.153Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T18:45:53.153Z] ---> Running in 40c53eebcd73 [2020-09-18T18:45:54.108Z] Removing intermediate container 40c53eebcd73 [2020-09-18T18:45:54.108Z] ---> e94ba52e08e8 [2020-09-18T18:45:54.108Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-18T18:45:54.108Z] ---> Running in 768cfdac15cc [2020-09-18T18:45:54.688Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T18:45:55.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T18:45:58.194Z] OK: 166 MiB in 39 packages [2020-09-18T18:45:58.772Z] Removing intermediate container 768cfdac15cc [2020-09-18T18:45:58.772Z] ---> 9b5cc03e59c4 [2020-09-18T18:45:58.772Z] Step 8/24 : COPY . . [2020-09-18T18:45:59.729Z] ---> 9e544b9603b9 [2020-09-18T18:45:59.729Z] Step 9/24 : RUN ${MAKE} [2020-09-18T18:45:59.729Z] ---> Running in 07dd29b386fc [2020-09-18T18:46:00.310Z] 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-09-18T18:46:08.560Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-18T18:46:09.509Z] Removing intermediate container 07dd29b386fc [2020-09-18T18:46:09.509Z] ---> b3f769d8000c [2020-09-18T18:46:09.509Z] Step 10/24 : FROM scratch [2020-09-18T18:46:09.509Z] ---> [2020-09-18T18:46:09.510Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T18:46:09.510Z] ---> Running in 500cfc679759 [2020-09-18T18:46:09.771Z] Removing intermediate container 500cfc679759 [2020-09-18T18:46:09.771Z] ---> c4fe3ff980e0 [2020-09-18T18:46:09.771Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-18T18:46:09.771Z] ---> Running in 1ef4c9f8ca6c [2020-09-18T18:46:09.771Z] Removing intermediate container 1ef4c9f8ca6c [2020-09-18T18:46:09.771Z] ---> f9a651efd96c [2020-09-18T18:46:09.771Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-18T18:46:10.035Z] ---> Running in 41c30b61f260 [2020-09-18T18:46:10.035Z] Removing intermediate container 41c30b61f260 [2020-09-18T18:46:10.035Z] ---> 0693a0d3f206 [2020-09-18T18:46:10.035Z] Step 14/24 : WORKDIR / [2020-09-18T18:46:10.035Z] ---> Running in 54b4d37288b5 [2020-09-18T18:46:10.303Z] Removing intermediate container 54b4d37288b5 [2020-09-18T18:46:10.303Z] ---> af9bacec0ce6 [2020-09-18T18:46:10.303Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-18T18:46:10.878Z] ---> be0d988d3d56 [2020-09-18T18:46:10.878Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-18T18:46:10.878Z] ---> 1218cab77312 [2020-09-18T18:46:10.878Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-18T18:46:11.142Z] ---> 701cff96aeca [2020-09-18T18:46:11.142Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-18T18:46:11.404Z] ---> 43eba2b26bab [2020-09-18T18:46:11.404Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-18T18:46:11.666Z] ---> 7a0d86c22d71 [2020-09-18T18:46:11.666Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-18T18:46:11.666Z] ---> Running in 8e050dec1201 [2020-09-18T18:46:11.936Z] Removing intermediate container 8e050dec1201 [2020-09-18T18:46:11.936Z] ---> e489dabb95b7 [2020-09-18T18:46:11.936Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-18T18:46:11.936Z] ---> Running in f0b83971648e [2020-09-18T18:46:12.198Z] Removing intermediate container f0b83971648e [2020-09-18T18:46:12.198Z] ---> e36e7726e322 [2020-09-18T18:46:12.198Z] Step 22/24 : LABEL arch=amd64 [2020-09-18T18:46:12.198Z] ---> Running in 017aa5fe0a73 [2020-09-18T18:46:12.464Z] Removing intermediate container 017aa5fe0a73 [2020-09-18T18:46:12.464Z] ---> 66442400ed4a [2020-09-18T18:46:12.464Z] Step 23/24 : LABEL git_sha=c32e77c47295eebff2be14fc653f9bdef707d5d3 [2020-09-18T18:46:12.464Z] ---> Running in e4f3faeffa40 [2020-09-18T18:46:12.464Z] Removing intermediate container e4f3faeffa40 [2020-09-18T18:46:12.464Z] ---> c39a61eb3b7d [2020-09-18T18:46:12.464Z] Step 24/24 : LABEL version=0.0.0 [2020-09-18T18:46:12.728Z] ---> Running in af80e169291a [2020-09-18T18:46:12.728Z] Removing intermediate container af80e169291a [2020-09-18T18:46:12.728Z] ---> e373305da150 [2020-09-18T18:46:12.728Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T18:46:12.728Z] Successfully built e373305da150 [2020-09-18T18:46:12.728Z] Successfully tagged docker-device-sdk-simple: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] } [2020-09-18T18:46:20.136Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-18T18:46:20.136Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-18T18:46:20.136Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-18T18:46:20.136Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.047s coverage: 21.0% of statements [2020-09-18T18:46:21.127Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.192s coverage: 95.7% of statements [2020-09-18T18:46:53.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 8.6% of statements [2020-09-18T18:46:53.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.7% of statements [2020-09-18T18:46:53.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-18T18:46:53.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.452s coverage: 37.0% of statements [2020-09-18T18:46:53.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-18T18:46:53.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.683s coverage: 65.4% of statements [2020-09-18T18:46:53.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-18T18:46:53.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-18T18:46:53.499Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-18T18:46:53.499Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.148s coverage: 52.6% of statements [2020-09-18T18:46:53.499Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.759s coverage: 68.9% of statements [2020-09-18T18:46:53.499Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-18T18:46:53.499Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-18T18:46:53.499Z] GO111MODULE=on go vet ./... [2020-09-18T18:47:20.421Z] gofmt -l . [2020-09-18T18:47:20.421Z] [ "`gofmt -l .`" = "" ] [2020-09-18T18:47:20.696Z] ./bin/test-attribution-txt.sh [2020-09-18T18:47:21.294Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-18T18:47:21.912Z] Warning: overwriting stash ‘coverage-report’ [2020-09-18T18:47:22.857Z] Stashed 1 file(s) [Pipeline] } [2020-09-18T18:47:22.865Z] $ docker stop --time=1 f67073fa177ecf91dc0d418133ada1e0b122c2733e96217e663c8a1d4bac2611 [2020-09-18T18:47:25.251Z] $ docker rm -f f67073fa177ecf91dc0d418133ada1e0b122c2733e96217e663c8a1d4bac2611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T18:47:26.842Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-18T18:47:27.246Z] + ls -al . [2020-09-18T18:47:27.246Z] total 228 [2020-09-18T18:47:27.246Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 18 18:47 . [2020-09-18T18:47:27.246Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:44 .. [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 18 18:44 .dockerignore [2020-09-18T18:47:27.246Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 18:44 .git [2020-09-18T18:47:27.246Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 18:44 .github [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 18 18:44 .gitignore [2020-09-18T18:47:27.246Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 18:44 .semver [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 18 18:44 Dockerfile.build [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 18 18:44 Jenkinsfile [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 18 18:44 LICENSE [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 18 18:44 Makefile [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 18 18:44 README.md [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 18 18:44 RELEASE-NOTES.txt [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 18:41 VERSION [2020-09-18T18:47:27.246Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 18:44 bin [2020-09-18T18:47:27.246Z] -rw-r--r-- 1 jenkins jenkins 111785 Sep 18 18:46 coverage.out [2020-09-18T18:47:27.246Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:44 example [2020-09-18T18:47:27.246Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 18 18:47 go.mod [2020-09-18T18:47:27.246Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 18 18:47 go.sum [2020-09-18T18:47:27.246Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 18 18:44 internal [2020-09-18T18:47:27.246Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:44 openapi [2020-09-18T18:47:27.246Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 18 18:44 pkg [2020-09-18T18:47:27.246Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 18:44 snap [2020-09-18T18:47:27.246Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 18 18:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:47:27.634Z] + 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=c32e77c47295eebff2be14fc653f9bdef707d5d3 --label arch=arm64 --label version=0.0.0 . [2020-09-18T18:47:28.266Z] Sending build context to Docker daemon 3.28MB [2020-09-18T18:47:28.266Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-18T18:47:28.266Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-18T18:47:28.266Z] ---> 9aa399b1d77e [2020-09-18T18:47:28.266Z] Step 3/24 : ARG MAKE='make build' [2020-09-18T18:47:28.539Z] ---> Running in dda19b2912de [2020-09-18T18:47:29.134Z] Removing intermediate container dda19b2912de [2020-09-18T18:47:29.134Z] ---> 1d055c6f43b5 [2020-09-18T18:47:29.134Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-18T18:47:29.134Z] ---> Running in 1cf965265786 [2020-09-18T18:47:29.731Z] Removing intermediate container 1cf965265786 [2020-09-18T18:47:29.731Z] ---> 359530767838 [2020-09-18T18:47:29.731Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T18:47:29.731Z] ---> Running in f7da2ed669be [2020-09-18T18:47:30.326Z] Removing intermediate container f7da2ed669be [2020-09-18T18:47:30.326Z] ---> 0b95dd9631ba [2020-09-18T18:47:30.326Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T18:47:30.326Z] ---> Running in 33284a170636 [2020-09-18T18:47:32.973Z] Removing intermediate container 33284a170636 [2020-09-18T18:47:32.973Z] ---> 9ef3794e939f [2020-09-18T18:47:32.973Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-18T18:47:32.973Z] ---> Running in fc6ad15f8fd5 [2020-09-18T18:47:34.410Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T18:47:35.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T18:47:36.003Z] OK: 142 MiB in 39 packages [2020-09-18T18:47:37.442Z] Removing intermediate container fc6ad15f8fd5 [2020-09-18T18:47:37.442Z] ---> 8fc69d2b3bcd [2020-09-18T18:47:37.442Z] Step 8/24 : COPY . . [2020-09-18T18:47:38.878Z] ---> 2e94a353edaf [2020-09-18T18:47:38.878Z] Step 9/24 : RUN ${MAKE} [2020-09-18T18:47:38.878Z] ---> Running in 5b5d4f5c26ac [2020-09-18T18:47:40.326Z] 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-09-18T18:48:07.156Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-18T18:48:07.765Z] Removing intermediate container 5b5d4f5c26ac [2020-09-18T18:48:07.765Z] ---> e38147a2e24e [2020-09-18T18:48:07.765Z] Step 10/24 : FROM scratch [2020-09-18T18:48:07.765Z] ---> [2020-09-18T18:48:07.765Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T18:48:08.046Z] ---> Running in cdb7db9a0894 [2020-09-18T18:48:08.320Z] Removing intermediate container cdb7db9a0894 [2020-09-18T18:48:08.320Z] ---> f051f1416700 [2020-09-18T18:48:08.320Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-18T18:48:08.320Z] ---> Running in b5308a3d2e9a [2020-09-18T18:48:08.916Z] Removing intermediate container b5308a3d2e9a [2020-09-18T18:48:08.916Z] ---> 8def57cc6709 [2020-09-18T18:48:08.916Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-18T18:48:08.916Z] ---> Running in 36a7abc71197 [2020-09-18T18:48:09.189Z] Removing intermediate container 36a7abc71197 [2020-09-18T18:48:09.189Z] ---> a8b141641136 [2020-09-18T18:48:09.189Z] Step 14/24 : WORKDIR / [2020-09-18T18:48:09.462Z] ---> Running in 32c9eab7938e [2020-09-18T18:48:09.746Z] Removing intermediate container 32c9eab7938e [2020-09-18T18:48:09.746Z] ---> 77f393c68471 [2020-09-18T18:48:09.746Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-18T18:48:11.175Z] ---> 035a32c15c11 [2020-09-18T18:48:11.175Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-18T18:48:11.770Z] ---> 5630ca34ed4c [2020-09-18T18:48:11.770Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-18T18:48:12.374Z] ---> d028de23c8f4 [2020-09-18T18:48:12.374Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-18T18:48:13.357Z] ---> b6a2b94c2b5a [2020-09-18T18:48:13.357Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-18T18:48:13.956Z] ---> 597c00c3c145 [2020-09-18T18:48:13.956Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-18T18:48:13.956Z] ---> Running in c346566f4c05 [2020-09-18T18:48:14.560Z] Removing intermediate container c346566f4c05 [2020-09-18T18:48:14.560Z] ---> 8685d80b15a8 [2020-09-18T18:48:14.560Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-18T18:48:14.560Z] ---> Running in a3c2f8af22da [2020-09-18T18:48:15.155Z] Removing intermediate container a3c2f8af22da [2020-09-18T18:48:15.155Z] ---> 554b089bbc3f [2020-09-18T18:48:15.155Z] Step 22/24 : LABEL arch=arm64 [2020-09-18T18:48:15.155Z] ---> Running in 3bfb89c32be1 [2020-09-18T18:48:15.752Z] Removing intermediate container 3bfb89c32be1 [2020-09-18T18:48:15.752Z] ---> 2a74c178eb7c [2020-09-18T18:48:15.752Z] Step 23/24 : LABEL git_sha=c32e77c47295eebff2be14fc653f9bdef707d5d3 [2020-09-18T18:48:15.752Z] ---> Running in 280a2831e4f4 [2020-09-18T18:48:16.024Z] Removing intermediate container 280a2831e4f4 [2020-09-18T18:48:16.025Z] ---> 4cc87a4f3797 [2020-09-18T18:48:16.025Z] Step 24/24 : LABEL version=0.0.0 [2020-09-18T18:48:16.297Z] ---> Running in d2a059773789 [2020-09-18T18:48:16.569Z] Removing intermediate container d2a059773789 [2020-09-18T18:48:16.569Z] ---> e63431074ff0 [2020-09-18T18:48:16.569Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T18:48:16.840Z] Successfully built e63431074ff0 [2020-09-18T18:48:16.840Z] 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-09-18T18:48:18.751Z] provisioning config files... [2020-09-18T18:48:18.764Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2350330136339867086tmp [Pipeline] { [Pipeline] sh [2020-09-18T18:48:19.136Z] + curl -s https://codecov.io/bash [2020-09-18T18:48:19.136Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2350330136339867086tmp [Pipeline] } [2020-09-18T18:48:19.418Z] 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] { (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-09-18T18:48:22.598Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T18:48:23.165Z] ---> package-listing.sh [2020-09-18T18:48:23.165Z] ++ facter osfamily [2020-09-18T18:48:23.165Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-18T18:48:23.165Z] + OS_FAMILY=redhat [2020-09-18T18:48:23.165Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-586 [2020-09-18T18:48:23.165Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-18T18:48:23.165Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-18T18:48:23.165Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-18T18:48:23.165Z] + PACKAGES=/tmp/packages_start.txt [2020-09-18T18:48:23.165Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' [2020-09-18T18:48:23.165Z] + PACKAGES=/tmp/packages_end.txt [2020-09-18T18:48:23.165Z] + case "${OS_FAMILY}" in [2020-09-18T18:48:23.165Z] + rpm -qa [2020-09-18T18:48:23.165Z] + sort [2020-09-18T18:48:26.475Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-18T18:48:26.475Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-18T18:48:26.475Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-18T18:48:26.475Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-586 ']' [2020-09-18T18:48:26.475Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [2020-09-18T18:48:26.475Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-586/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:48:27.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T18:48:27.498Z] [2020-09-18T18:48:27.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-18T18:48:27.840Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T18:48:27.841Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-18T18:48:27.841Z] df20fa9351a1: Pulling fs layer [2020-09-18T18:48:27.841Z] 36b3adc4ff6f: Pulling fs layer [2020-09-18T18:48:27.841Z] 8ad3a11d3b57: Pulling fs layer [2020-09-18T18:48:27.841Z] 46f8f816bc3b: Pulling fs layer [2020-09-18T18:48:27.841Z] 0dadc02b9964: Pulling fs layer [2020-09-18T18:48:27.841Z] ce6a7cf60c04: Pulling fs layer [2020-09-18T18:48:27.841Z] 7a184a31f384: Pulling fs layer [2020-09-18T18:48:27.841Z] 46f8f816bc3b: Waiting [2020-09-18T18:48:27.841Z] 0879bd2ef858: Pulling fs layer [2020-09-18T18:48:27.841Z] ce6a7cf60c04: Waiting [2020-09-18T18:48:27.841Z] 7a184a31f384: Waiting [2020-09-18T18:48:27.841Z] 0879bd2ef858: Waiting [2020-09-18T18:48:27.841Z] 36b3adc4ff6f: Verifying Checksum [2020-09-18T18:48:27.841Z] 36b3adc4ff6f: Download complete [2020-09-18T18:48:27.841Z] 46f8f816bc3b: Verifying Checksum [2020-09-18T18:48:27.841Z] 46f8f816bc3b: Download complete [2020-09-18T18:48:28.107Z] 0dadc02b9964: Verifying Checksum [2020-09-18T18:48:28.107Z] 0dadc02b9964: Download complete [2020-09-18T18:48:28.107Z] df20fa9351a1: Verifying Checksum [2020-09-18T18:48:28.107Z] df20fa9351a1: Download complete [2020-09-18T18:48:28.107Z] ce6a7cf60c04: Verifying Checksum [2020-09-18T18:48:28.107Z] ce6a7cf60c04: Download complete [2020-09-18T18:48:28.107Z] 7a184a31f384: Verifying Checksum [2020-09-18T18:48:28.107Z] 7a184a31f384: Download complete [2020-09-18T18:48:28.374Z] df20fa9351a1: Pull complete [2020-09-18T18:48:28.374Z] 8ad3a11d3b57: Verifying Checksum [2020-09-18T18:48:28.374Z] 8ad3a11d3b57: Download complete [2020-09-18T18:48:28.637Z] 36b3adc4ff6f: Pull complete [2020-09-18T18:48:28.637Z] 0879bd2ef858: Verifying Checksum [2020-09-18T18:48:28.637Z] 0879bd2ef858: Download complete [2020-09-18T18:48:29.218Z] 8ad3a11d3b57: Pull complete [2020-09-18T18:48:29.218Z] 46f8f816bc3b: Pull complete [2020-09-18T18:48:29.480Z] 0dadc02b9964: Pull complete [2020-09-18T18:48:29.743Z] ce6a7cf60c04: Pull complete [2020-09-18T18:48:29.743Z] 7a184a31f384: Pull complete [2020-09-18T18:48:32.328Z] 0879bd2ef858: Pull complete [2020-09-18T18:48:32.328Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-18T18:48:32.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T18:48:32.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-18T18:48:32.470Z] prd-centos7-docker-4c-2g-420 does not seem to be running inside a container [2020-09-18T18:48:32.512Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/dgexfoundry_device-sdk-go_PR-586 -v /w/workspace/dgexfoundry_device-sdk-go_PR-586:/w/workspace/dgexfoundry_device-sdk-go_PR-586:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-586@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-18T18:48:38.159Z] $ docker top 25f31041596e464fe15a9fd9558b8e30da81057163da60de7e77489728501193 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T18:48:38.748Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-18T18:48:39.048Z] + ls /var/log/sa-host [2020-09-18T18:48:39.048Z] + sadf -c /var/log/sa-host/sa05 [2020-09-18T18:48:39.048Z] file_magic: OK [2020-09-18T18:48:39.048Z] HZ: Using current value: 100 [2020-09-18T18:48:39.048Z] file_header: OK [2020-09-18T18:48:39.048Z] 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-09-18T18:48:39.048Z] Statistics: [2020-09-18T18:48:39.048Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T18:48:39.048Z] File successfully converted to sysstat format version 12.2.1 [2020-09-18T18:48:39.048Z] + sadf -c /var/log/sa-host/sa18 [2020-09-18T18:48:39.048Z] file_magic: OK [2020-09-18T18:48:39.048Z] HZ: Using current value: 100 [2020-09-18T18:48:39.048Z] file_header: OK [2020-09-18T18:48:39.048Z] 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-09-18T18:48:39.048Z] Statistics: [2020-09-18T18:48:39.048Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T18:48:39.048Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-18T18:48:39.112Z] provisioning config files... [2020-09-18T18:48:39.130Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-586@tmp/config2544886949175715306tmp [Pipeline] { [Pipeline] echo [2020-09-18T18:48:39.205Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T18:48:39.538Z] ---> create-netrc.sh [Pipeline] echo [2020-09-18T18:48:39.552Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T18:48:39.851Z] ---> logs-deploy.sh [2020-09-18T18:48:39.851Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-586/7 [2020-09-18T18:48:39.851Z] INFO: archiving workspace using pattern(s): [2020-09-18T18:48:41.248Z] Archives upload complete. [2020-09-18T18:48:41.248Z] INFO: archiving logs to Nexus