Pull request #584 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3+2d9730a214a0d2600c47b6e1f4d312ee14057382 (a4bbabc7c43e6584117bbb32c3ba03e6386687ab) 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-6202 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 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 Merge succeeded, producing c21a409bbfced46ca16a85b0143ca024b218a3a5 Checking out Revision c21a409bbfced46ca16a85b0143ca024b218a3a5 (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 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # 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 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c21a409bbfced46ca16a85b0143ca024b218a3a5 # timeout=10 Commit message: "Merge commit '2d9730a214a0d2600c47b6e1f4d312ee14057382' into HEAD" > git rev-list --no-walk 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-10-19T07:10:21.981Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-19T07:10:22.301Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T07:10:22.408Z] ========================================================= [2020-10-19T07:10:22.408Z] EdgeX Global Pipelines Version Info [2020-10-19T07:10:22.408Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:10:23.897Z] ------------------- [2020-10-19T07:10:23.897Z] stable info: [2020-10-19T07:10:23.897Z] ------------------- [2020-10-19T07:10:23.897Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:10:23.897Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:10:23.897Z] Message: update stable to v1.0.144 [2020-10-19T07:10:24.846Z] ------------------- [2020-10-19T07:10:24.846Z] experimental info: [2020-10-19T07:10:24.846Z] ------------------- [2020-10-19T07:10:24.846Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:10:24.846Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:10:24.846Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T07:10:25.200Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-19T07:10:25.357Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-19T07:10:25.450Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T07:10:25.549Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T07:10:25.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T07:10:25.746Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T07:10:25.930Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T07:10:26.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T07:10:26.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-19T07:10:26.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T07:10:26.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T07:10:26.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-19T07:10:26.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T07:10:26.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T07:10:26.732Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-19T07:10:26.825Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:10:26.915Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:10:27.009Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:10:27.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-19T07:10:27.201Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T07:10:27.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-19T07:10:27.390Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-19T07:10:27.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T07:10:27.663Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T07:10:27.756Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-19T07:10:27.850Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-584 [Pipeline] echo [2020-10-19T07:10:27.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-584 [Pipeline] echo [2020-10-19T07:10:28.044Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-584 [Pipeline] echo [2020-10-19T07:10:28.184Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c21a409bbfced46ca16a85b0143ca024b218a3a5 [Pipeline] echo [2020-10-19T07:10:28.303Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c21a409 [Pipeline] echo [2020-10-19T07:10:28.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:10:29.015Z] + git log --format=format:%s -1 c21a409bbfced46ca16a85b0143ca024b218a3a5 [Pipeline] echo [2020-10-19T07:10:29.076Z] GIT_COMMIT: c21a409bbfced46ca16a85b0143ca024b218a3a5, Commit Message: Merge commit '2d9730a214a0d2600c47b6e1f4d312ee14057382' into HEAD [Pipeline] echo [2020-10-19T07:10:29.124Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:10:29.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:10:30.061Z] [2020-10-19T07:10:30.061Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:10:30.429Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:10:30.696Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T07:10:30.696Z] 31603596830f: Pulling fs layer [2020-10-19T07:10:30.696Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T07:10:30.696Z] 6ca5941a6612: Pulling fs layer [2020-10-19T07:10:30.696Z] ecc8261a40a4: Pulling fs layer [2020-10-19T07:10:30.696Z] ecc8261a40a4: Waiting [2020-10-19T07:10:30.696Z] 2a8b12db71e7: Verifying Checksum [2020-10-19T07:10:30.696Z] 2a8b12db71e7: Download complete [2020-10-19T07:10:30.696Z] 31603596830f: Verifying Checksum [2020-10-19T07:10:30.696Z] 31603596830f: Download complete [2020-10-19T07:10:30.974Z] 6ca5941a6612: Verifying Checksum [2020-10-19T07:10:30.974Z] 6ca5941a6612: Download complete [2020-10-19T07:10:30.974Z] ecc8261a40a4: Verifying Checksum [2020-10-19T07:10:30.974Z] ecc8261a40a4: Download complete [2020-10-19T07:10:31.249Z] 31603596830f: Pull complete [2020-10-19T07:10:31.249Z] 2a8b12db71e7: Pull complete [2020-10-19T07:10:32.197Z] 6ca5941a6612: Pull complete [2020-10-19T07:10:32.197Z] ecc8261a40a4: Pull complete [2020-10-19T07:10:32.197Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T07:10:32.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:10:32.197Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T07:10:32.581Z] prd-centos7-docker-4c-2g-6202 does not seem to be running inside a container [2020-10-19T07:10:32.629Z] $ 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-19T07:10:34.932Z] $ docker top 63b583b2eb8fb9abe32d3c52c32bb0dfe610a5c876e27272a387b814aed51e72 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T07:10:35.361Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:10:35.361Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:10:35.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:10:35.634Z] $ docker exec 63b583b2eb8fb9abe32d3c52c32bb0dfe610a5c876e27272a387b814aed51e72 ssh-agent [2020-10-19T07:10:35.816Z] SSH_AUTH_SOCK=/tmp/ssh-JJj4gCliUQOY/agent.11 [2020-10-19T07:10:35.816Z] SSH_AGENT_PID=16 [2020-10-19T07:10:35.828Z] Running ssh-add (command line suppressed) [2020-10-19T07:10:35.947Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_8247493901637542953.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_8247493901637542953.key) [2020-10-19T07:10:36.018Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:10:36.359Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T07:10:36.383Z] $ docker exec --env ******** --env ******** 63b583b2eb8fb9abe32d3c52c32bb0dfe610a5c876e27272a387b814aed51e72 ssh-agent -k [2020-10-19T07:10:36.499Z] unset SSH_AUTH_SOCK; [2020-10-19T07:10:36.499Z] unset SSH_AGENT_PID; [2020-10-19T07:10:36.500Z] echo Agent pid 16 killed; [2020-10-19T07:10:36.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T07:10:36.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:10:36.730Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:10:36.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:10:36.888Z] $ docker exec 63b583b2eb8fb9abe32d3c52c32bb0dfe610a5c876e27272a387b814aed51e72 ssh-agent [2020-10-19T07:10:37.042Z] SSH_AUTH_SOCK=/tmp/ssh-92FPVAAYYwJ6/agent.45 [2020-10-19T07:10:37.042Z] SSH_AGENT_PID=50 [2020-10-19T07:10:37.049Z] Running ssh-add (command line suppressed) [2020-10-19T07:10:37.172Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1106249021827106235.key (/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/private_key_1106249021827106235.key) [2020-10-19T07:10:37.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:10:37.567Z] + git semver init [2020-10-19T07:10:37.567Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T07:10:37.567Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.git [2020-10-19T07:10:37.567Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-19T07:10:37.567Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T07:10:37.567Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T07:10:37.567Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T07:10:37.567Z] # $SEMVER_BRANCH = PR-584 [2020-10-19T07:10:37.567Z] # $SEMVER_TEMP = /tmp/semver-787149666 [2020-10-19T07:10:37.567Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-19T07:10:38.143Z] # '/tmp/semver-787149666' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver' [2020-10-19T07:10:38.143Z] # -> Force: false [2020-10-19T07:10:38.143Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-584/.semver [Pipeline] } [2020-10-19T07:10:38.158Z] $ docker exec --env ******** --env ******** 63b583b2eb8fb9abe32d3c52c32bb0dfe610a5c876e27272a387b814aed51e72 ssh-agent -k [2020-10-19T07:10:38.280Z] unset SSH_AUTH_SOCK; [2020-10-19T07:10:38.280Z] unset SSH_AGENT_PID; [2020-10-19T07:10:38.280Z] echo Agent pid 50 killed; [2020-10-19T07:10:38.326Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T07:10:38.812Z] + git semver [Pipeline] } [2020-10-19T07:10:38.831Z] $ docker stop --time=1 63b583b2eb8fb9abe32d3c52c32bb0dfe610a5c876e27272a387b814aed51e72 [2020-10-19T07:10:40.272Z] $ docker rm -f 63b583b2eb8fb9abe32d3c52c32bb0dfe610a5c876e27272a387b814aed51e72 [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T07:10:40.754Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T07:10:41.307Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T07:10:41.310Z] [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-19T07:10:56.896Z] Still waiting to schedule task [2020-10-19T07:10:56.897Z] ‘prd-centos7-builder-2c-1g-6193’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-6182’ is offline; ‘prd-centos7-docker-4c-2g-6185’ is offline; ‘prd-centos7-docker-4c-2g-6186’ is offline; ‘prd-centos7-docker-4c-2g-6187’ is offline; ‘prd-centos7-docker-4c-2g-6191’ is offline; ‘prd-centos7-docker-4c-2g-6194’ is offline; ‘prd-centos7-docker-4c-2g-6205’ is offline; ‘prd-centos7-docker-8c-8g-6184’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6180’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6188’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6192’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6195’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6204’ doesn’t have label ‘centos7-docker-4c-2g’ [2020-10-19T07:10:56.899Z] Still waiting to schedule task [2020-10-19T07:10:56.899Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-19T07:12:24.035Z] Running on prd-centos7-docker-4c-2g-6211 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-19T07:12:24.096Z] Running in /w/workspace/device-sdk-go/26 [Pipeline] { [Pipeline] checkout [2020-10-19T07:12:27.010Z] using credential edgex-jenkins-ssh [2020-10-19T07:12:27.116Z] Cloning the remote Git repository [2020-10-19T07:12:27.147Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:12:27.227Z] > git init /w/workspace/device-sdk-go/26 # timeout=10 [2020-10-19T07:12:27.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:12:27.282Z] > git --version # timeout=10 [2020-10-19T07:12:27.288Z] > git --version # 'git version 2.16.5' [2020-10-19T07:12:27.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:12:27.324Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:12:28.412Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [2020-10-19T07:12:28.576Z] Merge succeeded, producing 4137d5024695a2ff2a9dc46b6745823e33292ebb [2020-10-19T07:12:28.577Z] Checking out Revision 4137d5024695a2ff2a9dc46b6745823e33292ebb (PR-584) [2020-10-19T07:12:28.017Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:12:28.023Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:12:28.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:12:28.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:12:28.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:12:28.055Z] > 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-19T07:12:28.426Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:12:28.432Z] > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 [2020-10-19T07:12:28.512Z] > git remote # timeout=10 [2020-10-19T07:12:28.520Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:12:28.526Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:12:28.531Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:12:28.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:12:28.582Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:12:28.587Z] > git checkout -f 4137d5024695a2ff2a9dc46b6745823e33292ebb # timeout=10 [2020-10-19T07:12:32.244Z] Commit message: "Merge commit '2d9730a214a0d2600c47b6e1f4d312ee14057382' into HEAD" [2020-10-19T07:12:32.251Z] > git rev-list --no-walk 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:12:33.085Z] ========================================================= [2020-10-19T07:12:33.086Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T07:12:33.086Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:12:33.763Z] + 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-19T07:12:34.046Z] Sending build context to Docker daemon 2.318MB [2020-10-19T07:12:34.046Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:12:34.046Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:12:34.313Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T07:12:34.313Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:12:34.313Z] ed8968b2872e: Pulling fs layer [2020-10-19T07:12:34.313Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T07:12:34.313Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T07:12:34.313Z] e73272ec9a57: Pulling fs layer [2020-10-19T07:12:34.313Z] 1e910a182e73: Pulling fs layer [2020-10-19T07:12:34.313Z] 4e634b169226: Pulling fs layer [2020-10-19T07:12:34.313Z] e73272ec9a57: Waiting [2020-10-19T07:12:34.313Z] 1e910a182e73: Waiting [2020-10-19T07:12:34.313Z] 4e634b169226: Waiting [2020-10-19T07:12:34.313Z] e871e8e8d7a9: Waiting [2020-10-19T07:12:34.313Z] a92cc7c5fd73: Verifying Checksum [2020-10-19T07:12:34.313Z] a92cc7c5fd73: Download complete [2020-10-19T07:12:34.313Z] ed8968b2872e: Download complete [2020-10-19T07:12:34.313Z] e73272ec9a57: Verifying Checksum [2020-10-19T07:12:34.313Z] e73272ec9a57: Download complete [2020-10-19T07:12:34.313Z] 1e910a182e73: Verifying Checksum [2020-10-19T07:12:34.313Z] 1e910a182e73: Download complete [2020-10-19T07:12:34.313Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:12:34.313Z] df20fa9351a1: Download complete [2020-10-19T07:12:34.575Z] df20fa9351a1: Pull complete [2020-10-19T07:12:34.848Z] ed8968b2872e: Pull complete [2020-10-19T07:12:35.120Z] a92cc7c5fd73: Pull complete [2020-10-19T07:12:37.690Z] 4e634b169226: Verifying Checksum [2020-10-19T07:12:37.690Z] 4e634b169226: Download complete [2020-10-19T07:12:39.109Z] e871e8e8d7a9: Verifying Checksum [2020-10-19T07:12:39.109Z] e871e8e8d7a9: Download complete [2020-10-19T07:12:44.501Z] e871e8e8d7a9: Pull complete [2020-10-19T07:12:44.501Z] e73272ec9a57: Pull complete [2020-10-19T07:12:44.501Z] 1e910a182e73: Pull complete [2020-10-19T07:12:49.862Z] 4e634b169226: Pull complete [2020-10-19T07:12:49.862Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T07:12:49.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T07:12:49.862Z] ---> f7629b54cfaa [2020-10-19T07:12:49.862Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:12:49.862Z] ---> Running in 57ca97b74857 [2020-10-19T07:12:50.128Z] Removing intermediate container 57ca97b74857 [2020-10-19T07:12:50.128Z] ---> 464d89ecfa6c [2020-10-19T07:12:50.128Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:12:50.128Z] ---> Running in cc783df1de58 [2020-10-19T07:12:51.546Z] Removing intermediate container cc783df1de58 [2020-10-19T07:12:51.546Z] ---> 9b0759b4aba4 [2020-10-19T07:12:51.546Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:12:51.814Z] ---> Running in dbf29059bc5c [2020-10-19T07:12:52.080Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:12:54.005Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:12:55.932Z] OK: 166 MiB in 39 packages [2020-10-19T07:12:56.195Z] Removing intermediate container dbf29059bc5c [2020-10-19T07:12:56.195Z] ---> 74672879e688 [2020-10-19T07:12:56.195Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:12:56.195Z] ---> Running in c5ceb7c92853 [2020-10-19T07:12:56.457Z] Removing intermediate container c5ceb7c92853 [2020-10-19T07:12:56.457Z] ---> 4c01c201c2f6 [2020-10-19T07:12:56.457Z] Step 7/8 : COPY . . [2020-10-19T07:12:57.850Z] ---> 214cf68a954e [2020-10-19T07:12:57.850Z] Step 8/8 : RUN go mod download [2020-10-19T07:12:57.850Z] ---> Running in 5eda1ab3e946 [2020-10-19T07:13:19.876Z] Removing intermediate container 5eda1ab3e946 [2020-10-19T07:13:19.876Z] ---> 73f916b690b6 [2020-10-19T07:13:19.876Z] Successfully built 73f916b690b6 [2020-10-19T07:13:19.876Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:13:20.454Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:13:20.454Z] . [Pipeline] withDockerContainer [2020-10-19T07:13:20.563Z] prd-centos7-docker-4c-2g-6211 does not seem to be running inside a container [2020-10-19T07:13:20.632Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-19T07:13:21.406Z] $ docker top 50d2eecbba509fb67fc36dcbe7cf4759d3c3f729efeeb984f6e57fb2b1564716 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:13:21.913Z] + go version [2020-10-19T07:13:21.913Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T07:13:21.932Z] $ docker stop --time=1 50d2eecbba509fb67fc36dcbe7cf4759d3c3f729efeeb984f6e57fb2b1564716 [2020-10-19T07:13:23.276Z] $ docker rm -f 50d2eecbba509fb67fc36dcbe7cf4759d3c3f729efeeb984f6e57fb2b1564716 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:13:24.236Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:13:24.237Z] . [Pipeline] withDockerContainer [2020-10-19T07:13:24.333Z] prd-centos7-docker-4c-2g-6211 does not seem to be running inside a container [2020-10-19T07:13:24.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-19T07:13:25.020Z] $ docker top 773d4ecbd3816f0931dd3c87a8df90ae3cee5faa65f7a59ab890d0787b183a5f -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:13:25.515Z] + make test [2020-10-19T07:13:25.515Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:13:32.181Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:13:44.309Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6214 in /w/workspace/dgexfoundry_device-sdk-go_PR-584 [Pipeline] { [Pipeline] ws [2020-10-19T07:13:44.381Z] Running in /w/workspace/device-sdk-go/26 [Pipeline] { [Pipeline] checkout [2020-10-19T07:13:47.308Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:13:47.308Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:13:47.308Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:13:47.308Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.054s coverage: 21.6% of statements [2020-10-19T07:13:48.274Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.448s coverage: 97.1% of statements [2020-10-19T07:13:49.712Z] using credential edgex-jenkins-ssh [2020-10-19T07:13:49.772Z] Cloning the remote Git repository [2020-10-19T07:13:49.836Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:13:49.948Z] > git init /w/workspace/device-sdk-go/26 # timeout=10 [2020-10-19T07:13:50.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:13:50.033Z] > git --version # timeout=10 [2020-10-19T07:13:50.061Z] > git --version # 'git version 2.17.1' [2020-10-19T07:13:50.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:13:50.162Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:13:51.841Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 [2020-10-19T07:13:51.251Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:13:51.274Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:13:51.310Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:13:51.357Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:13:51.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:13:51.374Z] > 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-19T07:13:51.864Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:13:51.882Z] > git checkout -f 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 [2020-10-19T07:13:52.169Z] Merge succeeded, producing 2388909094a2a9f987fe0ffdf60fac6b565355fa [2020-10-19T07:13:52.169Z] Checking out Revision 2388909094a2a9f987fe0ffdf60fac6b565355fa (PR-584) [2020-10-19T07:13:52.020Z] > git remote # timeout=10 [2020-10-19T07:13:52.055Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:13:52.077Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:13:52.087Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:13:52.159Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:13:52.181Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:13:52.198Z] > git checkout -f 2388909094a2a9f987fe0ffdf60fac6b565355fa # timeout=10 [2020-10-19T07:13:56.822Z] Commit message: "Merge commit '2d9730a214a0d2600c47b6e1f4d312ee14057382' into HEAD" [2020-10-19T07:13:56.840Z] > git rev-list --no-walk 0c8cc0e2f4734dd7566114bf76689f33fe6a87f3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:13:57.786Z] ========================================================= [2020-10-19T07:13:57.786Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T07:13:57.786Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:13:58.818Z] + 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-19T07:13:59.819Z] Sending build context to Docker daemon 2.318MB [2020-10-19T07:13:59.819Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:13:59.819Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:14:00.091Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T07:14:00.091Z] b538f80385f9: Pulling fs layer [2020-10-19T07:14:00.091Z] 74f711af9a0d: Pulling fs layer [2020-10-19T07:14:00.091Z] 99f96fe45779: Pulling fs layer [2020-10-19T07:14:00.091Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T07:14:00.091Z] 45590311c82a: Pulling fs layer [2020-10-19T07:14:00.091Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T07:14:00.091Z] 209524e5b208: Pulling fs layer [2020-10-19T07:14:00.091Z] 8529a6b9a6be: Waiting [2020-10-19T07:14:00.091Z] 45590311c82a: Waiting [2020-10-19T07:14:00.091Z] 69ca0ff8b7b3: Waiting [2020-10-19T07:14:00.091Z] 209524e5b208: Waiting [2020-10-19T07:14:00.091Z] 99f96fe45779: Verifying Checksum [2020-10-19T07:14:00.091Z] 99f96fe45779: Download complete [2020-10-19T07:14:00.091Z] 74f711af9a0d: Download complete [2020-10-19T07:14:00.091Z] 45590311c82a: Verifying Checksum [2020-10-19T07:14:00.091Z] 45590311c82a: Download complete [2020-10-19T07:14:00.091Z] 69ca0ff8b7b3: Verifying Checksum [2020-10-19T07:14:00.091Z] 69ca0ff8b7b3: Download complete [2020-10-19T07:14:00.091Z] b538f80385f9: Download complete [2020-10-19T07:14:01.083Z] b538f80385f9: Pull complete [2020-10-19T07:14:01.361Z] 74f711af9a0d: Pull complete [2020-10-19T07:14:01.959Z] 99f96fe45779: Pull complete [2020-10-19T07:14:02.946Z] 209524e5b208: Verifying Checksum [2020-10-19T07:14:02.946Z] 209524e5b208: Download complete [2020-10-19T07:14:03.948Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T07:14:03.948Z] 8529a6b9a6be: Download complete [2020-10-19T07:14:14.141Z] 8529a6b9a6be: Pull complete [2020-10-19T07:14:14.141Z] 45590311c82a: Pull complete [2020-10-19T07:14:14.416Z] 69ca0ff8b7b3: Pull complete [2020-10-19T07:14:18.743Z] 209524e5b208: Pull complete [2020-10-19T07:14:18.743Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T07:14:18.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T07:14:18.743Z] ---> 5bddaf1c2fca [2020-10-19T07:14:18.743Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:14:20.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.079s coverage: 9.4% of statements [2020-10-19T07:14:20.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.057s coverage: 21.9% of statements [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:14:20.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.236s coverage: 42.6% of statements [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:14:20.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.293s coverage: 68.9% of statements [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:14:20.469Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.066s coverage: 52.6% of statements [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:14:20.469Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.305s coverage: 68.9% of statements [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:14:20.469Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:14:20.469Z] GO111MODULE=on go vet ./... [2020-10-19T07:14:21.383Z] ---> Running in 9ee30ee1e974 [2020-10-19T07:14:21.661Z] Removing intermediate container 9ee30ee1e974 [2020-10-19T07:14:21.661Z] ---> 8075386253e1 [2020-10-19T07:14:21.661Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:14:21.934Z] ---> Running in 1a1b63bd67dd [2020-10-19T07:14:24.577Z] Removing intermediate container 1a1b63bd67dd [2020-10-19T07:14:24.577Z] ---> 3c4fa65a2d98 [2020-10-19T07:14:24.577Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:14:24.577Z] ---> Running in 687ab78f0096 [2020-10-19T07:14:26.016Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:14:26.994Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:14:27.166Z] gofmt -l . [2020-10-19T07:14:27.166Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:14:27.166Z] ./bin/test-attribution-txt.sh [2020-10-19T07:14:27.430Z] ./bin/test-go-mod-tidy.sh [2020-10-19T07:14:27.589Z] OK: 142 MiB in 39 packages [Pipeline] stash [2020-10-19T07:14:28.027Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:14:28.036Z] $ docker stop --time=1 773d4ecbd3816f0931dd3c87a8df90ae3cee5faa65f7a59ab890d0787b183a5f [2020-10-19T07:14:29.029Z] Removing intermediate container 687ab78f0096 [2020-10-19T07:14:29.029Z] ---> b506cf7d442b [2020-10-19T07:14:29.029Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:14:29.029Z] ---> Running in 9f53b59c1d12 [2020-10-19T07:14:29.303Z] Removing intermediate container 9f53b59c1d12 [2020-10-19T07:14:29.303Z] ---> cf3f7744e07c [2020-10-19T07:14:29.303Z] Step 7/8 : COPY . . [2020-10-19T07:14:29.973Z] $ docker rm -f 773d4ecbd3816f0931dd3c87a8df90ae3cee5faa65f7a59ab890d0787b183a5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-10-19T07:14:30.743Z] ---> 639c6908335a [2020-10-19T07:14:30.743Z] Step 8/8 : RUN go mod download [2020-10-19T07:14:31.017Z] ---> Running in eafefffc3c4f [Pipeline] sh [2020-10-19T07:14:31.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:14:31.895Z] + ls -al . [2020-10-19T07:14:31.895Z] total 188 [2020-10-19T07:14:31.895Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:14 . [2020-10-19T07:14:31.895Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 19 07:12 .. [2020-10-19T07:14:31.895Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:12 bin [2020-10-19T07:14:31.895Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:14 coverage.out [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:12 Dockerfile.build [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:12 .dockerignore [2020-10-19T07:14:31.895Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:12 example [2020-10-19T07:14:31.895Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:12 .git [2020-10-19T07:14:31.895Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:12 .github [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:12 .gitignore [2020-10-19T07:14:31.895Z] -rw-r--r--. 1 jenkins jenkins 517 Oct 19 07:14 go.mod [2020-10-19T07:14:31.895Z] -rw-r--r--. 1 jenkins jenkins 13743 Oct 19 07:14 go.sum [2020-10-19T07:14:31.895Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:12 internal [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:12 Jenkinsfile [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:12 LICENSE [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:12 Makefile [2020-10-19T07:14:31.895Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:12 openapi [2020-10-19T07:14:31.895Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:12 pkg [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:12 README.md [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:12 RELEASE-NOTES.txt [2020-10-19T07:14:31.895Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:12 snap [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:10 VERSION [2020-10-19T07:14:31.895Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:14:32.210Z] + 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=c21a409bbfced46ca16a85b0143ca024b218a3a5 --label arch=amd64 --label version=0.0.0 . [2020-10-19T07:14:32.474Z] Sending build context to Docker daemon 2.429MB [2020-10-19T07:14:32.474Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:14:32.474Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:14:32.474Z] ---> 73f916b690b6 [2020-10-19T07:14:32.474Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:14:33.049Z] ---> Running in 9e23833fefa1 [2020-10-19T07:14:33.311Z] Removing intermediate container 9e23833fefa1 [2020-10-19T07:14:33.311Z] ---> c5b35f5342c4 [2020-10-19T07:14:33.311Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:14:33.311Z] ---> Running in c4aa5ae3916f [2020-10-19T07:14:33.574Z] Removing intermediate container c4aa5ae3916f [2020-10-19T07:14:33.574Z] ---> 814cd25a06d2 [2020-10-19T07:14:33.574Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:14:33.574Z] ---> Running in 1f9d5f12ef26 [2020-10-19T07:14:33.838Z] Removing intermediate container 1f9d5f12ef26 [2020-10-19T07:14:33.838Z] ---> 8abbd3378b42 [2020-10-19T07:14:33.838Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:14:33.838Z] ---> Running in 540cac121518 [2020-10-19T07:14:34.792Z] Removing intermediate container 540cac121518 [2020-10-19T07:14:34.792Z] ---> 36fea6b22440 [2020-10-19T07:14:34.792Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:14:34.792Z] ---> Running in a47b84674864 [2020-10-19T07:14:35.371Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:14:35.945Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:14:37.338Z] OK: 166 MiB in 39 packages [2020-10-19T07:14:37.605Z] Removing intermediate container a47b84674864 [2020-10-19T07:14:37.605Z] ---> b8a30ddb6441 [2020-10-19T07:14:37.605Z] Step 8/24 : COPY . . [2020-10-19T07:14:38.565Z] ---> d6b1a1033752 [2020-10-19T07:14:38.565Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:14:38.565Z] ---> Running in 3992b86e047b [2020-10-19T07:14:39.145Z] 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-19T07:14:47.403Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:14:49.333Z] Removing intermediate container 3992b86e047b [2020-10-19T07:14:49.333Z] ---> 0b054ada724a [2020-10-19T07:14:49.333Z] Step 10/24 : FROM scratch [2020-10-19T07:14:49.333Z] ---> [2020-10-19T07:14:49.333Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:14:49.596Z] ---> Running in 91a2985398d0 [2020-10-19T07:14:49.596Z] Removing intermediate container 91a2985398d0 [2020-10-19T07:14:49.596Z] ---> f98fdcbbef5a [2020-10-19T07:14:49.596Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:14:49.596Z] ---> Running in e377e13cc57b [2020-10-19T07:14:49.858Z] Removing intermediate container e377e13cc57b [2020-10-19T07:14:49.859Z] ---> ef4029fe76f4 [2020-10-19T07:14:49.859Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:14:49.859Z] ---> Running in 876e041664eb [2020-10-19T07:14:50.122Z] Removing intermediate container 876e041664eb [2020-10-19T07:14:50.122Z] ---> 62774c977865 [2020-10-19T07:14:50.122Z] Step 14/24 : WORKDIR / [2020-10-19T07:14:50.122Z] ---> Running in bfa6739e630f [2020-10-19T07:14:50.389Z] Removing intermediate container bfa6739e630f [2020-10-19T07:14:50.389Z] ---> ebae85b82784 [2020-10-19T07:14:50.389Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:14:50.660Z] ---> d4d9dc2ab160 [2020-10-19T07:14:50.660Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:14:50.925Z] ---> 2eb5d78bfc06 [2020-10-19T07:14:50.925Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:14:51.188Z] ---> f840242b6077 [2020-10-19T07:14:51.188Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:14:51.451Z] ---> 0ab9c93c14f4 [2020-10-19T07:14:51.451Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:14:51.713Z] ---> 459e9722f127 [2020-10-19T07:14:51.713Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:14:51.713Z] ---> Running in f5d05bccb393 [2020-10-19T07:14:51.975Z] Removing intermediate container f5d05bccb393 [2020-10-19T07:14:51.975Z] ---> af74a4a9c695 [2020-10-19T07:14:51.975Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:14:51.975Z] ---> Running in 5e349add45c3 [2020-10-19T07:14:52.238Z] Removing intermediate container 5e349add45c3 [2020-10-19T07:14:52.238Z] ---> 5aee94ef64f1 [2020-10-19T07:14:52.238Z] Step 22/24 : LABEL arch=amd64 [2020-10-19T07:14:52.238Z] ---> Running in 5c49e9462a42 [2020-10-19T07:14:52.501Z] Removing intermediate container 5c49e9462a42 [2020-10-19T07:14:52.501Z] ---> b2333c0f49bd [2020-10-19T07:14:52.501Z] Step 23/24 : LABEL git_sha=c21a409bbfced46ca16a85b0143ca024b218a3a5 [2020-10-19T07:14:52.501Z] ---> Running in 7ff7c18d41bf [2020-10-19T07:14:52.501Z] Removing intermediate container 7ff7c18d41bf [2020-10-19T07:14:52.501Z] ---> e81acdd6d362 [2020-10-19T07:14:52.501Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:14:52.764Z] ---> Running in 78ed23b69e32 [2020-10-19T07:14:52.764Z] Removing intermediate container 78ed23b69e32 [2020-10-19T07:14:52.764Z] ---> 8f7070badaa0 [2020-10-19T07:14:52.764Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:14:52.764Z] Successfully built 8f7070badaa0 [2020-10-19T07:14:52.764Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2020-10-19T07:14:53.212Z] Removing intermediate container eafefffc3c4f [2020-10-19T07:14:53.212Z] ---> ae32fdaf4a35 [2020-10-19T07:14:53.212Z] Successfully built ae32fdaf4a35 [2020-10-19T07:14:53.212Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-19T07:14:53.723Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:14:53.723Z] . [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer [2020-10-19T07:14:54.037Z] prd-ubuntu18.04-docker-arm64-4c-16g-6214 does not seem to be running inside a container [2020-10-19T07:14:54.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-19T07:14:56.084Z] $ docker top 0ca2cba2dfe8e9993e11234fbeff22cfde110a87b7b28f930ce11ab2ad61097f -eo pid,comm [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-19T07:14:57.566Z] + go version [2020-10-19T07:14:57.566Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T07:14:57.618Z] $ docker stop --time=1 0ca2cba2dfe8e9993e11234fbeff22cfde110a87b7b28f930ce11ab2ad61097f [2020-10-19T07:14:59.501Z] $ docker rm -f 0ca2cba2dfe8e9993e11234fbeff22cfde110a87b7b28f930ce11ab2ad61097f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:15:00.577Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:15:00.577Z] . [Pipeline] withDockerContainer [2020-10-19T07:15:00.864Z] prd-ubuntu18.04-docker-arm64-4c-16g-6214 does not seem to be running inside a container [2020-10-19T07:15:00.996Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-19T07:15:02.843Z] $ docker top 546a88865c1742c8761ff2543ed87d91243cc7165b8bd7c4433bed513c453fda -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:15:04.257Z] + make test [2020-10-19T07:15:04.257Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:15:26.450Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:16:05.533Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:16:05.533Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:16:05.533Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:16:06.542Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.131s coverage: 21.6% of statements [2020-10-19T07:16:13.309Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.280s coverage: 97.1% of statements [2020-10-19T07:16:40.114Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.161s coverage: 9.4% of statements [2020-10-19T07:16:40.114Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.163s coverage: 21.9% of statements [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:16:40.114Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.614s coverage: 42.6% of statements [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:16:40.114Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.788s coverage: 68.9% of statements [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:16:40.114Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.205s coverage: 52.6% of statements [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:16:40.114Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.183s coverage: 68.9% of statements [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:16:40.114Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:16:40.114Z] GO111MODULE=on go vet ./... [2020-10-19T07:17:12.544Z] gofmt -l . [2020-10-19T07:17:12.544Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:17:12.544Z] ./bin/test-attribution-txt.sh [2020-10-19T07:17:12.544Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:17:12.609Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T07:17:13.614Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:17:13.687Z] $ docker stop --time=1 546a88865c1742c8761ff2543ed87d91243cc7165b8bd7c4433bed513c453fda [2020-10-19T07:17:16.077Z] $ docker rm -f 546a88865c1742c8761ff2543ed87d91243cc7165b8bd7c4433bed513c453fda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:17:17.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:17:18.020Z] + ls -al . [2020-10-19T07:17:18.020Z] total 224 [2020-10-19T07:17:18.020Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:17 . [2020-10-19T07:17:18.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:13 .. [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:13 .dockerignore [2020-10-19T07:17:18.020Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:13 .git [2020-10-19T07:17:18.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:13 .github [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:13 .gitignore [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:13 Dockerfile.build [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:13 Jenkinsfile [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:13 LICENSE [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:13 Makefile [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:13 README.md [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:13 RELEASE-NOTES.txt [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:10 VERSION [2020-10-19T07:17:18.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:13 bin [2020-10-19T07:17:18.020Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:16 coverage.out [2020-10-19T07:17:18.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:13 example [2020-10-19T07:17:18.020Z] -rw-r--r-- 1 jenkins jenkins 517 Oct 19 07:17 go.mod [2020-10-19T07:17:18.020Z] -rw-r--r-- 1 jenkins jenkins 13743 Oct 19 07:17 go.sum [2020-10-19T07:17:18.020Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:13 internal [2020-10-19T07:17:18.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:13 openapi [2020-10-19T07:17:18.020Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:13 pkg [2020-10-19T07:17:18.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:13 snap [2020-10-19T07:17:18.020Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:13 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:17:18.415Z] + 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=c21a409bbfced46ca16a85b0143ca024b218a3a5 --label arch=arm64 --label version=0.0.0 . [2020-10-19T07:17:19.031Z] Sending build context to Docker daemon 2.429MB [2020-10-19T07:17:19.031Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:17:19.031Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:17:19.031Z] ---> ae32fdaf4a35 [2020-10-19T07:17:19.031Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:17:19.307Z] ---> Running in e123a7423955 [2020-10-19T07:17:19.584Z] Removing intermediate container e123a7423955 [2020-10-19T07:17:19.584Z] ---> bbe423dd0633 [2020-10-19T07:17:19.584Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:17:19.859Z] ---> Running in 5a48cb9c0d35 [2020-10-19T07:17:20.461Z] Removing intermediate container 5a48cb9c0d35 [2020-10-19T07:17:20.461Z] ---> 900f2620da4f [2020-10-19T07:17:20.461Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:17:20.461Z] ---> Running in 87dcb3aa246b [2020-10-19T07:17:20.735Z] Removing intermediate container 87dcb3aa246b [2020-10-19T07:17:20.735Z] ---> 83afbeece40a [2020-10-19T07:17:20.735Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:17:21.013Z] ---> Running in 11a8e76e8925 [2020-10-19T07:17:23.644Z] Removing intermediate container 11a8e76e8925 [2020-10-19T07:17:23.644Z] ---> 3708620e2e1a [2020-10-19T07:17:23.644Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:17:23.644Z] ---> Running in 021cc2b531d1 [2020-10-19T07:17:25.083Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:17:26.076Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:17:27.062Z] OK: 142 MiB in 39 packages [2020-10-19T07:17:28.043Z] Removing intermediate container 021cc2b531d1 [2020-10-19T07:17:28.043Z] ---> 1d089e0aef1a [2020-10-19T07:17:28.043Z] Step 8/24 : COPY . . [2020-10-19T07:17:29.486Z] ---> 614eb0e77130 [2020-10-19T07:17:29.486Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:17:29.486Z] ---> Running in 82ee3b095674 [2020-10-19T07:17:30.927Z] 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-19T07:17:57.739Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:17:58.722Z] Removing intermediate container 82ee3b095674 [2020-10-19T07:17:58.722Z] ---> a9a42bdab4a2 [2020-10-19T07:17:58.722Z] Step 10/24 : FROM scratch [2020-10-19T07:17:58.722Z] ---> [2020-10-19T07:17:58.722Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:17:58.722Z] ---> Running in f5622c7817fb [2020-10-19T07:17:59.322Z] Removing intermediate container f5622c7817fb [2020-10-19T07:17:59.322Z] ---> 9cb69f8b3170 [2020-10-19T07:17:59.322Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:17:59.322Z] ---> Running in c3e3d1e98092 [2020-10-19T07:17:59.919Z] Removing intermediate container c3e3d1e98092 [2020-10-19T07:17:59.919Z] ---> f70509d89f09 [2020-10-19T07:17:59.919Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:17:59.919Z] ---> Running in a246371b35e8 [2020-10-19T07:18:00.193Z] Removing intermediate container a246371b35e8 [2020-10-19T07:18:00.193Z] ---> d973c8f4b014 [2020-10-19T07:18:00.193Z] Step 14/24 : WORKDIR / [2020-10-19T07:18:00.464Z] ---> Running in 705b6f0d9175 [2020-10-19T07:18:00.737Z] Removing intermediate container 705b6f0d9175 [2020-10-19T07:18:00.737Z] ---> abd4effee37d [2020-10-19T07:18:00.737Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:18:02.167Z] ---> 3c7498993e18 [2020-10-19T07:18:02.167Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:18:02.764Z] ---> a840f13b7955 [2020-10-19T07:18:02.764Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:18:03.365Z] ---> 2fcec5542e0b [2020-10-19T07:18:03.365Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:18:04.348Z] ---> 851444ef4660 [2020-10-19T07:18:04.348Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:18:04.947Z] ---> 16b8062d6fac [2020-10-19T07:18:04.947Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:18:05.222Z] ---> Running in 79f258e0fe30 [2020-10-19T07:18:05.494Z] Removing intermediate container 79f258e0fe30 [2020-10-19T07:18:05.494Z] ---> 4e0c5a369ad4 [2020-10-19T07:18:05.494Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:18:05.768Z] ---> Running in 7e06e5e1c4e3 [2020-10-19T07:18:06.041Z] Removing intermediate container 7e06e5e1c4e3 [2020-10-19T07:18:06.041Z] ---> ca9650d62edd [2020-10-19T07:18:06.041Z] Step 22/24 : LABEL arch=arm64 [2020-10-19T07:18:06.316Z] ---> Running in 0deac218ea71 [2020-10-19T07:18:06.591Z] Removing intermediate container 0deac218ea71 [2020-10-19T07:18:06.591Z] ---> 4adb729a2141 [2020-10-19T07:18:06.591Z] Step 23/24 : LABEL git_sha=c21a409bbfced46ca16a85b0143ca024b218a3a5 [2020-10-19T07:18:06.870Z] ---> Running in 9660851c7d60 [2020-10-19T07:18:07.148Z] Removing intermediate container 9660851c7d60 [2020-10-19T07:18:07.148Z] ---> 8af08cafd902 [2020-10-19T07:18:07.148Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:18:07.425Z] ---> Running in b42a51168f6e [2020-10-19T07:18:08.021Z] Removing intermediate container b42a51168f6e [2020-10-19T07:18:08.021Z] ---> 2331a11a5751 [2020-10-19T07:18:08.021Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:18:08.021Z] Successfully built 2331a11a5751 [2020-10-19T07:18:08.021Z] 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-19T07:18:09.698Z] provisioning config files... [2020-10-19T07:18:09.710Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config5274159346541937305tmp [Pipeline] { [Pipeline] sh [2020-10-19T07:18:10.088Z] + set +x [2020-10-19T07:18:10.088Z] + curl -s https://codecov.io/bash [2020-10-19T07:18:10.088Z] + bash -s -- [2020-10-19T07:18:10.353Z] [2020-10-19T07:18:10.353Z] _____ _ [2020-10-19T07:18:10.353Z] / ____| | | [2020-10-19T07:18:10.353Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T07:18:10.353Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T07:18:10.353Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T07:18:10.353Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T07:18:10.353Z] Bash-20201009-048fee3 [2020-10-19T07:18:10.353Z] [2020-10-19T07:18:10.353Z] [2020-10-19T07:18:10.353Z] ==> Jenkins CI detected. [2020-10-19T07:18:10.353Z] project root: . [2020-10-19T07:18:10.353Z] Fixing merge commit SHA [2020-10-19T07:18:10.353Z] --> token set from env [2020-10-19T07:18:10.353Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T07:18:10.353Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T07:18:10.353Z] ==> Python coveragepy not found [2020-10-19T07:18:10.353Z] ==> Searching for coverage reports in: [2020-10-19T07:18:10.353Z] + . [2020-10-19T07:18:10.353Z] -> Found 1 reports [2020-10-19T07:18:10.353Z] ==> Detecting git/mercurial file structure [2020-10-19T07:18:10.353Z] ==> Reading reports [2020-10-19T07:18:10.353Z] + ./coverage.out bytes=110398 [2020-10-19T07:18:10.353Z] ==> Appending adjustments [2020-10-19T07:18:10.353Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T07:18:10.928Z] + Found adjustments [2020-10-19T07:18:10.928Z] ==> Gzipping contents [2020-10-19T07:18:10.928Z] ==> Uploading reports [2020-10-19T07:18:10.928Z] url: https://codecov.io [2020-10-19T07:18:10.928Z] query: branch=PR-584&commit=2d9730a214a0d2600c47b6e1f4d312ee14057382&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-19T07:18:10.928Z] -> Pinging Codecov [2020-10-19T07:18:10.928Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-584&commit=2d9730a214a0d2600c47b6e1f4d312ee14057382&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-584%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=584&job=&cmd_args= [2020-10-19T07:18:10.928Z] -> Uploading to [2020-10-19T07:18:10.928Z] [2020-10-19T07:18:10.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:18:10.928Z] Dload Upload Total Spent Left Speed [2020-10-19T07:18:10.928Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T07:18:10.928Z] X> Failed to upload [2020-10-19T07:18:10.928Z] ==> Uploading to Codecov [2020-10-19T07:18:10.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:18:10.928Z] Dload Upload Total Spent Left Speed [2020-10-19T07:18:11.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19144 100 110 100 19034 198 34425 --:--:-- --:--:-- --:--:-- 34419 [2020-10-19T07:18:11.764Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2d9730a214a0d2600c47b6e1f4d312ee14057382 [Pipeline] } [2020-10-19T07:18:11.775Z] 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-19T07:18:14.519Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:15.086Z] ---> package-listing.sh [2020-10-19T07:18:15.086Z] ++ facter osfamily [2020-10-19T07:18:15.086Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T07:18:15.086Z] + OS_FAMILY=redhat [2020-10-19T07:18:15.086Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-584 [2020-10-19T07:18:15.086Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T07:18:15.086Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T07:18:15.086Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T07:18:15.086Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T07:18:15.086Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-19T07:18:15.086Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T07:18:15.086Z] + case "${OS_FAMILY}" in [2020-10-19T07:18:15.086Z] + rpm -qa [2020-10-19T07:18:15.086Z] + sort [2020-10-19T07:18:19.320Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T07:18:19.320Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T07:18:19.320Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T07:18:19.320Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-584 ']' [2020-10-19T07:18:19.320Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-584/archives/ [2020-10-19T07:18:19.320Z] + 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-19T07:18:19.340Z] 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-19T07:18:19.638Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:18:19.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:18:19.989Z] [2020-10-19T07:18:19.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:18:20.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:18:20.344Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T07:18:20.344Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:18:20.344Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T07:18:20.344Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T07:18:20.344Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T07:18:20.344Z] 93b61091891f: Pulling fs layer [2020-10-19T07:18:20.344Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T07:18:20.344Z] 5e14af77c1be: Pulling fs layer [2020-10-19T07:18:20.344Z] 01666e4c0597: Pulling fs layer [2020-10-19T07:18:20.344Z] aa168da1d23b: Pulling fs layer [2020-10-19T07:18:20.344Z] 93b61091891f: Waiting [2020-10-19T07:18:20.344Z] 93b9cdb0e59b: Waiting [2020-10-19T07:18:20.344Z] 5e14af77c1be: Waiting [2020-10-19T07:18:20.344Z] 01666e4c0597: Waiting [2020-10-19T07:18:20.344Z] aa168da1d23b: Waiting [2020-10-19T07:18:20.344Z] 46f8f816bc3b: Waiting [2020-10-19T07:18:20.344Z] 36b3adc4ff6f: Verifying Checksum [2020-10-19T07:18:20.344Z] 36b3adc4ff6f: Download complete [2020-10-19T07:18:20.344Z] 46f8f816bc3b: Verifying Checksum [2020-10-19T07:18:20.344Z] 46f8f816bc3b: Download complete [2020-10-19T07:18:20.610Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:18:20.610Z] df20fa9351a1: Download complete [2020-10-19T07:18:20.610Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T07:18:20.610Z] 93b9cdb0e59b: Download complete [2020-10-19T07:18:20.610Z] 5e14af77c1be: Verifying Checksum [2020-10-19T07:18:20.610Z] 5e14af77c1be: Download complete [2020-10-19T07:18:20.610Z] 93b61091891f: Download complete [2020-10-19T07:18:20.610Z] 01666e4c0597: Verifying Checksum [2020-10-19T07:18:20.610Z] 01666e4c0597: Download complete [2020-10-19T07:18:20.872Z] df20fa9351a1: Pull complete [2020-10-19T07:18:20.872Z] 36b3adc4ff6f: Pull complete [2020-10-19T07:18:21.140Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T07:18:21.140Z] 8ad3a11d3b57: Download complete [2020-10-19T07:18:21.738Z] 8ad3a11d3b57: Pull complete [2020-10-19T07:18:22.003Z] 46f8f816bc3b: Pull complete [2020-10-19T07:18:22.581Z] 93b61091891f: Pull complete [2020-10-19T07:18:22.581Z] 93b9cdb0e59b: Pull complete [2020-10-19T07:18:22.845Z] 5e14af77c1be: Pull complete [2020-10-19T07:18:22.845Z] aa168da1d23b: Verifying Checksum [2020-10-19T07:18:22.845Z] aa168da1d23b: Download complete [2020-10-19T07:18:22.845Z] 01666e4c0597: Pull complete [2020-10-19T07:18:29.464Z] aa168da1d23b: Pull complete [2020-10-19T07:18:29.464Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T07:18:29.464Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:18:29.464Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T07:18:29.648Z] prd-centos7-docker-4c-2g-6202 does not seem to be running inside a container [2020-10-19T07:18:29.705Z] $ 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-19T07:18:33.686Z] $ docker top 451f69bf8b1aab7e6ef70d754de82741ecd68cabb9165b103e4033ffcaec9a6e -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:18:34.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T07:18:34.592Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T07:18:34.894Z] + ls /var/log/sa-host [2020-10-19T07:18:34.894Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T07:18:34.894Z] file_magic: OK [2020-10-19T07:18:34.894Z] HZ: Using current value: 100 [2020-10-19T07:18:34.894Z] file_header: OK [2020-10-19T07:18:34.894Z] 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-19T07:18:34.894Z] Statistics: [2020-10-19T07:18:34.894Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:18:34.894Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T07:18:34.894Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T07:18:34.894Z] file_magic: OK [2020-10-19T07:18:34.894Z] HZ: Using current value: 100 [2020-10-19T07:18:34.894Z] file_header: OK [2020-10-19T07:18:34.894Z] 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-19T07:18:34.894Z] Statistics: [2020-10-19T07:18:34.894Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:18:34.894Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T07:18:35.085Z] provisioning config files... [2020-10-19T07:18:35.099Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-584@tmp/config5713290090083836363tmp [Pipeline] { [Pipeline] echo [2020-10-19T07:18:35.191Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:35.500Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T07:18:35.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T07:18:35.624Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:35.920Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T07:18:35.930Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:36.226Z] ---> sudo-logs.sh [2020-10-19T07:18:36.227Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T07:18:36.237Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:36.536Z] ---> job-cost.sh [2020-10-19T07:18:36.536Z] lf-activate-venv: SKIPPING [2020-10-19T07:18:36.536Z] INFO: No Stack... [2020-10-19T07:18:37.953Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T07:18:38.214Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T07:18:38.230Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:18:38.526Z] ---> logs-deploy.sh [2020-10-19T07:18:38.526Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-584/26 [2020-10-19T07:18:38.526Z] INFO: archiving workspace using pattern(s): [2020-10-19T07:18:39.915Z] Archives upload complete. [2020-10-19T07:18:40.178Z] INFO: archiving logs to Nexus