Pull request #627 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 49b28ccd6e709240114db596a1dd1b52e7ad0695+10f5d80329275e8e77aa5b449b49b1589ab3bade (699038bfa68bda4e98940044344beeebf2ec1e08) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5789 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-627 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 49b28ccd6e709240114db596a1dd1b52e7ad0695 Merge succeeded, producing 49b28ccd6e709240114db596a1dd1b52e7ad0695 Checking out Revision 49b28ccd6e709240114db596a1dd1b52e7ad0695 (PR-627) > git config core.sparsecheckout # timeout=10 > git checkout -f 49b28ccd6e709240114db596a1dd1b52e7ad0695 # 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 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 49b28ccd6e709240114db596a1dd1b52e7ad0695 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T06:49:58.239Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T06:49:58.493Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T06:49:58.625Z] ========================================================= [2020-10-16T06:49:58.625Z] EdgeX Global Pipelines Version Info [2020-10-16T06:49:58.625Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk fa1af8f77e03c45d9744656d53ea35f046709c68 # timeout=10 [2020-10-16T06:50:00.142Z] ------------------- [2020-10-16T06:50:00.142Z] stable info: [2020-10-16T06:50:00.142Z] ------------------- [2020-10-16T06:50:00.142Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:50:00.142Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:50:00.142Z] Message: update stable to v1.0.144 [2020-10-16T06:50:01.090Z] ------------------- [2020-10-16T06:50:01.090Z] experimental info: [2020-10-16T06:50:01.090Z] ------------------- [2020-10-16T06:50:01.090Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:50:01.090Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:50:01.090Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T06:50:01.460Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T06:50:01.566Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T06:50:01.662Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T06:50:01.770Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T06:50:01.861Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T06:50:01.954Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T06:50:02.076Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T06:50:02.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T06:50:02.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T06:50:02.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T06:50:02.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T06:50:02.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T06:50:02.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T06:50:02.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T06:50:02.844Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T06:50:02.974Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:50:03.066Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:50:03.155Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:50:03.243Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T06:50:03.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T06:50:03.409Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T06:50:03.497Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T06:50:03.606Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T06:50:03.768Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T06:50:03.862Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T06:50:03.967Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-627 [Pipeline] echo [2020-10-16T06:50:04.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-627 [Pipeline] echo [2020-10-16T06:50:04.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-627 [Pipeline] echo [2020-10-16T06:50:04.254Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 49b28ccd6e709240114db596a1dd1b52e7ad0695 [Pipeline] echo [2020-10-16T06:50:04.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 49b28cc [Pipeline] echo [2020-10-16T06:50:04.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:50:05.105Z] + git log --format=format:%s -1 49b28ccd6e709240114db596a1dd1b52e7ad0695 [Pipeline] echo [2020-10-16T06:50:05.163Z] GIT_COMMIT: 49b28ccd6e709240114db596a1dd1b52e7ad0695, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo [2020-10-16T06:50:05.209Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:50:05.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:50:05.804Z] [2020-10-16T06:50:05.804Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:50:06.159Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:50:06.159Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T06:50:06.159Z] 31603596830f: Pulling fs layer [2020-10-16T06:50:06.159Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T06:50:06.159Z] 6ca5941a6612: Pulling fs layer [2020-10-16T06:50:06.159Z] ecc8261a40a4: Pulling fs layer [2020-10-16T06:50:06.159Z] ecc8261a40a4: Waiting [2020-10-16T06:50:06.159Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T06:50:06.159Z] 2a8b12db71e7: Download complete [2020-10-16T06:50:06.421Z] 31603596830f: Verifying Checksum [2020-10-16T06:50:06.421Z] 31603596830f: Download complete [2020-10-16T06:50:06.421Z] ecc8261a40a4: Verifying Checksum [2020-10-16T06:50:06.421Z] ecc8261a40a4: Download complete [2020-10-16T06:50:06.421Z] 6ca5941a6612: Verifying Checksum [2020-10-16T06:50:06.421Z] 6ca5941a6612: Download complete [2020-10-16T06:50:06.421Z] 31603596830f: Pull complete [2020-10-16T06:50:06.685Z] 2a8b12db71e7: Pull complete [2020-10-16T06:50:07.266Z] 6ca5941a6612: Pull complete [2020-10-16T06:50:07.527Z] ecc8261a40a4: Pull complete [2020-10-16T06:50:07.527Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T06:50:07.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:50:07.527Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T06:50:07.630Z] prd-centos7-docker-4c-2g-5789 does not seem to be running inside a container [2020-10-16T06:50:07.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-16T06:50:09.854Z] $ docker top f88919288f702ce4ca3531745cd73f83ae33bf5e2e71b10b87e2d774ce7b15b5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T06:50:10.275Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:50:10.275Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:50:10.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:50:10.464Z] $ docker exec f88919288f702ce4ca3531745cd73f83ae33bf5e2e71b10b87e2d774ce7b15b5 ssh-agent [2020-10-16T06:50:10.614Z] SSH_AUTH_SOCK=/tmp/ssh-mpKaPPzuRZdL/agent.11 [2020-10-16T06:50:10.614Z] SSH_AGENT_PID=16 [2020-10-16T06:50:10.626Z] Running ssh-add (command line suppressed) [2020-10-16T06:50:10.739Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_6836197741279513533.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_6836197741279513533.key) [2020-10-16T06:50:10.791Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:50:11.162Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T06:50:11.182Z] $ docker exec --env ******** --env ******** f88919288f702ce4ca3531745cd73f83ae33bf5e2e71b10b87e2d774ce7b15b5 ssh-agent -k [2020-10-16T06:50:11.292Z] unset SSH_AUTH_SOCK; [2020-10-16T06:50:11.293Z] unset SSH_AGENT_PID; [2020-10-16T06:50:11.293Z] echo Agent pid 16 killed; [2020-10-16T06:50:11.333Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T06:50:11.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:50:11.504Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:50:11.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:50:11.668Z] $ docker exec f88919288f702ce4ca3531745cd73f83ae33bf5e2e71b10b87e2d774ce7b15b5 ssh-agent [2020-10-16T06:50:11.819Z] SSH_AUTH_SOCK=/tmp/ssh-5wbbwt0bURVf/agent.44 [2020-10-16T06:50:11.819Z] SSH_AGENT_PID=49 [2020-10-16T06:50:11.827Z] Running ssh-add (command line suppressed) [2020-10-16T06:50:11.945Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_1623032393932443896.key (/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/private_key_1623032393932443896.key) [2020-10-16T06:50:11.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:50:12.322Z] + git semver init [2020-10-16T06:50:12.322Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T06:50:12.322Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.git [2020-10-16T06:50:12.322Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-627 [2020-10-16T06:50:12.322Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T06:50:12.322Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T06:50:12.322Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T06:50:12.322Z] # $SEMVER_BRANCH = PR-627 [2020-10-16T06:50:12.322Z] # $SEMVER_TEMP = /tmp/semver-674922829 [2020-10-16T06:50:12.322Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T06:50:12.898Z] # '/tmp/semver-674922829' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver' [2020-10-16T06:50:12.898Z] # -> Force: false [2020-10-16T06:50:12.898Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-627/.semver [Pipeline] } [2020-10-16T06:50:12.911Z] $ docker exec --env ******** --env ******** f88919288f702ce4ca3531745cd73f83ae33bf5e2e71b10b87e2d774ce7b15b5 ssh-agent -k [2020-10-16T06:50:13.024Z] unset SSH_AUTH_SOCK; [2020-10-16T06:50:13.025Z] unset SSH_AGENT_PID; [2020-10-16T06:50:13.025Z] echo Agent pid 49 killed; [2020-10-16T06:50:13.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T06:50:13.563Z] + git semver [Pipeline] } [2020-10-16T06:50:13.579Z] $ docker stop --time=1 f88919288f702ce4ca3531745cd73f83ae33bf5e2e71b10b87e2d774ce7b15b5 [2020-10-16T06:50:14.921Z] $ docker rm -f f88919288f702ce4ca3531745cd73f83ae33bf5e2e71b10b87e2d774ce7b15b5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T06:50:15.364Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T06:50:15.957Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T06:50:15.960Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2020-10-16T06:50:31.487Z] Still waiting to schedule task [2020-10-16T06:50:31.488Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-16T06:50:31.490Z] Still waiting to schedule task [2020-10-16T06:50:31.490Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-16T06:52:47.822Z] Running on prd-centos7-docker-4c-2g-5795 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws [2020-10-16T06:52:47.871Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-10-16T06:52:50.821Z] using credential edgex-jenkins-ssh [2020-10-16T06:52:50.886Z] Cloning the remote Git repository [2020-10-16T06:52:50.916Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:52:51.003Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-10-16T06:52:51.059Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:52:51.060Z] > git --version # timeout=10 [2020-10-16T06:52:51.067Z] > git --version # 'git version 2.16.5' [2020-10-16T06:52:51.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:52:51.103Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:52:52.195Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 49b28ccd6e709240114db596a1dd1b52e7ad0695 [2020-10-16T06:52:52.307Z] Merge succeeded, producing 49b28ccd6e709240114db596a1dd1b52e7ad0695 [2020-10-16T06:52:52.308Z] Checking out Revision 49b28ccd6e709240114db596a1dd1b52e7ad0695 (PR-627) [2020-10-16T06:52:51.807Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:52:51.813Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:52:51.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:52:51.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:52:51.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:52:51.850Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T06:52:52.210Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:52:52.216Z] > git checkout -f 49b28ccd6e709240114db596a1dd1b52e7ad0695 # timeout=10 [2020-10-16T06:52:52.274Z] > git remote # timeout=10 [2020-10-16T06:52:52.281Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:52:52.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:52:52.291Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:52:52.303Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:52:52.313Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:52:52.316Z] > git checkout -f 49b28ccd6e709240114db596a1dd1b52e7ad0695 # timeout=10 [2020-10-16T06:52:56.232Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:52:57.052Z] ========================================================= [2020-10-16T06:52:57.052Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T06:52:57.052Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:52:57.686Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-10-16T06:52:57.951Z] Sending build context to Docker daemon 2.315MB [2020-10-16T06:52:57.951Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:52:57.951Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:52:58.214Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T06:52:58.214Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:52:58.214Z] ed8968b2872e: Pulling fs layer [2020-10-16T06:52:58.214Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T06:52:58.214Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T06:52:58.214Z] e73272ec9a57: Pulling fs layer [2020-10-16T06:52:58.214Z] 1e910a182e73: Pulling fs layer [2020-10-16T06:52:58.214Z] 4e634b169226: Pulling fs layer [2020-10-16T06:52:58.214Z] e73272ec9a57: Waiting [2020-10-16T06:52:58.214Z] 1e910a182e73: Waiting [2020-10-16T06:52:58.214Z] e871e8e8d7a9: Waiting [2020-10-16T06:52:58.214Z] 4e634b169226: Waiting [2020-10-16T06:52:58.214Z] a92cc7c5fd73: Verifying Checksum [2020-10-16T06:52:58.214Z] a92cc7c5fd73: Download complete [2020-10-16T06:52:58.214Z] ed8968b2872e: Download complete [2020-10-16T06:52:58.214Z] e73272ec9a57: Verifying Checksum [2020-10-16T06:52:58.214Z] e73272ec9a57: Download complete [2020-10-16T06:52:58.214Z] 1e910a182e73: Download complete [2020-10-16T06:52:58.214Z] df20fa9351a1: Verifying Checksum [2020-10-16T06:52:58.214Z] df20fa9351a1: Download complete [2020-10-16T06:52:58.479Z] df20fa9351a1: Pull complete [2020-10-16T06:52:58.749Z] ed8968b2872e: Pull complete [2020-10-16T06:52:58.749Z] a92cc7c5fd73: Pull complete [2020-10-16T06:53:00.715Z] 4e634b169226: Verifying Checksum [2020-10-16T06:53:00.715Z] 4e634b169226: Download complete [2020-10-16T06:53:00.715Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T06:53:00.715Z] e871e8e8d7a9: Download complete [2020-10-16T06:53:06.071Z] e871e8e8d7a9: Pull complete [2020-10-16T06:53:06.071Z] e73272ec9a57: Pull complete [2020-10-16T06:53:06.071Z] 1e910a182e73: Pull complete [2020-10-16T06:53:11.472Z] 4e634b169226: Pull complete [2020-10-16T06:53:11.472Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T06:53:11.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T06:53:11.472Z] ---> f7629b54cfaa [2020-10-16T06:53:11.472Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:53:11.472Z] ---> Running in 1f6b939b8ece [2020-10-16T06:53:11.740Z] Removing intermediate container 1f6b939b8ece [2020-10-16T06:53:11.740Z] ---> 0d232c197697 [2020-10-16T06:53:11.740Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:53:11.740Z] ---> Running in 08f61d012504 [2020-10-16T06:53:13.669Z] Removing intermediate container 08f61d012504 [2020-10-16T06:53:13.669Z] ---> 891b7b5dd4d5 [2020-10-16T06:53:13.669Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:53:13.669Z] ---> Running in 5999d88cadc6 [2020-10-16T06:53:13.933Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:53:14.510Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:53:15.108Z] OK: 166 MiB in 39 packages [2020-10-16T06:53:15.701Z] Removing intermediate container 5999d88cadc6 [2020-10-16T06:53:15.701Z] ---> dbb80bebbb05 [2020-10-16T06:53:15.701Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:53:15.701Z] ---> Running in 39c6978571b0 [2020-10-16T06:53:15.701Z] Removing intermediate container 39c6978571b0 [2020-10-16T06:53:15.701Z] ---> 6475ee83770b [2020-10-16T06:53:15.701Z] Step 7/8 : COPY . . [2020-10-16T06:53:17.186Z] ---> 5be886390608 [2020-10-16T06:53:17.186Z] Step 8/8 : RUN go mod download [2020-10-16T06:53:17.186Z] ---> Running in 8ee19fe54761 [2020-10-16T06:53:35.614Z] Removing intermediate container 8ee19fe54761 [2020-10-16T06:53:35.614Z] ---> c4e409b815bb [2020-10-16T06:53:35.614Z] Successfully built c4e409b815bb [2020-10-16T06:53:35.614Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:53:35.980Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:53:35.981Z] . [Pipeline] withDockerContainer [2020-10-16T06:53:36.109Z] prd-centos7-docker-4c-2g-5795 does not seem to be running inside a container [2020-10-16T06:53:36.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-16T06:53:37.017Z] $ docker top 0783f4472cb2960998ed627fe80931bd66df3ba87e432d01d8d88458d59e914e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:53:37.602Z] + go version [2020-10-16T06:53:37.603Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T06:53:37.623Z] $ docker stop --time=1 0783f4472cb2960998ed627fe80931bd66df3ba87e432d01d8d88458d59e914e [2020-10-16T06:53:39.018Z] $ docker rm -f 0783f4472cb2960998ed627fe80931bd66df3ba87e432d01d8d88458d59e914e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:53:40.058Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:53:40.058Z] . [Pipeline] withDockerContainer [2020-10-16T06:53:40.179Z] prd-centos7-docker-4c-2g-5795 does not seem to be running inside a container [2020-10-16T06:53:40.241Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-16T06:53:41.037Z] $ docker top 43b57c206e0477eab0c490db7ec9379f41832765e915068eca7b584ac90e9562 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:53:41.561Z] + make test [2020-10-16T06:53:41.561Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:53:49.907Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:54:05.163Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:54:05.163Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:54:05.163Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:54:05.749Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.058s coverage: 21.6% of statements [2020-10-16T06:54:07.726Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.499s coverage: 97.1% of statements [2020-10-16T06:54:19.319Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5798 in /w/workspace/dgexfoundry_device-sdk-go_PR-627 [Pipeline] { [Pipeline] ws [2020-10-16T06:54:19.371Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2020-10-16T06:54:25.377Z] using credential edgex-jenkins-ssh [2020-10-16T06:54:25.502Z] Cloning the remote Git repository [2020-10-16T06:54:25.572Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:54:25.679Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2020-10-16T06:54:25.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:54:25.752Z] > git --version # timeout=10 [2020-10-16T06:54:25.775Z] > git --version # 'git version 2.17.1' [2020-10-16T06:54:25.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:54:25.850Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:54:27.619Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 49b28ccd6e709240114db596a1dd1b52e7ad0695 [2020-10-16T06:54:27.891Z] Merge succeeded, producing 49b28ccd6e709240114db596a1dd1b52e7ad0695 [2020-10-16T06:54:27.891Z] Checking out Revision 49b28ccd6e709240114db596a1dd1b52e7ad0695 (PR-627) [2020-10-16T06:54:27.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:54:27.050Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:54:27.089Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:54:27.128Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:54:27.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:54:27.139Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/627/head:refs/remotes/origin/PR-627 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-16T06:54:27.660Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:54:27.677Z] > git checkout -f 49b28ccd6e709240114db596a1dd1b52e7ad0695 # timeout=10 [2020-10-16T06:54:27.805Z] > git remote # timeout=10 [2020-10-16T06:54:27.821Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:54:27.840Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:54:27.850Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:54:27.883Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:54:27.914Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:54:27.925Z] > git checkout -f 49b28ccd6e709240114db596a1dd1b52e7ad0695 # timeout=10 [2020-10-16T06:54:32.437Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:54:33.286Z] ========================================================= [2020-10-16T06:54:33.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T06:54:33.286Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:54:34.301Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-10-16T06:54:35.288Z] Sending build context to Docker daemon 2.315MB [2020-10-16T06:54:35.288Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:54:35.288Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:54:35.562Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T06:54:35.562Z] b538f80385f9: Pulling fs layer [2020-10-16T06:54:35.562Z] 74f711af9a0d: Pulling fs layer [2020-10-16T06:54:35.562Z] 99f96fe45779: Pulling fs layer [2020-10-16T06:54:35.562Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T06:54:35.562Z] 45590311c82a: Pulling fs layer [2020-10-16T06:54:35.562Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T06:54:35.562Z] 209524e5b208: Pulling fs layer [2020-10-16T06:54:35.562Z] 8529a6b9a6be: Waiting [2020-10-16T06:54:35.562Z] 45590311c82a: Waiting [2020-10-16T06:54:35.562Z] 69ca0ff8b7b3: Waiting [2020-10-16T06:54:35.562Z] 209524e5b208: Waiting [2020-10-16T06:54:35.562Z] 99f96fe45779: Verifying Checksum [2020-10-16T06:54:35.562Z] 99f96fe45779: Download complete [2020-10-16T06:54:35.562Z] 74f711af9a0d: Verifying Checksum [2020-10-16T06:54:35.562Z] 74f711af9a0d: Download complete [2020-10-16T06:54:35.562Z] 45590311c82a: Verifying Checksum [2020-10-16T06:54:35.562Z] 45590311c82a: Download complete [2020-10-16T06:54:35.841Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T06:54:35.841Z] 69ca0ff8b7b3: Download complete [2020-10-16T06:54:35.841Z] b538f80385f9: Verifying Checksum [2020-10-16T06:54:35.841Z] b538f80385f9: Download complete [2020-10-16T06:54:36.833Z] b538f80385f9: Pull complete [2020-10-16T06:54:37.436Z] 74f711af9a0d: Pull complete [2020-10-16T06:54:37.723Z] 99f96fe45779: Pull complete [2020-10-16T06:54:38.700Z] 209524e5b208: Verifying Checksum [2020-10-16T06:54:38.700Z] 209524e5b208: Download complete [2020-10-16T06:54:39.686Z] 8529a6b9a6be: Download complete [2020-10-16T06:54:39.966Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.095s coverage: 9.4% of statements [2020-10-16T06:54:39.966Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.063s coverage: 21.9% of statements [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:54:39.966Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.210s coverage: 42.6% of statements [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:54:39.966Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.296s coverage: 68.9% of statements [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:54:39.966Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 52.6% of statements [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:54:39.966Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.474s coverage: 68.9% of statements [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:54:39.966Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:54:39.966Z] GO111MODULE=on go vet ./... [2020-10-16T06:54:46.693Z] gofmt -l . [2020-10-16T06:54:46.693Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:54:46.958Z] ./bin/test-attribution-txt.sh [2020-10-16T06:54:47.537Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:54:48.129Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:54:48.139Z] $ docker stop --time=1 43b57c206e0477eab0c490db7ec9379f41832765e915068eca7b584ac90e9562 [2020-10-16T06:54:49.872Z] 8529a6b9a6be: Pull complete [2020-10-16T06:54:49.872Z] 45590311c82a: Pull complete [2020-10-16T06:54:49.872Z] 69ca0ff8b7b3: Pull complete [2020-10-16T06:54:50.097Z] $ docker rm -f 43b57c206e0477eab0c490db7ec9379f41832765e915068eca7b584ac90e9562 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T06:54:51.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T06:54:52.216Z] + ls -al . [2020-10-16T06:54:52.216Z] total 188 [2020-10-16T06:54:52.216Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 06:54 . [2020-10-16T06:54:52.216Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 16 06:52 .. [2020-10-16T06:54:52.216Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 06:52 bin [2020-10-16T06:54:52.216Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 06:54 coverage.out [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 06:52 Dockerfile.build [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 06:52 .dockerignore [2020-10-16T06:54:52.216Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 06:52 example [2020-10-16T06:54:52.216Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 06:52 .git [2020-10-16T06:54:52.216Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 06:52 .github [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 06:52 .gitignore [2020-10-16T06:54:52.216Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 06:54 go.mod [2020-10-16T06:54:52.216Z] -rw-r--r--. 1 jenkins jenkins 13658 Oct 16 06:54 go.sum [2020-10-16T06:54:52.216Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 06:52 internal [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 06:52 Jenkinsfile [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 06:52 LICENSE [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 06:52 Makefile [2020-10-16T06:54:52.216Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 06:52 openapi [2020-10-16T06:54:52.216Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 06:52 pkg [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 06:52 README.md [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 06:52 RELEASE-NOTES.txt [2020-10-16T06:54:52.216Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 06:52 snap [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 06:50 VERSION [2020-10-16T06:54:52.216Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 06:52 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:54:52.526Z] + 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=49b28ccd6e709240114db596a1dd1b52e7ad0695 --label arch=amd64 --label version=0.0.0 . [2020-10-16T06:54:52.790Z] Sending build context to Docker daemon 2.426MB [2020-10-16T06:54:52.790Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T06:54:52.790Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T06:54:52.790Z] ---> c4e409b815bb [2020-10-16T06:54:52.790Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T06:54:53.366Z] ---> Running in d87a8024e7be [2020-10-16T06:54:53.630Z] Removing intermediate container d87a8024e7be [2020-10-16T06:54:53.630Z] ---> fea748e4ea21 [2020-10-16T06:54:53.630Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T06:54:53.630Z] ---> Running in 17d2890e1a93 [2020-10-16T06:54:53.895Z] Removing intermediate container 17d2890e1a93 [2020-10-16T06:54:53.895Z] ---> 6fe353097ecd [2020-10-16T06:54:53.895Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:54:53.895Z] ---> Running in 26d622975c49 [2020-10-16T06:54:54.158Z] Removing intermediate container 26d622975c49 [2020-10-16T06:54:54.158Z] ---> a6381784b171 [2020-10-16T06:54:54.158Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:54:54.158Z] ---> Running in 4a39f729e789 [2020-10-16T06:54:54.193Z] 209524e5b208: Pull complete [2020-10-16T06:54:54.193Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T06:54:54.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T06:54:54.193Z] ---> 5bddaf1c2fca [2020-10-16T06:54:54.193Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:54:55.110Z] Removing intermediate container 4a39f729e789 [2020-10-16T06:54:55.110Z] ---> eb076e969b67 [2020-10-16T06:54:55.110Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T06:54:55.110Z] ---> Running in 9991f77fb3a9 [2020-10-16T06:54:55.702Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:54:56.176Z] ---> Running in 3e65737548fe [2020-10-16T06:54:56.278Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:54:56.777Z] Removing intermediate container 3e65737548fe [2020-10-16T06:54:56.777Z] ---> a2df40f6db98 [2020-10-16T06:54:56.777Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:54:56.777Z] ---> Running in dbd06a5734ee [2020-10-16T06:54:56.859Z] OK: 166 MiB in 39 packages [2020-10-16T06:54:57.452Z] Removing intermediate container 9991f77fb3a9 [2020-10-16T06:54:57.452Z] ---> d1edc3205769 [2020-10-16T06:54:57.452Z] Step 8/24 : COPY . . [2020-10-16T06:54:58.416Z] ---> 4ea69df1ae56 [2020-10-16T06:54:58.416Z] Step 9/24 : RUN ${MAKE} [2020-10-16T06:54:58.416Z] ---> Running in c7c5cd2e43f9 [2020-10-16T06:54:59.004Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-16T06:54:59.414Z] Removing intermediate container dbd06a5734ee [2020-10-16T06:54:59.414Z] ---> 2b114f1a9623 [2020-10-16T06:54:59.414Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:54:59.688Z] ---> Running in 4882977b2be1 [2020-10-16T06:55:01.128Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:55:02.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:55:02.728Z] OK: 142 MiB in 39 packages [2020-10-16T06:55:03.712Z] Removing intermediate container 4882977b2be1 [2020-10-16T06:55:03.712Z] ---> 649d96fdcf99 [2020-10-16T06:55:03.712Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:55:03.991Z] ---> Running in bf1a100cb55a [2020-10-16T06:55:04.606Z] Removing intermediate container bf1a100cb55a [2020-10-16T06:55:04.606Z] ---> 8e54699d31c2 [2020-10-16T06:55:04.606Z] Step 7/8 : COPY . . [2020-10-16T06:55:06.047Z] ---> 81723d56efc7 [2020-10-16T06:55:06.047Z] Step 8/8 : RUN go mod download [2020-10-16T06:55:06.047Z] ---> Running in 415cc2252b86 [2020-10-16T06:55:09.139Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T06:55:11.072Z] Removing intermediate container c7c5cd2e43f9 [2020-10-16T06:55:11.072Z] ---> 8b13be727950 [2020-10-16T06:55:11.072Z] Step 10/24 : FROM scratch [2020-10-16T06:55:11.072Z] ---> [2020-10-16T06:55:11.072Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:55:11.072Z] ---> Running in 566b47919327 [2020-10-16T06:55:11.072Z] Removing intermediate container 566b47919327 [2020-10-16T06:55:11.072Z] ---> eab364fee3fd [2020-10-16T06:55:11.072Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T06:55:11.072Z] ---> Running in cdcff232c741 [2020-10-16T06:55:11.072Z] Removing intermediate container cdcff232c741 [2020-10-16T06:55:11.072Z] ---> a6c8679ae15c [2020-10-16T06:55:11.072Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T06:55:11.337Z] ---> Running in 4c980842467e [2020-10-16T06:55:11.337Z] Removing intermediate container 4c980842467e [2020-10-16T06:55:11.337Z] ---> f9abc766b6cc [2020-10-16T06:55:11.337Z] Step 14/24 : WORKDIR / [2020-10-16T06:55:11.600Z] ---> Running in 15cb37ed2c8c [2020-10-16T06:55:11.600Z] Removing intermediate container 15cb37ed2c8c [2020-10-16T06:55:11.600Z] ---> ab96f4d72619 [2020-10-16T06:55:11.600Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T06:55:12.180Z] ---> 1d6900ebe2b2 [2020-10-16T06:55:12.180Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T06:55:12.442Z] ---> e1c4c223023b [2020-10-16T06:55:12.442Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T06:55:12.705Z] ---> 882d55343b64 [2020-10-16T06:55:12.705Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T06:55:12.969Z] ---> 159b7a984b0c [2020-10-16T06:55:12.969Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T06:55:13.232Z] ---> 891c302ebea7 [2020-10-16T06:55:13.232Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T06:55:13.232Z] ---> Running in 8532d34aaf39 [2020-10-16T06:55:13.232Z] Removing intermediate container 8532d34aaf39 [2020-10-16T06:55:13.232Z] ---> b912fda41569 [2020-10-16T06:55:13.232Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T06:55:13.496Z] ---> Running in 273ab04f539c [2020-10-16T06:55:13.496Z] Removing intermediate container 273ab04f539c [2020-10-16T06:55:13.496Z] ---> 33963ae118bf [2020-10-16T06:55:13.496Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T06:55:13.760Z] ---> Running in b24db6ef8d4c [2020-10-16T06:55:13.760Z] Removing intermediate container b24db6ef8d4c [2020-10-16T06:55:13.760Z] ---> cb441291aee7 [2020-10-16T06:55:13.760Z] Step 23/24 : LABEL git_sha=49b28ccd6e709240114db596a1dd1b52e7ad0695 [2020-10-16T06:55:13.760Z] ---> Running in c7ab09c75418 [2020-10-16T06:55:14.026Z] Removing intermediate container c7ab09c75418 [2020-10-16T06:55:14.026Z] ---> 526bad579ebb [2020-10-16T06:55:14.026Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T06:55:14.026Z] ---> Running in c0122cf366dd [2020-10-16T06:55:14.296Z] Removing intermediate container c0122cf366dd [2020-10-16T06:55:14.296Z] ---> 09232decdbeb [2020-10-16T06:55:14.296Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T06:55:14.296Z] Successfully built 09232decdbeb [2020-10-16T06:55:14.296Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-16T06:55:28.249Z] Removing intermediate container 415cc2252b86 [2020-10-16T06:55:28.250Z] ---> c7d79e391d41 [2020-10-16T06:55:28.250Z] Successfully built c7d79e391d41 [2020-10-16T06:55:28.250Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:55:28.668Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:55:28.669Z] . [Pipeline] withDockerContainer [2020-10-16T06:55:28.928Z] prd-ubuntu18.04-docker-arm64-4c-16g-5798 does not seem to be running inside a container [2020-10-16T06:55:29.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-16T06:55:30.998Z] $ docker top 25ed6a7ac7a34d36e5b7790049baab103bdbbb5de9cae34bb543b8834676ec0c -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:55:32.437Z] + go version [2020-10-16T06:55:32.437Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T06:55:32.468Z] $ docker stop --time=1 25ed6a7ac7a34d36e5b7790049baab103bdbbb5de9cae34bb543b8834676ec0c [2020-10-16T06:55:34.554Z] $ docker rm -f 25ed6a7ac7a34d36e5b7790049baab103bdbbb5de9cae34bb543b8834676ec0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:55:35.776Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:55:35.776Z] . [Pipeline] withDockerContainer [2020-10-16T06:55:36.070Z] prd-ubuntu18.04-docker-arm64-4c-16g-5798 does not seem to be running inside a container [2020-10-16T06:55:36.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-10-16T06:55:38.206Z] $ docker top 3d5f1f39b40ec7e792603574a1c26149225ef92921fa0500d8c8c3c5c857a978 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:55:39.645Z] + make test [2020-10-16T06:55:39.645Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:56:01.845Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:56:48.877Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:56:48.877Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:56:48.877Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:56:48.877Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.142s coverage: 21.6% of statements [2020-10-16T06:56:48.877Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.270s coverage: 97.1% of statements [2020-10-16T06:57:15.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.114s coverage: 9.4% of statements [2020-10-16T06:57:15.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.154s coverage: 21.9% of statements [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:57:15.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.579s coverage: 42.6% of statements [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:57:15.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.813s coverage: 68.9% of statements [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:57:15.699Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.176s coverage: 52.6% of statements [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:57:15.699Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.739s coverage: 68.9% of statements [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:57:15.699Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:57:15.699Z] GO111MODULE=on go vet ./... [2020-10-16T06:57:48.145Z] gofmt -l . [2020-10-16T06:57:48.145Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:57:48.145Z] ./bin/test-attribution-txt.sh [2020-10-16T06:57:48.145Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:57:48.771Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T06:57:49.759Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:57:49.777Z] $ docker stop --time=1 3d5f1f39b40ec7e792603574a1c26149225ef92921fa0500d8c8c3c5c857a978 [2020-10-16T06:57:52.120Z] $ docker rm -f 3d5f1f39b40ec7e792603574a1c26149225ef92921fa0500d8c8c3c5c857a978 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:57:53.597Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T06:57:53.968Z] + ls -al . [2020-10-16T06:57:53.968Z] total 224 [2020-10-16T06:57:53.968Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 06:57 . [2020-10-16T06:57:53.968Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:54 .. [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 06:54 .dockerignore [2020-10-16T06:57:53.968Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 06:54 .git [2020-10-16T06:57:53.968Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:54 .github [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 06:54 .gitignore [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 06:54 Dockerfile.build [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 06:54 Jenkinsfile [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 06:54 LICENSE [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 06:54 Makefile [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 06:54 README.md [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 06:54 RELEASE-NOTES.txt [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 06:50 VERSION [2020-10-16T06:57:53.968Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:54 bin [2020-10-16T06:57:53.968Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 06:57 coverage.out [2020-10-16T06:57:53.968Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:54 example [2020-10-16T06:57:53.968Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 06:57 go.mod [2020-10-16T06:57:53.968Z] -rw-r--r-- 1 jenkins jenkins 13658 Oct 16 06:57 go.sum [2020-10-16T06:57:53.968Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 06:54 internal [2020-10-16T06:57:53.968Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:54 openapi [2020-10-16T06:57:53.968Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 06:54 pkg [2020-10-16T06:57:53.968Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:54 snap [2020-10-16T06:57:53.968Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 06:54 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:57:54.360Z] + 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=49b28ccd6e709240114db596a1dd1b52e7ad0695 --label arch=arm64 --label version=0.0.0 . [2020-10-16T06:57:54.966Z] Sending build context to Docker daemon 2.426MB [2020-10-16T06:57:54.966Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T06:57:54.966Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T06:57:54.966Z] ---> c7d79e391d41 [2020-10-16T06:57:54.966Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T06:57:55.240Z] ---> Running in 0222b207d6df [2020-10-16T06:57:55.518Z] Removing intermediate container 0222b207d6df [2020-10-16T06:57:55.518Z] ---> 629970e700c5 [2020-10-16T06:57:55.518Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T06:57:55.792Z] ---> Running in da9a7086e179 [2020-10-16T06:57:56.067Z] Removing intermediate container da9a7086e179 [2020-10-16T06:57:56.067Z] ---> 2b3ad289ec3d [2020-10-16T06:57:56.067Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:57:56.342Z] ---> Running in 75b80aa13e9b [2020-10-16T06:57:56.614Z] Removing intermediate container 75b80aa13e9b [2020-10-16T06:57:56.614Z] ---> ee9a872fea3c [2020-10-16T06:57:56.614Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:57:56.886Z] ---> Running in 6a7cc344a38b [2020-10-16T06:57:59.502Z] Removing intermediate container 6a7cc344a38b [2020-10-16T06:57:59.502Z] ---> e6c6e1836cfc [2020-10-16T06:57:59.502Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T06:57:59.502Z] ---> Running in f390620f18f5 [2020-10-16T06:58:00.949Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:58:02.437Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:58:05.046Z] OK: 142 MiB in 39 packages [2020-10-16T06:58:06.037Z] Removing intermediate container f390620f18f5 [2020-10-16T06:58:06.037Z] ---> 321729180dea [2020-10-16T06:58:06.037Z] Step 8/24 : COPY . . [2020-10-16T06:58:07.472Z] ---> 179c794d6d8d [2020-10-16T06:58:07.472Z] Step 9/24 : RUN ${MAKE} [2020-10-16T06:58:07.472Z] ---> Running in 81d1d533ea24 [2020-10-16T06:58:08.910Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-10-16T06:58:35.718Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T06:58:36.717Z] Removing intermediate container 81d1d533ea24 [2020-10-16T06:58:36.717Z] ---> a79f442ad6d1 [2020-10-16T06:58:36.717Z] Step 10/24 : FROM scratch [2020-10-16T06:58:36.717Z] ---> [2020-10-16T06:58:36.717Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:58:36.717Z] ---> Running in 12bfabc9853e [2020-10-16T06:58:36.993Z] Removing intermediate container 12bfabc9853e [2020-10-16T06:58:36.993Z] ---> 39a54c63f7c1 [2020-10-16T06:58:36.993Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T06:58:37.265Z] ---> Running in 2b098ef516c8 [2020-10-16T06:58:37.541Z] Removing intermediate container 2b098ef516c8 [2020-10-16T06:58:37.541Z] ---> 6659a0a1b45a [2020-10-16T06:58:37.541Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T06:58:37.815Z] ---> Running in 7ccf3fa10240 [2020-10-16T06:58:38.087Z] Removing intermediate container 7ccf3fa10240 [2020-10-16T06:58:38.087Z] ---> 5150d394eeb5 [2020-10-16T06:58:38.087Z] Step 14/24 : WORKDIR / [2020-10-16T06:58:38.363Z] ---> Running in d6508e55dbb8 [2020-10-16T06:58:38.965Z] Removing intermediate container d6508e55dbb8 [2020-10-16T06:58:38.965Z] ---> d0f5975e0498 [2020-10-16T06:58:38.965Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T06:58:40.406Z] ---> a133a56e77c1 [2020-10-16T06:58:40.406Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T06:58:41.001Z] ---> c70d94d1284d [2020-10-16T06:58:41.001Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T06:58:41.604Z] ---> b3f79ec2a21d [2020-10-16T06:58:41.604Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T06:58:42.598Z] ---> 6754cb82889c [2020-10-16T06:58:42.598Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T06:58:43.204Z] ---> 006d1333eb30 [2020-10-16T06:58:43.204Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T06:58:43.483Z] ---> Running in 33a9009f7ae3 [2020-10-16T06:58:43.764Z] Removing intermediate container 33a9009f7ae3 [2020-10-16T06:58:43.764Z] ---> b684e501babe [2020-10-16T06:58:43.764Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T06:58:44.039Z] ---> Running in 1929d0e8ba03 [2020-10-16T06:58:44.640Z] Removing intermediate container 1929d0e8ba03 [2020-10-16T06:58:44.640Z] ---> 93def144fd64 [2020-10-16T06:58:44.640Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T06:58:44.640Z] ---> Running in 75ff62caf969 [2020-10-16T06:58:45.236Z] Removing intermediate container 75ff62caf969 [2020-10-16T06:58:45.236Z] ---> a8938fc37c15 [2020-10-16T06:58:45.236Z] Step 23/24 : LABEL git_sha=49b28ccd6e709240114db596a1dd1b52e7ad0695 [2020-10-16T06:58:45.511Z] ---> Running in 9006f15dc687 [2020-10-16T06:58:45.784Z] Removing intermediate container 9006f15dc687 [2020-10-16T06:58:45.784Z] ---> d1be651c013c [2020-10-16T06:58:45.784Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T06:58:46.058Z] ---> Running in 0556b51d6d93 [2020-10-16T06:58:46.654Z] Removing intermediate container 0556b51d6d93 [2020-10-16T06:58:46.654Z] ---> 6df352251481 [2020-10-16T06:58:46.654Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T06:58:46.654Z] Successfully built 6df352251481 [2020-10-16T06:58:46.654Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-10-16T06:58:48.743Z] provisioning config files... [2020-10-16T06:58:48.756Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/config6291635000077469502tmp [Pipeline] { [Pipeline] sh [2020-10-16T06:58:49.167Z] + set +x [2020-10-16T06:58:49.167Z] + curl -s https://codecov.io/bash [2020-10-16T06:58:49.167Z] + bash -s -- [2020-10-16T06:58:49.430Z] [2020-10-16T06:58:49.430Z] _____ _ [2020-10-16T06:58:49.430Z] / ____| | | [2020-10-16T06:58:49.430Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T06:58:49.430Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T06:58:49.430Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T06:58:49.430Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T06:58:49.430Z] Bash-20201009-048fee3 [2020-10-16T06:58:49.430Z] [2020-10-16T06:58:49.430Z] [2020-10-16T06:58:49.430Z] ==> Jenkins CI detected. [2020-10-16T06:58:49.430Z] project root: . [2020-10-16T06:58:49.430Z] --> token set from env [2020-10-16T06:58:49.430Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T06:58:49.430Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T06:58:49.430Z] ==> Python coveragepy not found [2020-10-16T06:58:49.430Z] ==> Searching for coverage reports in: [2020-10-16T06:58:49.430Z] + . [2020-10-16T06:58:49.430Z] -> Found 1 reports [2020-10-16T06:58:49.430Z] ==> Detecting git/mercurial file structure [2020-10-16T06:58:49.430Z] ==> Reading reports [2020-10-16T06:58:49.430Z] + ./coverage.out bytes=110398 [2020-10-16T06:58:49.430Z] ==> Appending adjustments [2020-10-16T06:58:49.430Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T06:58:50.003Z] + Found adjustments [2020-10-16T06:58:50.003Z] ==> Gzipping contents [2020-10-16T06:58:50.003Z] ==> Uploading reports [2020-10-16T06:58:50.003Z] url: https://codecov.io [2020-10-16T06:58:50.003Z] query: branch=PR-627&commit=49b28ccd6e709240114db596a1dd1b52e7ad0695&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= [2020-10-16T06:58:50.003Z] -> Pinging Codecov [2020-10-16T06:58:50.003Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-627&commit=49b28ccd6e709240114db596a1dd1b52e7ad0695&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-627%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=627&job=&cmd_args= [2020-10-16T06:58:50.264Z] -> Uploading to [2020-10-16T06:58:50.264Z] [2020-10-16T06:58:50.264Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T06:58:50.264Z] Dload Upload Total Spent Left Speed [2020-10-16T06:58:50.264Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T06:58:50.264Z] X> Failed to upload [2020-10-16T06:58:50.264Z] ==> Uploading to Codecov [2020-10-16T06:58:50.264Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T06:58:50.264Z] Dload Upload Total Spent Left Speed [2020-10-16T06:58:50.836Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19128 100 110 100 19018 147 25419 --:--:-- --:--:-- --:--:-- 25391 [2020-10-16T06:58:50.836Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/49b28ccd6e709240114db596a1dd1b52e7ad0695 [Pipeline] } [2020-10-16T06:58:50.845Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:58:54.444Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:58:55.013Z] ---> package-listing.sh [2020-10-16T06:58:55.013Z] ++ facter osfamily [2020-10-16T06:58:55.014Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T06:58:55.014Z] + OS_FAMILY=redhat [2020-10-16T06:58:55.014Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-627 [2020-10-16T06:58:55.014Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T06:58:55.014Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T06:58:55.014Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T06:58:55.014Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T06:58:55.014Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' [2020-10-16T06:58:55.014Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T06:58:55.014Z] + case "${OS_FAMILY}" in [2020-10-16T06:58:55.014Z] + rpm -qa [2020-10-16T06:58:55.014Z] + sort [2020-10-16T06:58:59.233Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T06:58:59.233Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T06:58:59.233Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T06:58:59.233Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-627 ']' [2020-10-16T06:58:59.233Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ [2020-10-16T06:58:59.233Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-627/archives/ [Pipeline] echo [2020-10-16T06:58:59.246Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-627/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-10-16T06:58:59.534Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:58:59.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:58:59.844Z] [2020-10-16T06:58:59.844Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:59:00.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:59:00.188Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T06:59:00.188Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:59:00.188Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T06:59:00.188Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T06:59:00.188Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T06:59:00.188Z] 93b61091891f: Pulling fs layer [2020-10-16T06:59:00.188Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T06:59:00.188Z] 5e14af77c1be: Pulling fs layer [2020-10-16T06:59:00.188Z] 01666e4c0597: Pulling fs layer [2020-10-16T06:59:00.188Z] aa168da1d23b: Pulling fs layer [2020-10-16T06:59:00.188Z] 46f8f816bc3b: Waiting [2020-10-16T06:59:00.188Z] 93b61091891f: Waiting [2020-10-16T06:59:00.188Z] 93b9cdb0e59b: Waiting [2020-10-16T06:59:00.188Z] 5e14af77c1be: Waiting [2020-10-16T06:59:00.188Z] 01666e4c0597: Waiting [2020-10-16T06:59:00.188Z] aa168da1d23b: Waiting [2020-10-16T06:59:00.188Z] 36b3adc4ff6f: Verifying Checksum [2020-10-16T06:59:00.188Z] 36b3adc4ff6f: Download complete [2020-10-16T06:59:00.188Z] 46f8f816bc3b: Verifying Checksum [2020-10-16T06:59:00.188Z] 46f8f816bc3b: Download complete [2020-10-16T06:59:00.451Z] df20fa9351a1: Download complete [2020-10-16T06:59:00.451Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T06:59:00.451Z] 93b9cdb0e59b: Download complete [2020-10-16T06:59:00.451Z] 5e14af77c1be: Verifying Checksum [2020-10-16T06:59:00.451Z] 5e14af77c1be: Download complete [2020-10-16T06:59:00.451Z] 01666e4c0597: Verifying Checksum [2020-10-16T06:59:00.451Z] 01666e4c0597: Download complete [2020-10-16T06:59:00.451Z] df20fa9351a1: Pull complete [2020-10-16T06:59:00.715Z] 93b61091891f: Verifying Checksum [2020-10-16T06:59:00.715Z] 93b61091891f: Download complete [2020-10-16T06:59:00.715Z] 36b3adc4ff6f: Pull complete [2020-10-16T06:59:00.715Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T06:59:00.715Z] 8ad3a11d3b57: Download complete [2020-10-16T06:59:01.675Z] 8ad3a11d3b57: Pull complete [2020-10-16T06:59:01.675Z] 46f8f816bc3b: Pull complete [2020-10-16T06:59:01.941Z] 93b61091891f: Pull complete [2020-10-16T06:59:01.941Z] 93b9cdb0e59b: Pull complete [2020-10-16T06:59:02.205Z] 5e14af77c1be: Pull complete [2020-10-16T06:59:02.468Z] 01666e4c0597: Pull complete [2020-10-16T06:59:02.733Z] aa168da1d23b: Verifying Checksum [2020-10-16T06:59:02.733Z] aa168da1d23b: Download complete [2020-10-16T06:59:08.032Z] aa168da1d23b: Pull complete [2020-10-16T06:59:08.032Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T06:59:08.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:59:08.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T06:59:08.177Z] prd-centos7-docker-4c-2g-5789 does not seem to be running inside a container [2020-10-16T06:59:08.228Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-627/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-627 -v /w/workspace/dgexfoundry_device-sdk-go_PR-627:/w/workspace/dgexfoundry_device-sdk-go_PR-627:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-16T06:59:14.576Z] $ docker top 281a6009becd84a4f6bc9d4b2dd6c0cb92b5565b6bfb54b08a44d7ad476dd61e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:59:15.142Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T06:59:15.442Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T06:59:15.739Z] + ls /var/log/sa-host [2020-10-16T06:59:15.739Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T06:59:15.739Z] file_magic: OK [2020-10-16T06:59:15.739Z] HZ: Using current value: 100 [2020-10-16T06:59:15.739Z] file_header: OK [2020-10-16T06:59:15.739Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-16T06:59:15.739Z] Statistics: [2020-10-16T06:59:15.739Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T06:59:15.739Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T06:59:15.739Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T06:59:15.739Z] file_magic: OK [2020-10-16T06:59:15.739Z] HZ: Using current value: 100 [2020-10-16T06:59:15.739Z] file_header: OK [2020-10-16T06:59:15.739Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-10-16T06:59:15.739Z] Statistics: [2020-10-16T06:59:15.739Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T06:59:15.739Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T06:59:16.012Z] provisioning config files... [2020-10-16T06:59:16.034Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-627@tmp/config5647010446123482706tmp [Pipeline] { [Pipeline] echo [2020-10-16T06:59:16.107Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:59:16.403Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T06:59:16.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T06:59:16.514Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:59:16.808Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T06:59:16.818Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:59:17.114Z] ---> sudo-logs.sh [2020-10-16T06:59:17.114Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T06:59:17.124Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:59:17.420Z] ---> job-cost.sh [2020-10-16T06:59:17.420Z] lf-activate-venv: SKIPPING [2020-10-16T06:59:17.420Z] INFO: No Stack... [2020-10-16T06:59:18.364Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T06:59:18.625Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T06:59:18.639Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:59:18.934Z] ---> logs-deploy.sh [2020-10-16T06:59:18.934Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-627/4 [2020-10-16T06:59:18.934Z] INFO: archiving workspace using pattern(s): [2020-10-16T06:59:20.321Z] Archives upload complete. [2020-10-16T06:59:20.582Z] INFO: archiving logs to Nexus