Pull request #592 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4e5d2bb0c485bff57357b702f8391528d9aa01fe+acdd4826cae80a3b8a1f7d698808ff3080e1060b (8a7cead27e7a55cc29786f8aaccbe411c5305c7b) 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-365 in /w/workspace/dgexfoundry_device-sdk-go_PR-592 [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-592 # 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/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 4e5d2bb0c485bff57357b702f8391528d9aa01fe Merge succeeded, producing 4e5d2bb0c485bff57357b702f8391528d9aa01fe Checking out Revision 4e5d2bb0c485bff57357b702f8391528d9aa01fe (PR-592) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/592/head:refs/remotes/origin/PR-592 # 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/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # 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 acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 Commit message: "fix: fix device autodiscovery behavior" First time build. Skipping changelog. > git rev-list --no-walk 34da9db53597e071a02a31c99e0e617c4ac468f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-18T08:32:16.904Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-18T08:32:17.197Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-18T08:32:17.303Z] ========================================================= [2020-09-18T08:32:17.303Z] EdgeX Global Pipelines Version Info [2020-09-18T08:32:17.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:32:18.772Z] ------------------- [2020-09-18T08:32:18.773Z] stable info: [2020-09-18T08:32:18.773Z] ------------------- [2020-09-18T08:32:18.773Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-18T08:32:18.773Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-18T08:32:18.773Z] Message: update stable to v1.0.122 [2020-09-18T08:32:19.718Z] ------------------- [2020-09-18T08:32:19.718Z] experimental info: [2020-09-18T08:32:19.718Z] ------------------- [2020-09-18T08:32:19.718Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-18T08:32:19.718Z] Commit SHA: 040e29ce4f8dcf7f02c652317e535dcbebe1b406 [2020-09-18T08:32:19.718Z] Message: update experimental to v1.0.125 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-18T08:32:20.193Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-18T08:32:20.344Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-18T08:32:20.456Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-18T08:32:20.550Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-18T08:32:20.709Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-18T08:32:20.893Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-18T08:32:20.992Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-18T08:32:21.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-18T08:32:21.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-18T08:32:21.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-18T08:32:21.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-18T08:32:21.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-18T08:32:21.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-18T08:32:21.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-18T08:32:21.923Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-18T08:32:22.011Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T08:32:22.102Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T08:32:22.234Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-18T08:32:22.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-18T08:32:22.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-18T08:32:22.529Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-18T08:32:22.625Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-18T08:32:22.786Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-592 [Pipeline] echo [2020-09-18T08:32:22.893Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-592 [Pipeline] echo [2020-09-18T08:32:22.983Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-592 [Pipeline] echo [2020-09-18T08:32:23.118Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e5d2bb0c485bff57357b702f8391528d9aa01fe [Pipeline] echo [2020-09-18T08:32:23.210Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e5d2bb [Pipeline] echo [2020-09-18T08:32:23.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T08:32:23.972Z] + git log --format=format:%s -1 4e5d2bb0c485bff57357b702f8391528d9aa01fe [Pipeline] echo [2020-09-18T08:32:24.033Z] GIT_COMMIT: 4e5d2bb0c485bff57357b702f8391528d9aa01fe, Commit Message: fix: fix device autodiscovery behavior [Pipeline] echo [2020-09-18T08:32:24.084Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:32:24.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T08:32:24.919Z] [2020-09-18T08:32:24.920Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:32:25.279Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T08:32:25.279Z] latest: Pulling from edgex-devops/git-semver [2020-09-18T08:32:25.279Z] 31603596830f: Pulling fs layer [2020-09-18T08:32:25.279Z] 2a8b12db71e7: Pulling fs layer [2020-09-18T08:32:25.279Z] 6ca5941a6612: Pulling fs layer [2020-09-18T08:32:25.279Z] ecc8261a40a4: Pulling fs layer [2020-09-18T08:32:25.279Z] ecc8261a40a4: Waiting [2020-09-18T08:32:25.279Z] 2a8b12db71e7: Verifying Checksum [2020-09-18T08:32:25.279Z] 2a8b12db71e7: Download complete [2020-09-18T08:32:25.545Z] 31603596830f: Download complete [2020-09-18T08:32:25.545Z] ecc8261a40a4: Verifying Checksum [2020-09-18T08:32:25.545Z] ecc8261a40a4: Download complete [2020-09-18T08:32:25.807Z] 6ca5941a6612: Verifying Checksum [2020-09-18T08:32:25.807Z] 6ca5941a6612: Download complete [2020-09-18T08:32:25.807Z] 31603596830f: Pull complete [2020-09-18T08:32:25.807Z] 2a8b12db71e7: Pull complete [2020-09-18T08:32:26.760Z] 6ca5941a6612: Pull complete [2020-09-18T08:32:27.021Z] ecc8261a40a4: Pull complete [2020-09-18T08:32:27.021Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-18T08:32:27.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-18T08:32:27.021Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-18T08:32:27.126Z] prd-centos7-docker-4c-2g-365 does not seem to be running inside a container [2020-09-18T08:32:27.176Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-592 -v /w/workspace/dgexfoundry_device-sdk-go_PR-592:/w/workspace/dgexfoundry_device-sdk-go_PR-592:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-592@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:10004/edgex-devops/git-semver:latest cat [2020-09-18T08:32:29.346Z] $ docker top 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-18T08:32:29.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T08:32:29.700Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T08:32:29.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T08:32:29.901Z] $ docker exec 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 ssh-agent [2020-09-18T08:32:30.056Z] SSH_AUTH_SOCK=/tmp/ssh-SnFnRmv2wB6Z/agent.13 [2020-09-18T08:32:30.056Z] SSH_AGENT_PID=18 [2020-09-18T08:32:30.069Z] Running ssh-add (command line suppressed) [2020-09-18T08:32:30.188Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/private_key_6890460221586468230.key (/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/private_key_6890460221586468230.key) [2020-09-18T08:32:30.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T08:32:30.626Z] + git describe --exact-match --tags HEAD [2020-09-18T08:32:30.626Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-18T08:32:30.650Z] $ docker exec --env ******** --env ******** 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 ssh-agent -k [2020-09-18T08:32:30.770Z] unset SSH_AUTH_SOCK; [2020-09-18T08:32:30.771Z] unset SSH_AGENT_PID; [2020-09-18T08:32:30.771Z] echo Agent pid 18 killed; [2020-09-18T08:32:30.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-18T08:32:30.915Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-18T08:32:30.915Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-18T08:32:31.023Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-18T08:32:31.023Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-18T08:32:31.186Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-18T08:32:31.192Z] $ docker exec 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 ssh-agent [2020-09-18T08:32:31.345Z] SSH_AUTH_SOCK=/tmp/ssh-EmkkOfLxV6fN/agent.46 [2020-09-18T08:32:31.345Z] SSH_AGENT_PID=51 [2020-09-18T08:32:31.351Z] Running ssh-add (command line suppressed) [2020-09-18T08:32:31.472Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/private_key_7072613940800892314.key (/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/private_key_7072613940800892314.key) [2020-09-18T08:32:31.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-18T08:32:31.853Z] + git semver init [2020-09-18T08:32:31.853Z] # -> Open(): unable to determine branch for HEAD [2020-09-18T08:32:31.853Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-592/.git [2020-09-18T08:32:31.853Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-592 [2020-09-18T08:32:31.853Z] # $SEMVER_REMOTE_NAME = origin [2020-09-18T08:32:31.853Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-18T08:32:31.853Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-18T08:32:31.853Z] # $SEMVER_BRANCH = PR-592 [2020-09-18T08:32:31.853Z] # $SEMVER_TEMP = /tmp/semver-585565208 [2020-09-18T08:32:31.853Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-18T08:32:32.430Z] # '/tmp/semver-585565208' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-592/.semver' [2020-09-18T08:32:32.430Z] # -> Force: false [2020-09-18T08:32:32.430Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-592/.semver [Pipeline] } [2020-09-18T08:32:32.454Z] $ docker exec --env ******** --env ******** 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 ssh-agent -k [2020-09-18T08:32:32.565Z] unset SSH_AUTH_SOCK; [2020-09-18T08:32:32.566Z] unset SSH_AGENT_PID; [2020-09-18T08:32:32.566Z] echo Agent pid 51 killed; [2020-09-18T08:32:32.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-18T08:32:33.117Z] + git semver [Pipeline] } [2020-09-18T08:32:33.138Z] $ docker stop --time=1 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 [2020-09-18T08:32:34.507Z] $ docker rm -f 8a56c81c6e8369507f6b435e43fa776999bcd1a4caea2837359b57b5f4b02a55 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-18T08:32:35.397Z] Stashed 36 file(s) [Pipeline] echo [2020-09-18T08:32:35.399Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-18T08:32:35.533Z] 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-18T08:32:51.012Z] Still waiting to schedule task [2020-09-18T08:32:51.013Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-09-18T08:32:51.015Z] Still waiting to schedule task [2020-09-18T08:32:51.015Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-363’ is offline [2020-09-18T08:34:41.999Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-366 in /w/workspace/dgexfoundry_device-sdk-go_PR-592 [Pipeline] { [Pipeline] ws [2020-09-18T08:34:42.062Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-18T08:34:47.341Z] using credential edgex-jenkins-ssh [2020-09-18T08:34:47.401Z] Cloning the remote Git repository [2020-09-18T08:34:47.401Z] Cloning with configured refspecs honoured and without tags [2020-09-18T08:34:47.464Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:34:47.590Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-18T08:34:47.655Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:34:47.656Z] > git --version # timeout=10 [2020-09-18T08:34:47.678Z] > git --version # 'git version 2.17.1' [2020-09-18T08:34:47.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:34:47.755Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:34:48.890Z] Fetching without tags [2020-09-18T08:34:49.414Z] Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 4e5d2bb0c485bff57357b702f8391528d9aa01fe [2020-09-18T08:34:49.652Z] Merge succeeded, producing 4e5d2bb0c485bff57357b702f8391528d9aa01fe [2020-09-18T08:34:49.653Z] Checking out Revision 4e5d2bb0c485bff57357b702f8391528d9aa01fe (PR-592) [2020-09-18T08:34:48.792Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T08:34:48.815Z] > git config --add remote.origin.fetch +refs/pull/592/head:refs/remotes/origin/PR-592 # timeout=10 [2020-09-18T08:34:48.838Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:34:48.867Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T08:34:48.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:34:48.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:34:48.917Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:34:49.438Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T08:34:49.454Z] > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 [2020-09-18T08:34:49.568Z] > git remote # timeout=10 [2020-09-18T08:34:49.589Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T08:34:49.600Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:34:49.610Z] > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 [2020-09-18T08:34:49.634Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T08:34:49.706Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T08:34:49.758Z] > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 [2020-09-18T08:34:54.108Z] Commit message: "fix: fix device autodiscovery behavior" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T08:34:55.527Z] ========================================================= [2020-09-18T08:34:55.527Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-18T08:34:55.527Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:34:56.828Z] + 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-18T08:34:57.809Z] Sending build context to Docker daemon 3.164MB [2020-09-18T08:34:57.809Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-18T08:34:57.809Z] Step 2/8 : FROM ${BASE} [2020-09-18T08:34:58.079Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-18T08:34:58.079Z] b538f80385f9: Pulling fs layer [2020-09-18T08:34:58.079Z] 74f711af9a0d: Pulling fs layer [2020-09-18T08:34:58.079Z] 99f96fe45779: Pulling fs layer [2020-09-18T08:34:58.079Z] 8529a6b9a6be: Pulling fs layer [2020-09-18T08:34:58.079Z] 45590311c82a: Pulling fs layer [2020-09-18T08:34:58.079Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-18T08:34:58.079Z] 209524e5b208: Pulling fs layer [2020-09-18T08:34:58.079Z] 8529a6b9a6be: Waiting [2020-09-18T08:34:58.080Z] 45590311c82a: Waiting [2020-09-18T08:34:58.080Z] 69ca0ff8b7b3: Waiting [2020-09-18T08:34:58.080Z] 209524e5b208: Waiting [2020-09-18T08:34:58.080Z] 99f96fe45779: Verifying Checksum [2020-09-18T08:34:58.080Z] 99f96fe45779: Download complete [2020-09-18T08:34:58.080Z] 74f711af9a0d: Verifying Checksum [2020-09-18T08:34:58.080Z] 74f711af9a0d: Download complete [2020-09-18T08:34:58.080Z] 45590311c82a: Verifying Checksum [2020-09-18T08:34:58.080Z] 45590311c82a: Download complete [2020-09-18T08:34:58.080Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-18T08:34:58.080Z] 69ca0ff8b7b3: Download complete [2020-09-18T08:34:58.350Z] b538f80385f9: Verifying Checksum [2020-09-18T08:34:58.350Z] b538f80385f9: Download complete [2020-09-18T08:34:58.946Z] b538f80385f9: Pull complete [2020-09-18T08:34:59.543Z] 74f711af9a0d: Pull complete [2020-09-18T08:34:59.816Z] 99f96fe45779: Pull complete [2020-09-18T08:35:01.251Z] 209524e5b208: Verifying Checksum [2020-09-18T08:35:01.251Z] 209524e5b208: Download complete [2020-09-18T08:35:02.697Z] 8529a6b9a6be: Verifying Checksum [2020-09-18T08:35:02.697Z] 8529a6b9a6be: Download complete [2020-09-18T08:35:12.872Z] 8529a6b9a6be: Pull complete [2020-09-18T08:35:12.872Z] 45590311c82a: Pull complete [2020-09-18T08:35:13.145Z] 69ca0ff8b7b3: Pull complete [2020-09-18T08:35:17.484Z] 209524e5b208: Pull complete [2020-09-18T08:35:17.484Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-18T08:35:17.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-18T08:35:17.484Z] ---> 5bddaf1c2fca [2020-09-18T08:35:17.484Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:35:20.126Z] ---> Running in a173685b3ed1 [2020-09-18T08:35:20.126Z] Removing intermediate container a173685b3ed1 [2020-09-18T08:35:20.126Z] ---> ed4118e620ec [2020-09-18T08:35:20.126Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T08:35:20.286Z] Running on prd-centos7-docker-4c-2g-367 in /w/workspace/dgexfoundry_device-sdk-go_PR-592 [Pipeline] { [Pipeline] ws [2020-09-18T08:35:20.354Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [2020-09-18T08:35:20.400Z] ---> Running in 3bc6c9a47d03 [Pipeline] checkout [2020-09-18T08:35:22.486Z] using credential edgex-jenkins-ssh [2020-09-18T08:35:22.540Z] Cloning the remote Git repository [2020-09-18T08:35:22.540Z] Cloning with configured refspecs honoured and without tags [2020-09-18T08:35:22.566Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:35:22.629Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-18T08:35:22.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:35:22.697Z] > git --version # timeout=10 [2020-09-18T08:35:22.703Z] > git --version # 'git version 2.16.5' [2020-09-18T08:35:22.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:35:22.728Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:35:23.053Z] Removing intermediate container 3bc6c9a47d03 [2020-09-18T08:35:23.054Z] ---> e3bc54fcc6ac [2020-09-18T08:35:23.054Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-18T08:35:23.054Z] ---> Running in 5042b838b271 [2020-09-18T08:35:23.377Z] Fetching without tags [2020-09-18T08:35:23.754Z] Merging remotes/origin/master commit acdd4826cae80a3b8a1f7d698808ff3080e1060b into PR head commit 4e5d2bb0c485bff57357b702f8391528d9aa01fe [2020-09-18T08:35:23.833Z] Merge succeeded, producing 4e5d2bb0c485bff57357b702f8391528d9aa01fe [2020-09-18T08:35:23.834Z] Checking out Revision 4e5d2bb0c485bff57357b702f8391528d9aa01fe (PR-592) [2020-09-18T08:35:23.358Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T08:35:23.363Z] > git config --add remote.origin.fetch +refs/pull/592/head:refs/remotes/origin/PR-592 # timeout=10 [2020-09-18T08:35:23.367Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:35:23.375Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-18T08:35:23.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-18T08:35:23.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:35:23.387Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/592/head:refs/remotes/origin/PR-592 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-18T08:35:23.764Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T08:35:23.770Z] > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 [2020-09-18T08:35:23.810Z] > git remote # timeout=10 [2020-09-18T08:35:23.816Z] > git config --get remote.origin.url # timeout=10 [2020-09-18T08:35:23.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-18T08:35:23.822Z] > git merge acdd4826cae80a3b8a1f7d698808ff3080e1060b # timeout=10 [2020-09-18T08:35:23.829Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-18T08:35:23.838Z] > git config core.sparsecheckout # timeout=10 [2020-09-18T08:35:23.843Z] > git checkout -f 4e5d2bb0c485bff57357b702f8391528d9aa01fe # timeout=10 [2020-09-18T08:35:24.524Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T08:35:25.130Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T08:35:26.112Z] OK: 142 MiB in 39 packages [2020-09-18T08:35:27.095Z] Removing intermediate container 5042b838b271 [2020-09-18T08:35:27.095Z] ---> e45f436ad1a8 [2020-09-18T08:35:27.095Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-18T08:35:27.095Z] ---> Running in 71c3f2f6d4c9 [2020-09-18T08:35:27.458Z] Commit message: "fix: fix device autodiscovery behavior" [2020-09-18T08:35:27.692Z] Removing intermediate container 71c3f2f6d4c9 [2020-09-18T08:35:27.693Z] ---> f9af8d83506a [2020-09-18T08:35:27.693Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-18T08:35:28.305Z] ========================================================= [2020-09-18T08:35:28.305Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-18T08:35:28.305Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:35:28.674Z] ---> 59435d8219ef [2020-09-18T08:35:28.674Z] Step 8/8 : RUN go mod download [2020-09-18T08:35:28.953Z] ---> Running in 1465b059faa6 [2020-09-18T08:35:28.990Z] + 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-18T08:35:29.266Z] Sending build context to Docker daemon 3.166MB [2020-09-18T08:35:29.266Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-18T08:35:29.266Z] Step 2/8 : FROM ${BASE} [2020-09-18T08:35:29.266Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-18T08:35:29.266Z] df20fa9351a1: Pulling fs layer [2020-09-18T08:35:29.266Z] ed8968b2872e: Pulling fs layer [2020-09-18T08:35:29.266Z] a92cc7c5fd73: Pulling fs layer [2020-09-18T08:35:29.266Z] e871e8e8d7a9: Pulling fs layer [2020-09-18T08:35:29.266Z] e73272ec9a57: Pulling fs layer [2020-09-18T08:35:29.266Z] 1e910a182e73: Pulling fs layer [2020-09-18T08:35:29.266Z] 4e634b169226: Pulling fs layer [2020-09-18T08:35:29.266Z] e871e8e8d7a9: Waiting [2020-09-18T08:35:29.266Z] e73272ec9a57: Waiting [2020-09-18T08:35:29.266Z] 1e910a182e73: Waiting [2020-09-18T08:35:29.266Z] 4e634b169226: Waiting [2020-09-18T08:35:29.266Z] a92cc7c5fd73: Verifying Checksum [2020-09-18T08:35:29.266Z] a92cc7c5fd73: Download complete [2020-09-18T08:35:29.266Z] ed8968b2872e: Download complete [2020-09-18T08:35:29.266Z] e73272ec9a57: Verifying Checksum [2020-09-18T08:35:29.266Z] e73272ec9a57: Download complete [2020-09-18T08:35:29.266Z] 1e910a182e73: Download complete [2020-09-18T08:35:29.266Z] df20fa9351a1: Verifying Checksum [2020-09-18T08:35:29.266Z] df20fa9351a1: Download complete [2020-09-18T08:35:29.528Z] df20fa9351a1: Pull complete [2020-09-18T08:35:29.789Z] ed8968b2872e: Pull complete [2020-09-18T08:35:29.789Z] a92cc7c5fd73: Pull complete [2020-09-18T08:35:31.185Z] 4e634b169226: Verifying Checksum [2020-09-18T08:35:31.185Z] 4e634b169226: Download complete [2020-09-18T08:35:31.766Z] e871e8e8d7a9: Verifying Checksum [2020-09-18T08:35:31.766Z] e871e8e8d7a9: Download complete [2020-09-18T08:35:37.084Z] e871e8e8d7a9: Pull complete [2020-09-18T08:35:37.084Z] e73272ec9a57: Pull complete [2020-09-18T08:35:37.084Z] 1e910a182e73: Pull complete [2020-09-18T08:35:41.298Z] 4e634b169226: Pull complete [2020-09-18T08:35:41.298Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-18T08:35:41.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-18T08:35:41.298Z] ---> f7629b54cfaa [2020-09-18T08:35:41.298Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:35:41.298Z] ---> Running in bdf87d5312c7 [2020-09-18T08:35:41.559Z] Removing intermediate container bdf87d5312c7 [2020-09-18T08:35:41.559Z] ---> 1aa2e6d0816b [2020-09-18T08:35:41.559Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T08:35:41.559Z] ---> Running in 3d8568474f81 [2020-09-18T08:35:42.515Z] Removing intermediate container 3d8568474f81 [2020-09-18T08:35:42.515Z] ---> 93b689507951 [2020-09-18T08:35:42.515Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-18T08:35:42.515Z] ---> Running in d71f93a016b5 [2020-09-18T08:35:43.462Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T08:35:44.037Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T08:35:44.044Z] Removing intermediate container 1465b059faa6 [2020-09-18T08:35:44.044Z] ---> 38fb963e82b6 [2020-09-18T08:35:44.044Z] Successfully built 38fb963e82b6 [2020-09-18T08:35:44.044Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:35:44.298Z] OK: 166 MiB in 39 packages [2020-09-18T08:35:44.442Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T08:35:44.442Z] . [Pipeline] withDockerContainer [2020-09-18T08:35:44.717Z] prd-ubuntu18.04-docker-arm64-4c-16g-366 does not seem to be running inside a container [2020-09-18T08:35:44.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-18T08:35:44.876Z] Removing intermediate container d71f93a016b5 [2020-09-18T08:35:44.876Z] ---> 453f1de12ff9 [2020-09-18T08:35:44.876Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-18T08:35:44.876Z] ---> Running in fcbd21498960 [2020-09-18T08:35:44.876Z] Removing intermediate container fcbd21498960 [2020-09-18T08:35:44.876Z] ---> 208284f93c27 [2020-09-18T08:35:44.876Z] Step 7/8 : COPY . . [2020-09-18T08:35:46.261Z] ---> c5b71320d315 [2020-09-18T08:35:46.261Z] Step 8/8 : RUN go mod download [2020-09-18T08:35:46.261Z] ---> Running in e9e17795dd63 [2020-09-18T08:35:46.726Z] $ docker top 383a3e46a0260db03aef40f04351a7592e23da605dbf250a3ee885206a5cb8ff -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T08:35:48.115Z] + go version [2020-09-18T08:35:48.115Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-18T08:35:48.160Z] $ docker stop --time=1 383a3e46a0260db03aef40f04351a7592e23da605dbf250a3ee885206a5cb8ff [2020-09-18T08:35:50.129Z] $ docker rm -f 383a3e46a0260db03aef40f04351a7592e23da605dbf250a3ee885206a5cb8ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:35:51.239Z] + docker inspect -f . ci-base-image-arm64 [2020-09-18T08:35:51.239Z] . [Pipeline] withDockerContainer [2020-09-18T08:35:51.541Z] prd-ubuntu18.04-docker-arm64-4c-16g-366 does not seem to be running inside a container [2020-09-18T08:35:51.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-09-18T08:35:53.546Z] $ docker top 30bf42fdf319a557c331730c48595483ad29c45f359b927a71e03ca64f9e4019 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T08:35:54.935Z] + make test [2020-09-18T08:35:54.935Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-18T08:35:56.271Z] Removing intermediate container e9e17795dd63 [2020-09-18T08:35:56.271Z] ---> dd1db5a1f262 [2020-09-18T08:35:56.271Z] Successfully built dd1db5a1f262 [2020-09-18T08:35:56.271Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:35:56.608Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T08:35:56.609Z] . [Pipeline] withDockerContainer [2020-09-18T08:35:56.711Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2020-09-18T08:35:56.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-18T08:35:57.834Z] $ docker top 6a8d91b8aa2bafeec519f2dbe314605b14a7b0f711e445cf8e58633aacbcd5ee -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T08:35:58.322Z] + go version [2020-09-18T08:35:58.322Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-18T08:35:58.337Z] $ docker stop --time=1 6a8d91b8aa2bafeec519f2dbe314605b14a7b0f711e445cf8e58633aacbcd5ee [2020-09-18T08:35:59.648Z] $ docker rm -f 6a8d91b8aa2bafeec519f2dbe314605b14a7b0f711e445cf8e58633aacbcd5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:36:00.641Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-18T08:36:00.641Z] . [Pipeline] withDockerContainer [2020-09-18T08:36:00.726Z] prd-centos7-docker-4c-2g-367 does not seem to be running inside a container [2020-09-18T08:36:00.772Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-09-18T08:36:01.342Z] $ docker top ad4ab064ad5c979d0319362a49c16d5ac24aaadb6ff611867dc9387105b005d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T08:36:01.923Z] + make test [2020-09-18T08:36:01.923Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-09-18T08:36:08.700Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-18T08:36:17.134Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-18T08:36:20.996Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-18T08:36:20.996Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-18T08:36:20.996Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-18T08:36:20.996Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.040s coverage: 21.0% of statements [2020-09-18T08:36:21.578Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.409s coverage: 95.7% of statements [2020-09-18T08:36:53.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.033s coverage: 8.6% of statements [2020-09-18T08:36:53.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.025s coverage: 21.7% of statements [2020-09-18T08:36:53.716Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-18T08:36:53.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.161s coverage: 37.0% of statements [2020-09-18T08:36:53.716Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-18T08:36:53.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.239s coverage: 65.4% of statements [2020-09-18T08:36:53.716Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-18T08:36:53.716Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-18T08:36:53.716Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-18T08:36:53.716Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.135s coverage: 52.6% of statements [2020-09-18T08:36:53.716Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.234s coverage: 68.9% of statements [2020-09-18T08:36:53.716Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-18T08:36:53.716Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-18T08:36:53.716Z] GO111MODULE=on go vet ./... [2020-09-18T08:36:56.176Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-18T08:36:56.176Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-18T08:36:56.176Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-18T08:36:56.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.053s coverage: 21.0% of statements [2020-09-18T08:36:56.176Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.295s coverage: 95.7% of statements [2020-09-18T08:36:59.050Z] gofmt -l . [2020-09-18T08:36:59.050Z] [ "`gofmt -l .`" = "" ] [2020-09-18T08:36:59.050Z] ./bin/test-attribution-txt.sh [2020-09-18T08:36:59.050Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-18T08:36:59.608Z] Stashed 1 file(s) [Pipeline] } [2020-09-18T08:36:59.616Z] $ docker stop --time=1 ad4ab064ad5c979d0319362a49c16d5ac24aaadb6ff611867dc9387105b005d4 [2020-09-18T08:37:01.340Z] $ docker rm -f ad4ab064ad5c979d0319362a49c16d5ac24aaadb6ff611867dc9387105b005d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T08:37:05.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-18T08:37:05.750Z] + ls -al . [2020-09-18T08:37:05.750Z] total 188 [2020-09-18T08:37:05.750Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 18 08:36 . [2020-09-18T08:37:05.750Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 18 08:35 .. [2020-09-18T08:37:05.750Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 18 08:35 bin [2020-09-18T08:37:05.750Z] -rw-r--r--. 1 jenkins jenkins 111785 Sep 18 08:36 coverage.out [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 18 08:35 Dockerfile.build [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 18 08:35 .dockerignore [2020-09-18T08:37:05.750Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 18 08:35 example [2020-09-18T08:37:05.750Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 18 08:35 .git [2020-09-18T08:37:05.750Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 18 08:35 .github [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 18 08:35 .gitignore [2020-09-18T08:37:05.750Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 18 08:36 go.mod [2020-09-18T08:37:05.750Z] -rw-r--r--. 1 jenkins jenkins 12179 Sep 18 08:36 go.sum [2020-09-18T08:37:05.750Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 18 08:35 internal [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 18 08:35 Jenkinsfile [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 18 08:35 LICENSE [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 1013 Sep 18 08:35 Makefile [2020-09-18T08:37:05.750Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 18 08:35 openapi [2020-09-18T08:37:05.750Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 18 08:35 pkg [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 18 08:35 README.md [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 18 08:35 RELEASE-NOTES.txt [2020-09-18T08:37:05.750Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 18 08:35 .semver [2020-09-18T08:37:05.750Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 18 08:35 snap [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 18 08:32 VERSION [2020-09-18T08:37:05.750Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 18 08:35 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:37:06.054Z] + 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=4e5d2bb0c485bff57357b702f8391528d9aa01fe --label arch=amd64 --label version=0.0.0 . [2020-09-18T08:37:06.055Z] Sending build context to Docker daemon 3.28MB [2020-09-18T08:37:06.319Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-18T08:37:06.319Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-18T08:37:06.319Z] ---> dd1db5a1f262 [2020-09-18T08:37:06.319Z] Step 3/24 : ARG MAKE='make build' [2020-09-18T08:37:06.581Z] ---> Running in f54d6a62e460 [2020-09-18T08:37:06.581Z] Removing intermediate container f54d6a62e460 [2020-09-18T08:37:06.581Z] ---> 33de2aaa8caf [2020-09-18T08:37:06.581Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-18T08:37:06.843Z] ---> Running in 954efd37fc8f [2020-09-18T08:37:06.843Z] Removing intermediate container 954efd37fc8f [2020-09-18T08:37:06.843Z] ---> f5b46f04cc09 [2020-09-18T08:37:06.843Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:37:07.105Z] ---> Running in ac09c73f91ab [2020-09-18T08:37:07.105Z] Removing intermediate container ac09c73f91ab [2020-09-18T08:37:07.105Z] ---> e405ffb7df86 [2020-09-18T08:37:07.105Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T08:37:07.105Z] ---> Running in 80dde482c91d [2020-09-18T08:37:08.051Z] Removing intermediate container 80dde482c91d [2020-09-18T08:37:08.051Z] ---> 255df9bb5f92 [2020-09-18T08:37:08.051Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-18T08:37:08.051Z] ---> Running in 32c098f07f2e [2020-09-18T08:37:08.312Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-18T08:37:09.254Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-18T08:37:09.514Z] OK: 166 MiB in 39 packages [2020-09-18T08:37:10.086Z] Removing intermediate container 32c098f07f2e [2020-09-18T08:37:10.086Z] ---> 7d37fb8837de [2020-09-18T08:37:10.086Z] Step 8/24 : COPY . . [2020-09-18T08:37:11.475Z] ---> 93264cca2a6c [2020-09-18T08:37:11.475Z] Step 9/24 : RUN ${MAKE} [2020-09-18T08:37:11.475Z] ---> Running in c37df449754e [2020-09-18T08:37:12.056Z] 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-18T08:37:18.725Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-18T08:37:20.643Z] Removing intermediate container c37df449754e [2020-09-18T08:37:20.643Z] ---> f4ea708c1ea0 [2020-09-18T08:37:20.643Z] Step 10/24 : FROM scratch [2020-09-18T08:37:20.643Z] ---> [2020-09-18T08:37:20.643Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:37:20.643Z] ---> Running in f62c28af34f9 [2020-09-18T08:37:20.643Z] Removing intermediate container f62c28af34f9 [2020-09-18T08:37:20.643Z] ---> 98e6b6a657bd [2020-09-18T08:37:20.643Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-18T08:37:20.643Z] ---> Running in 856894c9c356 [2020-09-18T08:37:20.643Z] Removing intermediate container 856894c9c356 [2020-09-18T08:37:20.643Z] ---> 33870aa9a94b [2020-09-18T08:37:20.643Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-18T08:37:20.905Z] ---> Running in a7ee15660416 [2020-09-18T08:37:20.905Z] Removing intermediate container a7ee15660416 [2020-09-18T08:37:20.905Z] ---> 9fb634eeed90 [2020-09-18T08:37:20.905Z] Step 14/24 : WORKDIR / [2020-09-18T08:37:20.905Z] ---> Running in f562fbd3f7cd [2020-09-18T08:37:21.166Z] Removing intermediate container f562fbd3f7cd [2020-09-18T08:37:21.166Z] ---> 3d4c175968d4 [2020-09-18T08:37:21.166Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-18T08:37:21.738Z] ---> 9facfd4213ab [2020-09-18T08:37:21.738Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-18T08:37:21.738Z] ---> 42a021232b50 [2020-09-18T08:37:21.738Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-18T08:37:21.999Z] ---> 89d159d2b02b [2020-09-18T08:37:21.999Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-18T08:37:22.261Z] ---> e32b9165526c [2020-09-18T08:37:22.261Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-18T08:37:22.525Z] ---> 15356077fba9 [2020-09-18T08:37:22.525Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-18T08:37:22.525Z] ---> Running in 51be491059ee [2020-09-18T08:37:22.788Z] Removing intermediate container 51be491059ee [2020-09-18T08:37:22.788Z] ---> 7a4e1dededc0 [2020-09-18T08:37:22.788Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-18T08:37:22.788Z] ---> Running in 98b91d68867b [2020-09-18T08:37:23.050Z] Removing intermediate container 98b91d68867b [2020-09-18T08:37:23.050Z] ---> 200c8ee2fcd9 [2020-09-18T08:37:23.050Z] Step 22/24 : LABEL arch=amd64 [2020-09-18T08:37:23.050Z] ---> Running in 430214add165 [2020-09-18T08:37:23.310Z] Removing intermediate container 430214add165 [2020-09-18T08:37:23.310Z] ---> bd3789e2ec30 [2020-09-18T08:37:23.310Z] Step 23/24 : LABEL git_sha=4e5d2bb0c485bff57357b702f8391528d9aa01fe [2020-09-18T08:37:23.310Z] ---> Running in 117fca16f213 [2020-09-18T08:37:23.310Z] Removing intermediate container 117fca16f213 [2020-09-18T08:37:23.310Z] ---> bc05e7ad7de5 [2020-09-18T08:37:23.310Z] Step 24/24 : LABEL version=0.0.0 [2020-09-18T08:37:23.571Z] ---> Running in 849319ce5e0b [2020-09-18T08:37:23.571Z] Removing intermediate container 849319ce5e0b [2020-09-18T08:37:23.571Z] ---> a184e4a7303d [2020-09-18T08:37:23.571Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T08:37:23.571Z] Successfully built a184e4a7303d [2020-09-18T08:37:23.571Z] 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-18T08:37:28.537Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.074s coverage: 8.6% of statements [2020-09-18T08:37:28.538Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.056s coverage: 21.7% of statements [2020-09-18T08:37:28.538Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-18T08:37:28.538Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.488s coverage: 37.0% of statements [2020-09-18T08:37:28.538Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-18T08:37:28.538Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.678s coverage: 65.4% of statements [2020-09-18T08:37:28.538Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-18T08:37:28.538Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-18T08:37:28.538Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-18T08:37:28.538Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.219s coverage: 52.6% of statements [2020-09-18T08:37:28.538Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.861s coverage: 68.9% of statements [2020-09-18T08:37:28.538Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-18T08:37:28.538Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-18T08:37:28.538Z] GO111MODULE=on go vet ./... [2020-09-18T08:37:55.425Z] gofmt -l . [2020-09-18T08:37:55.425Z] [ "`gofmt -l .`" = "" ] [2020-09-18T08:37:55.425Z] ./bin/test-attribution-txt.sh [2020-09-18T08:37:55.425Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-18T08:37:55.444Z] Warning: overwriting stash ‘coverage-report’ [2020-09-18T08:37:56.318Z] Stashed 1 file(s) [Pipeline] } [2020-09-18T08:37:56.386Z] $ docker stop --time=1 30bf42fdf319a557c331730c48595483ad29c45f359b927a71e03ca64f9e4019 [2020-09-18T08:37:58.658Z] $ docker rm -f 30bf42fdf319a557c331730c48595483ad29c45f359b927a71e03ca64f9e4019 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-18T08:38:00.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-18T08:38:00.369Z] + ls -al . [2020-09-18T08:38:00.369Z] total 228 [2020-09-18T08:38:00.369Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 18 08:37 . [2020-09-18T08:38:00.369Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:34 .. [2020-09-18T08:38:00.369Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 18 08:34 .dockerignore [2020-09-18T08:38:00.369Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 08:34 .git [2020-09-18T08:38:00.369Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 08:34 .github [2020-09-18T08:38:00.370Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 18 08:34 .gitignore [2020-09-18T08:38:00.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 08:34 .semver [2020-09-18T08:38:00.370Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 18 08:34 Dockerfile.build [2020-09-18T08:38:00.370Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 18 08:34 Jenkinsfile [2020-09-18T08:38:00.370Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 18 08:34 LICENSE [2020-09-18T08:38:00.370Z] -rw-rw-r-- 1 jenkins jenkins 1013 Sep 18 08:34 Makefile [2020-09-18T08:38:00.370Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 18 08:34 README.md [2020-09-18T08:38:00.370Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 18 08:34 RELEASE-NOTES.txt [2020-09-18T08:38:00.370Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 08:32 VERSION [2020-09-18T08:38:00.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 08:34 bin [2020-09-18T08:38:00.370Z] -rw-r--r-- 1 jenkins jenkins 111785 Sep 18 08:37 coverage.out [2020-09-18T08:38:00.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:34 example [2020-09-18T08:38:00.370Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 18 08:37 go.mod [2020-09-18T08:38:00.370Z] -rw-r--r-- 1 jenkins jenkins 12179 Sep 18 08:37 go.sum [2020-09-18T08:38:00.370Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 18 08:34 internal [2020-09-18T08:38:00.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:34 openapi [2020-09-18T08:38:00.370Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 18 08:34 pkg [2020-09-18T08:38:00.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 08:34 snap [2020-09-18T08:38:00.370Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 18 08:34 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:38:00.752Z] + 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=4e5d2bb0c485bff57357b702f8391528d9aa01fe --label arch=arm64 --label version=0.0.0 . [2020-09-18T08:38:01.024Z] Sending build context to Docker daemon 3.278MB [2020-09-18T08:38:01.297Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-18T08:38:01.297Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-18T08:38:01.297Z] ---> 38fb963e82b6 [2020-09-18T08:38:01.297Z] Step 3/24 : ARG MAKE='make build' [2020-09-18T08:38:01.569Z] ---> Running in cb4dfc2b4379 [2020-09-18T08:38:01.841Z] Removing intermediate container cb4dfc2b4379 [2020-09-18T08:38:01.841Z] ---> e61955346a3d [2020-09-18T08:38:01.841Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-18T08:38:02.114Z] ---> Running in 508c8b2a2f69 [2020-09-18T08:38:02.384Z] Removing intermediate container 508c8b2a2f69 [2020-09-18T08:38:02.384Z] ---> 92979053b139 [2020-09-18T08:38:02.384Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:38:02.659Z] ---> Running in c05be9b7491a [2020-09-18T08:38:02.934Z] Removing intermediate container c05be9b7491a [2020-09-18T08:38:02.934Z] ---> c50d4d4e70da [2020-09-18T08:38:02.934Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-18T08:38:03.208Z] ---> Running in 8d5ef0fb6474 [2020-09-18T08:38:05.835Z] Removing intermediate container 8d5ef0fb6474 [2020-09-18T08:38:05.835Z] ---> 656f468d23e8 [2020-09-18T08:38:05.835Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-18T08:38:05.835Z] ---> Running in c89affea0634 [2020-09-18T08:38:07.270Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-18T08:38:07.864Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-18T08:38:08.459Z] OK: 142 MiB in 39 packages [2020-09-18T08:38:09.438Z] Removing intermediate container c89affea0634 [2020-09-18T08:38:09.438Z] ---> eda702aaf953 [2020-09-18T08:38:09.438Z] Step 8/24 : COPY . . [2020-09-18T08:38:10.873Z] ---> 44a75c62ca19 [2020-09-18T08:38:10.873Z] Step 9/24 : RUN ${MAKE} [2020-09-18T08:38:10.873Z] ---> Running in 2ae7bf0c032c [2020-09-18T08:38:12.842Z] 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-18T08:38:35.053Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-18T08:38:36.516Z] Removing intermediate container 2ae7bf0c032c [2020-09-18T08:38:36.516Z] ---> d8fabf2838e4 [2020-09-18T08:38:36.516Z] Step 10/24 : FROM scratch [2020-09-18T08:38:36.516Z] ---> [2020-09-18T08:38:36.517Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-18T08:38:36.800Z] ---> Running in 77fadc73e760 [2020-09-18T08:38:37.070Z] Removing intermediate container 77fadc73e760 [2020-09-18T08:38:37.070Z] ---> dcf0b8bad3b1 [2020-09-18T08:38:37.070Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-18T08:38:37.362Z] ---> Running in 0b429af41669 [2020-09-18T08:38:37.636Z] Removing intermediate container 0b429af41669 [2020-09-18T08:38:37.637Z] ---> 3f8c705e9d98 [2020-09-18T08:38:37.637Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-18T08:38:37.637Z] ---> Running in 44e5dcf8d34c [2020-09-18T08:38:38.243Z] Removing intermediate container 44e5dcf8d34c [2020-09-18T08:38:38.243Z] ---> 109ac6a3fbd8 [2020-09-18T08:38:38.243Z] Step 14/24 : WORKDIR / [2020-09-18T08:38:38.243Z] ---> Running in a43e88ad8f7b [2020-09-18T08:38:38.859Z] Removing intermediate container a43e88ad8f7b [2020-09-18T08:38:38.859Z] ---> b2a588f9fbf9 [2020-09-18T08:38:38.859Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-18T08:38:39.868Z] ---> bf6f55585461 [2020-09-18T08:38:39.868Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-18T08:38:40.477Z] ---> 679b6333fd7b [2020-09-18T08:38:40.477Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-18T08:38:41.097Z] ---> f78fbdc5822b [2020-09-18T08:38:41.097Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-18T08:38:42.086Z] ---> 6f577dbcf7c5 [2020-09-18T08:38:42.086Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-18T08:38:42.696Z] ---> 272db29a59dc [2020-09-18T08:38:42.696Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-18T08:38:42.696Z] ---> Running in ce4084e2e95f [2020-09-18T08:38:43.328Z] Removing intermediate container ce4084e2e95f [2020-09-18T08:38:43.328Z] ---> 924090f01e8d [2020-09-18T08:38:43.328Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-18T08:38:43.328Z] ---> Running in a26662fd1702 [2020-09-18T08:38:43.964Z] Removing intermediate container a26662fd1702 [2020-09-18T08:38:43.964Z] ---> afbf33fba577 [2020-09-18T08:38:43.964Z] Step 22/24 : LABEL arch=arm64 [2020-09-18T08:38:43.964Z] ---> Running in 4f15ddbfd3e2 [2020-09-18T08:38:44.575Z] Removing intermediate container 4f15ddbfd3e2 [2020-09-18T08:38:44.575Z] ---> 8dcb7ced80af [2020-09-18T08:38:44.575Z] Step 23/24 : LABEL git_sha=4e5d2bb0c485bff57357b702f8391528d9aa01fe [2020-09-18T08:38:44.575Z] ---> Running in 252f8430821c [2020-09-18T08:38:45.178Z] Removing intermediate container 252f8430821c [2020-09-18T08:38:45.178Z] ---> 8cf31438a489 [2020-09-18T08:38:45.178Z] Step 24/24 : LABEL version=0.0.0 [2020-09-18T08:38:45.178Z] ---> Running in 0b0218f2424f [2020-09-18T08:38:45.773Z] Removing intermediate container 0b0218f2424f [2020-09-18T08:38:45.773Z] ---> 953777229ff2 [2020-09-18T08:38:45.773Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-18T08:38:45.773Z] Successfully built 953777229ff2 [2020-09-18T08:38:45.773Z] 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-18T08:38:48.027Z] provisioning config files... [2020-09-18T08:38:48.043Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/config3106578185377670503tmp [Pipeline] { [Pipeline] sh [2020-09-18T08:38:48.441Z] + curl -s https://codecov.io/bash [2020-09-18T08:38:48.441Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/config3106578185377670503tmp [Pipeline] } [2020-09-18T08:38:50.430Z] 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-18T08:38:53.069Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:38:53.663Z] ---> package-listing.sh [2020-09-18T08:38:53.664Z] ++ facter osfamily [2020-09-18T08:38:53.664Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-18T08:38:53.664Z] + OS_FAMILY=redhat [2020-09-18T08:38:53.664Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-592 [2020-09-18T08:38:53.664Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-18T08:38:53.664Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-18T08:38:53.664Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-18T08:38:53.664Z] + PACKAGES=/tmp/packages_start.txt [2020-09-18T08:38:53.664Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-592 ']' [2020-09-18T08:38:53.664Z] + PACKAGES=/tmp/packages_end.txt [2020-09-18T08:38:53.664Z] + case "${OS_FAMILY}" in [2020-09-18T08:38:53.664Z] + rpm -qa [2020-09-18T08:38:53.664Z] + sort [2020-09-18T08:38:57.914Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-18T08:38:57.914Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-18T08:38:57.914Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-18T08:38:57.914Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-592 ']' [2020-09-18T08:38:57.914Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-592/archives/ [2020-09-18T08:38:57.914Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-592/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:38:58.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T08:38:58.550Z] [2020-09-18T08:38:58.550Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-18T08:38:58.909Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T08:38:58.909Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-18T08:38:58.909Z] df20fa9351a1: Pulling fs layer [2020-09-18T08:38:58.909Z] 36b3adc4ff6f: Pulling fs layer [2020-09-18T08:38:58.909Z] 8ad3a11d3b57: Pulling fs layer [2020-09-18T08:38:58.909Z] 46f8f816bc3b: Pulling fs layer [2020-09-18T08:38:58.909Z] 0dadc02b9964: Pulling fs layer [2020-09-18T08:38:58.909Z] ce6a7cf60c04: Pulling fs layer [2020-09-18T08:38:58.909Z] 7a184a31f384: Pulling fs layer [2020-09-18T08:38:58.909Z] 0879bd2ef858: Pulling fs layer [2020-09-18T08:38:58.909Z] 46f8f816bc3b: Waiting [2020-09-18T08:38:58.909Z] 0dadc02b9964: Waiting [2020-09-18T08:38:58.909Z] ce6a7cf60c04: Waiting [2020-09-18T08:38:58.909Z] 7a184a31f384: Waiting [2020-09-18T08:38:58.909Z] 0879bd2ef858: Waiting [2020-09-18T08:38:58.909Z] 36b3adc4ff6f: Verifying Checksum [2020-09-18T08:38:58.909Z] 36b3adc4ff6f: Download complete [2020-09-18T08:38:58.909Z] 46f8f816bc3b: Verifying Checksum [2020-09-18T08:38:58.909Z] 46f8f816bc3b: Download complete [2020-09-18T08:38:59.185Z] df20fa9351a1: Verifying Checksum [2020-09-18T08:38:59.185Z] df20fa9351a1: Download complete [2020-09-18T08:38:59.185Z] 0dadc02b9964: Verifying Checksum [2020-09-18T08:38:59.185Z] 0dadc02b9964: Download complete [2020-09-18T08:38:59.185Z] ce6a7cf60c04: Verifying Checksum [2020-09-18T08:38:59.185Z] ce6a7cf60c04: Download complete [2020-09-18T08:38:59.185Z] 7a184a31f384: Verifying Checksum [2020-09-18T08:38:59.185Z] 7a184a31f384: Download complete [2020-09-18T08:38:59.185Z] 8ad3a11d3b57: Verifying Checksum [2020-09-18T08:38:59.185Z] 8ad3a11d3b57: Download complete [2020-09-18T08:38:59.448Z] df20fa9351a1: Pull complete [2020-09-18T08:38:59.449Z] 36b3adc4ff6f: Pull complete [2020-09-18T08:38:59.722Z] 0879bd2ef858: Verifying Checksum [2020-09-18T08:38:59.722Z] 0879bd2ef858: Download complete [2020-09-18T08:38:59.986Z] 8ad3a11d3b57: Pull complete [2020-09-18T08:39:00.261Z] 46f8f816bc3b: Pull complete [2020-09-18T08:39:00.522Z] 0dadc02b9964: Pull complete [2020-09-18T08:39:00.522Z] ce6a7cf60c04: Pull complete [2020-09-18T08:39:00.785Z] 7a184a31f384: Pull complete [2020-09-18T08:39:02.735Z] 0879bd2ef858: Pull complete [2020-09-18T08:39:02.735Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-18T08:39:02.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-18T08:39:02.735Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-18T08:39:02.879Z] prd-centos7-docker-4c-2g-365 does not seem to be running inside a container [2020-09-18T08:39:02.935Z] $ 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-592 -v /w/workspace/dgexfoundry_device-sdk-go_PR-592:/w/workspace/dgexfoundry_device-sdk-go_PR-592:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-18T08:39:08.721Z] $ docker top 47a6416a369871681a05151eb8c1415c7e161ee083004f3d1c4108cf815b40c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-18T08:39:09.255Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-18T08:39:09.550Z] + ls /var/log/sa-host [2020-09-18T08:39:09.550Z] + sadf -c /var/log/sa-host/sa05 [2020-09-18T08:39:09.550Z] file_magic: OK [2020-09-18T08:39:09.550Z] HZ: Using current value: 100 [2020-09-18T08:39:09.550Z] file_header: OK [2020-09-18T08:39:09.550Z] 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-18T08:39:09.550Z] Statistics: [2020-09-18T08:39:09.550Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T08:39:09.550Z] File successfully converted to sysstat format version 12.2.1 [2020-09-18T08:39:09.550Z] + sadf -c /var/log/sa-host/sa18 [2020-09-18T08:39:09.550Z] file_magic: OK [2020-09-18T08:39:09.550Z] HZ: Using current value: 100 [2020-09-18T08:39:09.550Z] file_header: OK [2020-09-18T08:39:09.550Z] 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-18T08:39:09.550Z] Statistics: [2020-09-18T08:39:09.550Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-18T08:39:09.550Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-18T08:39:09.619Z] provisioning config files... [2020-09-18T08:39:09.637Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-592@tmp/config7370022370108765766tmp [Pipeline] { [Pipeline] echo [2020-09-18T08:39:09.738Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:39:10.034Z] ---> create-netrc.sh [Pipeline] echo [2020-09-18T08:39:10.044Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-18T08:39:10.345Z] ---> logs-deploy.sh [2020-09-18T08:39:10.345Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-592/2 [2020-09-18T08:39:10.345Z] INFO: archiving workspace using pattern(s): [2020-09-18T08:39:11.733Z] Archives upload complete. [2020-09-18T08:39:11.733Z] INFO: archiving logs to Nexus