Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0136f4ab48c04aea383df6fc9b835c730cf6549+10f5d80329275e8e77aa5b449b49b1589ab3bade (93fff1ae0ec3c5d45ac324bffb4590238c3fb707) 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-5773 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 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 --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/584/head:refs/remotes/origin/PR-584 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 Merge succeeded, producing f26c30ae5c623fd31539b0352a534cc435f4ba06 Checking out Revision f26c30ae5c623fd31539b0352a534cc435f4ba06 (PR-584) > git config core.sparsecheckout # timeout=10 > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # 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 f26c30ae5c623fd31539b0352a534cc435f4ba06 # timeout=10 Commit message: "Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T06:27:15.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T06:27:16.030Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk dd95adb44c79d885b11bb729300c8da6e1c54625 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T06:27:16.127Z] ========================================================= [2020-10-16T06:27:16.128Z] EdgeX Global Pipelines Version Info [2020-10-16T06:27:16.128Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:27:17.579Z] ------------------- [2020-10-16T06:27:17.579Z] stable info: [2020-10-16T06:27:17.579Z] ------------------- [2020-10-16T06:27:17.579Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:27:17.579Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:27:17.579Z] Message: update stable to v1.0.144 [2020-10-16T06:27:18.527Z] ------------------- [2020-10-16T06:27:18.527Z] experimental info: [2020-10-16T06:27:18.527Z] ------------------- [2020-10-16T06:27:18.527Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:27:18.527Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:27:18.527Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T06:27:18.869Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T06:27:18.954Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T06:27:19.082Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T06:27:19.193Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T06:27:19.282Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T06:27:19.396Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T06:27:19.603Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T06:27:19.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T06:27:19.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T06:27:19.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T06:27:19.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T06:27:20.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T06:27:20.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T06:27:20.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T06:27:20.502Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T06:27:20.592Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:27:20.702Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:27:20.800Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:27:20.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T06:27:21.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T06:27:21.117Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T06:27:21.204Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T06:27:21.295Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T06:27:21.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T06:27:21.480Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T06:27:21.579Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-16T06:27:21.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-16T06:27:21.758Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-16T06:27:21.848Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f26c30ae5c623fd31539b0352a534cc435f4ba06 [Pipeline] echo [2020-10-16T06:27:21.939Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f26c30a [Pipeline] echo [2020-10-16T06:27:22.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:27:22.702Z] + git log --format=format:%s -1 f26c30ae5c623fd31539b0352a534cc435f4ba06 [Pipeline] echo [2020-10-16T06:27:22.772Z] GIT_COMMIT: f26c30ae5c623fd31539b0352a534cc435f4ba06, Commit Message: Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD [Pipeline] echo [2020-10-16T06:27:22.818Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:27:23.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:27:23.383Z] [2020-10-16T06:27:23.383Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:27:23.743Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:27:23.743Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T06:27:23.743Z] 31603596830f: Pulling fs layer [2020-10-16T06:27:23.743Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T06:27:23.743Z] 6ca5941a6612: Pulling fs layer [2020-10-16T06:27:23.743Z] ecc8261a40a4: Pulling fs layer [2020-10-16T06:27:23.743Z] ecc8261a40a4: Waiting [2020-10-16T06:27:24.013Z] 31603596830f: Download complete [2020-10-16T06:27:24.013Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T06:27:24.013Z] 2a8b12db71e7: Download complete [2020-10-16T06:27:24.013Z] 6ca5941a6612: Verifying Checksum [2020-10-16T06:27:24.013Z] 6ca5941a6612: Download complete [2020-10-16T06:27:24.284Z] ecc8261a40a4: Verifying Checksum [2020-10-16T06:27:24.284Z] ecc8261a40a4: Download complete [2020-10-16T06:27:24.284Z] 31603596830f: Pull complete [2020-10-16T06:27:24.284Z] 2a8b12db71e7: Pull complete [2020-10-16T06:27:25.674Z] 6ca5941a6612: Pull complete [2020-10-16T06:27:25.674Z] ecc8261a40a4: Pull complete [2020-10-16T06:27:25.674Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T06:27:25.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:27:25.674Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T06:27:25.779Z] prd-centos7-docker-4c-2g-5773 does not seem to be running inside a container [2020-10-16T06:27:25.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-10-16T06:27:27.538Z] $ docker top 4e126132f3865f7752e8328e0fe0ef17d87767caebdadda2b9711a1a04313a3b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T06:27:27.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:27:27.806Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:27:27.997Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:27:28.000Z] $ docker exec 4e126132f3865f7752e8328e0fe0ef17d87767caebdadda2b9711a1a04313a3b ssh-agent [2020-10-16T06:27:28.149Z] SSH_AUTH_SOCK=/tmp/ssh-TQ7dMlEEH33U/agent.13 [2020-10-16T06:27:28.149Z] SSH_AGENT_PID=19 [2020-10-16T06:27:28.159Z] Running ssh-add (command line suppressed) [2020-10-16T06:27:28.270Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3584753234126636892.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3584753234126636892.key) [2020-10-16T06:27:28.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:27:28.701Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T06:27:28.720Z] $ docker exec --env ******** --env ******** 4e126132f3865f7752e8328e0fe0ef17d87767caebdadda2b9711a1a04313a3b ssh-agent -k [2020-10-16T06:27:28.824Z] unset SSH_AUTH_SOCK; [2020-10-16T06:27:28.824Z] unset SSH_AGENT_PID; [2020-10-16T06:27:28.824Z] echo Agent pid 19 killed; [2020-10-16T06:27:28.865Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T06:27:29.049Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:27:29.049Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:27:29.210Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:27:29.214Z] $ docker exec 4e126132f3865f7752e8328e0fe0ef17d87767caebdadda2b9711a1a04313a3b ssh-agent [2020-10-16T06:27:29.363Z] SSH_AUTH_SOCK=/tmp/ssh-RBdyfQwQuMdV/agent.49 [2020-10-16T06:27:29.363Z] SSH_AGENT_PID=55 [2020-10-16T06:27:29.370Z] Running ssh-add (command line suppressed) [2020-10-16T06:27:29.480Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_8160633068871294400.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_8160633068871294400.key) [2020-10-16T06:27:29.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:27:29.858Z] + git semver init [2020-10-16T06:27:29.858Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T06:27:29.858Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-16T06:27:29.858Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-16T06:27:29.858Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T06:27:29.858Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T06:27:29.858Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T06:27:29.858Z] # $SEMVER_BRANCH = PR-584 [2020-10-16T06:27:29.858Z] # $SEMVER_TEMP = /tmp/semver-105814354 [2020-10-16T06:27:29.858Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T06:27:30.430Z] # '/tmp/semver-105814354' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-16T06:27:30.430Z] # -> Force: false [2020-10-16T06:27:30.430Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-16T06:27:30.442Z] $ docker exec --env ******** --env ******** 4e126132f3865f7752e8328e0fe0ef17d87767caebdadda2b9711a1a04313a3b ssh-agent -k [2020-10-16T06:27:30.553Z] unset SSH_AUTH_SOCK; [2020-10-16T06:27:30.554Z] unset SSH_AGENT_PID; [2020-10-16T06:27:30.554Z] echo Agent pid 55 killed; [2020-10-16T06:27:30.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T06:27:31.153Z] + git semver [Pipeline] } [2020-10-16T06:27:31.169Z] $ docker stop --time=1 4e126132f3865f7752e8328e0fe0ef17d87767caebdadda2b9711a1a04313a3b [2020-10-16T06:27:32.522Z] $ docker rm -f 4e126132f3865f7752e8328e0fe0ef17d87767caebdadda2b9711a1a04313a3b [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T06:27:33.014Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T06:27:33.559Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T06:27:33.562Z] [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:27:49.100Z] Still waiting to schedule task [2020-10-16T06:27:49.101Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5774’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-16T06:27:49.102Z] Still waiting to schedule task [2020-10-16T06:27:49.103Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-16T06:28:59.559Z] Running on prd-centos7-docker-4c-2g-5777 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-16T06:28:59.607Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout [2020-10-16T06:29:02.355Z] using credential edgex-jenkins-ssh [2020-10-16T06:29:02.404Z] Cloning the remote Git repository [2020-10-16T06:29:02.429Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:29:02.494Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2020-10-16T06:29:02.550Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:29:02.550Z] > git --version # timeout=10 [2020-10-16T06:29:02.555Z] > git --version # 'git version 2.16.5' [2020-10-16T06:29:02.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:29:02.583Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:29:04.320Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-16T06:29:03.576Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:29:03.582Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:29:03.591Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:29:03.602Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:29:03.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:29:03.608Z] > git fetch --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-10-16T06:29:04.330Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:29:04.336Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-16T06:29:04.384Z] > git remote # timeout=10 [2020-10-16T06:29:04.389Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:29:04.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:29:04.399Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:29:04.438Z] Merge succeeded, producing 3f5f4e226dc44c1ee3eb8ad1ee835f2855f049c3 [2020-10-16T06:29:04.439Z] Checking out Revision 3f5f4e226dc44c1ee3eb8ad1ee835f2855f049c3 (PR-584) [2020-10-16T06:29:04.434Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:29:04.443Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:29:04.447Z] > git checkout -f 3f5f4e226dc44c1ee3eb8ad1ee835f2855f049c3 # timeout=10 [2020-10-16T06:29:08.089Z] Commit message: "Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD" [2020-10-16T06:29:08.103Z] First time build. Skipping changelog. [2020-10-16T06:29:08.095Z] > git rev-list --no-walk dd95adb44c79d885b11bb729300c8da6e1c54625 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:29:09.015Z] ========================================================= [2020-10-16T06:29:09.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T06:29:09.015Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:29:09.785Z] + 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:29:10.051Z] Sending build context to Docker daemon 2.318MB [2020-10-16T06:29:10.051Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:29:10.051Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:29:10.051Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T06:29:10.051Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:29:10.051Z] ed8968b2872e: Pulling fs layer [2020-10-16T06:29:10.051Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T06:29:10.051Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T06:29:10.051Z] e73272ec9a57: Pulling fs layer [2020-10-16T06:29:10.051Z] 1e910a182e73: Pulling fs layer [2020-10-16T06:29:10.051Z] 4e634b169226: Pulling fs layer [2020-10-16T06:29:10.051Z] e73272ec9a57: Waiting [2020-10-16T06:29:10.051Z] 1e910a182e73: Waiting [2020-10-16T06:29:10.051Z] 4e634b169226: Waiting [2020-10-16T06:29:10.051Z] e871e8e8d7a9: Waiting [2020-10-16T06:29:10.051Z] a92cc7c5fd73: Verifying Checksum [2020-10-16T06:29:10.051Z] a92cc7c5fd73: Download complete [2020-10-16T06:29:10.051Z] ed8968b2872e: Download complete [2020-10-16T06:29:10.051Z] df20fa9351a1: Verifying Checksum [2020-10-16T06:29:10.051Z] df20fa9351a1: Download complete [2020-10-16T06:29:10.051Z] 1e910a182e73: Verifying Checksum [2020-10-16T06:29:10.051Z] 1e910a182e73: Download complete [2020-10-16T06:29:10.322Z] e73272ec9a57: Verifying Checksum [2020-10-16T06:29:10.322Z] e73272ec9a57: Download complete [2020-10-16T06:29:10.322Z] df20fa9351a1: Pull complete [2020-10-16T06:29:10.584Z] ed8968b2872e: Pull complete [2020-10-16T06:29:10.584Z] a92cc7c5fd73: Pull complete [2020-10-16T06:29:11.976Z] 4e634b169226: Verifying Checksum [2020-10-16T06:29:11.976Z] 4e634b169226: Download complete [2020-10-16T06:29:13.377Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T06:29:13.377Z] e871e8e8d7a9: Download complete [2020-10-16T06:29:18.721Z] e871e8e8d7a9: Pull complete [2020-10-16T06:29:18.721Z] e73272ec9a57: Pull complete [2020-10-16T06:29:18.721Z] 1e910a182e73: Pull complete [2020-10-16T06:29:26.908Z] 4e634b169226: Pull complete [2020-10-16T06:29:26.908Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T06:29:26.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T06:29:26.908Z] ---> f7629b54cfaa [2020-10-16T06:29:26.908Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:29:26.908Z] ---> Running in 941cf5effcdc [2020-10-16T06:29:26.908Z] Removing intermediate container 941cf5effcdc [2020-10-16T06:29:26.908Z] ---> b7f588b4268b [2020-10-16T06:29:26.908Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:29:26.908Z] ---> Running in b212d3275ad8 [2020-10-16T06:29:27.484Z] Removing intermediate container b212d3275ad8 [2020-10-16T06:29:27.484Z] ---> b6bdb7d3d1e7 [2020-10-16T06:29:27.484Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:29:27.747Z] ---> Running in 9b9255e367a7 [2020-10-16T06:29:28.327Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:29:28.904Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:29:29.875Z] OK: 166 MiB in 39 packages [2020-10-16T06:29:30.138Z] Removing intermediate container 9b9255e367a7 [2020-10-16T06:29:30.138Z] ---> 89659907ebfd [2020-10-16T06:29:30.138Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:29:30.400Z] ---> Running in 79910064f069 [2020-10-16T06:29:30.400Z] Removing intermediate container 79910064f069 [2020-10-16T06:29:30.400Z] ---> 37ca91a5cd8a [2020-10-16T06:29:30.400Z] Step 7/8 : COPY . . [2020-10-16T06:29:31.788Z] ---> d96ed81ff92a [2020-10-16T06:29:31.788Z] Step 8/8 : RUN go mod download [2020-10-16T06:29:31.788Z] ---> Running in 23fa0b3e8317 [2020-10-16T06:29:49.968Z] Removing intermediate container 23fa0b3e8317 [2020-10-16T06:29:49.968Z] ---> f157dd919891 [2020-10-16T06:29:49.968Z] Successfully built f157dd919891 [2020-10-16T06:29:49.968Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:29:50.323Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:29:50.323Z] . [Pipeline] withDockerContainer [2020-10-16T06:29:50.420Z] prd-centos7-docker-4c-2g-5777 does not seem to be running inside a container [2020-10-16T06:29:50.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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:29:51.085Z] $ docker top 978231770c9533e838d614c7a29d7a788f8a2138e0db3e97ffecead310e575cb -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:29:51.564Z] + go version [2020-10-16T06:29:51.564Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T06:29:51.580Z] $ docker stop --time=1 978231770c9533e838d614c7a29d7a788f8a2138e0db3e97ffecead310e575cb [2020-10-16T06:29:52.916Z] $ docker rm -f 978231770c9533e838d614c7a29d7a788f8a2138e0db3e97ffecead310e575cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:29:53.920Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:29:53.921Z] . [Pipeline] withDockerContainer [2020-10-16T06:29:54.089Z] prd-centos7-docker-4c-2g-5777 does not seem to be running inside a container [2020-10-16T06:29:54.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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:29:54.745Z] $ docker top 04cda3d614c3a3868dd10413e60658e6b73a5c92d97f624c384f418cbf9ddfd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:29:55.210Z] + make test [2020-10-16T06:29:55.210Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:30:01.827Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:30:16.938Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:30:16.938Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:30:16.938Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:30:16.938Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 21.6% of statements [2020-10-16T06:30:17.524Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.430s coverage: 97.1% of statements [2020-10-16T06:30:27.726Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5781 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-16T06:30:27.780Z] Running in /w/workspace/device-sdk-go/22 [Pipeline] { [Pipeline] checkout [2020-10-16T06:30:34.257Z] using credential edgex-jenkins-ssh [2020-10-16T06:30:34.320Z] Cloning the remote Git repository [2020-10-16T06:30:34.385Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:30:34.502Z] > git init /w/workspace/device-sdk-go/22 # timeout=10 [2020-10-16T06:30:34.592Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:30:34.593Z] > git --version # timeout=10 [2020-10-16T06:30:34.611Z] > git --version # 'git version 2.17.1' [2020-10-16T06:30:34.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:30:34.683Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:30:36.541Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit a0136f4ab48c04aea383df6fc9b835c730cf6549 [2020-10-16T06:30:35.812Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:30:35.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:30:35.870Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:30:35.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:30:35.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:30:35.969Z] > git fetch --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-10-16T06:30:36.560Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:30:36.585Z] > git checkout -f a0136f4ab48c04aea383df6fc9b835c730cf6549 # timeout=10 [2020-10-16T06:30:36.863Z] Merge succeeded, producing 6727bae30f0167541de4a59609bbc7dc0ef1ffac [2020-10-16T06:30:36.864Z] Checking out Revision 6727bae30f0167541de4a59609bbc7dc0ef1ffac (PR-584) [2020-10-16T06:30:36.698Z] > git remote # timeout=10 [2020-10-16T06:30:36.721Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:30:36.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:30:36.747Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:30:36.844Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:30:36.867Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:30:36.877Z] > git checkout -f 6727bae30f0167541de4a59609bbc7dc0ef1ffac # timeout=10 [2020-10-16T06:30:41.095Z] Commit message: "Merge commit '10f5d80329275e8e77aa5b449b49b1589ab3bade' into HEAD" [2020-10-16T06:30:41.117Z] First time build. Skipping changelog. [2020-10-16T06:30:41.097Z] > git rev-list --no-walk dd95adb44c79d885b11bb729300c8da6e1c54625 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:30:41.942Z] ========================================================= [2020-10-16T06:30:41.942Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T06:30:41.942Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:30:42.989Z] + 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:30:43.972Z] Sending build context to Docker daemon 2.318MB [2020-10-16T06:30:43.972Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:30:43.972Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:30:44.244Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T06:30:44.244Z] b538f80385f9: Pulling fs layer [2020-10-16T06:30:44.244Z] 74f711af9a0d: Pulling fs layer [2020-10-16T06:30:44.244Z] 99f96fe45779: Pulling fs layer [2020-10-16T06:30:44.244Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T06:30:44.244Z] 45590311c82a: Pulling fs layer [2020-10-16T06:30:44.244Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T06:30:44.244Z] 209524e5b208: Pulling fs layer [2020-10-16T06:30:44.244Z] 8529a6b9a6be: Waiting [2020-10-16T06:30:44.244Z] 45590311c82a: Waiting [2020-10-16T06:30:44.244Z] 69ca0ff8b7b3: Waiting [2020-10-16T06:30:44.244Z] 209524e5b208: Waiting [2020-10-16T06:30:44.244Z] 99f96fe45779: Verifying Checksum [2020-10-16T06:30:44.244Z] 99f96fe45779: Download complete [2020-10-16T06:30:44.244Z] 74f711af9a0d: Download complete [2020-10-16T06:30:44.244Z] 45590311c82a: Verifying Checksum [2020-10-16T06:30:44.244Z] 45590311c82a: Download complete [2020-10-16T06:30:44.521Z] 69ca0ff8b7b3: Download complete [2020-10-16T06:30:44.797Z] b538f80385f9: Verifying Checksum [2020-10-16T06:30:44.797Z] b538f80385f9: Download complete [2020-10-16T06:30:45.417Z] b538f80385f9: Pull complete [2020-10-16T06:30:46.052Z] 74f711af9a0d: Pull complete [2020-10-16T06:30:46.344Z] 99f96fe45779: Pull complete [2020-10-16T06:30:47.324Z] 209524e5b208: Verifying Checksum [2020-10-16T06:30:47.324Z] 209524e5b208: Download complete [2020-10-16T06:30:48.761Z] 8529a6b9a6be: Verifying Checksum [2020-10-16T06:30:48.761Z] 8529a6b9a6be: Download complete [2020-10-16T06:30:49.698Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements [2020-10-16T06:30:49.698Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:30:49.698Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.230s coverage: 42.6% of statements [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:30:49.698Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.281s coverage: 68.9% of statements [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:30:49.698Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.069s coverage: 52.6% of statements [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:30:49.698Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.282s coverage: 68.9% of statements [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:30:49.698Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:30:49.698Z] GO111MODULE=on go vet ./... [2020-10-16T06:30:56.343Z] gofmt -l . [2020-10-16T06:30:56.343Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:30:56.343Z] ./bin/test-attribution-txt.sh [2020-10-16T06:30:56.343Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:30:56.965Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:30:56.973Z] $ docker stop --time=1 04cda3d614c3a3868dd10413e60658e6b73a5c92d97f624c384f418cbf9ddfd9 [2020-10-16T06:30:58.863Z] $ docker rm -f 04cda3d614c3a3868dd10413e60658e6b73a5c92d97f624c384f418cbf9ddfd9 [2020-10-16T06:30:58.905Z] 8529a6b9a6be: Pull complete [2020-10-16T06:30:58.905Z] 45590311c82a: Pull complete [2020-10-16T06:30:58.905Z] 69ca0ff8b7b3: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-10-16T06:31:00.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T06:31:00.736Z] + ls -al . [2020-10-16T06:31:00.736Z] total 188 [2020-10-16T06:31:00.736Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 06:30 . [2020-10-16T06:31:00.736Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 06:29 .. [2020-10-16T06:31:00.736Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 06:29 bin [2020-10-16T06:31:00.736Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 06:30 coverage.out [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 06:29 Dockerfile.build [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 06:29 .dockerignore [2020-10-16T06:31:00.736Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 06:29 example [2020-10-16T06:31:00.736Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 06:29 .git [2020-10-16T06:31:00.736Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 06:29 .github [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 06:29 .gitignore [2020-10-16T06:31:00.736Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 06:30 go.mod [2020-10-16T06:31:00.736Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 16 06:30 go.sum [2020-10-16T06:31:00.736Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 06:29 internal [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 06:29 Jenkinsfile [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 06:29 LICENSE [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 06:29 Makefile [2020-10-16T06:31:00.736Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 06:29 openapi [2020-10-16T06:31:00.736Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 06:29 pkg [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 06:29 README.md [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 06:29 RELEASE-NOTES.txt [2020-10-16T06:31:00.736Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 06:29 snap [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 06:27 VERSION [2020-10-16T06:31:00.736Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 06:29 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:31:01.045Z] + 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=f26c30ae5c623fd31539b0352a534cc435f4ba06 --label arch=amd64 --label version=0.0.0 . [2020-10-16T06:31:01.310Z] Sending build context to Docker daemon 2.429MB [2020-10-16T06:31:01.310Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T06:31:01.310Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T06:31:01.310Z] ---> f157dd919891 [2020-10-16T06:31:01.310Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T06:31:01.889Z] ---> Running in f5ba449b437c [2020-10-16T06:31:01.889Z] Removing intermediate container f5ba449b437c [2020-10-16T06:31:01.889Z] ---> 4208eb0390be [2020-10-16T06:31:01.889Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T06:31:01.889Z] ---> Running in 6598ac54fb9a [2020-10-16T06:31:02.151Z] Removing intermediate container 6598ac54fb9a [2020-10-16T06:31:02.151Z] ---> 9979b469f3d6 [2020-10-16T06:31:02.151Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:31:02.151Z] ---> Running in d7924f53bd28 [2020-10-16T06:31:02.359Z] 209524e5b208: Pull complete [2020-10-16T06:31:02.359Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T06:31:02.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T06:31:02.359Z] ---> 5bddaf1c2fca [2020-10-16T06:31:02.359Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:31:02.413Z] Removing intermediate container d7924f53bd28 [2020-10-16T06:31:02.414Z] ---> 14020e6f0711 [2020-10-16T06:31:02.414Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:31:02.414Z] ---> Running in acb793c2f6da [2020-10-16T06:31:03.360Z] Removing intermediate container acb793c2f6da [2020-10-16T06:31:03.360Z] ---> 9dde9f2c498b [2020-10-16T06:31:03.360Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T06:31:03.360Z] ---> Running in a69ee717bf08 [2020-10-16T06:31:03.932Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:31:04.508Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:31:04.979Z] ---> Running in 231d3886b34d [2020-10-16T06:31:05.253Z] Removing intermediate container 231d3886b34d [2020-10-16T06:31:05.253Z] ---> 6d216543506a [2020-10-16T06:31:05.253Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:31:05.452Z] OK: 166 MiB in 39 packages [2020-10-16T06:31:05.531Z] ---> Running in 6b3d91142d6d [2020-10-16T06:31:05.715Z] Removing intermediate container a69ee717bf08 [2020-10-16T06:31:05.715Z] ---> fb7dde1daa34 [2020-10-16T06:31:05.715Z] Step 8/24 : COPY . . [2020-10-16T06:31:06.664Z] ---> 233a27d90de5 [2020-10-16T06:31:06.664Z] Step 9/24 : RUN ${MAKE} [2020-10-16T06:31:06.664Z] ---> Running in c556a6cad204 [2020-10-16T06:31:06.936Z] 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:31:08.187Z] Removing intermediate container 6b3d91142d6d [2020-10-16T06:31:08.187Z] ---> 9216a6bbb634 [2020-10-16T06:31:08.187Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:31:08.187Z] ---> Running in a24d4b1d5a2d [2020-10-16T06:31:09.664Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:31:10.660Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:31:12.116Z] OK: 142 MiB in 39 packages [2020-10-16T06:31:13.122Z] Removing intermediate container a24d4b1d5a2d [2020-10-16T06:31:13.122Z] ---> d4552bf9aa98 [2020-10-16T06:31:13.122Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:31:13.396Z] ---> Running in 2b209c490b98 [2020-10-16T06:31:13.671Z] Removing intermediate container 2b209c490b98 [2020-10-16T06:31:13.671Z] ---> 30f843ec7344 [2020-10-16T06:31:13.671Z] Step 7/8 : COPY . . [2020-10-16T06:31:15.125Z] ---> 85ed6f371854 [2020-10-16T06:31:15.125Z] Step 8/8 : RUN go mod download [2020-10-16T06:31:15.241Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T06:31:15.415Z] ---> Running in 8414140589bc [2020-10-16T06:31:16.659Z] Removing intermediate container c556a6cad204 [2020-10-16T06:31:16.659Z] ---> 792f027ea6aa [2020-10-16T06:31:16.659Z] Step 10/24 : FROM scratch [2020-10-16T06:31:16.659Z] ---> [2020-10-16T06:31:16.659Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:31:16.923Z] ---> Running in d097c8a5dce6 [2020-10-16T06:31:16.923Z] Removing intermediate container d097c8a5dce6 [2020-10-16T06:31:16.923Z] ---> bd2c32b33367 [2020-10-16T06:31:16.923Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T06:31:16.923Z] ---> Running in 1462694b2794 [2020-10-16T06:31:17.197Z] Removing intermediate container 1462694b2794 [2020-10-16T06:31:17.197Z] ---> ad6c45c1d1c3 [2020-10-16T06:31:17.197Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T06:31:17.197Z] ---> Running in 7f1be6799937 [2020-10-16T06:31:17.461Z] Removing intermediate container 7f1be6799937 [2020-10-16T06:31:17.461Z] ---> a32ab65ab021 [2020-10-16T06:31:17.461Z] Step 14/24 : WORKDIR / [2020-10-16T06:31:17.461Z] ---> Running in a47b7c86a531 [2020-10-16T06:31:17.725Z] Removing intermediate container a47b7c86a531 [2020-10-16T06:31:17.725Z] ---> d1ed55ab1414 [2020-10-16T06:31:17.725Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T06:31:17.989Z] ---> 1f3da8295736 [2020-10-16T06:31:17.989Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T06:31:18.254Z] ---> f140ecebf134 [2020-10-16T06:31:18.254Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T06:31:18.517Z] ---> dd1bba566c4d [2020-10-16T06:31:18.517Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T06:31:18.780Z] ---> 0cca14522f11 [2020-10-16T06:31:18.780Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T06:31:19.049Z] ---> 2eca3ed0db80 [2020-10-16T06:31:19.049Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T06:31:19.049Z] ---> Running in 05750fbe1ee2 [2020-10-16T06:31:19.317Z] Removing intermediate container 05750fbe1ee2 [2020-10-16T06:31:19.317Z] ---> 45ed66467747 [2020-10-16T06:31:19.317Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T06:31:19.317Z] ---> Running in dda0774593ab [2020-10-16T06:31:19.582Z] Removing intermediate container dda0774593ab [2020-10-16T06:31:19.582Z] ---> 053152fe2bb8 [2020-10-16T06:31:19.582Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T06:31:19.582Z] ---> Running in 4f3c8b8fd6d2 [2020-10-16T06:31:19.582Z] Removing intermediate container 4f3c8b8fd6d2 [2020-10-16T06:31:19.582Z] ---> 82a24cd96904 [2020-10-16T06:31:19.582Z] Step 23/24 : LABEL git_sha=f26c30ae5c623fd31539b0352a534cc435f4ba06 [2020-10-16T06:31:19.848Z] ---> Running in 8b38af76dcd7 [2020-10-16T06:31:19.848Z] Removing intermediate container 8b38af76dcd7 [2020-10-16T06:31:19.848Z] ---> 139ed02064ba [2020-10-16T06:31:19.848Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T06:31:20.133Z] ---> Running in 1586cd3d7bed [2020-10-16T06:31:20.133Z] Removing intermediate container 1586cd3d7bed [2020-10-16T06:31:20.133Z] ---> 40bc3e86a750 [2020-10-16T06:31:20.133Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T06:31:20.133Z] Successfully built 40bc3e86a750 [2020-10-16T06:31:20.133Z] 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:31:37.704Z] Removing intermediate container 8414140589bc [2020-10-16T06:31:37.705Z] ---> f71098663471 [2020-10-16T06:31:37.705Z] Successfully built f71098663471 [2020-10-16T06:31:37.705Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:31:38.191Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:31:38.191Z] . [Pipeline] withDockerContainer [2020-10-16T06:31:38.495Z] prd-ubuntu18.04-docker-arm64-4c-16g-5781 does not seem to be running inside a container [2020-10-16T06:31:38.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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 ******** ci-base-image-arm64 cat [2020-10-16T06:31:40.611Z] $ docker top 7b6119c6cd24a605a73efe89661cb5c9b022a266cdfd555e6059cb4e67c381ed -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:31:42.108Z] + go version [2020-10-16T06:31:42.108Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T06:31:42.134Z] $ docker stop --time=1 7b6119c6cd24a605a73efe89661cb5c9b022a266cdfd555e6059cb4e67c381ed [2020-10-16T06:31:44.100Z] $ docker rm -f 7b6119c6cd24a605a73efe89661cb5c9b022a266cdfd555e6059cb4e67c381ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:31:45.371Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:31:45.372Z] . [Pipeline] withDockerContainer [2020-10-16T06:31:45.598Z] prd-ubuntu18.04-docker-arm64-4c-16g-5781 does not seem to be running inside a container [2020-10-16T06:31:45.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/22 -v /w/workspace/device-sdk-go/22:/w/workspace/device-sdk-go/22:rw,z -v /w/workspace/device-sdk-go/22@tmp:/w/workspace/device-sdk-go/22@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 ******** ci-base-image-arm64 cat [2020-10-16T06:31:47.543Z] $ docker top 961f73fa796883fde0ca41b82d4b05a504c7d2b5ca0b071a9e7e46c016f487b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:31:48.974Z] + make test [2020-10-16T06:31:48.974Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:32:11.179Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:32:58.202Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:32:58.202Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:32:58.202Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:32:58.202Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.145s coverage: 21.6% of statements [2020-10-16T06:32:58.202Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.261s coverage: 97.1% of statements [2020-10-16T06:33:25.000Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.152s coverage: 9.4% of statements [2020-10-16T06:33:25.000Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.122s coverage: 21.9% of statements [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:33:25.000Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.577s coverage: 42.6% of statements [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:33:25.000Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.787s coverage: 68.9% of statements [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:33:25.000Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.182s coverage: 52.6% of statements [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:33:25.000Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.764s coverage: 68.9% of statements [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:33:25.000Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:33:25.000Z] GO111MODULE=on go vet ./... [2020-10-16T06:33:57.381Z] gofmt -l . [2020-10-16T06:33:57.381Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:33:57.381Z] ./bin/test-attribution-txt.sh [2020-10-16T06:33:57.381Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:33:57.445Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T06:33:58.243Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:33:58.260Z] $ docker stop --time=1 961f73fa796883fde0ca41b82d4b05a504c7d2b5ca0b071a9e7e46c016f487b7 [2020-10-16T06:34:00.602Z] $ docker rm -f 961f73fa796883fde0ca41b82d4b05a504c7d2b5ca0b071a9e7e46c016f487b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:34:02.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T06:34:02.397Z] + ls -al . [2020-10-16T06:34:02.397Z] total 224 [2020-10-16T06:34:02.397Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 06:33 . [2020-10-16T06:34:02.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:30 .. [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 06:30 .dockerignore [2020-10-16T06:34:02.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 06:30 .git [2020-10-16T06:34:02.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:30 .github [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 06:30 .gitignore [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 06:30 Dockerfile.build [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 06:30 Jenkinsfile [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 06:30 LICENSE [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 06:30 Makefile [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 06:30 README.md [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 06:30 RELEASE-NOTES.txt [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 06:27 VERSION [2020-10-16T06:34:02.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:30 bin [2020-10-16T06:34:02.397Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 06:33 coverage.out [2020-10-16T06:34:02.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:30 example [2020-10-16T06:34:02.397Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 06:33 go.mod [2020-10-16T06:34:02.397Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 16 06:33 go.sum [2020-10-16T06:34:02.397Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 06:30 internal [2020-10-16T06:34:02.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:30 openapi [2020-10-16T06:34:02.397Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 06:30 pkg [2020-10-16T06:34:02.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:30 snap [2020-10-16T06:34:02.397Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 06:30 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:34:02.740Z] + 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=f26c30ae5c623fd31539b0352a534cc435f4ba06 --label arch=arm64 --label version=0.0.0 . [2020-10-16T06:34:03.337Z] Sending build context to Docker daemon 2.429MB [2020-10-16T06:34:03.337Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T06:34:03.337Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T06:34:03.337Z] ---> f71098663471 [2020-10-16T06:34:03.337Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T06:34:03.611Z] ---> Running in ab0381ba00a4 [2020-10-16T06:34:03.882Z] Removing intermediate container ab0381ba00a4 [2020-10-16T06:34:03.882Z] ---> 3df200bdc445 [2020-10-16T06:34:03.882Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T06:34:04.153Z] ---> Running in 09c004aed773 [2020-10-16T06:34:04.425Z] Removing intermediate container 09c004aed773 [2020-10-16T06:34:04.425Z] ---> 6cdd3de2645a [2020-10-16T06:34:04.425Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:34:04.698Z] ---> Running in c510a9983811 [2020-10-16T06:34:04.969Z] Removing intermediate container c510a9983811 [2020-10-16T06:34:04.969Z] ---> 0ae6013c8ff3 [2020-10-16T06:34:04.969Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:34:05.244Z] ---> Running in 056365c72f6c [2020-10-16T06:34:07.866Z] Removing intermediate container 056365c72f6c [2020-10-16T06:34:07.866Z] ---> c6c0363ca40f [2020-10-16T06:34:07.866Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T06:34:07.866Z] ---> Running in 6035b5bdd3b1 [2020-10-16T06:34:09.298Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:34:09.900Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:34:10.492Z] OK: 142 MiB in 39 packages [2020-10-16T06:34:11.925Z] Removing intermediate container 6035b5bdd3b1 [2020-10-16T06:34:11.925Z] ---> e5e4dbc00cdf [2020-10-16T06:34:11.925Z] Step 8/24 : COPY . . [2020-10-16T06:34:12.905Z] ---> 15de39bc60fd [2020-10-16T06:34:12.905Z] Step 9/24 : RUN ${MAKE} [2020-10-16T06:34:13.178Z] ---> Running in e26bcb435ef4 [2020-10-16T06:34:14.611Z] 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:34:41.429Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T06:34:41.429Z] Removing intermediate container e26bcb435ef4 [2020-10-16T06:34:41.429Z] ---> b0d87254761e [2020-10-16T06:34:41.429Z] Step 10/24 : FROM scratch [2020-10-16T06:34:41.429Z] ---> [2020-10-16T06:34:41.429Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:34:41.429Z] ---> Running in 109fad3c9634 [2020-10-16T06:34:41.429Z] Removing intermediate container 109fad3c9634 [2020-10-16T06:34:41.429Z] ---> 3757f30bd42c [2020-10-16T06:34:41.429Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T06:34:41.429Z] ---> Running in 9f4479e21edf [2020-10-16T06:34:42.021Z] Removing intermediate container 9f4479e21edf [2020-10-16T06:34:42.021Z] ---> 952b7c3d028c [2020-10-16T06:34:42.021Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T06:34:42.021Z] ---> Running in 449778db83dd [2020-10-16T06:34:42.297Z] Removing intermediate container 449778db83dd [2020-10-16T06:34:42.297Z] ---> 63573c491250 [2020-10-16T06:34:42.297Z] Step 14/24 : WORKDIR / [2020-10-16T06:34:42.571Z] ---> Running in d936b156cb63 [2020-10-16T06:34:42.844Z] Removing intermediate container d936b156cb63 [2020-10-16T06:34:42.844Z] ---> 419a1a9a3960 [2020-10-16T06:34:42.844Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T06:34:44.280Z] ---> 460da3634af2 [2020-10-16T06:34:44.280Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T06:34:44.878Z] ---> ba0730796cb9 [2020-10-16T06:34:44.878Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T06:34:45.473Z] ---> fd11e14cb147 [2020-10-16T06:34:45.473Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T06:34:46.070Z] ---> 7905cc598e10 [2020-10-16T06:34:46.070Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T06:34:47.047Z] ---> 7df8cb65788f [2020-10-16T06:34:47.047Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T06:34:47.047Z] ---> Running in 133c90fd1279 [2020-10-16T06:34:47.650Z] Removing intermediate container 133c90fd1279 [2020-10-16T06:34:47.650Z] ---> 30cbc35c2a58 [2020-10-16T06:34:47.650Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T06:34:47.650Z] ---> Running in 87cb9b57ab64 [2020-10-16T06:34:47.921Z] Removing intermediate container 87cb9b57ab64 [2020-10-16T06:34:47.921Z] ---> 36ba61da78a1 [2020-10-16T06:34:47.921Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T06:34:48.194Z] ---> Running in 2b4e12151c2c [2020-10-16T06:34:48.466Z] Removing intermediate container 2b4e12151c2c [2020-10-16T06:34:48.466Z] ---> c22370a3752b [2020-10-16T06:34:48.466Z] Step 23/24 : LABEL git_sha=f26c30ae5c623fd31539b0352a534cc435f4ba06 [2020-10-16T06:34:48.739Z] ---> Running in 3f22ee3a6c10 [2020-10-16T06:34:49.015Z] Removing intermediate container 3f22ee3a6c10 [2020-10-16T06:34:49.015Z] ---> 1d2251fb3909 [2020-10-16T06:34:49.015Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T06:34:49.289Z] ---> Running in c454028ac4b5 [2020-10-16T06:34:49.883Z] Removing intermediate container c454028ac4b5 [2020-10-16T06:34:49.883Z] ---> 4c5073391cf2 [2020-10-16T06:34:49.883Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T06:34:49.883Z] Successfully built 4c5073391cf2 [2020-10-16T06:34:49.883Z] 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:34:51.933Z] provisioning config files... [2020-10-16T06:34:51.945Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config1188335241424691402tmp [Pipeline] { [Pipeline] sh [2020-10-16T06:34:52.319Z] + set +x [2020-10-16T06:34:52.319Z] + curl -s https://codecov.io/bash [2020-10-16T06:34:52.319Z] + bash -s -- [2020-10-16T06:34:52.580Z] [2020-10-16T06:34:52.580Z] _____ _ [2020-10-16T06:34:52.580Z] / ____| | | [2020-10-16T06:34:52.580Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T06:34:52.580Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T06:34:52.580Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T06:34:52.580Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T06:34:52.580Z] Bash-20201009-048fee3 [2020-10-16T06:34:52.580Z] [2020-10-16T06:34:52.580Z] [2020-10-16T06:34:52.580Z] ==> Jenkins CI detected. [2020-10-16T06:34:52.580Z] project root: . [2020-10-16T06:34:52.580Z] Fixing merge commit SHA [2020-10-16T06:34:52.580Z] --> token set from env [2020-10-16T06:34:52.580Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T06:34:52.580Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T06:34:52.580Z] ==> Python coveragepy not found [2020-10-16T06:34:52.580Z] ==> Searching for coverage reports in: [2020-10-16T06:34:52.580Z] + . [2020-10-16T06:34:52.580Z] -> Found 1 reports [2020-10-16T06:34:52.580Z] ==> Detecting git/mercurial file structure [2020-10-16T06:34:52.580Z] ==> Reading reports [2020-10-16T06:34:52.580Z] + ./coverage.out bytes=110398 [2020-10-16T06:34:52.580Z] ==> Appending adjustments [2020-10-16T06:34:52.580Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T06:34:53.150Z] + Found adjustments [2020-10-16T06:34:53.150Z] ==> Gzipping contents [2020-10-16T06:34:53.150Z] ==> Uploading reports [2020-10-16T06:34:53.150Z] url: https://codecov.io [2020-10-16T06:34:53.150Z] query: branch=PR-584&commit=10f5d80329275e8e77aa5b449b49b1589ab3bade&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-16T06:34:53.151Z] -> Pinging Codecov [2020-10-16T06:34:53.151Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=10f5d80329275e8e77aa5b449b49b1589ab3bade&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-16T06:34:53.151Z] -> Uploading to [2020-10-16T06:34:53.151Z] [2020-10-16T06:34:53.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T06:34:53.151Z] Dload Upload Total Spent Left Speed [2020-10-16T06:34:53.151Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T06:34:53.151Z] X> Failed to upload [2020-10-16T06:34:53.151Z] ==> Uploading to Codecov [2020-10-16T06:34:53.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T06:34:53.151Z] Dload Upload Total Spent Left Speed [2020-10-16T06:34:53.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19132 100 110 100 19022 215 37225 --:--:-- --:--:-- --:--:-- 37298 [2020-10-16T06:34:53.723Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/10f5d80329275e8e77aa5b449b49b1589ab3bade [Pipeline] } [2020-10-16T06:34:53.733Z] 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:34:57.312Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:34:57.884Z] ---> package-listing.sh [2020-10-16T06:34:57.884Z] ++ facter osfamily [2020-10-16T06:34:57.884Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T06:34:57.884Z] + OS_FAMILY=redhat [2020-10-16T06:34:57.884Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-16T06:34:57.884Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T06:34:57.884Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T06:34:57.884Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T06:34:57.884Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T06:34:57.884Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-16T06:34:57.884Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T06:34:57.884Z] + case "${OS_FAMILY}" in [2020-10-16T06:34:57.884Z] + rpm -qa [2020-10-16T06:34:57.884Z] + sort [2020-10-16T06:35:02.096Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T06:35:02.096Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T06:35:02.096Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T06:35:02.096Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-16T06:35:02.096Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-16T06:35:02.096Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [Pipeline] echo [2020-10-16T06:35:02.112Z] 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-584/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:35:02.403Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:35:02.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:35:02.704Z] [2020-10-16T06:35:02.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:35:03.053Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:35:03.053Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T06:35:03.053Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:35:03.053Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T06:35:03.053Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T06:35:03.053Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T06:35:03.053Z] 93b61091891f: Pulling fs layer [2020-10-16T06:35:03.053Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T06:35:03.053Z] 5e14af77c1be: Pulling fs layer [2020-10-16T06:35:03.053Z] 01666e4c0597: Pulling fs layer [2020-10-16T06:35:03.053Z] aa168da1d23b: Pulling fs layer [2020-10-16T06:35:03.053Z] 93b9cdb0e59b: Waiting [2020-10-16T06:35:03.053Z] 01666e4c0597: Waiting [2020-10-16T06:35:03.053Z] aa168da1d23b: Waiting [2020-10-16T06:35:03.053Z] 46f8f816bc3b: Waiting [2020-10-16T06:35:03.053Z] 93b61091891f: Waiting [2020-10-16T06:35:03.053Z] 36b3adc4ff6f: Download complete [2020-10-16T06:35:03.053Z] 46f8f816bc3b: Verifying Checksum [2020-10-16T06:35:03.053Z] 46f8f816bc3b: Download complete [2020-10-16T06:35:03.053Z] df20fa9351a1: Download complete [2020-10-16T06:35:03.053Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T06:35:03.053Z] 93b9cdb0e59b: Download complete [2020-10-16T06:35:03.317Z] 5e14af77c1be: Verifying Checksum [2020-10-16T06:35:03.317Z] 5e14af77c1be: Download complete [2020-10-16T06:35:03.317Z] 01666e4c0597: Verifying Checksum [2020-10-16T06:35:03.317Z] 01666e4c0597: Download complete [2020-10-16T06:35:03.317Z] 93b61091891f: Verifying Checksum [2020-10-16T06:35:03.317Z] 93b61091891f: Download complete [2020-10-16T06:35:03.317Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T06:35:03.317Z] 8ad3a11d3b57: Download complete [2020-10-16T06:35:03.578Z] df20fa9351a1: Pull complete [2020-10-16T06:35:03.578Z] 36b3adc4ff6f: Pull complete [2020-10-16T06:35:04.532Z] 8ad3a11d3b57: Pull complete [2020-10-16T06:35:04.532Z] 46f8f816bc3b: Pull complete [2020-10-16T06:35:04.801Z] 93b61091891f: Pull complete [2020-10-16T06:35:05.070Z] 93b9cdb0e59b: Pull complete [2020-10-16T06:35:05.335Z] 5e14af77c1be: Pull complete [2020-10-16T06:35:05.335Z] 01666e4c0597: Pull complete [2020-10-16T06:35:05.335Z] aa168da1d23b: Verifying Checksum [2020-10-16T06:35:05.335Z] aa168da1d23b: Download complete [2020-10-16T06:35:11.960Z] aa168da1d23b: Pull complete [2020-10-16T06:35:11.960Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T06:35:11.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T06:35:11.961Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T06:35:12.140Z] prd-centos7-docker-4c-2g-5773 does not seem to be running inside a container [2020-10-16T06:35:12.188Z] $ 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-584/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-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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-10-16T06:35:18.064Z] $ docker top 02f153a7b99abad1c1149517f7c49823e6f506645baa591c718ac35b10c16f32 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:35:18.598Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T06:35:18.900Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T06:35:19.206Z] + ls /var/log/sa-host [2020-10-16T06:35:19.206Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T06:35:19.206Z] file_magic: OK [2020-10-16T06:35:19.206Z] HZ: Using current value: 100 [2020-10-16T06:35:19.206Z] file_header: OK [2020-10-16T06:35:19.206Z] 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:35:19.206Z] Statistics: [2020-10-16T06:35:19.206Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T06:35:19.206Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T06:35:19.206Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T06:35:19.206Z] file_magic: OK [2020-10-16T06:35:19.206Z] HZ: Using current value: 100 [2020-10-16T06:35:19.206Z] file_header: OK [2020-10-16T06:35:19.206Z] 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:35:19.206Z] Statistics: [2020-10-16T06:35:19.206Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T06:35:19.206Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T06:35:19.415Z] provisioning config files... [2020-10-16T06:35:19.430Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3150170396956966573tmp [Pipeline] { [Pipeline] echo [2020-10-16T06:35:19.532Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:19.852Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T06:35:19.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T06:35:19.955Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:20.255Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T06:35:20.268Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:20.564Z] ---> sudo-logs.sh [2020-10-16T06:35:20.564Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T06:35:20.575Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:20.877Z] ---> job-cost.sh [2020-10-16T06:35:20.877Z] lf-activate-venv: SKIPPING [2020-10-16T06:35:20.877Z] INFO: No Stack... [2020-10-16T06:35:22.269Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T06:35:22.530Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T06:35:22.541Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:35:22.928Z] ---> logs-deploy.sh [2020-10-16T06:35:22.928Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/22 [2020-10-16T06:35:22.928Z] INFO: archiving workspace using pattern(s): [2020-10-16T06:35:24.328Z] Archives upload complete. [2020-10-16T06:35:24.590Z] INFO: archiving logs to Nexus