Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 99cc20d3fefe63c1958a21752eb6170408da4892+3453c8bcbae7db027b2f999f18fb2d5ddccd55eb (f0343c03404f4c28ca200ce5814ae7645aa19853) 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 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 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 # timeout=10 Commit message: "Merge pull request #239 from ernestojeda/update-default-go-version" > 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 ‘prd-centos7-docker-4c-2g-213’ is offline Running on prd-centos7-docker-4c-2g-43227 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 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 99cc20d3fefe63c1958a21752eb6170408da4892 Merge succeeded, producing 7c4fc9e11bc1963993f34e0359c29400a823dc74 Checking out Revision 7c4fc9e11bc1963993f34e0359c29400a823dc74 (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f 99cc20d3fefe63c1958a21752eb6170408da4892 # 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 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c4fc9e11bc1963993f34e0359c29400a823dc74 # timeout=10 Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" > git rev-list --no-walk 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-15T05:48:53.776Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-15T05:48:54.017Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-15T05:48:54.151Z] ========================================================= [2020-09-15T05:48:54.152Z] EdgeX Global Pipelines Version Info [2020-09-15T05:48:54.152Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:48:56.809Z] ------------------- [2020-09-15T05:48:56.810Z] stable info: [2020-09-15T05:48:56.810Z] ------------------- [2020-09-15T05:48:56.810Z] Commited By: Emilio Reyes emilio.reyes@intel.com [2020-09-15T05:48:56.810Z] Commit SHA: 4bf0f353ab0057b6d66f3aea763faef2da6a0c79 [2020-09-15T05:48:56.810Z] Message: update stable to v1.0.119 [2020-09-15T05:48:58.432Z] ------------------- [2020-09-15T05:48:58.432Z] experimental info: [2020-09-15T05:48:58.432Z] ------------------- [2020-09-15T05:48:58.432Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-15T05:48:58.432Z] Commit SHA: 26a2d0761a2efda4215483e42b68dbac15e3db92 [2020-09-15T05:48:58.432Z] Message: update experimental to v1.0.121 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-15T05:48:58.813Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-09-15T05:48:58.911Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-09-15T05:48:59.002Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-15T05:48:59.095Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-15T05:48:59.186Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-15T05:48:59.299Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-15T05:48:59.406Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-15T05:48:59.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-15T05:48:59.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-09-15T05:48:59.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-15T05:48:59.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-15T05:48:59.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-09-15T05:48:59.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-15T05:49:00.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-15T05:49:00.265Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-15T05:49:00.365Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T05:49:00.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T05:49:00.676Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-15T05:49:00.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-15T05:49:00.861Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-09-15T05:49:00.951Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-15T05:49:01.042Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-15T05:49:01.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-09-15T05:49:01.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-09-15T05:49:01.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-09-15T05:49:01.464Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c4fc9e11bc1963993f34e0359c29400a823dc74 [Pipeline] echo [2020-09-15T05:49:01.554Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c4fc9e [Pipeline] echo [2020-09-15T05:49:01.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T05:49:02.412Z] + git log --format=format:%s -1 7c4fc9e11bc1963993f34e0359c29400a823dc74 [Pipeline] echo [2020-09-15T05:49:02.518Z] GIT_COMMIT: 7c4fc9e11bc1963993f34e0359c29400a823dc74, Commit Message: Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD [Pipeline] echo [2020-09-15T05:49:02.563Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:49:03.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T05:49:04.302Z] [2020-09-15T05:49:04.302Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:49:04.752Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T05:49:05.049Z] latest: Pulling from edgex-devops/git-semver [2020-09-15T05:49:05.049Z] 31603596830f: Pulling fs layer [2020-09-15T05:49:05.049Z] 2a8b12db71e7: Pulling fs layer [2020-09-15T05:49:05.049Z] 6ca5941a6612: Pulling fs layer [2020-09-15T05:49:05.049Z] ecc8261a40a4: Pulling fs layer [2020-09-15T05:49:05.049Z] ecc8261a40a4: Waiting [2020-09-15T05:49:05.049Z] 2a8b12db71e7: Verifying Checksum [2020-09-15T05:49:05.049Z] 2a8b12db71e7: Download complete [2020-09-15T05:49:05.347Z] 31603596830f: Verifying Checksum [2020-09-15T05:49:05.347Z] 31603596830f: Download complete [2020-09-15T05:49:05.695Z] ecc8261a40a4: Verifying Checksum [2020-09-15T05:49:05.695Z] ecc8261a40a4: Download complete [2020-09-15T05:49:06.445Z] 31603596830f: Pull complete [2020-09-15T05:49:06.445Z] 6ca5941a6612: Verifying Checksum [2020-09-15T05:49:06.445Z] 6ca5941a6612: Download complete [2020-09-15T05:49:06.762Z] 2a8b12db71e7: Pull complete [2020-09-15T05:49:08.852Z] 6ca5941a6612: Pull complete [2020-09-15T05:49:09.466Z] ecc8261a40a4: Pull complete [2020-09-15T05:49:09.466Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-15T05:49:09.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-15T05:49:09.466Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-15T05:49:09.826Z] prd-centos7-docker-4c-2g-43227 does not seem to be running inside a container [2020-09-15T05:49:09.994Z] $ 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-15T05:49:12.294Z] $ docker top bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-15T05:49:12.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T05:49:12.855Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T05:49:13.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T05:49:13.345Z] $ docker exec bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd ssh-agent [2020-09-15T05:49:13.861Z] SSH_AUTH_SOCK=/tmp/ssh-A4cVReBbuu1W/agent.11 [2020-09-15T05:49:13.861Z] SSH_AGENT_PID=16 [2020-09-15T05:49:13.908Z] Running ssh-add (command line suppressed) [2020-09-15T05:49:14.357Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2510714690302910882.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_2510714690302910882.key) [2020-09-15T05:49:14.716Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T05:49:15.541Z] + git describe --exact-match --tags HEAD [2020-09-15T05:49:15.541Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-15T05:49:15.647Z] $ docker exec --env ******** --env ******** bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd ssh-agent -k [2020-09-15T05:49:16.559Z] unset SSH_AUTH_SOCK; [2020-09-15T05:49:16.560Z] unset SSH_AGENT_PID; [2020-09-15T05:49:16.560Z] echo Agent pid 16 killed; [2020-09-15T05:49:16.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-15T05:49:16.775Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-15T05:49:16.775Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-15T05:49:16.915Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-15T05:49:16.915Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-15T05:49:17.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-15T05:49:17.328Z] $ docker exec bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd ssh-agent [2020-09-15T05:49:17.589Z] SSH_AUTH_SOCK=/tmp/ssh-XmneMGhMyDf1/agent.44 [2020-09-15T05:49:17.589Z] SSH_AGENT_PID=50 [2020-09-15T05:49:17.608Z] Running ssh-add (command line suppressed) [2020-09-15T05:49:17.802Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1469628090358062709.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1469628090358062709.key) [2020-09-15T05:49:17.892Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-15T05:49:18.252Z] + git semver init [2020-09-15T05:49:18.252Z] # -> Open(): unable to determine branch for HEAD [2020-09-15T05:49:18.252Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-09-15T05:49:18.252Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-09-15T05:49:18.252Z] # $SEMVER_REMOTE_NAME = origin [2020-09-15T05:49:18.252Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-15T05:49:18.252Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-15T05:49:18.252Z] # $SEMVER_BRANCH = PR-584 [2020-09-15T05:49:18.252Z] # $SEMVER_TEMP = /tmp/semver-193873589 [2020-09-15T05:49:18.252Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-09-15T05:49:19.718Z] # '/tmp/semver-193873589' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-09-15T05:49:19.718Z] # -> Force: false [2020-09-15T05:49:19.718Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-09-15T05:49:19.757Z] $ docker exec --env ******** --env ******** bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd ssh-agent -k [2020-09-15T05:49:20.227Z] unset SSH_AUTH_SOCK; [2020-09-15T05:49:20.227Z] unset SSH_AGENT_PID; [2020-09-15T05:49:20.227Z] echo Agent pid 50 killed; [2020-09-15T05:49:20.393Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-15T05:49:21.179Z] + git semver [Pipeline] } [2020-09-15T05:49:21.216Z] $ docker stop --time=1 bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd [2020-09-15T05:49:22.992Z] $ docker rm -f bd9395e69abb25e889587ffd774e1e9da74888161033ff799630b70d39deb2bd [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-15T05:49:25.128Z] Stashed 33 file(s) [Pipeline] echo [2020-09-15T05:49:25.131Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-15T05:49:25.229Z] 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-15T05:49:40.778Z] Still waiting to schedule task [2020-09-15T05:49:40.778Z] ‘prd-centos7-blackbox-4c-2g-43219’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-213’ is offline; ‘prd-centos7-docker-4c-2g-43235’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43221’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43234’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-09-15T05:49:40.781Z] Still waiting to schedule task [2020-09-15T05:49:40.781Z] ‘prd-centos7-blackbox-4c-2g-43219’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-builder-2c-1g-1807’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-213’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-43235’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43221’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-43234’ is offline [2020-09-15T05:50:06.931Z] Running on prd-centos7-docker-4c-2g-43236 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-09-15T05:50:06.985Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-15T05:50:10.278Z] using credential edgex-jenkins-ssh [2020-09-15T05:50:10.344Z] Cloning the remote Git repository [2020-09-15T05:50:10.344Z] Cloning with configured refspecs honoured and without tags [2020-09-15T05:50:10.372Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:50:10.435Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-15T05:50:10.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:50:10.486Z] > git --version # timeout=10 [2020-09-15T05:50:10.494Z] > git --version # 'git version 2.16.5' [2020-09-15T05:50:10.495Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:50:10.522Z] > 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-15T05:50:11.142Z] Fetching without tags [2020-09-15T05:50:11.582Z] Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 99cc20d3fefe63c1958a21752eb6170408da4892 [2020-09-15T05:50:11.109Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T05:50:11.120Z] > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 [2020-09-15T05:50:11.128Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T05:50:11.137Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T05:50:11.150Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:50:11.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:50:11.155Z] > 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-15T05:50:11.592Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T05:50:11.598Z] > git checkout -f 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 [2020-09-15T05:50:11.651Z] > git remote # timeout=10 [2020-09-15T05:50:11.655Z] > git config --get remote.origin.url # timeout=10 [2020-09-15T05:50:11.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:50:11.664Z] > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 [2020-09-15T05:50:11.702Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-15T05:50:11.705Z] Merge succeeded, producing 90096692fc0661d8b7765049904abeba183f905e [2020-09-15T05:50:11.706Z] Checking out Revision 90096692fc0661d8b7765049904abeba183f905e (PR-584) [2020-09-15T05:50:11.710Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T05:50:11.714Z] > git checkout -f 90096692fc0661d8b7765049904abeba183f905e # timeout=10 [2020-09-15T05:50:15.352Z] Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" [2020-09-15T05:50:15.358Z] > git rev-list --no-walk 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T05:50:16.234Z] ========================================================= [2020-09-15T05:50:16.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-15T05:50:16.234Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:50:16.799Z] + 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-15T05:50:17.063Z] Sending build context to Docker daemon 3.146MB [2020-09-15T05:50:17.063Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T05:50:17.063Z] Step 2/8 : FROM ${BASE} [2020-09-15T05:50:17.325Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-15T05:50:17.325Z] df20fa9351a1: Pulling fs layer [2020-09-15T05:50:17.325Z] ed8968b2872e: Pulling fs layer [2020-09-15T05:50:17.325Z] a92cc7c5fd73: Pulling fs layer [2020-09-15T05:50:17.325Z] e871e8e8d7a9: Pulling fs layer [2020-09-15T05:50:17.325Z] e73272ec9a57: Pulling fs layer [2020-09-15T05:50:17.325Z] 1e910a182e73: Pulling fs layer [2020-09-15T05:50:17.325Z] 4e634b169226: Pulling fs layer [2020-09-15T05:50:17.325Z] e73272ec9a57: Waiting [2020-09-15T05:50:17.325Z] 1e910a182e73: Waiting [2020-09-15T05:50:17.325Z] 4e634b169226: Waiting [2020-09-15T05:50:17.325Z] a92cc7c5fd73: Verifying Checksum [2020-09-15T05:50:17.325Z] a92cc7c5fd73: Download complete [2020-09-15T05:50:17.325Z] ed8968b2872e: Download complete [2020-09-15T05:50:17.325Z] e73272ec9a57: Verifying Checksum [2020-09-15T05:50:17.325Z] e73272ec9a57: Download complete [2020-09-15T05:50:17.325Z] 1e910a182e73: Download complete [2020-09-15T05:50:17.594Z] df20fa9351a1: Verifying Checksum [2020-09-15T05:50:17.594Z] df20fa9351a1: Download complete [2020-09-15T05:50:17.863Z] df20fa9351a1: Pull complete [2020-09-15T05:50:18.136Z] ed8968b2872e: Pull complete [2020-09-15T05:50:18.398Z] a92cc7c5fd73: Pull complete [2020-09-15T05:50:18.997Z] 4e634b169226: Verifying Checksum [2020-09-15T05:50:18.997Z] 4e634b169226: Download complete [2020-09-15T05:50:19.572Z] e871e8e8d7a9: Verifying Checksum [2020-09-15T05:50:19.572Z] e871e8e8d7a9: Download complete [2020-09-15T05:50:24.897Z] e871e8e8d7a9: Pull complete [2020-09-15T05:50:24.897Z] e73272ec9a57: Pull complete [2020-09-15T05:50:25.162Z] 1e910a182e73: Pull complete [2020-09-15T05:50:30.471Z] 4e634b169226: Pull complete [2020-09-15T05:50:30.471Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-15T05:50:30.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-15T05:50:30.471Z] ---> f7629b54cfaa [2020-09-15T05:50:30.471Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:50:30.471Z] ---> Running in 618d0ad2534d [2020-09-15T05:50:30.471Z] Removing intermediate container 618d0ad2534d [2020-09-15T05:50:30.471Z] ---> 405c5d9e6ebd [2020-09-15T05:50:30.471Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T05:50:30.471Z] ---> Running in 7310e78602ec [2020-09-15T05:50:31.425Z] Removing intermediate container 7310e78602ec [2020-09-15T05:50:31.425Z] ---> c5a3f2578959 [2020-09-15T05:50:31.425Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T05:50:31.690Z] ---> Running in 026122c4b47f [2020-09-15T05:50:32.637Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T05:50:33.215Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T05:50:33.793Z] OK: 166 MiB in 39 packages [2020-09-15T05:50:34.373Z] Removing intermediate container 026122c4b47f [2020-09-15T05:50:34.373Z] ---> 864f9ab3cb1f [2020-09-15T05:50:34.373Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T05:50:34.373Z] ---> Running in b59d1daeccaa [2020-09-15T05:50:34.373Z] Removing intermediate container b59d1daeccaa [2020-09-15T05:50:34.373Z] ---> 2fdf0c92efe8 [2020-09-15T05:50:34.373Z] Step 7/8 : COPY . . [2020-09-15T05:50:35.769Z] ---> 6d6c89041ce0 [2020-09-15T05:50:35.769Z] Step 8/8 : RUN go mod download [2020-09-15T05:50:35.769Z] ---> Running in 45af3bdb9714 [2020-09-15T05:50:48.024Z] Removing intermediate container 45af3bdb9714 [2020-09-15T05:50:48.024Z] ---> 163238f07d3f [2020-09-15T05:50:48.024Z] Successfully built 163238f07d3f [2020-09-15T05:50:48.024Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:50:48.875Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-15T05:50:48.875Z] . [Pipeline] withDockerContainer [2020-09-15T05:50:48.975Z] prd-centos7-docker-4c-2g-43236 does not seem to be running inside a container [2020-09-15T05:50:49.028Z] $ 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 ******** ci-base-image-x86_64 cat [2020-09-15T05:50:50.347Z] $ docker top ed09e572628c2c07e184c8f95b825fb104b3a29e062ac235731c253d6176d5b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T05:50:50.904Z] + go version [2020-09-15T05:50:50.904Z] go version go1.15.2 linux/amd64 [Pipeline] sh [2020-09-15T05:50:51.217Z] + make test [2020-09-15T05:50:51.217Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-15T05:50:51.808Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-15T05:51:01.960Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-15T05:51:01.960Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-15T05:51:01.960Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-15T05:51:01.960Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.015s coverage: 21.0% of statements [2020-09-15T05:51:01.960Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.055s coverage: 95.7% of statements [2020-09-15T05:51:34.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.012s coverage: 8.6% of statements [2020-09-15T05:51:34.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.011s coverage: 21.7% of statements [2020-09-15T05:51:34.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-15T05:51:34.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.019s coverage: 37.0% of statements [2020-09-15T05:51:34.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-15T05:51:34.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.029s coverage: 65.4% of statements [2020-09-15T05:51:34.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-15T05:51:34.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-15T05:51:34.178Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-15T05:51:34.178Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.046s coverage: 52.6% of statements [2020-09-15T05:51:34.178Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.061s coverage: 68.9% of statements [2020-09-15T05:51:34.178Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-15T05:51:34.178Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-15T05:51:34.178Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-15T05:51:34.178Z] gofmt -l . [2020-09-15T05:51:34.178Z] [ "`gofmt -l .`" = "" ] [2020-09-15T05:51:34.178Z] ./bin/test-attribution-txt.sh [2020-09-15T05:51:34.752Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-15T05:51:35.138Z] Stashed 1 file(s) [Pipeline] } [2020-09-15T05:51:35.146Z] $ docker stop --time=1 ed09e572628c2c07e184c8f95b825fb104b3a29e062ac235731c253d6176d5b1 [2020-09-15T05:51:36.673Z] $ docker rm -f ed09e572628c2c07e184c8f95b825fb104b3a29e062ac235731c253d6176d5b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T05:51:38.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T05:51:38.675Z] + ls -al . [2020-09-15T05:51:38.675Z] total 188 [2020-09-15T05:51:38.675Z] drwxrwxr-x. 11 jenkins jenkins 4096 Sep 15 05:51 . [2020-09-15T05:51:38.675Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 15 05:50 .. [2020-09-15T05:51:38.675Z] drwxrwxr-x. 2 jenkins jenkins 64 Sep 15 05:50 bin [2020-09-15T05:51:38.675Z] -rw-r--r--. 1 jenkins jenkins 111650 Sep 15 05:51 coverage.out [2020-09-15T05:51:38.675Z] -rw-rw-r--. 1 jenkins jenkins 936 Sep 15 05:50 Dockerfile.build [2020-09-15T05:51:38.675Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 15 05:50 .dockerignore [2020-09-15T05:51:38.675Z] drwxrwxr-x. 4 jenkins jenkins 48 Sep 15 05:50 example [2020-09-15T05:51:38.675Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 15 05:50 .git [2020-09-15T05:51:38.675Z] drwxrwxr-x. 2 jenkins jenkins 60 Sep 15 05:50 .github [2020-09-15T05:51:38.675Z] -rw-rw-r--. 1 jenkins jenkins 138 Sep 15 05:50 .gitignore [2020-09-15T05:51:38.675Z] -rw-r--r--. 1 jenkins jenkins 446 Sep 15 05:51 go.mod [2020-09-15T05:51:38.675Z] -rw-r--r--. 1 jenkins jenkins 12264 Sep 15 05:51 go.sum [2020-09-15T05:51:38.675Z] drwxrwxr-x. 13 jenkins jenkins 184 Sep 15 05:50 internal [2020-09-15T05:51:38.676Z] -rw-rw-r--. 1 jenkins jenkins 785 Sep 15 05:50 Jenkinsfile [2020-09-15T05:51:38.676Z] -rw-rw-r--. 1 jenkins jenkins 11341 Sep 15 05:50 LICENSE [2020-09-15T05:51:38.676Z] -rw-rw-r--. 1 jenkins jenkins 892 Sep 15 05:50 Makefile [2020-09-15T05:51:38.676Z] drwxrwxr-x. 4 jenkins jenkins 26 Sep 15 05:50 openapi [2020-09-15T05:51:38.676Z] drwxrwxr-x. 5 jenkins jenkins 50 Sep 15 05:50 pkg [2020-09-15T05:51:38.676Z] -rw-rw-r--. 1 jenkins jenkins 5897 Sep 15 05:50 README.md [2020-09-15T05:51:38.676Z] -rw-rw-r--. 1 jenkins jenkins 4291 Sep 15 05:50 RELEASE-NOTES.txt [2020-09-15T05:51:38.676Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 15 05:50 .semver [2020-09-15T05:51:38.676Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 15 05:50 snap [2020-09-15T05:51:38.676Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 15 05:49 VERSION [2020-09-15T05:51:38.676Z] -rw-rw-r--. 1 jenkins jenkins 222 Sep 15 05:50 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:51:38.982Z] + 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=7c4fc9e11bc1963993f34e0359c29400a823dc74 --label arch=amd64 --label version=0.0.0 . [2020-09-15T05:51:39.244Z] Sending build context to Docker daemon 3.26MB [2020-09-15T05:51:39.244Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-15T05:51:39.244Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T05:51:39.244Z] ---> 163238f07d3f [2020-09-15T05:51:39.244Z] Step 3/24 : ARG MAKE='make build' [2020-09-15T05:51:39.509Z] ---> Running in ef0562676496 [2020-09-15T05:51:39.509Z] Removing intermediate container ef0562676496 [2020-09-15T05:51:39.509Z] ---> 70d24cb6ab4e [2020-09-15T05:51:39.509Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-15T05:51:39.770Z] ---> Running in 69d35f160b80 [2020-09-15T05:51:39.770Z] Removing intermediate container 69d35f160b80 [2020-09-15T05:51:39.770Z] ---> 7a1e1f29830f [2020-09-15T05:51:39.770Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:51:39.770Z] ---> Running in 4ee4be9b4a69 [2020-09-15T05:51:40.032Z] Removing intermediate container 4ee4be9b4a69 [2020-09-15T05:51:40.032Z] ---> 103a5d9db953 [2020-09-15T05:51:40.032Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T05:51:40.032Z] ---> Running in 61d99963dbfc [2020-09-15T05:51:40.985Z] Removing intermediate container 61d99963dbfc [2020-09-15T05:51:40.985Z] ---> 426b61958dc8 [2020-09-15T05:51:40.985Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T05:51:41.252Z] ---> Running in 3c1669018bda [2020-09-15T05:51:41.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-15T05:51:42.402Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-15T05:51:42.669Z] OK: 166 MiB in 39 packages [2020-09-15T05:51:43.250Z] Removing intermediate container 3c1669018bda [2020-09-15T05:51:43.250Z] ---> b634a1dde14f [2020-09-15T05:51:43.250Z] Step 8/24 : COPY . . [2020-09-15T05:51:44.204Z] ---> 42425b4f147f [2020-09-15T05:51:44.204Z] Step 9/24 : RUN ${MAKE} [2020-09-15T05:51:44.204Z] ---> Running in 43eb8bbf12f4 [2020-09-15T05:51:44.783Z] 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-15T05:51:53.043Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T05:51:53.989Z] Removing intermediate container 43eb8bbf12f4 [2020-09-15T05:51:53.989Z] ---> 6a6e3795b383 [2020-09-15T05:51:53.989Z] Step 10/24 : FROM scratch [2020-09-15T05:51:53.989Z] ---> [2020-09-15T05:51:53.989Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:51:53.989Z] ---> Running in 5e406ab2c852 [2020-09-15T05:51:53.989Z] Removing intermediate container 5e406ab2c852 [2020-09-15T05:51:53.989Z] ---> 8fe215ad8273 [2020-09-15T05:51:53.989Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T05:51:53.989Z] ---> Running in ca51f87fbf8b [2020-09-15T05:51:54.255Z] Removing intermediate container ca51f87fbf8b [2020-09-15T05:51:54.255Z] ---> 7cfc46b7a154 [2020-09-15T05:51:54.255Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T05:51:54.255Z] ---> Running in 7bd67c8bf919 [2020-09-15T05:51:54.829Z] Removing intermediate container 7bd67c8bf919 [2020-09-15T05:51:54.829Z] ---> b413e9164b23 [2020-09-15T05:51:54.829Z] Step 14/24 : WORKDIR / [2020-09-15T05:51:54.829Z] ---> Running in 4b993bd284d4 [2020-09-15T05:51:55.091Z] Removing intermediate container 4b993bd284d4 [2020-09-15T05:51:55.091Z] ---> 5bb91b933416 [2020-09-15T05:51:55.091Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T05:51:55.664Z] ---> 0e69c996ef02 [2020-09-15T05:51:55.664Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T05:51:55.926Z] ---> 7efae65ccc4a [2020-09-15T05:51:55.926Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T05:51:55.926Z] ---> 38c9885c92e8 [2020-09-15T05:51:55.926Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T05:51:56.192Z] ---> f349c25bb157 [2020-09-15T05:51:56.192Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T05:51:56.454Z] ---> be0ea7f37235 [2020-09-15T05:51:56.454Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T05:51:56.454Z] ---> Running in aef999814567 [2020-09-15T05:51:56.716Z] Removing intermediate container aef999814567 [2020-09-15T05:51:56.716Z] ---> 1ed537b4842a [2020-09-15T05:51:56.716Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T05:51:56.716Z] ---> Running in bcf2d92655c6 [2020-09-15T05:51:56.979Z] Removing intermediate container bcf2d92655c6 [2020-09-15T05:51:56.980Z] ---> 4be4ded50d41 [2020-09-15T05:51:56.980Z] Step 22/24 : LABEL arch=amd64 [2020-09-15T05:51:56.980Z] ---> Running in eb932f6317c7 [2020-09-15T05:51:57.241Z] Removing intermediate container eb932f6317c7 [2020-09-15T05:51:57.241Z] ---> 07eeb329a0c4 [2020-09-15T05:51:57.241Z] Step 23/24 : LABEL git_sha=7c4fc9e11bc1963993f34e0359c29400a823dc74 [2020-09-15T05:51:57.241Z] ---> Running in 128d4b05ece4 [2020-09-15T05:51:57.241Z] Removing intermediate container 128d4b05ece4 [2020-09-15T05:51:57.241Z] ---> 92796932685c [2020-09-15T05:51:57.241Z] Step 24/24 : LABEL version=0.0.0 [2020-09-15T05:51:57.504Z] ---> Running in 4c304f93ebdf [2020-09-15T05:51:57.504Z] Removing intermediate container 4c304f93ebdf [2020-09-15T05:51:57.504Z] ---> aa6ab25048f7 [2020-09-15T05:51:57.504Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T05:51:57.504Z] Successfully built aa6ab25048f7 [2020-09-15T05:51:57.504Z] 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-15T05:52:24.939Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43240 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-09-15T05:52:24.992Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2020-09-15T05:52:30.115Z] using credential edgex-jenkins-ssh [2020-09-15T05:52:30.242Z] Cloning the remote Git repository [2020-09-15T05:52:30.242Z] Cloning with configured refspecs honoured and without tags [2020-09-15T05:52:30.303Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:52:30.414Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2020-09-15T05:52:30.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:52:30.490Z] > git --version # timeout=10 [2020-09-15T05:52:30.512Z] > git --version # 'git version 2.17.1' [2020-09-15T05:52:30.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:52:30.596Z] > 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-15T05:52:31.733Z] Fetching without tags [2020-09-15T05:52:32.290Z] Merging remotes/origin/master commit 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb into PR head commit 99cc20d3fefe63c1958a21752eb6170408da4892 [2020-09-15T05:52:31.633Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T05:52:31.666Z] > git config --add remote.origin.fetch +refs/pull/584/head:refs/remotes/origin/PR-584 # timeout=10 [2020-09-15T05:52:31.686Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-15T05:52:31.714Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-09-15T05:52:31.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-09-15T05:52:31.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:52:31.760Z] > 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-15T05:52:32.310Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T05:52:32.327Z] > git checkout -f 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 [2020-09-15T05:52:32.756Z] Merge succeeded, producing 8e70c14953444cb6e7dbce836b18085ead958059 [2020-09-15T05:52:32.757Z] Checking out Revision 8e70c14953444cb6e7dbce836b18085ead958059 (PR-584) [2020-09-15T05:52:32.531Z] > git remote # timeout=10 [2020-09-15T05:52:32.568Z] > git config --get remote.origin.url # timeout=10 [2020-09-15T05:52:32.617Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-15T05:52:32.636Z] > git merge 3453c8bcbae7db027b2f999f18fb2d5ddccd55eb # timeout=10 [2020-09-15T05:52:32.738Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-15T05:52:32.766Z] > git config core.sparsecheckout # timeout=10 [2020-09-15T05:52:32.786Z] > git checkout -f 8e70c14953444cb6e7dbce836b18085ead958059 # timeout=10 [2020-09-15T05:52:37.175Z] Commit message: "Merge commit '3453c8bcbae7db027b2f999f18fb2d5ddccd55eb' into HEAD" [2020-09-15T05:52:37.187Z] > git rev-list --no-walk 99cc20d3fefe63c1958a21752eb6170408da4892 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-15T05:52:38.477Z] ========================================================= [2020-09-15T05:52:38.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-15T05:52:38.478Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:52:40.750Z] + 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-15T05:52:41.745Z] Sending build context to Docker daemon 3.144MB [2020-09-15T05:52:41.745Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-15T05:52:41.745Z] Step 2/8 : FROM ${BASE} [2020-09-15T05:52:42.020Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-15T05:52:42.020Z] b538f80385f9: Pulling fs layer [2020-09-15T05:52:42.020Z] 74f711af9a0d: Pulling fs layer [2020-09-15T05:52:42.020Z] 99f96fe45779: Pulling fs layer [2020-09-15T05:52:42.020Z] 8529a6b9a6be: Pulling fs layer [2020-09-15T05:52:42.020Z] 45590311c82a: Pulling fs layer [2020-09-15T05:52:42.020Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-15T05:52:42.020Z] 209524e5b208: Pulling fs layer [2020-09-15T05:52:42.020Z] 8529a6b9a6be: Waiting [2020-09-15T05:52:42.020Z] 45590311c82a: Waiting [2020-09-15T05:52:42.020Z] 69ca0ff8b7b3: Waiting [2020-09-15T05:52:42.020Z] 209524e5b208: Waiting [2020-09-15T05:52:42.020Z] 99f96fe45779: Verifying Checksum [2020-09-15T05:52:42.020Z] 99f96fe45779: Download complete [2020-09-15T05:52:42.020Z] 74f711af9a0d: Download complete [2020-09-15T05:52:42.620Z] 45590311c82a: Verifying Checksum [2020-09-15T05:52:42.620Z] 45590311c82a: Download complete [2020-09-15T05:52:42.620Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-15T05:52:42.620Z] 69ca0ff8b7b3: Download complete [2020-09-15T05:52:42.899Z] b538f80385f9: Verifying Checksum [2020-09-15T05:52:42.899Z] b538f80385f9: Download complete [2020-09-15T05:52:43.506Z] b538f80385f9: Pull complete [2020-09-15T05:52:44.113Z] 74f711af9a0d: Pull complete [2020-09-15T05:52:44.389Z] 99f96fe45779: Pull complete [2020-09-15T05:52:45.375Z] 209524e5b208: Verifying Checksum [2020-09-15T05:52:45.376Z] 209524e5b208: Download complete [2020-09-15T05:52:46.364Z] 8529a6b9a6be: Verifying Checksum [2020-09-15T05:52:46.364Z] 8529a6b9a6be: Download complete [2020-09-15T05:52:56.552Z] 8529a6b9a6be: Pull complete [2020-09-15T05:52:56.829Z] 45590311c82a: Pull complete [2020-09-15T05:52:57.430Z] 69ca0ff8b7b3: Pull complete [2020-09-15T05:53:00.844Z] 209524e5b208: Pull complete [2020-09-15T05:53:00.844Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-15T05:53:00.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-15T05:53:00.844Z] ---> 5bddaf1c2fca [2020-09-15T05:53:00.844Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:53:04.280Z] ---> Running in 16a8d7d705f4 [2020-09-15T05:53:04.280Z] Removing intermediate container 16a8d7d705f4 [2020-09-15T05:53:04.280Z] ---> 4fbf54d0dcc3 [2020-09-15T05:53:04.280Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T05:53:04.280Z] ---> Running in 09a4c6f297b0 [2020-09-15T05:53:06.932Z] Removing intermediate container 09a4c6f297b0 [2020-09-15T05:53:06.932Z] ---> 1658e389ddbf [2020-09-15T05:53:06.932Z] Step 5/8 : RUN apk add --no-cache make git [2020-09-15T05:53:07.213Z] ---> Running in 190f15ae0620 [2020-09-15T05:53:08.665Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T05:53:09.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T05:53:10.246Z] OK: 142 MiB in 39 packages [2020-09-15T05:53:11.234Z] Removing intermediate container 190f15ae0620 [2020-09-15T05:53:11.234Z] ---> c98b8aa0953e [2020-09-15T05:53:11.234Z] Step 6/8 : WORKDIR /device-sdk-go [2020-09-15T05:53:11.511Z] ---> Running in 0bfba62a6ecb [2020-09-15T05:53:11.786Z] Removing intermediate container 0bfba62a6ecb [2020-09-15T05:53:11.786Z] ---> e56b664e0213 [2020-09-15T05:53:11.786Z] Step 7/8 : COPY . . [2020-09-15T05:53:13.258Z] ---> 21f40572521e [2020-09-15T05:53:13.258Z] Step 8/8 : RUN go mod download [2020-09-15T05:53:13.543Z] ---> Running in 0473f8821558 [2020-09-15T05:53:28.658Z] Removing intermediate container 0473f8821558 [2020-09-15T05:53:28.658Z] ---> 30b4a11ccda8 [2020-09-15T05:53:28.658Z] Successfully built 30b4a11ccda8 [2020-09-15T05:53:28.658Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:53:29.446Z] + docker inspect -f . ci-base-image-arm64 [2020-09-15T05:53:29.446Z] . [Pipeline] withDockerContainer [2020-09-15T05:53:29.690Z] prd-ubuntu18.04-docker-arm64-4c-16g-43240 does not seem to be running inside a container [2020-09-15T05:53:29.775Z] $ 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 ******** ci-base-image-arm64 cat [2020-09-15T05:53:31.505Z] $ docker top adda447fdf88a572a19d9572b9f15a36054be048e180d1972f7f469b17cff3ae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T05:53:32.877Z] + go version [2020-09-15T05:53:32.877Z] go version go1.15.2 linux/arm64 [Pipeline] sh [2020-09-15T05:53:33.918Z] + make test [2020-09-15T05:53:33.918Z] CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... [2020-09-15T05:53:34.900Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-09-15T05:54:07.324Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-09-15T05:54:07.324Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-09-15T05:54:07.324Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-09-15T05:54:07.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.014s coverage: 21.0% of statements [2020-09-15T05:54:07.324Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.148s coverage: 95.7% of statements [2020-09-15T05:54:39.659Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.037s coverage: 8.6% of statements [2020-09-15T05:54:39.659Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.013s coverage: 21.7% of statements [2020-09-15T05:54:39.659Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-09-15T05:54:39.659Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.075s coverage: 37.0% of statements [2020-09-15T05:54:39.660Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-09-15T05:54:39.660Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.142s coverage: 65.4% of statements [2020-09-15T05:54:39.660Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-09-15T05:54:39.660Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-09-15T05:54:39.660Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-09-15T05:54:39.660Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.044s coverage: 52.6% of statements [2020-09-15T05:54:39.660Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 0.262s coverage: 68.9% of statements [2020-09-15T05:54:39.660Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-09-15T05:54:39.660Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-09-15T05:54:39.660Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-15T05:54:42.295Z] gofmt -l . [2020-09-15T05:54:42.567Z] [ "`gofmt -l .`" = "" ] [2020-09-15T05:54:42.842Z] ./bin/test-attribution-txt.sh [2020-09-15T05:54:43.438Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-15T05:54:44.052Z] Warning: overwriting stash ‘coverage-report’ [2020-09-15T05:54:44.821Z] Stashed 1 file(s) [Pipeline] } [2020-09-15T05:54:44.829Z] $ docker stop --time=1 adda447fdf88a572a19d9572b9f15a36054be048e180d1972f7f469b17cff3ae [2020-09-15T05:54:46.882Z] $ docker rm -f adda447fdf88a572a19d9572b9f15a36054be048e180d1972f7f469b17cff3ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-15T05:54:48.435Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-15T05:54:48.802Z] + ls -al . [2020-09-15T05:54:48.802Z] total 228 [2020-09-15T05:54:48.802Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 15 05:54 . [2020-09-15T05:54:48.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:52 .. [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 15 05:52 .dockerignore [2020-09-15T05:54:48.802Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 05:52 .git [2020-09-15T05:54:48.802Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:52 .github [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 138 Sep 15 05:52 .gitignore [2020-09-15T05:54:48.802Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 05:52 .semver [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 936 Sep 15 05:52 Dockerfile.build [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 785 Sep 15 05:52 Jenkinsfile [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 15 05:52 LICENSE [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 892 Sep 15 05:52 Makefile [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 5897 Sep 15 05:52 README.md [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 4291 Sep 15 05:52 RELEASE-NOTES.txt [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 15 05:49 VERSION [2020-09-15T05:54:48.802Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 05:52 bin [2020-09-15T05:54:48.802Z] -rw-r--r-- 1 jenkins jenkins 111650 Sep 15 05:54 coverage.out [2020-09-15T05:54:48.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:52 example [2020-09-15T05:54:48.802Z] -rw-r--r-- 1 jenkins jenkins 446 Sep 15 05:54 go.mod [2020-09-15T05:54:48.802Z] -rw-r--r-- 1 jenkins jenkins 12264 Sep 15 05:54 go.sum [2020-09-15T05:54:48.802Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 15 05:52 internal [2020-09-15T05:54:48.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:52 openapi [2020-09-15T05:54:48.802Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 15 05:52 pkg [2020-09-15T05:54:48.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 05:52 snap [2020-09-15T05:54:48.802Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 15 05:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:54:49.158Z] + 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=7c4fc9e11bc1963993f34e0359c29400a823dc74 --label arch=arm64 --label version=0.0.0 . [2020-09-15T05:54:49.754Z] Sending build context to Docker daemon 3.258MB [2020-09-15T05:54:49.754Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-09-15T05:54:49.754Z] Step 2/24 : FROM ${BASE} AS builder [2020-09-15T05:54:49.754Z] ---> 30b4a11ccda8 [2020-09-15T05:54:49.754Z] Step 3/24 : ARG MAKE='make build' [2020-09-15T05:54:50.026Z] ---> Running in ee3053048233 [2020-09-15T05:54:50.298Z] Removing intermediate container ee3053048233 [2020-09-15T05:54:50.298Z] ---> 3f2066e0b57f [2020-09-15T05:54:50.298Z] Step 4/24 : WORKDIR /device-sdk-go [2020-09-15T05:54:50.571Z] ---> Running in 676b62274e5d [2020-09-15T05:54:50.846Z] Removing intermediate container 676b62274e5d [2020-09-15T05:54:50.846Z] ---> 19b989d2c663 [2020-09-15T05:54:50.846Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:54:51.121Z] ---> Running in 46b0c8999d8b [2020-09-15T05:54:51.394Z] Removing intermediate container 46b0c8999d8b [2020-09-15T05:54:51.394Z] ---> 1c786f5576b0 [2020-09-15T05:54:51.394Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-15T05:54:51.666Z] ---> Running in 6d023ea43d10 [2020-09-15T05:54:54.291Z] Removing intermediate container 6d023ea43d10 [2020-09-15T05:54:54.291Z] ---> 0e6b83de826d [2020-09-15T05:54:54.291Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-09-15T05:54:54.291Z] ---> Running in 6005dc4d6340 [2020-09-15T05:54:55.724Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-15T05:54:56.314Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-15T05:54:57.294Z] OK: 142 MiB in 39 packages [2020-09-15T05:54:58.271Z] Removing intermediate container 6005dc4d6340 [2020-09-15T05:54:58.271Z] ---> ddb85c6b44ee [2020-09-15T05:54:58.271Z] Step 8/24 : COPY . . [2020-09-15T05:54:59.706Z] ---> 9c50385ffac4 [2020-09-15T05:54:59.706Z] Step 9/24 : RUN ${MAKE} [2020-09-15T05:54:59.706Z] ---> Running in 8f4f29b22c9f [2020-09-15T05:55:01.146Z] 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-15T05:55:23.317Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-09-15T05:55:25.943Z] Removing intermediate container 8f4f29b22c9f [2020-09-15T05:55:25.943Z] ---> 288997ed1120 [2020-09-15T05:55:25.943Z] Step 10/24 : FROM scratch [2020-09-15T05:55:25.943Z] ---> [2020-09-15T05:55:25.943Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-09-15T05:55:25.943Z] ---> Running in 85b09b2fd8e4 [2020-09-15T05:55:25.943Z] Removing intermediate container 85b09b2fd8e4 [2020-09-15T05:55:25.943Z] ---> d7e0364058e5 [2020-09-15T05:55:25.943Z] Step 12/24 : ENV APP_PORT=49990 [2020-09-15T05:55:26.222Z] ---> Running in 009ab68b192c [2020-09-15T05:55:26.493Z] Removing intermediate container 009ab68b192c [2020-09-15T05:55:26.493Z] ---> 682eb7c61c23 [2020-09-15T05:55:26.493Z] Step 13/24 : EXPOSE $APP_PORT [2020-09-15T05:55:26.766Z] ---> Running in 3aabc69077f6 [2020-09-15T05:55:27.036Z] Removing intermediate container 3aabc69077f6 [2020-09-15T05:55:27.037Z] ---> 6a4fe4eca584 [2020-09-15T05:55:27.037Z] Step 14/24 : WORKDIR / [2020-09-15T05:55:27.037Z] ---> Running in aa3670f30f9b [2020-09-15T05:55:27.626Z] Removing intermediate container aa3670f30f9b [2020-09-15T05:55:27.626Z] ---> f1826aefdad4 [2020-09-15T05:55:27.626Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-09-15T05:55:28.603Z] ---> e04aa1617cf2 [2020-09-15T05:55:28.603Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-09-15T05:55:29.195Z] ---> 7fae579742ba [2020-09-15T05:55:29.195Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-09-15T05:55:30.172Z] ---> a5eb8b253a38 [2020-09-15T05:55:30.172Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-09-15T05:55:30.771Z] ---> eb0a51c51fbf [2020-09-15T05:55:30.771Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-09-15T05:55:31.436Z] ---> a191d04018fc [2020-09-15T05:55:31.436Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-09-15T05:55:31.436Z] ---> Running in e330884154ba [2020-09-15T05:55:32.031Z] Removing intermediate container e330884154ba [2020-09-15T05:55:32.031Z] ---> 9b95e01611f2 [2020-09-15T05:55:32.031Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-15T05:55:32.031Z] ---> Running in bd02d65499b5 [2020-09-15T05:55:32.630Z] Removing intermediate container bd02d65499b5 [2020-09-15T05:55:32.630Z] ---> df06252a41d0 [2020-09-15T05:55:32.630Z] Step 22/24 : LABEL arch=arm64 [2020-09-15T05:55:32.630Z] ---> Running in 64e50117742c [2020-09-15T05:55:33.224Z] Removing intermediate container 64e50117742c [2020-09-15T05:55:33.224Z] ---> b1eaa8779602 [2020-09-15T05:55:33.224Z] Step 23/24 : LABEL git_sha=7c4fc9e11bc1963993f34e0359c29400a823dc74 [2020-09-15T05:55:33.224Z] ---> Running in 1cec322d30c5 [2020-09-15T05:55:33.498Z] Removing intermediate container 1cec322d30c5 [2020-09-15T05:55:33.498Z] ---> f4d5fc0b9185 [2020-09-15T05:55:33.498Z] Step 24/24 : LABEL version=0.0.0 [2020-09-15T05:55:33.770Z] ---> Running in eefb19b0d7b5 [2020-09-15T05:55:34.044Z] Removing intermediate container eefb19b0d7b5 [2020-09-15T05:55:34.044Z] ---> 1515baf82b3c [2020-09-15T05:55:34.044Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-15T05:55:34.316Z] Successfully built 1515baf82b3c [2020-09-15T05:55:34.316Z] 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-15T05:55:36.665Z] provisioning config files... [2020-09-15T05:55:36.690Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config6965319895679120563tmp [Pipeline] { [Pipeline] sh [2020-09-15T05:55:37.108Z] + curl -s https://codecov.io/bash [2020-09-15T05:55:37.108Z] + bash -s - -t @/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config6965319895679120563tmp [Pipeline] } [2020-09-15T05:55:37.403Z] 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-15T05:55:39.919Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:55:40.947Z] ---> package-listing.sh [2020-09-15T05:55:40.947Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-15T05:55:40.947Z] ++ facter osfamily [2020-09-15T05:55:40.947Z] + OS_FAMILY=redhat [2020-09-15T05:55:40.947Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-09-15T05:55:40.947Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-15T05:55:40.947Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-15T05:55:40.947Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-15T05:55:40.947Z] + PACKAGES=/tmp/packages_start.txt [2020-09-15T05:55:40.947Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-09-15T05:55:40.947Z] + PACKAGES=/tmp/packages_end.txt [2020-09-15T05:55:40.947Z] + case "${OS_FAMILY}" in [2020-09-15T05:55:40.947Z] + rpm -qa [2020-09-15T05:55:40.947Z] + sort [2020-09-15T05:55:46.423Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-15T05:55:46.423Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-15T05:55:46.423Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-15T05:55:46.423Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-09-15T05:55:46.423Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-09-15T05:55:46.423Z] + 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-15T05:55:47.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T05:55:47.629Z] [2020-09-15T05:55:47.629Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-15T05:55:48.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T05:55:48.720Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-15T05:55:48.720Z] df20fa9351a1: Pulling fs layer [2020-09-15T05:55:48.720Z] 36b3adc4ff6f: Pulling fs layer [2020-09-15T05:55:48.720Z] 8ad3a11d3b57: Pulling fs layer [2020-09-15T05:55:48.720Z] 46f8f816bc3b: Pulling fs layer [2020-09-15T05:55:48.720Z] 0dadc02b9964: Pulling fs layer [2020-09-15T05:55:48.720Z] ce6a7cf60c04: Pulling fs layer [2020-09-15T05:55:48.720Z] 7a184a31f384: Pulling fs layer [2020-09-15T05:55:48.720Z] 0879bd2ef858: Pulling fs layer [2020-09-15T05:55:48.720Z] 0dadc02b9964: Waiting [2020-09-15T05:55:48.720Z] ce6a7cf60c04: Waiting [2020-09-15T05:55:48.720Z] 0879bd2ef858: Waiting [2020-09-15T05:55:48.720Z] 7a184a31f384: Waiting [2020-09-15T05:55:48.720Z] 36b3adc4ff6f: Download complete [2020-09-15T05:55:48.720Z] 46f8f816bc3b: Verifying Checksum [2020-09-15T05:55:48.720Z] 46f8f816bc3b: Download complete [2020-09-15T05:55:49.022Z] df20fa9351a1: Verifying Checksum [2020-09-15T05:55:49.022Z] df20fa9351a1: Download complete [2020-09-15T05:55:49.022Z] 0dadc02b9964: Verifying Checksum [2020-09-15T05:55:49.022Z] 0dadc02b9964: Download complete [2020-09-15T05:55:49.316Z] ce6a7cf60c04: Download complete [2020-09-15T05:55:49.316Z] 7a184a31f384: Verifying Checksum [2020-09-15T05:55:49.316Z] 7a184a31f384: Download complete [2020-09-15T05:55:49.613Z] 8ad3a11d3b57: Verifying Checksum [2020-09-15T05:55:49.613Z] 8ad3a11d3b57: Download complete [2020-09-15T05:55:49.613Z] df20fa9351a1: Pull complete [2020-09-15T05:55:50.234Z] 36b3adc4ff6f: Pull complete [2020-09-15T05:55:51.327Z] 8ad3a11d3b57: Pull complete [2020-09-15T05:55:51.992Z] 46f8f816bc3b: Pull complete [2020-09-15T05:55:52.335Z] 0879bd2ef858: Verifying Checksum [2020-09-15T05:55:52.335Z] 0879bd2ef858: Download complete [2020-09-15T05:55:52.335Z] 0dadc02b9964: Pull complete [2020-09-15T05:55:52.617Z] ce6a7cf60c04: Pull complete [2020-09-15T05:55:52.617Z] 7a184a31f384: Pull complete [2020-09-15T05:55:57.142Z] 0879bd2ef858: Pull complete [2020-09-15T05:55:57.142Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-15T05:55:57.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-15T05:55:57.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-15T05:55:57.369Z] prd-centos7-docker-4c-2g-43227 does not seem to be running inside a container [2020-09-15T05:55:57.474Z] $ 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-15T05:56:03.206Z] $ docker top af2cfde552d24fca6d26d3cbb3fd132a1518a5ea55743a0b4f711af0618e841a -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-15T05:56:03.772Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-15T05:56:04.087Z] + ls /var/log/sa-host [2020-09-15T05:56:04.087Z] + sadf -c /var/log/sa-host/sa05 [2020-09-15T05:56:04.087Z] file_magic: OK [2020-09-15T05:56:04.087Z] HZ: Using current value: 100 [2020-09-15T05:56:04.087Z] file_header: OK [2020-09-15T05:56:04.087Z] 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-15T05:56:04.087Z] Statistics: [2020-09-15T05:56:04.087Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T05:56:04.087Z] File successfully converted to sysstat format version 12.2.1 [2020-09-15T05:56:04.087Z] + sadf -c /var/log/sa-host/sa15 [2020-09-15T05:56:04.087Z] file_magic: OK [2020-09-15T05:56:04.087Z] HZ: Using current value: 100 [2020-09-15T05:56:04.087Z] file_header: OK [2020-09-15T05:56:04.087Z] 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-15T05:56:04.087Z] Statistics: [2020-09-15T05:56:04.087Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-15T05:56:04.087Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-15T05:56:04.152Z] provisioning config files... [2020-09-15T05:56:04.174Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3928514612892765166tmp [Pipeline] { [Pipeline] echo [2020-09-15T05:56:04.246Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:56:04.574Z] ---> create-netrc.sh [Pipeline] echo [2020-09-15T05:56:04.587Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-15T05:56:04.896Z] ---> logs-deploy.sh [2020-09-15T05:56:04.896Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/2 [2020-09-15T05:56:04.896Z] INFO: archiving workspace using pattern(s): [2020-09-15T05:56:07.020Z] Archives upload complete. [2020-09-15T05:56:07.020Z] INFO: archiving logs to Nexus [2020-09-15T05:56:09.270Z] ---> uname -a: [2020-09-15T05:56:09.270Z] Linux af2cfde552d2 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 Linux [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] ---> lscpu: [2020-09-15T05:56:09.270Z] Architecture: x86_64 [2020-09-15T05:56:09.270Z] CPU op-mode(s): 32-bit, 64-bit [2020-09-15T05:56:09.270Z] Byte Order: Little Endian [2020-09-15T05:56:09.270Z] Address sizes: 40 bits physical, 48 bits virtual [2020-09-15T05:56:09.270Z] CPU(s): 4 [2020-09-15T05:56:09.270Z] On-line CPU(s) list: 0-3 [2020-09-15T05:56:09.270Z] Thread(s) per core: 1 [2020-09-15T05:56:09.270Z] Core(s) per socket: 1 [2020-09-15T05:56:09.270Z] Socket(s): 4 [2020-09-15T05:56:09.270Z] NUMA node(s): 1 [2020-09-15T05:56:09.270Z] Vendor ID: GenuineIntel [2020-09-15T05:56:09.270Z] CPU family: 6 [2020-09-15T05:56:09.270Z] Model: 44 [2020-09-15T05:56:09.270Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2020-09-15T05:56:09.270Z] Stepping: 1 [2020-09-15T05:56:09.270Z] CPU MHz: 2933.438 [2020-09-15T05:56:09.270Z] BogoMIPS: 5866.87 [2020-09-15T05:56:09.270Z] Virtualization: VT-x [2020-09-15T05:56:09.270Z] Hypervisor vendor: KVM [2020-09-15T05:56:09.270Z] Virtualization type: full [2020-09-15T05:56:09.270Z] L1d cache: 128 KiB [2020-09-15T05:56:09.270Z] L1i cache: 128 KiB [2020-09-15T05:56:09.270Z] L2 cache: 16 MiB [2020-09-15T05:56:09.270Z] L3 cache: 64 MiB [2020-09-15T05:56:09.270Z] NUMA node0 CPU(s): 0-3 [2020-09-15T05:56:09.270Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2020-09-15T05:56:09.270Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2020-09-15T05:56:09.270Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2020-09-15T05:56:09.270Z] Vulnerability Meltdown: Mitigation; PTI [2020-09-15T05:56:09.270Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2020-09-15T05:56:09.270Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2020-09-15T05:56:09.270Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2020-09-15T05:56:09.270Z] Vulnerability Tsx async abort: Not affected [2020-09-15T05:56:09.270Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] ---> nproc: [2020-09-15T05:56:09.270Z] 4 [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] ---> df -h: [2020-09-15T05:56:09.270Z] Filesystem Size Used Available Use% Mounted on [2020-09-15T05:56:09.270Z] overlay 50.0G 7.0G 43.0G 14% / [2020-09-15T05:56:09.270Z] tmpfs 64.0M 0 64.0M 0% /dev [2020-09-15T05:56:09.270Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2020-09-15T05:56:09.270Z] shm 64.0M 0 64.0M 0% /dev/shm [2020-09-15T05:56:09.270Z] /dev/vda1 50.0G 7.0G 43.0G 14% /etc/resolv.conf [2020-09-15T05:56:09.270Z] /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hostname [2020-09-15T05:56:09.270Z] /dev/vda1 50.0G 7.0G 43.0G 14% /etc/hosts [2020-09-15T05:56:09.270Z] /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp [2020-09-15T05:56:09.270Z] /dev/vda1 50.0G 7.0G 43.0G 14% /var/log/sa-host [2020-09-15T05:56:09.270Z] /dev/vda1 50.0G 7.0G 43.0G 14% /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] ---> free -m: [2020-09-15T05:56:09.270Z] total used free shared buff/cache available [2020-09-15T05:56:09.270Z] Mem: 1837 616 117 0 1103 1114 [2020-09-15T05:56:09.270Z] Swap: 1023 1 1022 [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] ---> ip addr: [2020-09-15T05:56:09.270Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2020-09-15T05:56:09.270Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2020-09-15T05:56:09.270Z] inet 127.0.0.1/8 scope host lo [2020-09-15T05:56:09.270Z] valid_lft forever preferred_lft forever [2020-09-15T05:56:09.270Z] 6: eth0@if7: mtu 1458 qdisc noqueue state UP [2020-09-15T05:56:09.270Z] link/ether 02:42:0a:fa:00:01 brd ff:ff:ff:ff:ff:ff [2020-09-15T05:56:09.270Z] inet 10.250.0.1/24 brd 10.250.0.255 scope global eth0 [2020-09-15T05:56:09.270Z] valid_lft forever preferred_lft forever [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] ---> sar -b -r -n DEV: [2020-09-15T05:56:09.270Z] Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/15/20 _x86_64_ (4 CPU) [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] 05:47:09 LINUX RESTART (4 CPU) [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] 05:48:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2020-09-15T05:56:09.270Z] 05:49:01 142.24 71.49 70.75 0.00 5612.55 38731.95 0.00 [2020-09-15T05:56:09.270Z] 05:50:01 25.86 9.15 16.71 0.00 4201.83 2009.88 0.00 [2020-09-15T05:56:09.270Z] 05:51:01 1.27 0.00 1.27 0.00 0.00 15.68 0.00 [2020-09-15T05:56:09.270Z] 05:52:01 0.28 0.00 0.28 0.00 0.00 3.61 0.00 [2020-09-15T05:56:09.270Z] 05:53:02 0.22 0.00 0.22 0.00 0.00 3.03 0.00 [2020-09-15T05:56:09.270Z] 05:54:01 0.39 0.00 0.39 0.00 0.00 4.92 0.00 [2020-09-15T05:56:09.270Z] 05:55:01 0.35 0.02 0.33 0.00 0.13 4.48 0.00 [2020-09-15T05:56:09.270Z] 05:56:01 82.86 49.61 33.25 0.00 5519.59 5952.60 0.00 [2020-09-15T05:56:09.270Z] Average: 31.57 16.23 15.34 0.00 1915.61 5797.95 0.00 [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] 05:48:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2020-09-15T05:56:09.270Z] 05:49:01 79688 0 498928 26.52 2620 1300320 1098144 37.48 358924 1282952 5504 [2020-09-15T05:56:09.270Z] 05:50:01 166084 0 539356 28.67 2620 1173496 1164916 39.76 391120 1161704 16 [2020-09-15T05:56:09.270Z] 05:51:01 177464 0 527968 28.06 2620 1173504 1081800 36.92 385432 1157748 12 [2020-09-15T05:56:09.270Z] 05:52:01 173952 0 531480 28.25 2620 1173504 1081964 36.93 389992 1157096 8 [2020-09-15T05:56:09.270Z] 05:53:02 175092 0 530332 28.19 2620 1173512 1079940 36.86 394112 1152372 8 [2020-09-15T05:56:09.270Z] 05:54:01 176380 0 529040 28.12 2620 1173516 1066572 36.40 393444 1151916 8 [2020-09-15T05:56:09.270Z] 05:55:01 176852 0 528560 28.09 2620 1173524 1058352 36.12 392704 1151760 8 [2020-09-15T05:56:09.270Z] 05:56:01 101752 0 616520 32.77 2620 1160664 1287824 43.95 431392 1141104 0 [2020-09-15T05:56:09.270Z] Average: 153408 0 537773 28.58 2620 1187755 1114939 38.05 392140 1169582 696 [2020-09-15T05:56:09.270Z] [2020-09-15T05:56:09.270Z] 05:48:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2020-09-15T05:56:09.270Z] 05:49:01 eth0 177.01 129.77 720.79 56.94 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:50:01 eth0 75.97 62.65 356.40 50.47 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:50:01 docker0 7.14 6.19 0.99 18.04 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:51:01 eth0 1.91 0.33 0.40 0.20 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:52:01 eth0 2.60 0.73 0.91 0.58 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:53:02 eth0 1.03 0.58 0.69 0.36 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:53:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:53:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:54:01 eth0 0.36 0.19 0.15 0.10 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:55:01 eth0 0.42 0.08 0.04 0.01 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:56:01 eth0 101.41 83.47 745.33 33.41 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.270Z] 05:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.271Z] 05:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.271Z] Average: eth0 44.98 34.65 227.82 17.74 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.271Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.271Z] Average: docker0 0.90 0.78 0.12 2.27 0.00 0.00 0.00 0.00 [2020-09-15T05:56:09.271Z] [2020-09-15T05:56:09.271Z] [2020-09-15T05:56:09.271Z] ---> sar -P ALL: [2020-09-15T05:56:09.271Z] Linux 3.10.0-1127.el7.x86_64 (centos-7-docker-5eb134fb-50d3-af0a-1802-9f6851a35141.vexxhost.lo) 09/15/20 _x86_64_ (4 CPU) [2020-09-15T05:56:09.271Z] [2020-09-15T05:56:09.271Z] 05:47:09 LINUX RESTART (4 CPU) [2020-09-15T05:56:09.271Z] [2020-09-15T05:56:09.271Z] 05:48:02 CPU %user %nice %system %iowait %steal %idle [2020-09-15T05:56:09.271Z] 05:49:01 all 12.94 0.00 7.89 5.78 29.48 43.91 [2020-09-15T05:56:09.271Z] 05:49:01 0 12.31 0.00 6.65 3.79 30.89 46.35 [2020-09-15T05:56:09.271Z] 05:49:01 1 12.88 0.00 7.33 7.77 28.74 43.28 [2020-09-15T05:56:09.271Z] 05:49:01 2 11.91 0.00 6.18 5.79 29.39 46.72 [2020-09-15T05:56:09.271Z] 05:49:01 3 14.75 0.00 11.62 5.83 28.85 38.95 [2020-09-15T05:56:09.271Z] 05:50:01 all 2.49 0.00 1.64 0.82 11.81 83.23 [2020-09-15T05:56:09.271Z] 05:50:01 0 2.37 0.00 1.28 1.15 12.75 82.45 [2020-09-15T05:56:09.271Z] 05:50:01 1 3.08 0.00 2.07 0.97 11.88 82.00 [2020-09-15T05:56:09.271Z] 05:50:01 2 1.85 0.00 1.45 0.78 11.01 84.91 [2020-09-15T05:56:09.271Z] 05:50:01 3 2.68 0.00 1.76 0.37 11.60 83.60 [2020-09-15T05:56:09.271Z] 05:51:01 all 0.07 0.00 0.12 0.00 1.56 98.25 [2020-09-15T05:56:09.271Z] 05:51:01 0 0.16 0.00 0.13 0.00 2.16 97.54 [2020-09-15T05:56:09.271Z] 05:51:01 1 0.03 0.00 0.12 0.00 1.61 98.24 [2020-09-15T05:56:09.271Z] 05:51:01 2 0.00 0.00 0.15 0.00 1.17 98.68 [2020-09-15T05:56:09.271Z] 05:51:01 3 0.07 0.00 0.10 0.00 1.27 98.56 [2020-09-15T05:56:09.271Z] 05:52:01 all 0.09 0.00 0.04 0.00 1.06 98.82 [2020-09-15T05:56:09.271Z] 05:52:01 0 0.26 0.00 0.05 0.00 0.88 98.81 [2020-09-15T05:56:09.271Z] 05:52:01 1 0.02 0.00 0.03 0.00 1.40 98.55 [2020-09-15T05:56:09.271Z] 05:52:01 2 0.03 0.00 0.03 0.00 1.51 98.42 [2020-09-15T05:56:09.271Z] 05:52:01 3 0.03 0.00 0.03 0.00 0.43 99.50 [2020-09-15T05:56:09.271Z] 05:53:02 all 0.13 0.00 0.03 0.00 0.11 99.72 [2020-09-15T05:56:09.271Z] 05:53:02 0 0.30 0.00 0.03 0.00 0.10 99.57 [2020-09-15T05:56:09.271Z] 05:53:02 1 0.03 0.00 0.00 0.00 0.15 99.82 [2020-09-15T05:56:09.271Z] 05:53:02 2 0.03 0.00 0.05 0.00 0.15 99.77 [2020-09-15T05:56:09.271Z] 05:53:02 3 0.17 0.00 0.05 0.00 0.05 99.73 [2020-09-15T05:56:09.271Z] 05:54:01 all 0.08 0.00 0.03 0.00 0.42 99.46 [2020-09-15T05:56:09.271Z] 05:54:01 0 0.00 0.00 0.03 0.00 0.27 99.70 [2020-09-15T05:56:09.271Z] 05:54:01 1 0.02 0.00 0.02 0.00 0.62 99.34 [2020-09-15T05:56:09.271Z] 05:54:01 2 0.03 0.00 0.03 0.00 0.34 99.59 [2020-09-15T05:56:09.271Z] 05:54:01 3 0.29 0.00 0.05 0.00 0.46 99.21 [2020-09-15T05:56:09.271Z] 05:55:01 all 0.08 0.00 0.02 0.00 0.26 99.64 [2020-09-15T05:56:09.271Z] 05:55:01 0 0.02 0.00 0.02 0.00 0.15 99.82 [2020-09-15T05:56:09.271Z] 05:55:01 1 0.03 0.00 0.03 0.00 0.37 99.57 [2020-09-15T05:56:09.271Z] 05:55:01 2 0.03 0.00 0.02 0.00 0.08 99.87 [2020-09-15T05:56:09.271Z] 05:55:01 3 0.23 0.00 0.02 0.00 0.45 99.30 [2020-09-15T05:56:09.271Z] 05:56:01 all 2.57 0.00 1.60 1.37 6.25 88.21 [2020-09-15T05:56:09.271Z] 05:56:01 0 2.11 0.00 2.04 0.10 6.70 89.05 [2020-09-15T05:56:09.271Z] 05:56:01 1 3.10 0.00 1.32 2.09 6.46 87.03 [2020-09-15T05:56:09.271Z] 05:56:01 2 2.38 0.00 1.67 3.11 6.02 86.82 [2020-09-15T05:56:09.271Z] 05:56:01 3 2.70 0.00 1.36 0.18 5.81 89.95 [2020-09-15T05:56:09.271Z] Average: all 2.39 0.00 1.47 1.03 6.58 88.52 [2020-09-15T05:56:09.271Z] Average: 0 2.30 0.00 1.33 0.67 7.04 88.67 [2020-09-15T05:56:09.271Z] Average: 1 2.48 0.00 1.41 1.40 6.61 88.09 [2020-09-15T05:56:09.271Z] Average: 2 2.14 0.00 1.25 1.26 6.49 88.87 [2020-09-15T05:56:09.271Z] Average: 3 2.64 0.00 1.89 0.81 6.19 88.47 [2020-09-15T05:56:09.271Z] [2020-09-15T05:56:09.271Z] [2020-09-15T05:56:09.271Z]