Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 940b933be179ab78106c9e5d9c9093d66dfec8ca+10f5d80329275e8e77aa5b449b49b1589ab3bade (3457c5ce59c7a11d30ef88ca0cb94b89881a6d5e) 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-5792 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 Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 940b933be179ab78106c9e5d9c9093d66dfec8ca Merge succeeded, producing 940b933be179ab78106c9e5d9c9093d66dfec8ca Checking out Revision 940b933be179ab78106c9e5d9c9093d66dfec8ca (PR-584) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # 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 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" First time build. Skipping changelog. > git rev-list --no-walk f26c30ae5c623fd31539b0352a534cc435f4ba06 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-16T06:52:02.877Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-16T06:52:03.109Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-16T06:52:03.204Z] ========================================================= [2020-10-16T06:52:03.204Z] EdgeX Global Pipelines Version Info [2020-10-16T06:52:03.204Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-16T06:52:05.159Z] ------------------- [2020-10-16T06:52:05.160Z] stable info: [2020-10-16T06:52:05.160Z] ------------------- [2020-10-16T06:52:05.160Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:52:05.160Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:52:05.160Z] Message: update stable to v1.0.144 [2020-10-16T06:52:05.734Z] ------------------- [2020-10-16T06:52:05.734Z] experimental info: [2020-10-16T06:52:05.734Z] ------------------- [2020-10-16T06:52:05.734Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-16T06:52:05.734Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-16T06:52:05.734Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-16T06:52:06.099Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-16T06:52:06.206Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-16T06:52:06.310Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-16T06:52:06.409Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-16T06:52:06.506Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-16T06:52:06.601Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-16T06:52:06.697Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-16T06:52:06.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-16T06:52:06.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-16T06:52:07.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-16T06:52:07.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-16T06:52:07.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-16T06:52:07.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-16T06:52:07.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-16T06:52:07.489Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-16T06:52:07.581Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:52:07.695Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:52:07.794Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-16T06:52:07.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-16T06:52:07.993Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-16T06:52:08.107Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-16T06:52:08.205Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-16T06:52:08.292Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-16T06:52:08.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-16T06:52:08.506Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-16T06:52:08.593Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-16T06:52:08.690Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-16T06:52:08.785Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-16T06:52:08.875Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 940b933be179ab78106c9e5d9c9093d66dfec8ca [Pipeline] echo [2020-10-16T06:52:09.000Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 940b933 [Pipeline] echo [2020-10-16T06:52:09.102Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:52:09.730Z] + git log --format=format:%s -1 940b933be179ab78106c9e5d9c9093d66dfec8ca [Pipeline] echo [2020-10-16T06:52:09.777Z] GIT_COMMIT: 940b933be179ab78106c9e5d9c9093d66dfec8ca, Commit Message: build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0 [Pipeline] echo [2020-10-16T06:52:09.831Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:52:10.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:52:10.782Z] [2020-10-16T06:52:10.782Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:52:11.141Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:52:11.141Z] latest: Pulling from edgex-devops/git-semver [2020-10-16T06:52:11.141Z] 31603596830f: Pulling fs layer [2020-10-16T06:52:11.141Z] 2a8b12db71e7: Pulling fs layer [2020-10-16T06:52:11.141Z] 6ca5941a6612: Pulling fs layer [2020-10-16T06:52:11.141Z] ecc8261a40a4: Pulling fs layer [2020-10-16T06:52:11.141Z] ecc8261a40a4: Waiting [2020-10-16T06:52:11.141Z] 2a8b12db71e7: Verifying Checksum [2020-10-16T06:52:11.141Z] 2a8b12db71e7: Download complete [2020-10-16T06:52:11.403Z] ecc8261a40a4: Verifying Checksum [2020-10-16T06:52:11.403Z] ecc8261a40a4: Download complete [2020-10-16T06:52:11.403Z] 6ca5941a6612: Verifying Checksum [2020-10-16T06:52:11.403Z] 6ca5941a6612: Download complete [2020-10-16T06:52:11.403Z] 31603596830f: Download complete [2020-10-16T06:52:11.981Z] 31603596830f: Pull complete [2020-10-16T06:52:11.981Z] 2a8b12db71e7: Pull complete [2020-10-16T06:52:12.977Z] 6ca5941a6612: Pull complete [2020-10-16T06:52:12.977Z] ecc8261a40a4: Pull complete [2020-10-16T06:52:12.977Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-16T06:52:12.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-16T06:52:12.977Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-16T06:52:13.130Z] prd-centos7-docker-4c-2g-5792 does not seem to be running inside a container [2020-10-16T06:52:13.181Z] $ 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:52:15.514Z] $ docker top 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-16T06:52:15.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:52:15.898Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:52:16.130Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:52:16.136Z] $ docker exec 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 ssh-agent [2020-10-16T06:52:16.308Z] SSH_AUTH_SOCK=/tmp/ssh-i0CwL626fSrA/agent.11 [2020-10-16T06:52:16.309Z] SSH_AGENT_PID=16 [2020-10-16T06:52:16.326Z] Running ssh-add (command line suppressed) [2020-10-16T06:52:16.452Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3027151442278786572.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_3027151442278786572.key) [2020-10-16T06:52:16.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:52:16.852Z] + git tag --points-at HEAD [Pipeline] } [2020-10-16T06:52:16.875Z] $ docker exec --env ******** --env ******** 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 ssh-agent -k [2020-10-16T06:52:16.997Z] unset SSH_AUTH_SOCK; [2020-10-16T06:52:16.997Z] unset SSH_AGENT_PID; [2020-10-16T06:52:16.997Z] echo Agent pid 16 killed; [2020-10-16T06:52:17.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-16T06:52:17.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-16T06:52:17.207Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-16T06:52:17.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-16T06:52:17.389Z] $ docker exec 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 ssh-agent [2020-10-16T06:52:17.551Z] SSH_AUTH_SOCK=/tmp/ssh-YZ7RVB089fYA/agent.45 [2020-10-16T06:52:17.551Z] SSH_AGENT_PID=51 [2020-10-16T06:52:17.562Z] Running ssh-add (command line suppressed) [2020-10-16T06:52:17.688Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1471803876565988616.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1471803876565988616.key) [2020-10-16T06:52:17.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-16T06:52:18.088Z] + git semver init [2020-10-16T06:52:18.088Z] # -> Open(): unable to determine branch for HEAD [2020-10-16T06:52:18.088Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-16T06:52:18.088Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-16T06:52:18.088Z] # $SEMVER_REMOTE_NAME = origin [2020-10-16T06:52:18.088Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-16T06:52:18.088Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-16T06:52:18.088Z] # $SEMVER_BRANCH = PR-584 [2020-10-16T06:52:18.088Z] # $SEMVER_TEMP = /tmp/semver-836006453 [2020-10-16T06:52:18.088Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-16T06:52:18.678Z] # '/tmp/semver-836006453' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-16T06:52:18.678Z] # -> Force: false [2020-10-16T06:52:18.678Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-16T06:52:18.693Z] $ docker exec --env ******** --env ******** 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 ssh-agent -k [2020-10-16T06:52:18.809Z] unset SSH_AUTH_SOCK; [2020-10-16T06:52:18.809Z] unset SSH_AGENT_PID; [2020-10-16T06:52:18.809Z] echo Agent pid 51 killed; [2020-10-16T06:52:18.857Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-16T06:52:19.335Z] + git semver [Pipeline] } [2020-10-16T06:52:19.355Z] $ docker stop --time=1 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 [2020-10-16T06:52:20.778Z] $ docker rm -f 950e52c667c1ace158ecb3b9a2d8883c42910d0c9f39946e667e03d9b577ee21 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-16T06:52:21.271Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-16T06:52:21.985Z] Stashed 1 file(s) [Pipeline] echo [2020-10-16T06:52:21.988Z] [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:52:37.507Z] Still waiting to schedule task [2020-10-16T06:52:37.508Z] ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-5769’ is offline; ‘prd-centos7-docker-4c-2g-5788’ is offline; ‘prd-centos7-docker-4c-2g-5794’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-16T06:52:37.510Z] Still waiting to schedule task [2020-10-16T06:52:37.510Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-10-16T06:53:50.222Z] Running on prd-centos7-docker-4c-2g-5799 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-16T06:53:50.282Z] Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] checkout [2020-10-16T06:53:54.766Z] using credential edgex-jenkins-ssh [2020-10-16T06:53:54.851Z] Cloning the remote Git repository [2020-10-16T06:53:54.888Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:53:54.988Z] > git init /w/workspace/device-sdk-go/23 # timeout=10 [2020-10-16T06:53:55.055Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:53:55.055Z] > git --version # timeout=10 [2020-10-16T06:53:55.061Z] > git --version # 'git version 2.16.5' [2020-10-16T06:53:55.062Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:53:55.097Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:53:56.347Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 940b933be179ab78106c9e5d9c9093d66dfec8ca [2020-10-16T06:53:56.481Z] Merge succeeded, producing 940b933be179ab78106c9e5d9c9093d66dfec8ca [2020-10-16T06:53:56.481Z] Checking out Revision 940b933be179ab78106c9e5d9c9093d66dfec8ca (PR-584) [2020-10-16T06:53:55.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:53:55.883Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:53:55.901Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:53:55.921Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:53:55.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:53:55.927Z] > 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:53:56.362Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:53:56.369Z] > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 [2020-10-16T06:53:56.433Z] > git remote # timeout=10 [2020-10-16T06:53:56.440Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:53:56.448Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:53:56.453Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:53:56.473Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:53:56.493Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:53:56.500Z] > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 [2020-10-16T06:54:00.718Z] Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:54:01.796Z] ========================================================= [2020-10-16T06:54:01.796Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-16T06:54:01.796Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:54:02.585Z] + 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:54:02.861Z] Sending build context to Docker daemon 2.315MB [2020-10-16T06:54:02.861Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:54:02.861Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:54:03.124Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-16T06:54:03.124Z] df20fa9351a1: Pulling fs layer [2020-10-16T06:54:03.124Z] ed8968b2872e: Pulling fs layer [2020-10-16T06:54:03.124Z] a92cc7c5fd73: Pulling fs layer [2020-10-16T06:54:03.124Z] e871e8e8d7a9: Pulling fs layer [2020-10-16T06:54:03.124Z] e73272ec9a57: Pulling fs layer [2020-10-16T06:54:03.124Z] 1e910a182e73: Pulling fs layer [2020-10-16T06:54:03.124Z] 4e634b169226: Pulling fs layer [2020-10-16T06:54:03.124Z] e73272ec9a57: Waiting [2020-10-16T06:54:03.124Z] 1e910a182e73: Waiting [2020-10-16T06:54:03.124Z] e871e8e8d7a9: Waiting [2020-10-16T06:54:03.124Z] 4e634b169226: Waiting [2020-10-16T06:54:03.124Z] a92cc7c5fd73: Download complete [2020-10-16T06:54:03.124Z] ed8968b2872e: Verifying Checksum [2020-10-16T06:54:03.124Z] ed8968b2872e: Download complete [2020-10-16T06:54:03.124Z] e73272ec9a57: Verifying Checksum [2020-10-16T06:54:03.124Z] e73272ec9a57: Download complete [2020-10-16T06:54:03.124Z] 1e910a182e73: Download complete [2020-10-16T06:54:03.124Z] df20fa9351a1: Download complete [2020-10-16T06:54:03.389Z] df20fa9351a1: Pull complete [2020-10-16T06:54:03.651Z] ed8968b2872e: Pull complete [2020-10-16T06:54:03.651Z] a92cc7c5fd73: Pull complete [2020-10-16T06:54:06.250Z] 4e634b169226: Verifying Checksum [2020-10-16T06:54:06.250Z] 4e634b169226: Download complete [2020-10-16T06:54:06.250Z] e871e8e8d7a9: Verifying Checksum [2020-10-16T06:54:06.250Z] e871e8e8d7a9: Download complete [2020-10-16T06:54:12.904Z] e871e8e8d7a9: Pull complete [2020-10-16T06:54:12.904Z] e73272ec9a57: Pull complete [2020-10-16T06:54:12.904Z] 1e910a182e73: Pull complete [2020-10-16T06:54:18.255Z] 4e634b169226: Pull complete [2020-10-16T06:54:18.255Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-16T06:54:18.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-16T06:54:18.255Z] ---> f7629b54cfaa [2020-10-16T06:54:18.255Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:54:18.255Z] ---> Running in 3fee3995e02f [2020-10-16T06:54:18.255Z] Removing intermediate container 3fee3995e02f [2020-10-16T06:54:18.255Z] ---> d212b67750a7 [2020-10-16T06:54:18.255Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:54:18.255Z] ---> Running in 3bd5b03a3d6c [2020-10-16T06:54:19.657Z] Removing intermediate container 3bd5b03a3d6c [2020-10-16T06:54:19.657Z] ---> d8ba7b5d45fd [2020-10-16T06:54:19.657Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:54:19.925Z] ---> Running in f590bb9e4cf5 [2020-10-16T06:54:20.503Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:54:22.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:54:23.260Z] OK: 166 MiB in 39 packages [2020-10-16T06:54:23.524Z] Removing intermediate container f590bb9e4cf5 [2020-10-16T06:54:23.524Z] ---> b47dc9784233 [2020-10-16T06:54:23.524Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:54:23.786Z] ---> Running in 1dbc9ef56a94 [2020-10-16T06:54:23.786Z] Removing intermediate container 1dbc9ef56a94 [2020-10-16T06:54:23.786Z] ---> 62ac1fed4645 [2020-10-16T06:54:23.786Z] Step 7/8 : COPY . . [2020-10-16T06:54:25.187Z] ---> f9e313952b54 [2020-10-16T06:54:25.187Z] Step 8/8 : RUN go mod download [2020-10-16T06:54:25.187Z] ---> Running in 45e640fc4362 [2020-10-16T06:54:43.386Z] Removing intermediate container 45e640fc4362 [2020-10-16T06:54:43.386Z] ---> 8ca0d7265369 [2020-10-16T06:54:43.386Z] Successfully built 8ca0d7265369 [2020-10-16T06:54:43.386Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:54:43.782Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:54:43.782Z] . [Pipeline] withDockerContainer [2020-10-16T06:54:43.910Z] prd-centos7-docker-4c-2g-5799 does not seem to be running inside a container [2020-10-16T06:54:43.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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:54:44.873Z] $ docker top 6eb176be34aeecb3a0c454534511ee32dc561a3ecc5c16a9cd438162b7a411a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:54:45.445Z] + go version [2020-10-16T06:54:45.445Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-16T06:54:45.468Z] $ docker stop --time=1 6eb176be34aeecb3a0c454534511ee32dc561a3ecc5c16a9cd438162b7a411a0 [2020-10-16T06:54:46.818Z] $ docker rm -f 6eb176be34aeecb3a0c454534511ee32dc561a3ecc5c16a9cd438162b7a411a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:54:47.825Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-16T06:54:47.825Z] . [Pipeline] withDockerContainer [2020-10-16T06:54:47.944Z] prd-centos7-docker-4c-2g-5799 does not seem to be running inside a container [2020-10-16T06:54:47.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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:54:48.664Z] $ docker top 66a2cc7c9d1e2646c459625340e2c95fda6717eebd4fb750aea7c47ff8848879 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:54:49.165Z] + make test [2020-10-16T06:54:49.165Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:54:57.366Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:55:12.413Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:55:12.413Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:55:12.413Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:55:12.413Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.072s coverage: 21.6% of statements [2020-10-16T06:55:13.830Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.479s coverage: 97.1% of statements [2020-10-16T06:55:46.058Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.060s coverage: 9.4% of statements [2020-10-16T06:55:46.058Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.069s coverage: 21.9% of statements [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:55:46.058Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.243s coverage: 42.6% of statements [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:55:46.058Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.268s coverage: 68.9% of statements [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:55:46.058Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.073s coverage: 52.6% of statements [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:55:46.058Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.977s coverage: 68.9% of statements [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:55:46.058Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:55:46.058Z] GO111MODULE=on go vet ./... [2020-10-16T06:55:52.736Z] gofmt -l . [2020-10-16T06:55:52.736Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:55:52.736Z] ./bin/test-attribution-txt.sh [2020-10-16T06:55:53.012Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:55:53.398Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:55:53.405Z] $ docker stop --time=1 66a2cc7c9d1e2646c459625340e2c95fda6717eebd4fb750aea7c47ff8848879 [2020-10-16T06:55:54.564Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5804 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-16T06:55:55.313Z] $ docker rm -f 66a2cc7c9d1e2646c459625340e2c95fda6717eebd4fb750aea7c47ff8848879 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2020-10-16T06:55:55.706Z] Running in /w/workspace/device-sdk-go/23 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] checkout [Pipeline] sh [2020-10-16T06:55:56.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T06:55:57.260Z] + ls -al . [2020-10-16T06:55:57.260Z] total 188 [2020-10-16T06:55:57.260Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 06:55 . [2020-10-16T06:55:57.260Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 06:53 .. [2020-10-16T06:55:57.260Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 06:53 bin [2020-10-16T06:55:57.260Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 16 06:55 coverage.out [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 06:53 Dockerfile.build [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 06:53 .dockerignore [2020-10-16T06:55:57.260Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 06:53 example [2020-10-16T06:55:57.260Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 06:54 .git [2020-10-16T06:55:57.260Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 06:53 .github [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 06:53 .gitignore [2020-10-16T06:55:57.260Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 16 06:55 go.mod [2020-10-16T06:55:57.260Z] -rw-r--r--. 1 jenkins jenkins 13737 Oct 16 06:55 go.sum [2020-10-16T06:55:57.260Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 06:53 internal [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 06:53 Jenkinsfile [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 06:53 LICENSE [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 06:53 Makefile [2020-10-16T06:55:57.260Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 06:53 openapi [2020-10-16T06:55:57.260Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 06:53 pkg [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 06:53 README.md [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 06:53 RELEASE-NOTES.txt [2020-10-16T06:55:57.260Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 06:53 snap [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 06:52 VERSION [2020-10-16T06:55:57.260Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 06:53 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:55:57.579Z] + 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=940b933be179ab78106c9e5d9c9093d66dfec8ca --label arch=amd64 --label version=0.0.0 . [2020-10-16T06:55:57.842Z] Sending build context to Docker daemon 2.426MB [2020-10-16T06:55:57.842Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T06:55:57.842Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T06:55:57.842Z] ---> 8ca0d7265369 [2020-10-16T06:55:57.842Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T06:55:58.417Z] ---> Running in 8c0a583fe2b9 [2020-10-16T06:55:58.683Z] Removing intermediate container 8c0a583fe2b9 [2020-10-16T06:55:58.683Z] ---> ce07e27d62a1 [2020-10-16T06:55:58.683Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T06:55:58.683Z] ---> Running in 2eea2b9bebee [2020-10-16T06:55:58.947Z] Removing intermediate container 2eea2b9bebee [2020-10-16T06:55:58.947Z] ---> 268452438227 [2020-10-16T06:55:58.947Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:55:58.947Z] ---> Running in bfb9a8b9d879 [2020-10-16T06:55:58.947Z] Removing intermediate container bfb9a8b9d879 [2020-10-16T06:55:58.947Z] ---> 1b3126e3cf3e [2020-10-16T06:55:58.947Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:55:59.216Z] ---> Running in 3e5e1235cdb7 [2020-10-16T06:56:00.186Z] Removing intermediate container 3e5e1235cdb7 [2020-10-16T06:56:00.186Z] ---> 9ab5ea7eeda9 [2020-10-16T06:56:00.186Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T06:56:00.186Z] ---> Running in ea91b58680a9 [2020-10-16T06:56:00.762Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-16T06:56:00.930Z] using credential edgex-jenkins-ssh [2020-10-16T06:56:01.000Z] Cloning the remote Git repository [2020-10-16T06:56:01.342Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-16T06:56:01.608Z] OK: 166 MiB in 39 packages [2020-10-16T06:56:02.187Z] Removing intermediate container ea91b58680a9 [2020-10-16T06:56:02.187Z] ---> da9720efa8a9 [2020-10-16T06:56:02.187Z] Step 8/24 : COPY . . [2020-10-16T06:56:01.050Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:56:01.174Z] > git init /w/workspace/device-sdk-go/23 # timeout=10 [2020-10-16T06:56:01.244Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:56:01.245Z] > git --version # timeout=10 [2020-10-16T06:56:01.272Z] > git --version # 'git version 2.17.1' [2020-10-16T06:56:01.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:56:01.335Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:56:02.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:56:02.955Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-16T06:56:02.990Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-16T06:56:03.033Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-16T06:56:03.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:56:03.047Z] > 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:56:03.583Z] ---> 094174e43ac9 [2020-10-16T06:56:03.583Z] Step 9/24 : RUN ${MAKE} [2020-10-16T06:56:03.583Z] ---> Running in 918b2a1ceba0 [2020-10-16T06:56:04.067Z] Merging remotes/origin/master commit 10f5d80329275e8e77aa5b449b49b1589ab3bade into PR head commit 940b933be179ab78106c9e5d9c9093d66dfec8ca [2020-10-16T06:56:04.161Z] 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:56:04.304Z] Merge succeeded, producing 940b933be179ab78106c9e5d9c9093d66dfec8ca [2020-10-16T06:56:04.305Z] Checking out Revision 940b933be179ab78106c9e5d9c9093d66dfec8ca (PR-584) [2020-10-16T06:56:04.074Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:56:04.092Z] > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 [2020-10-16T06:56:04.201Z] > git remote # timeout=10 [2020-10-16T06:56:04.220Z] > git config --get remote.origin.url # timeout=10 [2020-10-16T06:56:04.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-16T06:56:04.255Z] > git merge 10f5d80329275e8e77aa5b449b49b1589ab3bade # timeout=10 [2020-10-16T06:56:04.279Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-16T06:56:04.299Z] > git config core.sparsecheckout # timeout=10 [2020-10-16T06:56:04.308Z] > git checkout -f 940b933be179ab78106c9e5d9c9093d66dfec8ca # timeout=10 [2020-10-16T06:56:08.513Z] Commit message: "build(deps): bump github.com/gorilla/mux from 1.7.1 to 1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-16T06:56:09.370Z] ========================================================= [2020-10-16T06:56:09.370Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-16T06:56:09.370Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:56:10.437Z] + 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:56:11.425Z] Sending build context to Docker daemon 2.313MB [2020-10-16T06:56:11.425Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-16T06:56:11.425Z] Step 2/8 : FROM ${BASE} [2020-10-16T06:56:11.706Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-16T06:56:11.706Z] b538f80385f9: Pulling fs layer [2020-10-16T06:56:11.706Z] 74f711af9a0d: Pulling fs layer [2020-10-16T06:56:11.706Z] 99f96fe45779: Pulling fs layer [2020-10-16T06:56:11.706Z] 8529a6b9a6be: Pulling fs layer [2020-10-16T06:56:11.706Z] 45590311c82a: Pulling fs layer [2020-10-16T06:56:11.706Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-16T06:56:11.706Z] 209524e5b208: Pulling fs layer [2020-10-16T06:56:11.706Z] 8529a6b9a6be: Waiting [2020-10-16T06:56:11.706Z] 45590311c82a: Waiting [2020-10-16T06:56:11.706Z] 69ca0ff8b7b3: Waiting [2020-10-16T06:56:11.706Z] 209524e5b208: Waiting [2020-10-16T06:56:11.706Z] 99f96fe45779: Verifying Checksum [2020-10-16T06:56:11.706Z] 99f96fe45779: Download complete [2020-10-16T06:56:11.706Z] 74f711af9a0d: Verifying Checksum [2020-10-16T06:56:11.706Z] 74f711af9a0d: Download complete [2020-10-16T06:56:11.706Z] 45590311c82a: Verifying Checksum [2020-10-16T06:56:11.706Z] 45590311c82a: Download complete [2020-10-16T06:56:11.706Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-16T06:56:11.706Z] 69ca0ff8b7b3: Download complete [2020-10-16T06:56:11.982Z] b538f80385f9: Download complete [2020-10-16T06:56:12.426Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T06:56:12.588Z] b538f80385f9: Pull complete [2020-10-16T06:56:13.191Z] 74f711af9a0d: Pull complete [2020-10-16T06:56:13.799Z] 99f96fe45779: Pull complete [2020-10-16T06:56:14.355Z] Removing intermediate container 918b2a1ceba0 [2020-10-16T06:56:14.356Z] ---> bab2441bcebe [2020-10-16T06:56:14.356Z] Step 10/24 : FROM scratch [2020-10-16T06:56:14.356Z] ---> [2020-10-16T06:56:14.356Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:56:14.356Z] ---> Running in 4e73815118b5 [2020-10-16T06:56:14.356Z] Removing intermediate container 4e73815118b5 [2020-10-16T06:56:14.356Z] ---> 5bcc4a347c5e [2020-10-16T06:56:14.356Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T06:56:14.356Z] ---> Running in 726e0cd92b3e [2020-10-16T06:56:14.356Z] Removing intermediate container 726e0cd92b3e [2020-10-16T06:56:14.356Z] ---> b7eda280c65b [2020-10-16T06:56:14.356Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T06:56:14.620Z] ---> Running in d2c86580c4e9 [2020-10-16T06:56:14.620Z] Removing intermediate container d2c86580c4e9 [2020-10-16T06:56:14.620Z] ---> 06fc14a0b719 [2020-10-16T06:56:14.620Z] Step 14/24 : WORKDIR / [2020-10-16T06:56:14.620Z] ---> Running in bdcdcb5014bf [2020-10-16T06:56:14.886Z] Removing intermediate container bdcdcb5014bf [2020-10-16T06:56:14.886Z] ---> d3079eff8f9d [2020-10-16T06:56:14.886Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T06:56:15.251Z] 209524e5b208: Verifying Checksum [2020-10-16T06:56:15.251Z] 209524e5b208: Download complete [2020-10-16T06:56:15.464Z] ---> 648c464e6459 [2020-10-16T06:56:15.464Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T06:56:15.727Z] ---> 58cd2b5e02c5 [2020-10-16T06:56:15.727Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T06:56:15.989Z] ---> 93f113b30d84 [2020-10-16T06:56:15.989Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T06:56:16.253Z] ---> 91fa09f22e5e [2020-10-16T06:56:16.253Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T06:56:16.253Z] ---> ab977c9ab8eb [2020-10-16T06:56:16.253Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T06:56:16.515Z] ---> Running in 914afc9649b7 [2020-10-16T06:56:16.515Z] Removing intermediate container 914afc9649b7 [2020-10-16T06:56:16.515Z] ---> 045b33f030e3 [2020-10-16T06:56:16.515Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T06:56:16.779Z] ---> Running in e7616f1661a1 [2020-10-16T06:56:16.779Z] Removing intermediate container e7616f1661a1 [2020-10-16T06:56:16.779Z] ---> f826b48c46f4 [2020-10-16T06:56:16.779Z] Step 22/24 : LABEL arch=amd64 [2020-10-16T06:56:16.779Z] ---> Running in 179c428b607b [2020-10-16T06:56:17.041Z] Removing intermediate container 179c428b607b [2020-10-16T06:56:17.041Z] ---> c0071b6f9cfa [2020-10-16T06:56:17.041Z] Step 23/24 : LABEL git_sha=940b933be179ab78106c9e5d9c9093d66dfec8ca [2020-10-16T06:56:17.041Z] ---> Running in ccdd1a955195 [2020-10-16T06:56:17.304Z] Removing intermediate container ccdd1a955195 [2020-10-16T06:56:17.304Z] ---> 3ad93806ea4e [2020-10-16T06:56:17.304Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T06:56:17.304Z] ---> Running in 54af8bf491f5 [2020-10-16T06:56:17.565Z] Removing intermediate container 54af8bf491f5 [2020-10-16T06:56:17.565Z] ---> 54b658470b05 [2020-10-16T06:56:17.565Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T06:56:17.565Z] Successfully built 54b658470b05 [2020-10-16T06:56:17.565Z] 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 [2020-10-16T06:56:17.908Z] 8529a6b9a6be: Verifying Checksum [2020-10-16T06:56:17.908Z] 8529a6b9a6be: Download complete [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:56:28.129Z] 8529a6b9a6be: Pull complete [2020-10-16T06:56:28.129Z] 45590311c82a: Pull complete [2020-10-16T06:56:28.129Z] 69ca0ff8b7b3: Pull complete [2020-10-16T06:56:31.580Z] 209524e5b208: Pull complete [2020-10-16T06:56:31.580Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-16T06:56:31.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-16T06:56:31.580Z] ---> 5bddaf1c2fca [2020-10-16T06:56:31.580Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:56:34.222Z] ---> Running in 84e96c09843c [2020-10-16T06:56:34.833Z] Removing intermediate container 84e96c09843c [2020-10-16T06:56:34.833Z] ---> 573e81a9dc4b [2020-10-16T06:56:34.833Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:56:34.833Z] ---> Running in a004ec1496f0 [2020-10-16T06:56:37.497Z] Removing intermediate container a004ec1496f0 [2020-10-16T06:56:37.497Z] ---> a778bd4f4280 [2020-10-16T06:56:37.497Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-16T06:56:37.776Z] ---> Running in 50ca33427173 [2020-10-16T06:56:39.279Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:56:39.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:56:42.517Z] OK: 142 MiB in 39 packages [2020-10-16T06:56:43.506Z] Removing intermediate container 50ca33427173 [2020-10-16T06:56:43.506Z] ---> 6a4dcef10fb6 [2020-10-16T06:56:43.506Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-16T06:56:43.506Z] ---> Running in 61cf593a7462 [2020-10-16T06:56:44.117Z] Removing intermediate container 61cf593a7462 [2020-10-16T06:56:44.117Z] ---> ac8ced672c43 [2020-10-16T06:56:44.117Z] Step 7/8 : COPY . . [2020-10-16T06:56:45.564Z] ---> 482dad191cfe [2020-10-16T06:56:45.564Z] Step 8/8 : RUN go mod download [2020-10-16T06:56:45.564Z] ---> Running in 89d685d0a2f4 [2020-10-16T06:57:07.745Z] Removing intermediate container 89d685d0a2f4 [2020-10-16T06:57:07.745Z] ---> c4e7318c4052 [2020-10-16T06:57:07.745Z] Successfully built c4e7318c4052 [2020-10-16T06:57:07.745Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:57:08.141Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:57:08.141Z] . [Pipeline] withDockerContainer [2020-10-16T06:57:08.431Z] prd-ubuntu18.04-docker-arm64-4c-16g-5804 does not seem to be running inside a container [2020-10-16T06:57:08.516Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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:57:10.296Z] $ docker top 9f3caea56c9eec76de7971624e7a71b857094cef55f0962c0352c440738635a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:57:11.675Z] + go version [2020-10-16T06:57:11.675Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-16T06:57:11.704Z] $ docker stop --time=1 9f3caea56c9eec76de7971624e7a71b857094cef55f0962c0352c440738635a7 [2020-10-16T06:57:13.648Z] $ docker rm -f 9f3caea56c9eec76de7971624e7a71b857094cef55f0962c0352c440738635a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:57:14.810Z] + docker inspect -f . ci-base-image-arm64 [2020-10-16T06:57:14.810Z] . [Pipeline] withDockerContainer [2020-10-16T06:57:15.090Z] prd-ubuntu18.04-docker-arm64-4c-16g-5804 does not seem to be running inside a container [2020-10-16T06:57:15.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/23 -v /w/workspace/device-sdk-go/23:/w/workspace/device-sdk-go/23:rw,z -v /w/workspace/device-sdk-go/23@tmp:/w/workspace/device-sdk-go/23@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:57:17.169Z] $ docker top 660d9122c8f51a7e66a18941b459059966de01485ef72f7ef49aadb9c40ae4ae -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T06:57:18.601Z] + make test [2020-10-16T06:57:18.601Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-16T06:57:40.829Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-16T06:58:27.923Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-16T06:58:27.923Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-16T06:58:27.923Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-16T06:58:27.923Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.130s coverage: 21.6% of statements [2020-10-16T06:58:27.923Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.225s coverage: 97.1% of statements [2020-10-16T06:58:54.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.131s coverage: 9.4% of statements [2020-10-16T06:58:54.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.125s coverage: 21.9% of statements [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-16T06:58:54.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.597s coverage: 42.6% of statements [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-16T06:58:54.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.815s coverage: 68.9% of statements [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-16T06:58:54.738Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.178s coverage: 52.6% of statements [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-16T06:58:54.738Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.147s coverage: 68.9% of statements [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-16T06:58:54.738Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-16T06:58:54.738Z] GO111MODULE=on go vet ./... [2020-10-16T06:59:27.139Z] gofmt -l . [2020-10-16T06:59:27.139Z] [ "`gofmt -l .`" = "" ] [2020-10-16T06:59:27.139Z] ./bin/test-attribution-txt.sh [2020-10-16T06:59:27.139Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-16T06:59:27.230Z] Warning: overwriting stash ‘coverage-report’ [2020-10-16T06:59:28.103Z] Stashed 1 file(s) [Pipeline] } [2020-10-16T06:59:28.112Z] $ docker stop --time=1 660d9122c8f51a7e66a18941b459059966de01485ef72f7ef49aadb9c40ae4ae [2020-10-16T06:59:30.368Z] $ docker rm -f 660d9122c8f51a7e66a18941b459059966de01485ef72f7ef49aadb9c40ae4ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-16T06:59:31.991Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-16T06:59:32.577Z] + ls -al . [2020-10-16T06:59:32.577Z] total 224 [2020-10-16T06:59:32.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 06:59 . [2020-10-16T06:59:32.577Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 .. [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 06:56 .dockerignore [2020-10-16T06:59:32.577Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 06:56 .git [2020-10-16T06:59:32.577Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 .github [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 06:56 .gitignore [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 06:56 Dockerfile.build [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 06:56 Jenkinsfile [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 06:56 LICENSE [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 06:56 Makefile [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 06:56 README.md [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 06:56 RELEASE-NOTES.txt [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 06:52 VERSION [2020-10-16T06:59:32.577Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 06:56 bin [2020-10-16T06:59:32.577Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 16 06:58 coverage.out [2020-10-16T06:59:32.577Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 example [2020-10-16T06:59:32.577Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 16 06:59 go.mod [2020-10-16T06:59:32.577Z] -rw-r--r-- 1 jenkins jenkins 13737 Oct 16 06:59 go.sum [2020-10-16T06:59:32.577Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 06:56 internal [2020-10-16T06:59:32.577Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 openapi [2020-10-16T06:59:32.577Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 06:56 pkg [2020-10-16T06:59:32.577Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 06:56 snap [2020-10-16T06:59:32.577Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 06:56 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-16T06:59:33.022Z] + 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=940b933be179ab78106c9e5d9c9093d66dfec8ca --label arch=arm64 --label version=0.0.0 . [2020-10-16T06:59:33.640Z] Sending build context to Docker daemon 2.424MB [2020-10-16T06:59:33.640Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-16T06:59:33.640Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-16T06:59:33.640Z] ---> c4e7318c4052 [2020-10-16T06:59:33.640Z] Step 3/24 : ARG MAKE='make build' [2020-10-16T06:59:33.917Z] ---> Running in 1d9f7c52b4c3 [2020-10-16T06:59:34.197Z] Removing intermediate container 1d9f7c52b4c3 [2020-10-16T06:59:34.197Z] ---> ff3174d76ab8 [2020-10-16T06:59:34.197Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-16T06:59:34.472Z] ---> Running in df5b1f2f25d4 [2020-10-16T06:59:35.070Z] Removing intermediate container df5b1f2f25d4 [2020-10-16T06:59:35.070Z] ---> 38e55fe5c838 [2020-10-16T06:59:35.070Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T06:59:35.070Z] ---> Running in 5cd05c9d685e [2020-10-16T06:59:35.671Z] Removing intermediate container 5cd05c9d685e [2020-10-16T06:59:35.672Z] ---> 490d86e46b29 [2020-10-16T06:59:35.672Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-16T06:59:35.672Z] ---> Running in 626fe71a756c [2020-10-16T06:59:38.302Z] Removing intermediate container 626fe71a756c [2020-10-16T06:59:38.302Z] ---> fe27cc2a2a0f [2020-10-16T06:59:38.302Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-16T06:59:38.582Z] ---> Running in 6dc996739f09 [2020-10-16T06:59:40.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-16T06:59:41.002Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-16T06:59:42.440Z] OK: 142 MiB in 39 packages [2020-10-16T06:59:43.423Z] Removing intermediate container 6dc996739f09 [2020-10-16T06:59:43.423Z] ---> 54058a04ae85 [2020-10-16T06:59:43.423Z] Step 8/24 : COPY . . [2020-10-16T06:59:44.861Z] ---> 1a91b524e186 [2020-10-16T06:59:44.861Z] Step 9/24 : RUN ${MAKE} [2020-10-16T06:59:45.133Z] ---> Running in b7fcf84792bd [2020-10-16T06:59:46.569Z] 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-16T07:00:13.439Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-16T07:00:14.062Z] Removing intermediate container b7fcf84792bd [2020-10-16T07:00:14.062Z] ---> dcc817ba80e4 [2020-10-16T07:00:14.062Z] Step 10/24 : FROM scratch [2020-10-16T07:00:14.062Z] ---> [2020-10-16T07:00:14.062Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-16T07:00:14.062Z] ---> Running in 38b42f38714d [2020-10-16T07:00:14.660Z] Removing intermediate container 38b42f38714d [2020-10-16T07:00:14.660Z] ---> df8aae4612df [2020-10-16T07:00:14.660Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-16T07:00:14.660Z] ---> Running in acf361ac47a7 [2020-10-16T07:00:14.938Z] Removing intermediate container acf361ac47a7 [2020-10-16T07:00:14.938Z] ---> 2ec0ec4c3b34 [2020-10-16T07:00:14.938Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-16T07:00:15.211Z] ---> Running in bd0ea68aa29a [2020-10-16T07:00:15.485Z] Removing intermediate container bd0ea68aa29a [2020-10-16T07:00:15.485Z] ---> 5464ffd97d43 [2020-10-16T07:00:15.485Z] Step 14/24 : WORKDIR / [2020-10-16T07:00:15.758Z] ---> Running in 99f0cda46bb2 [2020-10-16T07:00:16.031Z] Removing intermediate container 99f0cda46bb2 [2020-10-16T07:00:16.031Z] ---> 23f8f315d37e [2020-10-16T07:00:16.031Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-16T07:00:17.470Z] ---> a2867918acfd [2020-10-16T07:00:17.470Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-16T07:00:17.750Z] ---> 679baa11227a [2020-10-16T07:00:17.750Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-16T07:00:18.730Z] ---> 976c61661caa [2020-10-16T07:00:18.730Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-16T07:00:19.330Z] ---> c3aabb3c19f2 [2020-10-16T07:00:19.330Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-16T07:00:19.930Z] ---> b295ca474da5 [2020-10-16T07:00:19.930Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-16T07:00:20.205Z] ---> Running in 93df3d0c12ee [2020-10-16T07:00:20.480Z] Removing intermediate container 93df3d0c12ee [2020-10-16T07:00:20.480Z] ---> 1184501d0c1e [2020-10-16T07:00:20.480Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-16T07:00:20.758Z] ---> Running in 34e572b6bbbb [2020-10-16T07:00:21.355Z] Removing intermediate container 34e572b6bbbb [2020-10-16T07:00:21.355Z] ---> bd16bd549d21 [2020-10-16T07:00:21.355Z] Step 22/24 : LABEL arch=arm64 [2020-10-16T07:00:21.355Z] ---> Running in b41961c912ea [2020-10-16T07:00:21.636Z] Removing intermediate container b41961c912ea [2020-10-16T07:00:21.636Z] ---> 4bc00c80def3 [2020-10-16T07:00:21.636Z] Step 23/24 : LABEL git_sha=940b933be179ab78106c9e5d9c9093d66dfec8ca [2020-10-16T07:00:21.910Z] ---> Running in f4016ae4b141 [2020-10-16T07:00:22.511Z] Removing intermediate container f4016ae4b141 [2020-10-16T07:00:22.511Z] ---> bb427df28fbb [2020-10-16T07:00:22.511Z] Step 24/24 : LABEL version=0.0.0 [2020-10-16T07:00:22.511Z] ---> Running in 5857a2a48629 [2020-10-16T07:00:23.108Z] Removing intermediate container 5857a2a48629 [2020-10-16T07:00:23.109Z] ---> 41aba088c02f [2020-10-16T07:00:23.109Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-16T07:00:23.109Z] Successfully built 41aba088c02f [2020-10-16T07:00:23.109Z] 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-16T07:00:25.445Z] provisioning config files... [2020-10-16T07:00:25.457Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config4403774010910309086tmp [Pipeline] { [Pipeline] sh [2020-10-16T07:00:25.852Z] + set +x [2020-10-16T07:00:25.852Z] + curl -s https://codecov.io/bash [2020-10-16T07:00:25.852Z] + bash -s -- [2020-10-16T07:00:26.115Z] [2020-10-16T07:00:26.115Z] _____ _ [2020-10-16T07:00:26.115Z] / ____| | | [2020-10-16T07:00:26.115Z] | | ___ __| | ___ ___ _____ __ [2020-10-16T07:00:26.115Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-16T07:00:26.115Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-16T07:00:26.115Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-16T07:00:26.115Z] Bash-20201009-048fee3 [2020-10-16T07:00:26.115Z] [2020-10-16T07:00:26.115Z] [2020-10-16T07:00:26.115Z] ==> Jenkins CI detected. [2020-10-16T07:00:26.115Z] project root: . [2020-10-16T07:00:26.115Z] --> token set from env [2020-10-16T07:00:26.115Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-16T07:00:26.115Z] ==> Running gcov in . (disable via -X gcov) [2020-10-16T07:00:26.115Z] ==> Python coveragepy not found [2020-10-16T07:00:26.115Z] ==> Searching for coverage reports in: [2020-10-16T07:00:26.115Z] + . [2020-10-16T07:00:26.115Z] -> Found 1 reports [2020-10-16T07:00:26.115Z] ==> Detecting git/mercurial file structure [2020-10-16T07:00:26.115Z] ==> Reading reports [2020-10-16T07:00:26.115Z] + ./coverage.out bytes=110398 [2020-10-16T07:00:26.115Z] ==> Appending adjustments [2020-10-16T07:00:26.115Z] https://docs.codecov.io/docs/fixing-reports [2020-10-16T07:00:26.691Z] + Found adjustments [2020-10-16T07:00:26.691Z] ==> Gzipping contents [2020-10-16T07:00:26.691Z] ==> Uploading reports [2020-10-16T07:00:26.691Z] url: https://codecov.io [2020-10-16T07:00:26.691Z] query: branch=PR-584&commit=940b933be179ab78106c9e5d9c9093d66dfec8ca&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-16T07:00:26.691Z] -> Pinging Codecov [2020-10-16T07:00:26.691Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=940b933be179ab78106c9e5d9c9093d66dfec8ca&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-16T07:00:26.954Z] -> Uploading to [2020-10-16T07:00:26.954Z] [2020-10-16T07:00:26.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T07:00:26.954Z] Dload Upload Total Spent Left Speed [2020-10-16T07:00:26.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-16T07:00:26.954Z] X> Failed to upload [2020-10-16T07:00:26.954Z] ==> Uploading to Codecov [2020-10-16T07:00:26.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-16T07:00:26.954Z] Dload Upload Total Spent Left Speed [2020-10-16T07:00:27.216Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19142 100 110 100 19032 219 37999 --:--:-- --:--:-- --:--:-- 37988 [2020-10-16T07:00:27.480Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/940b933be179ab78106c9e5d9c9093d66dfec8ca [Pipeline] } [2020-10-16T07:00:27.491Z] 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-16T07:00:30.375Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:00:30.956Z] ---> package-listing.sh [2020-10-16T07:00:30.956Z] ++ facter osfamily [2020-10-16T07:00:30.956Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-16T07:00:30.956Z] + OS_FAMILY=redhat [2020-10-16T07:00:30.956Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-16T07:00:30.956Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-16T07:00:30.956Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-16T07:00:30.956Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-16T07:00:30.956Z] + PACKAGES=/tmp/packages_start.txt [2020-10-16T07:00:30.956Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-16T07:00:30.956Z] + PACKAGES=/tmp/packages_end.txt [2020-10-16T07:00:30.956Z] + case "${OS_FAMILY}" in [2020-10-16T07:00:30.956Z] + rpm -qa [2020-10-16T07:00:30.956Z] + sort [2020-10-16T07:00:35.195Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-16T07:00:35.195Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-16T07:00:35.195Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-16T07:00:35.195Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-16T07:00:35.195Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-16T07:00:35.195Z] + 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-16T07:00:35.211Z] 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-16T07:00:35.508Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-16T07:00:35.827Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T07:00:35.827Z] [2020-10-16T07:00:35.827Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-16T07:00:36.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T07:00:36.196Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-16T07:00:36.196Z] df20fa9351a1: Pulling fs layer [2020-10-16T07:00:36.196Z] 36b3adc4ff6f: Pulling fs layer [2020-10-16T07:00:36.196Z] 8ad3a11d3b57: Pulling fs layer [2020-10-16T07:00:36.196Z] 46f8f816bc3b: Pulling fs layer [2020-10-16T07:00:36.196Z] 93b61091891f: Pulling fs layer [2020-10-16T07:00:36.196Z] 93b9cdb0e59b: Pulling fs layer [2020-10-16T07:00:36.196Z] 5e14af77c1be: Pulling fs layer [2020-10-16T07:00:36.196Z] 01666e4c0597: Pulling fs layer [2020-10-16T07:00:36.196Z] aa168da1d23b: Pulling fs layer [2020-10-16T07:00:36.196Z] 93b9cdb0e59b: Waiting [2020-10-16T07:00:36.196Z] 5e14af77c1be: Waiting [2020-10-16T07:00:36.196Z] 01666e4c0597: Waiting [2020-10-16T07:00:36.196Z] aa168da1d23b: Waiting [2020-10-16T07:00:36.196Z] 46f8f816bc3b: Waiting [2020-10-16T07:00:36.196Z] 93b61091891f: Waiting [2020-10-16T07:00:36.196Z] 46f8f816bc3b: Verifying Checksum [2020-10-16T07:00:36.196Z] 46f8f816bc3b: Download complete [2020-10-16T07:00:36.461Z] 93b61091891f: Download complete [2020-10-16T07:00:36.461Z] 93b9cdb0e59b: Verifying Checksum [2020-10-16T07:00:36.461Z] 93b9cdb0e59b: Download complete [2020-10-16T07:00:36.461Z] 5e14af77c1be: Verifying Checksum [2020-10-16T07:00:36.461Z] 5e14af77c1be: Download complete [2020-10-16T07:00:36.461Z] df20fa9351a1: Download complete [2020-10-16T07:00:36.461Z] 01666e4c0597: Verifying Checksum [2020-10-16T07:00:36.461Z] 01666e4c0597: Download complete [2020-10-16T07:00:36.724Z] 8ad3a11d3b57: Verifying Checksum [2020-10-16T07:00:36.724Z] 8ad3a11d3b57: Download complete [2020-10-16T07:00:36.724Z] df20fa9351a1: Pull complete [2020-10-16T07:00:36.991Z] 36b3adc4ff6f: Pull complete [2020-10-16T07:00:37.572Z] 8ad3a11d3b57: Pull complete [2020-10-16T07:00:37.572Z] 46f8f816bc3b: Pull complete [2020-10-16T07:00:38.152Z] 93b61091891f: Pull complete [2020-10-16T07:00:38.417Z] 93b9cdb0e59b: Pull complete [2020-10-16T07:00:38.680Z] 5e14af77c1be: Pull complete [2020-10-16T07:00:38.680Z] 01666e4c0597: Pull complete [2020-10-16T07:00:38.680Z] aa168da1d23b: Verifying Checksum [2020-10-16T07:00:38.680Z] aa168da1d23b: Download complete [2020-10-16T07:00:45.326Z] aa168da1d23b: Pull complete [2020-10-16T07:00:45.326Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-16T07:00:45.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-16T07:00:45.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-16T07:00:45.508Z] prd-centos7-docker-4c-2g-5792 does not seem to be running inside a container [2020-10-16T07:00:45.570Z] $ 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-16T07:00:49.196Z] $ docker top 04f9f6f0c9a404462ee669cd31bbe7179ea3d447ef6781d0c2779a63aa8e8b80 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-16T07:00:49.696Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-16T07:00:50.002Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-16T07:00:50.307Z] + ls /var/log/sa-host [2020-10-16T07:00:50.307Z] + sadf -c /var/log/sa-host/sa05 [2020-10-16T07:00:50.307Z] file_magic: OK [2020-10-16T07:00:50.307Z] HZ: Using current value: 100 [2020-10-16T07:00:50.307Z] file_header: OK [2020-10-16T07:00:50.307Z] 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-16T07:00:50.307Z] Statistics: [2020-10-16T07:00:50.307Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T07:00:50.307Z] File successfully converted to sysstat format version 12.2.1 [2020-10-16T07:00:50.307Z] + sadf -c /var/log/sa-host/sa16 [2020-10-16T07:00:50.307Z] file_magic: OK [2020-10-16T07:00:50.307Z] HZ: Using current value: 100 [2020-10-16T07:00:50.307Z] file_header: OK [2020-10-16T07:00:50.307Z] 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-16T07:00:50.307Z] Statistics: [2020-10-16T07:00:50.307Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-16T07:00:50.307Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-16T07:00:50.736Z] provisioning config files... [2020-10-16T07:00:50.753Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config3418837608117021208tmp [Pipeline] { [Pipeline] echo [2020-10-16T07:00:50.925Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:00:51.237Z] ---> create-netrc.sh [Pipeline] } [2020-10-16T07:00:51.247Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-16T07:00:51.362Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:00:51.673Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-16T07:00:51.686Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:00:51.991Z] ---> sudo-logs.sh [2020-10-16T07:00:51.991Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-16T07:00:52.004Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:00:52.307Z] ---> job-cost.sh [2020-10-16T07:00:52.307Z] lf-activate-venv: SKIPPING [2020-10-16T07:00:52.307Z] INFO: No Stack... [2020-10-16T07:00:53.257Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-16T07:00:53.835Z] INFO: Archiving Costs [Pipeline] echo [2020-10-16T07:00:53.848Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-16T07:00:54.145Z] ---> logs-deploy.sh [2020-10-16T07:00:54.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/23 [2020-10-16T07:00:54.146Z] INFO: archiving workspace using pattern(s): [2020-10-16T07:00:56.082Z] Archives upload complete. [2020-10-16T07:00:56.082Z] INFO: archiving logs to Nexus