Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 245068c04ff2830f60caa5933c53c336b25cd27b+0916c9033c71b8931055140091788f6fe2f32c33 (b8b7e6f9546de8998537280e4128ebe591c31979) 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 on ‘prd-centos7-docker-4c-2g-581’ Running on prd-centos7-docker-4c-2g-584 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [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-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # 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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 245068c04ff2830f60caa5933c53c336b25cd27b Merge succeeded, producing 17c22148a7151a1e6426d3a1db8ff052d759b81f Checking out Revision 17c22148a7151a1e6426d3a1db8ff052d759b81f (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f 245068c04ff2830f60caa5933c53c336b25cd27b # 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 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17c22148a7151a1e6426d3a1db8ff052d759b81f # timeout=10 Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-20T18:45:24.612Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-20T18:45:24.921Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 468168c552680fcc047e30da33ce59c300210f4b # timeout=10 [Pipeline] echo [2020-09-20T18:45:25.012Z] ========================================================= [2020-09-20T18:45:25.012Z] EdgeX Global Pipelines Version Info [2020-09-20T18:45:25.012Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:45:27.544Z] ------------------- [2020-09-20T18:45:27.545Z] stable info: [2020-09-20T18:45:27.545Z] ------------------- [2020-09-20T18:45:27.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-20T18:45:27.545Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-20T18:45:27.545Z] Message: update stable to v1.0.122 [2020-09-20T18:45:28.125Z] ------------------- [2020-09-20T18:45:28.125Z] experimental info: [2020-09-20T18:45:28.125Z] ------------------- [2020-09-20T18:45:28.125Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-20T18:45:28.125Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-20T18:45:28.125Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-20T18:45:28.480Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-20T18:45:28.597Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-20T18:45:28.692Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-20T18:45:28.809Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-20T18:45:28.945Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-20T18:45:29.047Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-20T18:45:29.134Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-20T18:45:29.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-20T18:45:29.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-20T18:45:29.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-20T18:45:29.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-20T18:45:29.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-20T18:45:29.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-20T18:45:29.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-20T18:45:29.878Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-20T18:45:29.968Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:45:30.056Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:45:30.239Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-20T18:45:30.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-20T18:45:30.553Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-20T18:45:30.669Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-20T18:45:30.763Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-20T18:45:30.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-09-20T18:45:30.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-09-20T18:45:31.075Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-09-20T18:45:31.159Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17c22148a7151a1e6426d3a1db8ff052d759b81f [Pipeline] echo [2020-09-20T18:45:31.251Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17c2214 [Pipeline] echo [2020-09-20T18:45:31.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:45:31.905Z] + git log --format=format:%s -1 17c22148a7151a1e6426d3a1db8ff052d759b81f [Pipeline] echo [2020-09-20T18:45:31.977Z] GIT_COMMIT: 17c22148a7151a1e6426d3a1db8ff052d759b81f, Commit Message: Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD [Pipeline] echo [2020-09-20T18:45:32.031Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:45:32.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:45:32.873Z] [2020-09-20T18:45:32.873Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:45:33.222Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:45:33.223Z] latest: Pulling from edgex-devops/git-semver [2020-09-20T18:45:33.223Z] 31603596830f: Pulling fs layer [2020-09-20T18:45:33.223Z] 2a8b12db71e7: Pulling fs layer [2020-09-20T18:45:33.223Z] 6ca5941a6612: Pulling fs layer [2020-09-20T18:45:33.223Z] ecc8261a40a4: Pulling fs layer [2020-09-20T18:45:33.223Z] ecc8261a40a4: Waiting [2020-09-20T18:45:33.223Z] 2a8b12db71e7: Verifying Checksum [2020-09-20T18:45:33.223Z] 2a8b12db71e7: Download complete [2020-09-20T18:45:33.490Z] 6ca5941a6612: Verifying Checksum [2020-09-20T18:45:33.490Z] 6ca5941a6612: Download complete [2020-09-20T18:45:33.490Z] ecc8261a40a4: Download complete [2020-09-20T18:45:33.755Z] 31603596830f: Verifying Checksum [2020-09-20T18:45:33.755Z] 31603596830f: Download complete [2020-09-20T18:45:34.018Z] 31603596830f: Pull complete [2020-09-20T18:45:34.018Z] 2a8b12db71e7: Pull complete [2020-09-20T18:45:34.976Z] 6ca5941a6612: Pull complete [2020-09-20T18:45:35.551Z] ecc8261a40a4: Pull complete [2020-09-20T18:45:35.551Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-20T18:45:35.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-20T18:45:35.551Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-20T18:45:35.659Z] prd-centos7-docker-4c-2g-584 does not seem to be running inside a container [2020-09-20T18:45:35.715Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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-20T18:45:37.473Z] $ docker top 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-20T18:45:37.782Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:45:37.782Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:45:37.995Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:45:38.001Z] $ docker exec 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 ssh-agent [2020-09-20T18:45:38.169Z] SSH_AUTH_SOCK=/tmp/ssh-FWyX6MnIJWs7/agent.11 [2020-09-20T18:45:38.169Z] SSH_AGENT_PID=16 [2020-09-20T18:45:38.182Z] Running ssh-add (command line suppressed) [2020-09-20T18:45:38.306Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1532489578757221894.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1532489578757221894.key) [2020-09-20T18:45:38.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:45:38.687Z] + git describe --exact-match --tags HEAD [2020-09-20T18:45:38.687Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-20T18:45:38.718Z] $ docker exec --env ******** --env ******** 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 ssh-agent -k [2020-09-20T18:45:38.831Z] unset SSH_AUTH_SOCK; [2020-09-20T18:45:38.832Z] unset SSH_AGENT_PID; [2020-09-20T18:45:38.832Z] echo Agent pid 16 killed; [2020-09-20T18:45:38.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-20T18:45:38.965Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-20T18:45:38.965Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-20T18:45:39.069Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-20T18:45:39.070Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-20T18:45:39.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-20T18:45:39.238Z] $ docker exec 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 ssh-agent [2020-09-20T18:45:39.385Z] SSH_AUTH_SOCK=/tmp/ssh-QQ9XTodUdD3q/agent.44 [2020-09-20T18:45:39.385Z] SSH_AGENT_PID=50 [2020-09-20T18:45:39.392Z] Running ssh-add (command line suppressed) [2020-09-20T18:45:39.504Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_6445747639581568772.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_6445747639581568772.key) [2020-09-20T18:45:39.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-20T18:45:39.917Z] + git semver init [2020-09-20T18:45:39.917Z] # -> Open(): unable to determine branch for HEAD [2020-09-20T18:45:39.917Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-09-20T18:45:39.918Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-09-20T18:45:39.918Z] # $SEMVER_REMOTE_NAME = origin [2020-09-20T18:45:39.918Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-20T18:45:39.918Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-20T18:45:39.918Z] # $SEMVER_BRANCH = PR-584 [2020-09-20T18:45:39.918Z] # $SEMVER_TEMP = /tmp/semver-414176992 [2020-09-20T18:45:39.918Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-20T18:45:40.496Z] # '/tmp/semver-414176992' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-09-20T18:45:40.496Z] # -> Force: false [2020-09-20T18:45:40.496Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-09-20T18:45:40.509Z] $ docker exec --env ******** --env ******** 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 ssh-agent -k [2020-09-20T18:45:40.618Z] unset SSH_AUTH_SOCK; [2020-09-20T18:45:40.618Z] unset SSH_AGENT_PID; [2020-09-20T18:45:40.619Z] echo Agent pid 50 killed; [2020-09-20T18:45:40.659Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-20T18:45:41.154Z] + git semver [Pipeline] } [2020-09-20T18:45:41.173Z] $ docker stop --time=1 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 [2020-09-20T18:45:42.532Z] $ docker rm -f 1b472a1a42914e2eca10695e1abe7d6ab922f060d02decc731c486b292bad759 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-20T18:45:43.361Z] Stashed 38 file(s) [Pipeline] echo [2020-09-20T18:45:43.364Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-20T18:45:43.453Z] 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-20T18:45:58.857Z] Still waiting to schedule task [2020-09-20T18:45:58.857Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-20T18:45:58.859Z] Still waiting to schedule task [2020-09-20T18:45:58.859Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-583’ [2020-09-20T18:47:25.171Z] Running on prd-centos7-docker-4c-2g-590 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-09-20T18:47:25.249Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-09-20T18:47:39.094Z] using credential edgex-jenkins-ssh [2020-09-20T18:47:39.157Z] Cloning the remote Git repository [2020-09-20T18:47:39.158Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:47:39.292Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:47:39.477Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-09-20T18:47:39.663Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:47:39.663Z] > git --version # timeout=10 [2020-09-20T18:47:39.765Z] > git --version # 'git version 2.16.5' [2020-09-20T18:47:39.766Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:47:41.345Z] Fetching without tags [2020-09-20T18:47:40.133Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:47:41.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:47:41.143Z] > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 [2020-09-20T18:47:41.255Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:47:41.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:47:41.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:47:41.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:47:41.376Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:47:42.079Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 245068c04ff2830f60caa5933c53c336b25cd27b [2020-09-20T18:47:42.848Z] Merge succeeded, producing fbb0e2b96af80e282ed5051eb4497b99f6a031dd [2020-09-20T18:47:42.849Z] Checking out Revision fbb0e2b96af80e282ed5051eb4497b99f6a031dd (PR-584) [2020-09-20T18:47:42.105Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:47:42.321Z] > git checkout -f 245068c04ff2830f60caa5933c53c336b25cd27b # timeout=10 [2020-09-20T18:47:42.565Z] > git remote # timeout=10 [2020-09-20T18:47:42.585Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:47:42.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:47:42.647Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:47:42.801Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:47:42.881Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:47:42.961Z] > git checkout -f fbb0e2b96af80e282ed5051eb4497b99f6a031dd # timeout=10 [2020-09-20T18:47:47.925Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:47:47.956Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2020-09-20T18:47:47.936Z] > git rev-list --no-walk 468168c552680fcc047e30da33ce59c300210f4b # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-20T18:47:49.347Z] ========================================================= [2020-09-20T18:47:49.347Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-20T18:47:49.347Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:47:51.293Z] + 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-20T18:47:52.944Z] Sending build context to Docker daemon 3.166MB [2020-09-20T18:47:52.944Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:47:52.944Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:47:53.264Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-20T18:47:53.264Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:47:53.264Z] ed8968b2872e: Pulling fs layer [2020-09-20T18:47:53.264Z] a92cc7c5fd73: Pulling fs layer [2020-09-20T18:47:53.264Z] e871e8e8d7a9: Pulling fs layer [2020-09-20T18:47:53.264Z] e73272ec9a57: Pulling fs layer [2020-09-20T18:47:53.264Z] 1e910a182e73: Pulling fs layer [2020-09-20T18:47:53.264Z] 4e634b169226: Pulling fs layer [2020-09-20T18:47:53.264Z] e871e8e8d7a9: Waiting [2020-09-20T18:47:53.264Z] e73272ec9a57: Waiting [2020-09-20T18:47:53.264Z] 1e910a182e73: Waiting [2020-09-20T18:47:53.264Z] 4e634b169226: Waiting [2020-09-20T18:47:53.264Z] a92cc7c5fd73: Verifying Checksum [2020-09-20T18:47:53.264Z] a92cc7c5fd73: Download complete [2020-09-20T18:47:53.264Z] ed8968b2872e: Verifying Checksum [2020-09-20T18:47:53.264Z] ed8968b2872e: Download complete [2020-09-20T18:47:53.644Z] e73272ec9a57: Verifying Checksum [2020-09-20T18:47:53.644Z] e73272ec9a57: Download complete [2020-09-20T18:47:53.958Z] 1e910a182e73: Verifying Checksum [2020-09-20T18:47:53.958Z] 1e910a182e73: Download complete [2020-09-20T18:47:54.324Z] df20fa9351a1: Verifying Checksum [2020-09-20T18:47:54.324Z] df20fa9351a1: Download complete [2020-09-20T18:47:57.411Z] df20fa9351a1: Pull complete [2020-09-20T18:47:57.819Z] ed8968b2872e: Pull complete [2020-09-20T18:47:58.232Z] a92cc7c5fd73: Pull complete [2020-09-20T18:48:07.637Z] 4e634b169226: Verifying Checksum [2020-09-20T18:48:07.637Z] 4e634b169226: Download complete [2020-09-20T18:48:10.537Z] e871e8e8d7a9: Verifying Checksum [2020-09-20T18:48:10.537Z] e871e8e8d7a9: Download complete [2020-09-20T18:48:26.564Z] e871e8e8d7a9: Pull complete [2020-09-20T18:48:26.564Z] e73272ec9a57: Pull complete [2020-09-20T18:48:26.564Z] 1e910a182e73: Pull complete [2020-09-20T18:48:32.281Z] 4e634b169226: Pull complete [2020-09-20T18:48:32.281Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-20T18:48:32.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-20T18:48:32.281Z] ---> f7629b54cfaa [2020-09-20T18:48:32.281Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:48:32.281Z] ---> Running in 8e220fbfaa72 [2020-09-20T18:48:32.281Z] Removing intermediate container 8e220fbfaa72 [2020-09-20T18:48:32.281Z] ---> 95d5cdc1946a [2020-09-20T18:48:32.281Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:48:32.281Z] ---> Running in fba5b14111de [2020-09-20T18:48:34.944Z] Removing intermediate container fba5b14111de [2020-09-20T18:48:34.944Z] ---> 5b6fc7153449 [2020-09-20T18:48:34.944Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:48:34.944Z] ---> Running in 64e6596a4650 [2020-09-20T18:48:36.047Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:48:37.040Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:48:38.384Z] OK: 166 MiB in 39 packages [2020-09-20T18:48:39.128Z] Removing intermediate container 64e6596a4650 [2020-09-20T18:48:39.128Z] ---> db0d3e419752 [2020-09-20T18:48:39.128Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:48:39.128Z] ---> Running in dbf4d9ef3dcc [2020-09-20T18:48:39.846Z] Removing intermediate container dbf4d9ef3dcc [2020-09-20T18:48:39.846Z] ---> 06f91a5485a7 [2020-09-20T18:48:39.846Z] Step 7/8 : COPY . . [2020-09-20T18:48:42.585Z] ---> 5fd6ee973714 [2020-09-20T18:48:42.585Z] Step 8/8 : RUN go mod download [2020-09-20T18:48:42.585Z] ---> Running in 66f2e7e0d5c9 [2020-09-20T18:48:58.108Z] Removing intermediate container 66f2e7e0d5c9 [2020-09-20T18:48:58.108Z] ---> 1ed31487ba74 [2020-09-20T18:48:58.108Z] Successfully built 1ed31487ba74 [2020-09-20T18:48:58.108Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:48:59.962Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:48:59.962Z] . [Pipeline] withDockerContainer [2020-09-20T18:49:00.459Z] prd-centos7-docker-4c-2g-590 does not seem to be running inside a container [2020-09-20T18:49:00.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-20T18:49:02.672Z] $ docker top 9e39b3a3f3998066a95da79c88e2d05d0a246b480c54782e96361f4c978ad952 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:49:03.391Z] + go version [2020-09-20T18:49:03.391Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-20T18:49:03.441Z] $ docker stop --time=1 9e39b3a3f3998066a95da79c88e2d05d0a246b480c54782e96361f4c978ad952 [2020-09-20T18:49:04.933Z] $ docker rm -f 9e39b3a3f3998066a95da79c88e2d05d0a246b480c54782e96361f4c978ad952 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:49:06.475Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-20T18:49:06.793Z] . [Pipeline] withDockerContainer [2020-09-20T18:49:07.186Z] prd-centos7-docker-4c-2g-590 does not seem to be running inside a container [2020-09-20T18:49:07.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-20T18:49:09.000Z] $ docker top acce582997e61af8e02fbe86953727a0d366f563a6a5b4ffaf289a0c813c450c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:49:09.707Z] + make test [2020-09-20T18:49:09.707Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:49:23.175Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-599 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-09-20T18:49:23.274Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2020-09-20T18:49:25.243Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:49:28.921Z] using credential edgex-jenkins-ssh [2020-09-20T18:49:28.978Z] Cloning the remote Git repository [2020-09-20T18:49:28.978Z] Cloning with configured refspecs honoured and without tags [2020-09-20T18:49:29.077Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:49:29.204Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2020-09-20T18:49:29.285Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:49:29.286Z] > git --version # timeout=10 [2020-09-20T18:49:29.307Z] > git --version # 'git version 2.17.1' [2020-09-20T18:49:29.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:49:29.382Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:49:30.326Z] Fetching without tags [2020-09-20T18:49:30.876Z] Merging remotes/origin/master commit 0916c9033c71b8931055140091788f6fe2f32c33 into PR head commit 245068c04ff2830f60caa5933c53c336b25cd27b [2020-09-20T18:49:30.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:49:30.268Z] > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 [2020-09-20T18:49:30.290Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:49:30.314Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-20T18:49:30.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-20T18:49:30.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:49:30.357Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-20T18:49:31.193Z] Merge succeeded, producing 6b34f4fedda6abaf18c6b4a027bee085539835ae [2020-09-20T18:49:31.194Z] Checking out Revision 6b34f4fedda6abaf18c6b4a027bee085539835ae (PR-584) [2020-09-20T18:49:30.904Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:49:30.920Z] > git checkout -f 245068c04ff2830f60caa5933c53c336b25cd27b # timeout=10 [2020-09-20T18:49:31.030Z] > git remote # timeout=10 [2020-09-20T18:49:31.046Z] > git config --get remote.origin.url # timeout=10 [2020-09-20T18:49:31.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-20T18:49:31.073Z] > git merge 0916c9033c71b8931055140091788f6fe2f32c33 # timeout=10 [2020-09-20T18:49:31.148Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-20T18:49:31.206Z] > git config core.sparsecheckout # timeout=10 [2020-09-20T18:49:31.228Z] > git checkout -f 6b34f4fedda6abaf18c6b4a027bee085539835ae # timeout=10 [2020-09-20T18:49:35.581Z] Commit message: "Merge commit '0916c9033c71b8931055140091788f6fe2f32c33' into HEAD" [2020-09-20T18:49:35.608Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [2020-09-20T18:49:35.594Z] > git rev-list --no-walk 468168c552680fcc047e30da33ce59c300210f4b # timeout=10 [Pipeline] echo [2020-09-20T18:49:37.069Z] ========================================================= [2020-09-20T18:49:37.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-20T18:49:37.069Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:49:38.113Z] + 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-20T18:49:39.094Z] Sending build context to Docker daemon 3.165MB [2020-09-20T18:49:39.094Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-20T18:49:39.094Z] Step 2/8 : FROM ${BASE} [2020-09-20T18:49:39.368Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-20T18:49:39.368Z] b538f80385f9: Pulling fs layer [2020-09-20T18:49:39.368Z] 74f711af9a0d: Pulling fs layer [2020-09-20T18:49:39.368Z] 99f96fe45779: Pulling fs layer [2020-09-20T18:49:39.368Z] 8529a6b9a6be: Pulling fs layer [2020-09-20T18:49:39.368Z] 45590311c82a: Pulling fs layer [2020-09-20T18:49:39.368Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-20T18:49:39.368Z] 209524e5b208: Pulling fs layer [2020-09-20T18:49:39.368Z] 8529a6b9a6be: Waiting [2020-09-20T18:49:39.368Z] 45590311c82a: Waiting [2020-09-20T18:49:39.368Z] 69ca0ff8b7b3: Waiting [2020-09-20T18:49:39.368Z] 209524e5b208: Waiting [2020-09-20T18:49:39.368Z] 99f96fe45779: Verifying Checksum [2020-09-20T18:49:39.368Z] 99f96fe45779: Download complete [2020-09-20T18:49:39.368Z] 74f711af9a0d: Download complete [2020-09-20T18:49:39.368Z] 45590311c82a: Download complete [2020-09-20T18:49:39.368Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-20T18:49:39.368Z] 69ca0ff8b7b3: Download complete [2020-09-20T18:49:39.970Z] b538f80385f9: Verifying Checksum [2020-09-20T18:49:39.970Z] b538f80385f9: Download complete [2020-09-20T18:49:40.576Z] b538f80385f9: Pull complete [2020-09-20T18:49:41.196Z] 74f711af9a0d: Pull complete [2020-09-20T18:49:41.477Z] 99f96fe45779: Pull complete [2020-09-20T18:49:42.085Z] 209524e5b208: Verifying Checksum [2020-09-20T18:49:42.085Z] 209524e5b208: Download complete [2020-09-20T18:49:43.535Z] 8529a6b9a6be: Verifying Checksum [2020-09-20T18:49:43.535Z] 8529a6b9a6be: Download complete [2020-09-20T18:49:53.718Z] 8529a6b9a6be: Pull complete [2020-09-20T18:49:53.718Z] 45590311c82a: Pull complete [2020-09-20T18:49:54.317Z] 69ca0ff8b7b3: Pull complete [2020-09-20T18:49:57.723Z] 209524e5b208: Pull complete [2020-09-20T18:49:57.724Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-20T18:49:57.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-20T18:49:57.724Z] ---> 5bddaf1c2fca [2020-09-20T18:49:57.724Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:50:01.137Z] ---> Running in 8832cbd17f3a [2020-09-20T18:50:01.422Z] Removing intermediate container 8832cbd17f3a [2020-09-20T18:50:01.422Z] ---> c42a77d39835 [2020-09-20T18:50:01.422Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:50:01.422Z] ---> Running in a1f9093888f6 [2020-09-20T18:50:04.839Z] Removing intermediate container a1f9093888f6 [2020-09-20T18:50:04.839Z] ---> edd99d0d5614 [2020-09-20T18:50:04.839Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-20T18:50:04.839Z] ---> Running in a1253b70e436 [2020-09-20T18:50:06.290Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:50:06.885Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T18:50:08.320Z] OK: 142 MiB in 39 packages [2020-09-20T18:50:09.303Z] Removing intermediate container a1253b70e436 [2020-09-20T18:50:09.303Z] ---> 9149fd58b7f3 [2020-09-20T18:50:09.303Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-20T18:50:09.582Z] ---> Running in ec1b1898fd68 [2020-09-20T18:50:09.856Z] Removing intermediate container ec1b1898fd68 [2020-09-20T18:50:09.856Z] ---> 55dd7dff2797 [2020-09-20T18:50:09.856Z] Step 7/8 : COPY . . [2020-09-20T18:50:11.293Z] ---> e360c66c81a8 [2020-09-20T18:50:11.293Z] Step 8/8 : RUN go mod download [2020-09-20T18:50:11.293Z] ---> Running in a51f66fdf294 [2020-09-20T18:50:14.053Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:50:14.053Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:50:14.053Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:50:14.053Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.074s coverage: 21.0% of statements [2020-09-20T18:50:14.053Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.905s coverage: 95.7% of statements [2020-09-20T18:50:26.400Z] Removing intermediate container a51f66fdf294 [2020-09-20T18:50:26.400Z] ---> 83c1d344a526 [2020-09-20T18:50:26.400Z] Successfully built 83c1d344a526 [2020-09-20T18:50:26.400Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:50:26.816Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:50:26.816Z] . [Pipeline] withDockerContainer [2020-09-20T18:50:27.123Z] prd-ubuntu18.04-docker-arm64-4c-16g-599 does not seem to be running inside a container [2020-09-20T18:50:27.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-20T18:50:29.281Z] $ docker top 7abd0dad5f83c854f41b57954e99bf8ab039be3b964ba5610d1cf9875334c13d -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:50:30.749Z] + go version [2020-09-20T18:50:30.749Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-20T18:50:30.791Z] $ docker stop --time=1 7abd0dad5f83c854f41b57954e99bf8ab039be3b964ba5610d1cf9875334c13d [2020-09-20T18:50:32.837Z] $ docker rm -f 7abd0dad5f83c854f41b57954e99bf8ab039be3b964ba5610d1cf9875334c13d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:50:33.897Z] + docker inspect -f . ci-base-image-arm64 [2020-09-20T18:50:33.897Z] . [Pipeline] withDockerContainer [2020-09-20T18:50:34.184Z] prd-ubuntu18.04-docker-arm64-4c-16g-599 does not seem to be running inside a container [2020-09-20T18:50:34.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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-20T18:50:36.301Z] $ docker top e8e1c4d9f6719ea7e42141adebe626596f7d642b98a4b11958ef68899af70cca -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:50:37.764Z] + make test [2020-09-20T18:50:37.764Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-20T18:50:41.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.157s coverage: 8.6% of statements [2020-09-20T18:50:41.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.155s coverage: 21.7% of statements [2020-09-20T18:50:41.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:50:41.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.826s coverage: 37.0% of statements [2020-09-20T18:50:41.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:50:41.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.620s coverage: 65.4% of statements [2020-09-20T18:50:41.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:50:41.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:50:41.398Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:50:41.398Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.290s coverage: 52.6% of statements [2020-09-20T18:50:41.398Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 4.089s coverage: 68.9% of statements [2020-09-20T18:50:41.398Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:50:41.398Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:50:41.398Z] GO111MODULE=on go vet ./... [2020-09-20T18:51:00.010Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-20T18:51:00.406Z] gofmt -l . [2020-09-20T18:51:00.406Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:51:00.406Z] ./bin/test-attribution-txt.sh [2020-09-20T18:51:01.420Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-20T18:51:02.232Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:51:02.283Z] $ docker stop --time=1 acce582997e61af8e02fbe86953727a0d366f563a6a5b4ffaf289a0c813c450c [2020-09-20T18:51:04.318Z] $ docker rm -f acce582997e61af8e02fbe86953727a0d366f563a6a5b4ffaf289a0c813c450c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:51:06.099Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:51:06.614Z] + ls -al . [2020-09-20T18:51:06.614Z] total 188 [2020-09-20T18:51:06.614Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 20 18:51 . [2020-09-20T18:51:06.614Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 20 18:47 .. [2020-09-20T18:51:06.614Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 20 18:47 bin [2020-09-20T18:51:06.614Z] -rw-r--r--. 1 jenkins jenkins 111785 Sep 20 18:50 coverage.out [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 20 18:47 Dockerfile.build [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 20 18:47 .dockerignore [2020-09-20T18:51:06.614Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 20 18:47 example [2020-09-20T18:51:06.614Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 20 18:47 .git [2020-09-20T18:51:06.614Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 20 18:47 .github [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 20 18:47 .gitignore [2020-09-20T18:51:06.614Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 20 18:51 go.mod [2020-09-20T18:51:06.614Z] -rw-r--r--. 1 jenkins jenkins 12264 Sep 20 18:51 go.sum [2020-09-20T18:51:06.614Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 20 18:47 internal [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 20 18:47 Jenkinsfile [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 20 18:47 LICENSE [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 20 18:47 Makefile [2020-09-20T18:51:06.614Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 20 18:47 openapi [2020-09-20T18:51:06.614Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 20 18:47 pkg [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 20 18:47 README.md [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 20 18:47 RELEASE-NOTES.txt [2020-09-20T18:51:06.614Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 20 18:47 .semver [2020-09-20T18:51:06.614Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 20 18:47 snap [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 20 18:45 VERSION [2020-09-20T18:51:06.614Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 20 18:47 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:51:06.957Z] + 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=17c22148a7151a1e6426d3a1db8ff052d759b81f --label arch=amd64 --label version=0.0.0 . [2020-09-20T18:51:07.577Z] Sending build context to Docker daemon 3.28MB [2020-09-20T18:51:07.577Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:51:07.577Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:51:07.577Z] ---> 1ed31487ba74 [2020-09-20T18:51:07.577Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:51:07.577Z] ---> Running in 4f04b19e296a [2020-09-20T18:51:07.853Z] Removing intermediate container 4f04b19e296a [2020-09-20T18:51:07.853Z] ---> f939a06014ce [2020-09-20T18:51:07.853Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:51:08.120Z] ---> Running in ec43c18537b2 [2020-09-20T18:51:08.387Z] Removing intermediate container ec43c18537b2 [2020-09-20T18:51:08.387Z] ---> 7e4f0b13394c [2020-09-20T18:51:08.387Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:51:08.387Z] ---> Running in 6e9a1b9f2197 [2020-09-20T18:51:08.666Z] Removing intermediate container 6e9a1b9f2197 [2020-09-20T18:51:08.666Z] ---> f6bc6543b882 [2020-09-20T18:51:08.666Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:51:08.666Z] ---> Running in 8815ee355fa3 [2020-09-20T18:51:10.653Z] Removing intermediate container 8815ee355fa3 [2020-09-20T18:51:10.653Z] ---> 1c48696e05d3 [2020-09-20T18:51:10.653Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:51:10.653Z] ---> Running in 4b1896a80b0e [2020-09-20T18:51:10.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-20T18:51:11.572Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-20T18:51:12.201Z] OK: 166 MiB in 39 packages [2020-09-20T18:51:12.804Z] Removing intermediate container 4b1896a80b0e [2020-09-20T18:51:12.804Z] ---> cf03062e8138 [2020-09-20T18:51:12.804Z] Step 8/24 : COPY . . [2020-09-20T18:51:13.877Z] ---> d59799e60bd0 [2020-09-20T18:51:13.877Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:51:13.877Z] ---> Running in 7ffca1b96576 [2020-09-20T18:51:14.965Z] 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-20T18:51:37.757Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:51:37.757Z] Removing intermediate container 7ffca1b96576 [2020-09-20T18:51:37.757Z] ---> dc866933e535 [2020-09-20T18:51:37.757Z] Step 10/24 : FROM scratch [2020-09-20T18:51:37.757Z] ---> [2020-09-20T18:51:37.757Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:51:37.757Z] ---> Running in 42983ebd9446 [2020-09-20T18:51:37.757Z] Removing intermediate container 42983ebd9446 [2020-09-20T18:51:37.757Z] ---> 902b55428a80 [2020-09-20T18:51:37.757Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:51:38.041Z] ---> Running in 7b3fc812b36a [2020-09-20T18:51:38.041Z] Removing intermediate container 7b3fc812b36a [2020-09-20T18:51:38.041Z] ---> b809cc76a68c [2020-09-20T18:51:38.041Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:51:38.332Z] ---> Running in bca3054217c7 [2020-09-20T18:51:38.623Z] Removing intermediate container bca3054217c7 [2020-09-20T18:51:38.623Z] ---> 130cec164c00 [2020-09-20T18:51:38.623Z] Step 14/24 : WORKDIR / [2020-09-20T18:51:38.623Z] ---> Running in cbbf607f8249 [2020-09-20T18:51:38.927Z] Removing intermediate container cbbf607f8249 [2020-09-20T18:51:38.927Z] ---> c6bbc3c70706 [2020-09-20T18:51:38.927Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:51:39.958Z] ---> 2320cc2c2916 [2020-09-20T18:51:39.958Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:51:40.262Z] ---> 309d9570fbb2 [2020-09-20T18:51:40.262Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T18:51:40.543Z] ---> e956eb21d658 [2020-09-20T18:51:40.543Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:51:41.161Z] ---> 80db92163c22 [2020-09-20T18:51:41.161Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:51:41.428Z] ---> 2d2ac70cd79c [2020-09-20T18:51:41.428Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:51:41.428Z] ---> Running in ee86df497f60 [2020-09-20T18:51:41.710Z] Removing intermediate container ee86df497f60 [2020-09-20T18:51:41.710Z] ---> aed0973b5ea7 [2020-09-20T18:51:41.710Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:51:41.710Z] ---> Running in 36a323e17878 [2020-09-20T18:51:41.995Z] Removing intermediate container 36a323e17878 [2020-09-20T18:51:41.995Z] ---> a20531d15946 [2020-09-20T18:51:41.995Z] Step 22/24 : LABEL arch=amd64 [2020-09-20T18:51:42.295Z] ---> Running in bbd343fc0702 [2020-09-20T18:51:42.606Z] Removing intermediate container bbd343fc0702 [2020-09-20T18:51:42.606Z] ---> f8c67ced6706 [2020-09-20T18:51:42.606Z] Step 23/24 : LABEL git_sha=17c22148a7151a1e6426d3a1db8ff052d759b81f [2020-09-20T18:51:42.606Z] ---> Running in 68cb1024c3a7 [2020-09-20T18:51:42.959Z] Removing intermediate container 68cb1024c3a7 [2020-09-20T18:51:42.959Z] ---> 58379ad06333 [2020-09-20T18:51:42.959Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:51:43.279Z] ---> Running in 53acbcb8955c [2020-09-20T18:51:43.279Z] Removing intermediate container 53acbcb8955c [2020-09-20T18:51:43.279Z] ---> 110f3ece0335 [2020-09-20T18:51:43.279Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:51:43.279Z] Successfully built 110f3ece0335 [2020-09-20T18:51:43.331Z] 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-20T18:51:47.065Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-20T18:51:47.065Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-20T18:51:47.065Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-20T18:51:47.065Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.070s coverage: 21.0% of statements [2020-09-20T18:51:47.065Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.335s coverage: 95.7% of statements [2020-09-20T18:52:19.480Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.088s coverage: 8.6% of statements [2020-09-20T18:52:19.480Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.7% of statements [2020-09-20T18:52:19.480Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-20T18:52:19.480Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.550s coverage: 37.0% of statements [2020-09-20T18:52:19.480Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-20T18:52:19.480Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.730s coverage: 65.4% of statements [2020-09-20T18:52:19.480Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-20T18:52:19.480Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-20T18:52:19.480Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-20T18:52:19.480Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.307s coverage: 52.6% of statements [2020-09-20T18:52:19.480Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.037s coverage: 68.9% of statements [2020-09-20T18:52:19.480Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-20T18:52:19.480Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-20T18:52:19.480Z] GO111MODULE=on go vet ./... [2020-09-20T18:52:51.931Z] gofmt -l . [2020-09-20T18:52:51.931Z] [ "`gofmt -l .`" = "" ] [2020-09-20T18:52:51.931Z] ./bin/test-attribution-txt.sh [2020-09-20T18:52:51.931Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-20T18:52:52.035Z] Warning: overwriting stash ‘coverage-report’ [2020-09-20T18:52:53.039Z] Stashed 1 file(s) [Pipeline] } [2020-09-20T18:52:53.047Z] $ docker stop --time=1 e8e1c4d9f6719ea7e42141adebe626596f7d642b98a4b11958ef68899af70cca [2020-09-20T18:52:55.181Z] $ docker rm -f e8e1c4d9f6719ea7e42141adebe626596f7d642b98a4b11958ef68899af70cca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-20T18:52:56.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-20T18:52:57.167Z] + ls -al . [2020-09-20T18:52:57.167Z] total 228 [2020-09-20T18:52:57.167Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 18:52 . [2020-09-20T18:52:57.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:49 .. [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 18:49 .dockerignore [2020-09-20T18:52:57.167Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 18:49 .git [2020-09-20T18:52:57.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:49 .github [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 20 18:49 .gitignore [2020-09-20T18:52:57.167Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 18:49 .semver [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 20 18:49 Dockerfile.build [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 20 18:49 Jenkinsfile [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 18:49 LICENSE [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 20 18:49 Makefile [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 20 18:49 README.md [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 20 18:49 RELEASE-NOTES.txt [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 18:45 VERSION [2020-09-20T18:52:57.167Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 18:49 bin [2020-09-20T18:52:57.167Z] -rw-r--r-- 1 jenkins jenkins 111785 Sep 20 18:52 coverage.out [2020-09-20T18:52:57.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:49 example [2020-09-20T18:52:57.167Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 20 18:52 go.mod [2020-09-20T18:52:57.167Z] -rw-r--r-- 1 jenkins jenkins 12264 Sep 20 18:52 go.sum [2020-09-20T18:52:57.167Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 20 18:49 internal [2020-09-20T18:52:57.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:49 openapi [2020-09-20T18:52:57.167Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 18:49 pkg [2020-09-20T18:52:57.167Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 18:49 snap [2020-09-20T18:52:57.167Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 18:49 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:52:57.565Z] + 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=17c22148a7151a1e6426d3a1db8ff052d759b81f --label arch=arm64 --label version=0.0.0 . [2020-09-20T18:52:58.169Z] Sending build context to Docker daemon 3.278MB [2020-09-20T18:52:58.169Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-20T18:52:58.169Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-20T18:52:58.169Z] ---> 83c1d344a526 [2020-09-20T18:52:58.169Z] Step 3/24 : ARG MAKE='make build' [2020-09-20T18:52:58.442Z] ---> Running in 6c50b48d1de1 [2020-09-20T18:52:59.038Z] Removing intermediate container 6c50b48d1de1 [2020-09-20T18:52:59.038Z] ---> d0943291306e [2020-09-20T18:52:59.038Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-20T18:52:59.038Z] ---> Running in b055a16973f9 [2020-09-20T18:52:59.638Z] Removing intermediate container b055a16973f9 [2020-09-20T18:52:59.638Z] ---> b5d8cec1deaf [2020-09-20T18:52:59.638Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:52:59.638Z] ---> Running in 637319f95da9 [2020-09-20T18:53:00.235Z] Removing intermediate container 637319f95da9 [2020-09-20T18:53:00.235Z] ---> 96becae0de5d [2020-09-20T18:53:00.235Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-20T18:53:00.235Z] ---> Running in 04c7b3d551d3 [2020-09-20T18:53:02.852Z] Removing intermediate container 04c7b3d551d3 [2020-09-20T18:53:02.852Z] ---> 9ac17e91b4ba [2020-09-20T18:53:02.852Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-20T18:53:03.125Z] ---> Running in a45dc2b51102 [2020-09-20T18:53:04.553Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-20T18:53:05.529Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-20T18:53:06.123Z] OK: 142 MiB in 39 packages [2020-09-20T18:53:07.566Z] Removing intermediate container a45dc2b51102 [2020-09-20T18:53:07.566Z] ---> f68d49c5b131 [2020-09-20T18:53:07.566Z] Step 8/24 : COPY . . [2020-09-20T18:53:08.547Z] ---> 6522e3d06260 [2020-09-20T18:53:08.547Z] Step 9/24 : RUN ${MAKE} [2020-09-20T18:53:08.821Z] ---> Running in 20bdb77ef702 [2020-09-20T18:53:10.268Z] 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-20T18:53:37.091Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-20T18:53:37.687Z] Removing intermediate container 20bdb77ef702 [2020-09-20T18:53:37.687Z] ---> afc838a72d39 [2020-09-20T18:53:37.687Z] Step 10/24 : FROM scratch [2020-09-20T18:53:37.687Z] ---> [2020-09-20T18:53:37.687Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-20T18:53:37.687Z] ---> Running in fa7ada277642 [2020-09-20T18:53:38.282Z] Removing intermediate container fa7ada277642 [2020-09-20T18:53:38.282Z] ---> 6dbb998cb796 [2020-09-20T18:53:38.282Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-20T18:53:38.282Z] ---> Running in 94dfbc8689e8 [2020-09-20T18:53:38.552Z] Removing intermediate container 94dfbc8689e8 [2020-09-20T18:53:38.552Z] ---> 539f5be2f9cb [2020-09-20T18:53:38.552Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-20T18:53:38.821Z] ---> Running in 4b77b04acaf9 [2020-09-20T18:53:39.092Z] Removing intermediate container 4b77b04acaf9 [2020-09-20T18:53:39.092Z] ---> d21746f44a43 [2020-09-20T18:53:39.092Z] Step 14/24 : WORKDIR / [2020-09-20T18:53:39.092Z] ---> Running in c63a5851cd50 [2020-09-20T18:53:39.719Z] Removing intermediate container c63a5851cd50 [2020-09-20T18:53:39.719Z] ---> 39f73e5f0f07 [2020-09-20T18:53:39.719Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-20T18:53:40.729Z] ---> b9ddf5b98c45 [2020-09-20T18:53:40.729Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-20T18:53:41.706Z] ---> f58112cc3aad [2020-09-20T18:53:41.706Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-20T18:53:42.325Z] ---> cd73bb3a47b8 [2020-09-20T18:53:42.325Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-20T18:53:43.320Z] ---> a774ae228f63 [2020-09-20T18:53:43.320Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-20T18:53:43.930Z] ---> 9032bed7d3a1 [2020-09-20T18:53:43.930Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-20T18:53:44.215Z] ---> Running in b857211089ec [2020-09-20T18:53:44.563Z] Removing intermediate container b857211089ec [2020-09-20T18:53:44.563Z] ---> 7b521a3703d5 [2020-09-20T18:53:44.563Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-20T18:53:44.848Z] ---> Running in a86954037bbe [2020-09-20T18:53:45.464Z] Removing intermediate container a86954037bbe [2020-09-20T18:53:45.464Z] ---> 2dab5ca71781 [2020-09-20T18:53:45.464Z] Step 22/24 : LABEL arch=arm64 [2020-09-20T18:53:45.464Z] ---> Running in 9eb26f6c1d18 [2020-09-20T18:53:46.071Z] Removing intermediate container 9eb26f6c1d18 [2020-09-20T18:53:46.071Z] ---> 01c4d86caed5 [2020-09-20T18:53:46.071Z] Step 23/24 : LABEL git_sha=17c22148a7151a1e6426d3a1db8ff052d759b81f [2020-09-20T18:53:46.358Z] ---> Running in e68fe7a53319 [2020-09-20T18:53:46.630Z] Removing intermediate container e68fe7a53319 [2020-09-20T18:53:46.630Z] ---> ffcf4a9e28d6 [2020-09-20T18:53:46.630Z] Step 24/24 : LABEL version=0.0.0 [2020-09-20T18:53:46.904Z] ---> Running in 718fb0586c1d [2020-09-20T18:53:47.507Z] Removing intermediate container 718fb0586c1d [2020-09-20T18:53:47.507Z] ---> 4cf73be2e610 [2020-09-20T18:53:47.507Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-20T18:53:47.507Z] Successfully built 4cf73be2e610 [2020-09-20T18:53:47.507Z] 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-20T18:53:49.722Z] provisioning config files... [2020-09-20T18:53:49.737Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3405179858568371113tmp [Pipeline] { [Pipeline] sh [2020-09-20T18:53:50.151Z] + curl -s https://codecov.io/bash [2020-09-20T18:53:50.151Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3405179858568371113tmp [Pipeline] } [2020-09-20T18:53:50.424Z] 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-20T18:53:52.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:53:53.532Z] ---> package-listing.sh [2020-09-20T18:53:53.532Z] ++ facter osfamily [2020-09-20T18:53:53.532Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-20T18:53:53.532Z] + OS_FAMILY=redhat [2020-09-20T18:53:53.532Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-09-20T18:53:53.532Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-20T18:53:53.532Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-20T18:53:53.532Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-20T18:53:53.532Z] + PACKAGES=/tmp/packages_start.txt [2020-09-20T18:53:53.532Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-09-20T18:53:53.532Z] + PACKAGES=/tmp/packages_end.txt [2020-09-20T18:53:53.532Z] + case "${OS_FAMILY}" in [2020-09-20T18:53:53.532Z] + rpm -qa [2020-09-20T18:53:53.532Z] + sort [2020-09-20T18:53:58.841Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-20T18:53:58.841Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-20T18:53:58.841Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-20T18:53:58.841Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-09-20T18:53:58.841Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-09-20T18:53:58.841Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:53:59.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:53:59.315Z] [2020-09-20T18:53:59.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-20T18:53:59.679Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:53:59.680Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-20T18:53:59.680Z] df20fa9351a1: Pulling fs layer [2020-09-20T18:53:59.680Z] 36b3adc4ff6f: Pulling fs layer [2020-09-20T18:53:59.680Z] 8ad3a11d3b57: Pulling fs layer [2020-09-20T18:53:59.680Z] 46f8f816bc3b: Pulling fs layer [2020-09-20T18:53:59.680Z] 0dadc02b9964: Pulling fs layer [2020-09-20T18:53:59.680Z] ce6a7cf60c04: Pulling fs layer [2020-09-20T18:53:59.680Z] 7a184a31f384: Pulling fs layer [2020-09-20T18:53:59.680Z] 0879bd2ef858: Pulling fs layer [2020-09-20T18:53:59.680Z] ce6a7cf60c04: Waiting [2020-09-20T18:53:59.680Z] 0dadc02b9964: Waiting [2020-09-20T18:53:59.680Z] 7a184a31f384: Waiting [2020-09-20T18:53:59.680Z] 0879bd2ef858: Waiting [2020-09-20T18:53:59.680Z] 46f8f816bc3b: Waiting [2020-09-20T18:53:59.680Z] 36b3adc4ff6f: Verifying Checksum [2020-09-20T18:53:59.680Z] 36b3adc4ff6f: Download complete [2020-09-20T18:53:59.680Z] 46f8f816bc3b: Verifying Checksum [2020-09-20T18:53:59.680Z] 46f8f816bc3b: Download complete [2020-09-20T18:53:59.680Z] df20fa9351a1: Verifying Checksum [2020-09-20T18:53:59.680Z] df20fa9351a1: Download complete [2020-09-20T18:53:59.680Z] ce6a7cf60c04: Verifying Checksum [2020-09-20T18:53:59.680Z] ce6a7cf60c04: Download complete [2020-09-20T18:53:59.680Z] 0dadc02b9964: Verifying Checksum [2020-09-20T18:53:59.680Z] 0dadc02b9964: Download complete [2020-09-20T18:53:59.680Z] 7a184a31f384: Verifying Checksum [2020-09-20T18:53:59.680Z] 7a184a31f384: Download complete [2020-09-20T18:53:59.950Z] 8ad3a11d3b57: Verifying Checksum [2020-09-20T18:53:59.950Z] 8ad3a11d3b57: Download complete [2020-09-20T18:53:59.950Z] df20fa9351a1: Pull complete [2020-09-20T18:54:00.219Z] 36b3adc4ff6f: Pull complete [2020-09-20T18:54:00.219Z] 0879bd2ef858: Verifying Checksum [2020-09-20T18:54:00.219Z] 0879bd2ef858: Download complete [2020-09-20T18:54:00.797Z] 8ad3a11d3b57: Pull complete [2020-09-20T18:54:01.062Z] 46f8f816bc3b: Pull complete [2020-09-20T18:54:01.325Z] 0dadc02b9964: Pull complete [2020-09-20T18:54:01.325Z] ce6a7cf60c04: Pull complete [2020-09-20T18:54:01.610Z] 7a184a31f384: Pull complete [2020-09-20T18:54:04.187Z] 0879bd2ef858: Pull complete [2020-09-20T18:54:04.187Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-20T18:54:04.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-20T18:54:04.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-20T18:54:04.369Z] prd-centos7-docker-4c-2g-584 does not seem to be running inside a container [2020-09-20T18:54:04.418Z] $ 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-584 -v /w/workspace/dgexfoundry_device-sdk-go_PR-584:/w/workspace/dgexfoundry_device-sdk-go_PR-584:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-584@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-20T18:54:09.616Z] $ docker top df3d5c4fe133671cc0c624b487d7a7c10b2187a84c4030cc76ce68f5ce0abc25 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-20T18:54:10.113Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-20T18:54:10.409Z] + ls /var/log/sa-host [2020-09-20T18:54:10.409Z] + sadf -c /var/log/sa-host/sa05 [2020-09-20T18:54:10.409Z] file_magic: OK [2020-09-20T18:54:10.409Z] HZ: Using current value: 100 [2020-09-20T18:54:10.409Z] file_header: OK [2020-09-20T18:54:10.409Z] 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-20T18:54:10.409Z] Statistics: [2020-09-20T18:54:10.409Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:54:10.409Z] File successfully converted to sysstat format version 12.2.1 [2020-09-20T18:54:10.409Z] + sadf -c /var/log/sa-host/sa20 [2020-09-20T18:54:10.409Z] file_magic: OK [2020-09-20T18:54:10.409Z] HZ: Using current value: 100 [2020-09-20T18:54:10.409Z] file_header: OK [2020-09-20T18:54:10.409Z] 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-20T18:54:10.409Z] Statistics: [2020-09-20T18:54:10.409Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-20T18:54:10.409Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-20T18:54:10.485Z] provisioning config files... [2020-09-20T18:54:10.506Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config8615054173406373907tmp [Pipeline] { [Pipeline] echo [2020-09-20T18:54:10.665Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:54:10.961Z] ---> create-netrc.sh [Pipeline] echo [2020-09-20T18:54:10.971Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-20T18:54:11.270Z] ---> logs-deploy.sh [2020-09-20T18:54:11.270Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/8 [2020-09-20T18:54:11.270Z] INFO: archiving workspace using pattern(s): [2020-09-20T18:54:12.665Z] Archives upload complete. [2020-09-20T18:54:12.665Z] INFO: archiving logs to Nexus