Pull request #631 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6+2d9730a214a0d2600c47b6e1f4d312ee14057382 (e2558f7c13882a8d6d32059ff37e2eafef4321ce) 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-6221 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [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-631 # 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 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 Merge succeeded, producing 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 Checking out Revision 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 (PR-631) > 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/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # 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 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 130f0061a0b276a8bc7dc138e7fe536a17291da7 # timeout=10 [Pipeline] timeout [2020-10-19T07:28:38.351Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-10-19T07:28:38.626Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-10-19T07:28:38.730Z] ========================================================= [2020-10-19T07:28:38.730Z] EdgeX Global Pipelines Version Info [2020-10-19T07:28:38.730Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:28:40.244Z] ------------------- [2020-10-19T07:28:40.244Z] stable info: [2020-10-19T07:28:40.244Z] ------------------- [2020-10-19T07:28:40.244Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:28:40.244Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:28:40.244Z] Message: update stable to v1.0.144 [2020-10-19T07:28:41.189Z] ------------------- [2020-10-19T07:28:41.189Z] experimental info: [2020-10-19T07:28:41.189Z] ------------------- [2020-10-19T07:28:41.189Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-10-19T07:28:41.189Z] Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 [2020-10-19T07:28:41.189Z] Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-10-19T07:28:41.543Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-10-19T07:28:41.633Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-10-19T07:28:41.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-10-19T07:28:41.813Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-10-19T07:28:41.901Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-10-19T07:28:41.989Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-10-19T07:28:42.094Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-10-19T07:28:42.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-10-19T07:28:42.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-10-19T07:28:42.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-10-19T07:28:42.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-10-19T07:28:42.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-10-19T07:28:42.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-10-19T07:28:42.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-10-19T07:28:42.916Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-10-19T07:28:43.020Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:28:43.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:28:43.236Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-10-19T07:28:43.335Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-10-19T07:28:43.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-10-19T07:28:43.552Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-10-19T07:28:43.667Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-10-19T07:28:43.760Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-10-19T07:28:43.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-10-19T07:28:43.985Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-10-19T07:28:44.086Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-631 [Pipeline] echo [2020-10-19T07:28:44.181Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-631 [Pipeline] echo [2020-10-19T07:28:44.294Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-631 [Pipeline] echo [2020-10-19T07:28:44.397Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [Pipeline] echo [2020-10-19T07:28:44.503Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3411a08 [Pipeline] echo [2020-10-19T07:28:44.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:28:45.217Z] + git log --format=format:%s -1 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [Pipeline] echo [2020-10-19T07:28:45.282Z] GIT_COMMIT: 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo [2020-10-19T07:28:45.333Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:28:45.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:28:47.246Z] [2020-10-19T07:28:47.246Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:28:47.611Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:28:47.611Z] latest: Pulling from edgex-devops/git-semver [2020-10-19T07:28:47.611Z] 31603596830f: Pulling fs layer [2020-10-19T07:28:47.611Z] 2a8b12db71e7: Pulling fs layer [2020-10-19T07:28:47.611Z] 6ca5941a6612: Pulling fs layer [2020-10-19T07:28:47.611Z] ecc8261a40a4: Pulling fs layer [2020-10-19T07:28:47.611Z] ecc8261a40a4: Waiting [2020-10-19T07:28:47.611Z] 2a8b12db71e7: Verifying Checksum [2020-10-19T07:28:47.611Z] 2a8b12db71e7: Download complete [2020-10-19T07:28:47.876Z] 31603596830f: Verifying Checksum [2020-10-19T07:28:47.876Z] 31603596830f: Download complete [2020-10-19T07:28:47.876Z] ecc8261a40a4: Verifying Checksum [2020-10-19T07:28:47.876Z] ecc8261a40a4: Download complete [2020-10-19T07:28:47.876Z] 6ca5941a6612: Verifying Checksum [2020-10-19T07:28:47.876Z] 6ca5941a6612: Download complete [2020-10-19T07:28:48.138Z] 31603596830f: Pull complete [2020-10-19T07:28:48.402Z] 2a8b12db71e7: Pull complete [2020-10-19T07:28:48.987Z] 6ca5941a6612: Pull complete [2020-10-19T07:28:49.251Z] ecc8261a40a4: Pull complete [2020-10-19T07:28:49.251Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-10-19T07:28:49.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-10-19T07:28:49.251Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-10-19T07:28:49.360Z] prd-centos7-docker-4c-2g-6221 does not seem to be running inside a container [2020-10-19T07:28:49.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-631 -v /w/workspace/dgexfoundry_device-sdk-go_PR-631:/w/workspace/dgexfoundry_device-sdk-go_PR-631:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-631@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:28:51.815Z] $ docker top 89254c553d974ef1f4477d399f285d0507e8cafe5194df35a2ba38b86b7364da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-10-19T07:28:52.133Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:28:52.133Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:28:52.343Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:28:52.346Z] $ docker exec 89254c553d974ef1f4477d399f285d0507e8cafe5194df35a2ba38b86b7364da ssh-agent [2020-10-19T07:28:52.506Z] SSH_AUTH_SOCK=/tmp/ssh-rqqZT7b3cuvN/agent.13 [2020-10-19T07:28:52.506Z] SSH_AGENT_PID=19 [2020-10-19T07:28:52.519Z] Running ssh-add (command line suppressed) [2020-10-19T07:28:52.642Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_2062392985900587604.key (/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_2062392985900587604.key) [2020-10-19T07:28:52.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:28:53.051Z] + git tag --points-at HEAD [Pipeline] } [2020-10-19T07:28:53.071Z] $ docker exec --env ******** --env ******** 89254c553d974ef1f4477d399f285d0507e8cafe5194df35a2ba38b86b7364da ssh-agent -k [2020-10-19T07:28:53.181Z] unset SSH_AUTH_SOCK; [2020-10-19T07:28:53.182Z] unset SSH_AGENT_PID; [2020-10-19T07:28:53.182Z] echo Agent pid 19 killed; [2020-10-19T07:28:53.228Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-10-19T07:28:53.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-10-19T07:28:53.410Z] [ssh-agent] Looking for ssh-agent implementation... [2020-10-19T07:28:53.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-10-19T07:28:53.575Z] $ docker exec 89254c553d974ef1f4477d399f285d0507e8cafe5194df35a2ba38b86b7364da ssh-agent [2020-10-19T07:28:53.742Z] SSH_AUTH_SOCK=/tmp/ssh-K3rUoTxRtvQx/agent.48 [2020-10-19T07:28:53.742Z] SSH_AGENT_PID=53 [2020-10-19T07:28:53.750Z] Running ssh-add (command line suppressed) [2020-10-19T07:28:53.870Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_9167230632590457324.key (/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/private_key_9167230632590457324.key) [2020-10-19T07:28:53.920Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-10-19T07:28:54.280Z] + git semver init [2020-10-19T07:28:54.280Z] # -> Open(): unable to determine branch for HEAD [2020-10-19T07:28:54.280Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-631/.git [2020-10-19T07:28:54.280Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-631 [2020-10-19T07:28:54.280Z] # $SEMVER_REMOTE_NAME = origin [2020-10-19T07:28:54.280Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-10-19T07:28:54.280Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-10-19T07:28:54.280Z] # $SEMVER_BRANCH = PR-631 [2020-10-19T07:28:54.280Z] # $SEMVER_TEMP = /tmp/semver-552795011 [2020-10-19T07:28:54.280Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-10-19T07:28:54.929Z] # '/tmp/semver-552795011' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-631/.semver' [2020-10-19T07:28:54.929Z] # -> Force: false [2020-10-19T07:28:54.929Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-631/.semver [Pipeline] } [2020-10-19T07:28:54.980Z] $ docker exec --env ******** --env ******** 89254c553d974ef1f4477d399f285d0507e8cafe5194df35a2ba38b86b7364da ssh-agent -k [2020-10-19T07:28:55.095Z] unset SSH_AUTH_SOCK; [2020-10-19T07:28:55.095Z] unset SSH_AGENT_PID; [2020-10-19T07:28:55.095Z] echo Agent pid 53 killed; [2020-10-19T07:28:55.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-10-19T07:28:55.662Z] + git semver [Pipeline] } [2020-10-19T07:28:55.681Z] $ docker stop --time=1 89254c553d974ef1f4477d399f285d0507e8cafe5194df35a2ba38b86b7364da [2020-10-19T07:28:57.095Z] $ docker rm -f 89254c553d974ef1f4477d399f285d0507e8cafe5194df35a2ba38b86b7364da [Pipeline] // withDockerContainer [Pipeline] sh [2020-10-19T07:28:57.611Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-10-19T07:28:58.189Z] Stashed 1 file(s) [Pipeline] echo [2020-10-19T07:28:58.192Z] [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:29:13.683Z] Still waiting to schedule task [2020-10-19T07:29:13.683Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-10-19T07:29:13.685Z] Still waiting to schedule task [2020-10-19T07:29:13.685Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-10-19T07:30:58.428Z] Running on prd-centos7-docker-4c-2g-6227 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [Pipeline] { [Pipeline] ws [2020-10-19T07:30:58.479Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-19T07:31:00.941Z] using credential edgex-jenkins-ssh [2020-10-19T07:31:01.054Z] Cloning the remote Git repository [2020-10-19T07:31:01.086Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:31:01.165Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-19T07:31:01.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:31:01.224Z] > git --version # timeout=10 [2020-10-19T07:31:01.233Z] > git --version # 'git version 2.16.5' [2020-10-19T07:31:01.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:31:01.265Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:31:02.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:31:02.634Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [2020-10-19T07:31:02.727Z] Merge succeeded, producing 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [2020-10-19T07:31:02.728Z] Checking out Revision 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 (PR-631) [2020-10-19T07:31:02.074Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:31:02.086Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:31:02.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:31:02.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:31:02.105Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:31:02.643Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:31:02.648Z] > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [2020-10-19T07:31:02.698Z] > git remote # timeout=10 [2020-10-19T07:31:02.703Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:31:02.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:31:02.713Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:31:02.722Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:31:02.731Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:31:02.738Z] > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [2020-10-19T07:31:06.383Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-10-19T07:31:07.321Z] ========================================================= [2020-10-19T07:31:07.321Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-10-19T07:31:07.321Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:31:07.951Z] + 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:31:08.216Z] Sending build context to Docker daemon 2.317MB [2020-10-19T07:31:08.216Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:31:08.216Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:31:08.216Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-10-19T07:31:08.216Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:31:08.216Z] ed8968b2872e: Pulling fs layer [2020-10-19T07:31:08.216Z] a92cc7c5fd73: Pulling fs layer [2020-10-19T07:31:08.216Z] e871e8e8d7a9: Pulling fs layer [2020-10-19T07:31:08.216Z] e73272ec9a57: Pulling fs layer [2020-10-19T07:31:08.216Z] 1e910a182e73: Pulling fs layer [2020-10-19T07:31:08.216Z] 4e634b169226: Pulling fs layer [2020-10-19T07:31:08.216Z] e73272ec9a57: Waiting [2020-10-19T07:31:08.216Z] 1e910a182e73: Waiting [2020-10-19T07:31:08.216Z] 4e634b169226: Waiting [2020-10-19T07:31:08.216Z] e871e8e8d7a9: Waiting [2020-10-19T07:31:08.216Z] a92cc7c5fd73: Verifying Checksum [2020-10-19T07:31:08.216Z] a92cc7c5fd73: Download complete [2020-10-19T07:31:08.482Z] ed8968b2872e: Verifying Checksum [2020-10-19T07:31:08.482Z] ed8968b2872e: Download complete [2020-10-19T07:31:08.482Z] e73272ec9a57: Verifying Checksum [2020-10-19T07:31:08.482Z] e73272ec9a57: Download complete [2020-10-19T07:31:08.482Z] 1e910a182e73: Verifying Checksum [2020-10-19T07:31:08.482Z] 1e910a182e73: Download complete [2020-10-19T07:31:08.482Z] df20fa9351a1: Verifying Checksum [2020-10-19T07:31:08.482Z] df20fa9351a1: Download complete [2020-10-19T07:31:08.769Z] df20fa9351a1: Pull complete [2020-10-19T07:31:08.769Z] ed8968b2872e: Pull complete [2020-10-19T07:31:09.034Z] a92cc7c5fd73: Pull complete [2020-10-19T07:31:10.427Z] 4e634b169226: Verifying Checksum [2020-10-19T07:31:10.427Z] 4e634b169226: Download complete [2020-10-19T07:31:11.009Z] e871e8e8d7a9: Verifying Checksum [2020-10-19T07:31:11.009Z] e871e8e8d7a9: Download complete [2020-10-19T07:31:16.343Z] e871e8e8d7a9: Pull complete [2020-10-19T07:31:16.343Z] e73272ec9a57: Pull complete [2020-10-19T07:31:16.343Z] 1e910a182e73: Pull complete [2020-10-19T07:31:24.522Z] 4e634b169226: Pull complete [2020-10-19T07:31:24.522Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-10-19T07:31:24.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-10-19T07:31:24.522Z] ---> f7629b54cfaa [2020-10-19T07:31:24.522Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:31:24.522Z] ---> Running in 717f5712255e [2020-10-19T07:31:24.522Z] Removing intermediate container 717f5712255e [2020-10-19T07:31:24.522Z] ---> ae265070ef7f [2020-10-19T07:31:24.522Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:31:24.522Z] ---> Running in 156c4a01f3c7 [2020-10-19T07:31:25.474Z] Removing intermediate container 156c4a01f3c7 [2020-10-19T07:31:25.474Z] ---> f36f36991649 [2020-10-19T07:31:25.474Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:31:25.741Z] ---> Running in c20f3c469399 [2020-10-19T07:31:26.318Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:31:26.895Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:31:28.827Z] OK: 166 MiB in 39 packages [2020-10-19T07:31:29.091Z] Removing intermediate container c20f3c469399 [2020-10-19T07:31:29.091Z] ---> 33547685d1c0 [2020-10-19T07:31:29.091Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:31:29.091Z] ---> Running in a6b2550fcaf5 [2020-10-19T07:31:29.353Z] Removing intermediate container a6b2550fcaf5 [2020-10-19T07:31:29.353Z] ---> c6b6a288979b [2020-10-19T07:31:29.353Z] Step 7/8 : COPY . . [2020-10-19T07:31:30.751Z] ---> 44be5d6bad6f [2020-10-19T07:31:30.751Z] Step 8/8 : RUN go mod download [2020-10-19T07:31:30.751Z] ---> Running in e03751b58d00 [2020-10-19T07:31:45.191Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6228 in /w/workspace/dgexfoundry_device-sdk-go_PR-631 [Pipeline] { [Pipeline] ws [2020-10-19T07:31:45.245Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2020-10-19T07:31:50.897Z] using credential edgex-jenkins-ssh [2020-10-19T07:31:50.956Z] Cloning the remote Git repository [2020-10-19T07:31:51.026Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:31:51.133Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2020-10-19T07:31:51.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:31:51.205Z] > git --version # timeout=10 [2020-10-19T07:31:51.229Z] > git --version # 'git version 2.17.1' [2020-10-19T07:31:51.231Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:31:51.327Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:31:52.776Z] Removing intermediate container e03751b58d00 [2020-10-19T07:31:52.776Z] ---> 17946042371b [2020-10-19T07:31:52.776Z] Successfully built 17946042371b [2020-10-19T07:31:52.776Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:31:52.480Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:31:52.497Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-10-19T07:31:52.528Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-10-19T07:31:52.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-10-19T07:31:52.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:31:52.577Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/631/head:refs/remotes/origin/PR-631 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-10-19T07:31:53.041Z] Merging remotes/origin/master commit 2d9730a214a0d2600c47b6e1f4d312ee14057382 into PR head commit 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [2020-10-19T07:31:53.141Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:31:53.141Z] . [Pipeline] withDockerContainer [2020-10-19T07:31:53.259Z] prd-centos7-docker-4c-2g-6227 does not seem to be running inside a container [2020-10-19T07:31:53.316Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-19T07:31:53.323Z] Merge succeeded, producing 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [2020-10-19T07:31:53.323Z] Checking out Revision 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 (PR-631) [2020-10-19T07:31:54.193Z] $ docker top 546f8bbcc286e9e9e1666eabecba87347f3da7d4ebda15a24c8b592a264a191f -eo pid,comm [2020-10-19T07:31:53.066Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:31:53.086Z] > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [2020-10-19T07:31:53.199Z] > git remote # timeout=10 [2020-10-19T07:31:53.221Z] > git config --get remote.origin.url # timeout=10 [2020-10-19T07:31:53.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-10-19T07:31:53.247Z] > git merge 2d9730a214a0d2600c47b6e1f4d312ee14057382 # timeout=10 [2020-10-19T07:31:53.270Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-10-19T07:31:53.340Z] > git config core.sparsecheckout # timeout=10 [2020-10-19T07:31:53.360Z] > git checkout -f 3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 # timeout=10 [Pipeline] { [Pipeline] sh [2020-10-19T07:31:54.842Z] + go version [2020-10-19T07:31:54.842Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-10-19T07:31:54.857Z] $ docker stop --time=1 546f8bbcc286e9e9e1666eabecba87347f3da7d4ebda15a24c8b592a264a191f [2020-10-19T07:31:56.250Z] $ docker rm -f 546f8bbcc286e9e9e1666eabecba87347f3da7d4ebda15a24c8b592a264a191f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:31:57.366Z] + docker inspect -f . ci-base-image-x86_64 [2020-10-19T07:31:57.366Z] . [Pipeline] withDockerContainer [2020-10-19T07:31:57.488Z] prd-centos7-docker-4c-2g-6227 does not seem to be running inside a container [2020-10-19T07:31:57.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-10-19T07:31:57.862Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" [2020-10-19T07:31:58.190Z] $ docker top a73d8f730d2d5cdc3e1df40b7be1bf0a7c78ac40d0335f3f2525ba2b4b379452 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2020-10-19T07:31:58.672Z] + make test [2020-10-19T07:31:58.672Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] unstash [Pipeline] echo [2020-10-19T07:31:58.936Z] ========================================================= [2020-10-19T07:31:58.936Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-10-19T07:31:58.936Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:31:59.905Z] + 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:32:00.891Z] Sending build context to Docker daemon 2.318MB [2020-10-19T07:32:00.891Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-10-19T07:32:00.891Z] Step 2/8 : FROM ${BASE} [2020-10-19T07:32:01.171Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-10-19T07:32:01.171Z] b538f80385f9: Pulling fs layer [2020-10-19T07:32:01.171Z] 74f711af9a0d: Pulling fs layer [2020-10-19T07:32:01.171Z] 99f96fe45779: Pulling fs layer [2020-10-19T07:32:01.171Z] 8529a6b9a6be: Pulling fs layer [2020-10-19T07:32:01.171Z] 45590311c82a: Pulling fs layer [2020-10-19T07:32:01.171Z] 69ca0ff8b7b3: Pulling fs layer [2020-10-19T07:32:01.171Z] 209524e5b208: Pulling fs layer [2020-10-19T07:32:01.171Z] 8529a6b9a6be: Waiting [2020-10-19T07:32:01.171Z] 45590311c82a: Waiting [2020-10-19T07:32:01.171Z] 69ca0ff8b7b3: Waiting [2020-10-19T07:32:01.171Z] 209524e5b208: Waiting [2020-10-19T07:32:01.171Z] 99f96fe45779: Verifying Checksum [2020-10-19T07:32:01.171Z] 99f96fe45779: Download complete [2020-10-19T07:32:01.171Z] 74f711af9a0d: Verifying Checksum [2020-10-19T07:32:01.171Z] 74f711af9a0d: Download complete [2020-10-19T07:32:01.171Z] 45590311c82a: Verifying Checksum [2020-10-19T07:32:01.171Z] 45590311c82a: Download complete [2020-10-19T07:32:01.781Z] 69ca0ff8b7b3: Download complete [2020-10-19T07:32:01.781Z] b538f80385f9: Verifying Checksum [2020-10-19T07:32:01.781Z] b538f80385f9: Download complete [2020-10-19T07:32:02.781Z] b538f80385f9: Pull complete [2020-10-19T07:32:03.391Z] 74f711af9a0d: Pull complete [2020-10-19T07:32:03.997Z] 99f96fe45779: Pull complete [2020-10-19T07:32:04.279Z] 209524e5b208: Verifying Checksum [2020-10-19T07:32:05.286Z] 8529a6b9a6be: Verifying Checksum [2020-10-19T07:32:05.286Z] 8529a6b9a6be: Download complete [2020-10-19T07:32:05.375Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:32:15.459Z] 8529a6b9a6be: Pull complete [2020-10-19T07:32:15.736Z] 45590311c82a: Pull complete [2020-10-19T07:32:16.017Z] 69ca0ff8b7b3: Pull complete [2020-10-19T07:32:19.409Z] 209524e5b208: Pull complete [2020-10-19T07:32:19.409Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-10-19T07:32:19.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-10-19T07:32:19.409Z] ---> 5bddaf1c2fca [2020-10-19T07:32:19.409Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:32:20.438Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:32:20.438Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:32:20.438Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:32:20.438Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.068s coverage: 21.6% of statements [2020-10-19T07:32:21.886Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.459s coverage: 97.1% of statements [2020-10-19T07:32:22.801Z] ---> Running in 6ccc0b1cbf3d [2020-10-19T07:32:22.801Z] Removing intermediate container 6ccc0b1cbf3d [2020-10-19T07:32:22.801Z] ---> 7139bf4945fb [2020-10-19T07:32:22.801Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:32:23.075Z] ---> Running in 6b77bee97cb9 [2020-10-19T07:32:25.721Z] Removing intermediate container 6b77bee97cb9 [2020-10-19T07:32:25.721Z] ---> 49b3bee5d902 [2020-10-19T07:32:25.721Z] Step 5/8 : RUN apk add --no-cache make git [2020-10-19T07:32:25.721Z] ---> Running in 110d790bc251 [2020-10-19T07:32:27.712Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:32:28.307Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:32:29.745Z] OK: 142 MiB in 39 packages [2020-10-19T07:32:30.733Z] Removing intermediate container 110d790bc251 [2020-10-19T07:32:30.733Z] ---> 1b8c10eef4bb [2020-10-19T07:32:30.733Z] Step 6/8 : WORKDIR /device-sdk-go [2020-10-19T07:32:30.733Z] ---> Running in f8999d819b57 [2020-10-19T07:32:31.334Z] Removing intermediate container f8999d819b57 [2020-10-19T07:32:31.334Z] ---> d8a3d8ade7ba [2020-10-19T07:32:31.334Z] Step 7/8 : COPY . . [2020-10-19T07:32:32.782Z] ---> 53cd628597a4 [2020-10-19T07:32:32.782Z] Step 8/8 : RUN go mod download [2020-10-19T07:32:32.782Z] ---> Running in 42a4f4fc9df5 [2020-10-19T07:32:54.064Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements [2020-10-19T07:32:54.064Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.050s coverage: 21.9% of statements [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:32:54.064Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.262s coverage: 42.6% of statements [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:32:54.064Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.285s coverage: 68.9% of statements [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:32:54.064Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 52.6% of statements [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:32:54.064Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.321s coverage: 68.9% of statements [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:32:54.064Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:32:54.064Z] GO111MODULE=on go vet ./... [2020-10-19T07:32:54.986Z] Removing intermediate container 42a4f4fc9df5 [2020-10-19T07:32:54.987Z] ---> 08b48a7c2323 [2020-10-19T07:32:54.987Z] Successfully built 08b48a7c2323 [2020-10-19T07:32:54.987Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:32:55.429Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:32:55.429Z] . [Pipeline] withDockerContainer [2020-10-19T07:32:55.730Z] prd-ubuntu18.04-docker-arm64-4c-16g-6228 does not seem to be running inside a container [2020-10-19T07:32:55.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:32:57.750Z] $ docker top 2e358c5afbbd913c1e473590cd70c9b855c7ea76b030337aa61b08427759b9b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:32:59.128Z] + go version [2020-10-19T07:32:59.128Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-10-19T07:32:59.153Z] $ docker stop --time=1 2e358c5afbbd913c1e473590cd70c9b855c7ea76b030337aa61b08427759b9b0 [2020-10-19T07:33:00.756Z] gofmt -l . [2020-10-19T07:33:00.756Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:33:00.756Z] ./bin/test-attribution-txt.sh [2020-10-19T07:33:01.020Z] ./bin/test-go-mod-tidy.sh [2020-10-19T07:33:01.152Z] $ docker rm -f 2e358c5afbbd913c1e473590cd70c9b855c7ea76b030337aa61b08427759b9b0 [Pipeline] // withDockerContainer [Pipeline] stash [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2020-10-19T07:33:01.874Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:33:01.918Z] $ docker stop --time=1 a73d8f730d2d5cdc3e1df40b7be1bf0a7c78ac40d0335f3f2525ba2b4b379452 [2020-10-19T07:33:03.944Z] $ docker rm -f a73d8f730d2d5cdc3e1df40b7be1bf0a7c78ac40d0335f3f2525ba2b4b379452 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [2020-10-19T07:33:05.071Z] + docker inspect -f . ci-base-image-arm64 [2020-10-19T07:33:05.072Z] . [Pipeline] sh [Pipeline] withDockerContainer [2020-10-19T07:33:05.847Z] + sudo chown -R jenkins:jenkins . [2020-10-19T07:33:05.850Z] prd-ubuntu18.04-docker-arm64-4c-16g-6228 does not seem to be running inside a container [2020-10-19T07:33:05.939Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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:33:07.973Z] $ docker top 460fa79fc55aec4ed20b319c2c096c1a71397ad193dd83c1729f8cd93d69b960 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2020-10-19T07:33:08.668Z] + ls -al . [2020-10-19T07:33:08.668Z] total 188 [2020-10-19T07:33:08.668Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 07:33 . [2020-10-19T07:33:08.668Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 19 07:31 .. [2020-10-19T07:33:08.668Z] drwxrwxr-x. 2 jenkins jenkins 64 Oct 19 07:31 bin [2020-10-19T07:33:08.668Z] -rw-r--r--. 1 jenkins jenkins 110398 Oct 19 07:32 coverage.out [2020-10-19T07:33:08.668Z] -rw-rw-r--. 1 jenkins jenkins 936 Oct 19 07:31 Dockerfile.build [2020-10-19T07:33:08.668Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 07:31 .dockerignore [2020-10-19T07:33:08.668Z] drwxrwxr-x. 4 jenkins jenkins 48 Oct 19 07:31 example [2020-10-19T07:33:08.668Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 07:31 .git [2020-10-19T07:33:08.668Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 19 07:31 .github [2020-10-19T07:33:08.668Z] -rw-rw-r--. 1 jenkins jenkins 138 Oct 19 07:31 .gitignore [2020-10-19T07:33:08.668Z] -rw-r--r--. 1 jenkins jenkins 518 Oct 19 07:33 go.mod [2020-10-19T07:33:08.668Z] -rw-r--r--. 1 jenkins jenkins 13660 Oct 19 07:33 go.sum [2020-10-19T07:33:08.668Z] drwxrwxr-x. 15 jenkins jenkins 211 Oct 19 07:31 internal [2020-10-19T07:33:08.668Z] -rw-rw-r--. 1 jenkins jenkins 901 Oct 19 07:31 Jenkinsfile [2020-10-19T07:33:08.668Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 07:31 LICENSE [2020-10-19T07:33:08.668Z] -rw-rw-r--. 1 jenkins jenkins 1013 Oct 19 07:31 Makefile [2020-10-19T07:33:08.668Z] drwxrwxr-x. 4 jenkins jenkins 26 Oct 19 07:31 openapi [2020-10-19T07:33:08.668Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 07:31 pkg [2020-10-19T07:33:08.668Z] -rw-rw-r--. 1 jenkins jenkins 5897 Oct 19 07:31 README.md [2020-10-19T07:33:08.668Z] -rw-rw-r--. 1 jenkins jenkins 4291 Oct 19 07:31 RELEASE-NOTES.txt [2020-10-19T07:33:08.668Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 07:31 snap [2020-10-19T07:33:08.668Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 07:28 VERSION [2020-10-19T07:33:08.669Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 07:31 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:33:08.975Z] + 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=3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 --label arch=amd64 --label version=0.0.0 . [2020-10-19T07:33:09.239Z] Sending build context to Docker daemon 2.428MB [2020-10-19T07:33:09.239Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:33:09.239Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:33:09.239Z] ---> 17946042371b [2020-10-19T07:33:09.239Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:33:09.438Z] + make test [2020-10-19T07:33:09.438Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-10-19T07:33:09.816Z] ---> Running in ceb9de19e32b [2020-10-19T07:33:09.816Z] Removing intermediate container ceb9de19e32b [2020-10-19T07:33:09.816Z] ---> 6fd209fa2ad8 [2020-10-19T07:33:09.816Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:33:10.079Z] ---> Running in f4fc66066304 [2020-10-19T07:33:10.079Z] Removing intermediate container f4fc66066304 [2020-10-19T07:33:10.079Z] ---> fc75d0898517 [2020-10-19T07:33:10.079Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:33:10.079Z] ---> Running in 13dfd7f00383 [2020-10-19T07:33:10.347Z] Removing intermediate container 13dfd7f00383 [2020-10-19T07:33:10.347Z] ---> 509a5a8a9671 [2020-10-19T07:33:10.347Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:33:10.347Z] ---> Running in 91074d059072 [2020-10-19T07:33:11.316Z] Removing intermediate container 91074d059072 [2020-10-19T07:33:11.316Z] ---> db8ac6ed6494 [2020-10-19T07:33:11.316Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:33:11.316Z] ---> Running in c0ed6aad269a [2020-10-19T07:33:11.899Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-10-19T07:33:12.850Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-10-19T07:33:13.795Z] OK: 166 MiB in 39 packages [2020-10-19T07:33:14.376Z] Removing intermediate container c0ed6aad269a [2020-10-19T07:33:14.376Z] ---> 0f20c973f3bf [2020-10-19T07:33:14.376Z] Step 8/24 : COPY . . [2020-10-19T07:33:15.327Z] ---> 628b093f3d3c [2020-10-19T07:33:15.327Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:33:15.327Z] ---> Running in 41b2b29608b1 [2020-10-19T07:33:15.907Z] 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:33:24.123Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:33:26.052Z] Removing intermediate container 41b2b29608b1 [2020-10-19T07:33:26.052Z] ---> cdd946361f65 [2020-10-19T07:33:26.052Z] Step 10/24 : FROM scratch [2020-10-19T07:33:26.052Z] ---> [2020-10-19T07:33:26.052Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:33:26.052Z] ---> Running in be70120bf5a8 [2020-10-19T07:33:26.052Z] Removing intermediate container be70120bf5a8 [2020-10-19T07:33:26.052Z] ---> 16cf043c3fe3 [2020-10-19T07:33:26.052Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:33:26.052Z] ---> Running in dc88faa8dba2 [2020-10-19T07:33:26.052Z] Removing intermediate container dc88faa8dba2 [2020-10-19T07:33:26.052Z] ---> e230a9f91b87 [2020-10-19T07:33:26.052Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:33:26.316Z] ---> Running in 26e9f27ddeaa [2020-10-19T07:33:26.316Z] Removing intermediate container 26e9f27ddeaa [2020-10-19T07:33:26.316Z] ---> cb40a0bdcd9d [2020-10-19T07:33:26.316Z] Step 14/24 : WORKDIR / [2020-10-19T07:33:26.316Z] ---> Running in 8aee99b82f4f [2020-10-19T07:33:26.578Z] Removing intermediate container 8aee99b82f4f [2020-10-19T07:33:26.578Z] ---> e4f7f64ef895 [2020-10-19T07:33:26.578Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:33:27.154Z] ---> bc6d93901f0c [2020-10-19T07:33:27.154Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:33:27.422Z] ---> 20ab352dafde [2020-10-19T07:33:27.422Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:33:27.422Z] ---> 031d748cdf86 [2020-10-19T07:33:27.422Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:33:27.687Z] ---> b3bc3e0432e5 [2020-10-19T07:33:27.687Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:33:27.956Z] ---> e3e1bf1739f2 [2020-10-19T07:33:27.956Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:33:27.956Z] ---> Running in a0a4a57631f4 [2020-10-19T07:33:28.219Z] Removing intermediate container a0a4a57631f4 [2020-10-19T07:33:28.219Z] ---> 92502552a6c3 [2020-10-19T07:33:28.219Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:33:28.219Z] ---> Running in c6212117ea4d [2020-10-19T07:33:28.483Z] Removing intermediate container c6212117ea4d [2020-10-19T07:33:28.483Z] ---> 5ec765596275 [2020-10-19T07:33:28.483Z] Step 22/24 : LABEL arch=amd64 [2020-10-19T07:33:28.483Z] ---> Running in 8f7640a00f39 [2020-10-19T07:33:28.746Z] Removing intermediate container 8f7640a00f39 [2020-10-19T07:33:28.746Z] ---> 037f9efc7e76 [2020-10-19T07:33:28.746Z] Step 23/24 : LABEL git_sha=3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [2020-10-19T07:33:28.746Z] ---> Running in 5c4ad4ede54e [2020-10-19T07:33:28.746Z] Removing intermediate container 5c4ad4ede54e [2020-10-19T07:33:28.746Z] ---> 3aa33c2d0eb8 [2020-10-19T07:33:28.746Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:33:29.009Z] ---> Running in 86d79a6743b4 [2020-10-19T07:33:29.009Z] Removing intermediate container 86d79a6743b4 [2020-10-19T07:33:29.009Z] ---> 5df66fe7d30b [2020-10-19T07:33:29.009Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:33:29.009Z] Successfully built 5df66fe7d30b [2020-10-19T07:33:29.009Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-10-19T07:33:31.654Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-10-19T07:34:10.715Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-10-19T07:34:10.715Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-10-19T07:34:10.715Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-10-19T07:34:12.168Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.122s coverage: 21.6% of statements [2020-10-19T07:34:18.916Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.219s coverage: 97.1% of statements [2020-10-19T07:34:45.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.144s coverage: 9.4% of statements [2020-10-19T07:34:45.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.115s coverage: 21.9% of statements [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-10-19T07:34:45.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.605s coverage: 42.6% of statements [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-10-19T07:34:45.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.748s coverage: 68.9% of statements [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-10-19T07:34:45.723Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.204s coverage: 52.6% of statements [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-10-19T07:34:45.723Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.093s coverage: 68.9% of statements [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] [2020-10-19T07:34:45.723Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-10-19T07:34:45.723Z] GO111MODULE=on go vet ./... [2020-10-19T07:35:18.116Z] gofmt -l . [2020-10-19T07:35:18.116Z] [ "`gofmt -l .`" = "" ] [2020-10-19T07:35:18.116Z] ./bin/test-attribution-txt.sh [2020-10-19T07:35:18.116Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-10-19T07:35:18.136Z] Warning: overwriting stash ‘coverage-report’ [2020-10-19T07:35:19.059Z] Stashed 1 file(s) [Pipeline] } [2020-10-19T07:35:19.064Z] $ docker stop --time=1 460fa79fc55aec4ed20b319c2c096c1a71397ad193dd83c1729f8cd93d69b960 [2020-10-19T07:35:21.477Z] $ docker rm -f 460fa79fc55aec4ed20b319c2c096c1a71397ad193dd83c1729f8cd93d69b960 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-10-19T07:35:23.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-10-19T07:35:23.463Z] + ls -al . [2020-10-19T07:35:23.463Z] total 224 [2020-10-19T07:35:23.463Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 07:35 . [2020-10-19T07:35:23.463Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:31 .. [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 07:31 .dockerignore [2020-10-19T07:35:23.463Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 07:31 .git [2020-10-19T07:35:23.463Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:31 .github [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 138 Oct 19 07:31 .gitignore [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 936 Oct 19 07:31 Dockerfile.build [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 901 Oct 19 07:31 Jenkinsfile [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 07:31 LICENSE [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 1013 Oct 19 07:31 Makefile [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 5897 Oct 19 07:31 README.md [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 4291 Oct 19 07:31 RELEASE-NOTES.txt [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 07:28 VERSION [2020-10-19T07:35:23.463Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 07:31 bin [2020-10-19T07:35:23.463Z] -rw-r--r-- 1 jenkins jenkins 110398 Oct 19 07:34 coverage.out [2020-10-19T07:35:23.463Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:31 example [2020-10-19T07:35:23.463Z] -rw-r--r-- 1 jenkins jenkins 518 Oct 19 07:35 go.mod [2020-10-19T07:35:23.463Z] -rw-r--r-- 1 jenkins jenkins 13660 Oct 19 07:35 go.sum [2020-10-19T07:35:23.463Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 07:31 internal [2020-10-19T07:35:23.463Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:31 openapi [2020-10-19T07:35:23.463Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 07:31 pkg [2020-10-19T07:35:23.463Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 07:31 snap [2020-10-19T07:35:23.463Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 07:31 version.go [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:35:23.853Z] + 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=3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 --label arch=arm64 --label version=0.0.0 . [2020-10-19T07:35:24.463Z] Sending build context to Docker daemon 2.429MB [2020-10-19T07:35:24.463Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-10-19T07:35:24.463Z] Step 2/24 : FROM ${BASE} AS builder [2020-10-19T07:35:24.463Z] ---> 08b48a7c2323 [2020-10-19T07:35:24.463Z] Step 3/24 : ARG MAKE='make build' [2020-10-19T07:35:24.744Z] ---> Running in 7cbb58052337 [2020-10-19T07:35:25.342Z] Removing intermediate container 7cbb58052337 [2020-10-19T07:35:25.342Z] ---> 81c910bfb04a [2020-10-19T07:35:25.342Z] Step 4/24 : WORKDIR /device-sdk-go [2020-10-19T07:35:25.342Z] ---> Running in db64f18dc132 [2020-10-19T07:35:25.943Z] Removing intermediate container db64f18dc132 [2020-10-19T07:35:25.943Z] ---> 840a58047efb [2020-10-19T07:35:25.943Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:35:25.943Z] ---> Running in 4b79c45b6e47 [2020-10-19T07:35:26.543Z] Removing intermediate container 4b79c45b6e47 [2020-10-19T07:35:26.543Z] ---> d56ce3140023 [2020-10-19T07:35:26.543Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-10-19T07:35:26.543Z] ---> Running in 630d48daaeea [2020-10-19T07:35:29.159Z] Removing intermediate container 630d48daaeea [2020-10-19T07:35:29.159Z] ---> 9012210c2de6 [2020-10-19T07:35:29.159Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-10-19T07:35:29.159Z] ---> Running in a10f4901a5a3 [2020-10-19T07:35:30.592Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-10-19T07:35:31.570Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-10-19T07:35:32.548Z] OK: 142 MiB in 39 packages [2020-10-19T07:35:33.524Z] Removing intermediate container a10f4901a5a3 [2020-10-19T07:35:33.524Z] ---> 9e1cf4868068 [2020-10-19T07:35:33.524Z] Step 8/24 : COPY . . [2020-10-19T07:35:34.964Z] ---> b2b39e51fced [2020-10-19T07:35:34.964Z] Step 9/24 : RUN ${MAKE} [2020-10-19T07:35:34.964Z] ---> Running in 85ac25c65634 [2020-10-19T07:35:36.948Z] 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:36:03.797Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-10-19T07:36:05.765Z] Removing intermediate container 85ac25c65634 [2020-10-19T07:36:05.765Z] ---> 1380dcf8b52b [2020-10-19T07:36:05.765Z] Step 10/24 : FROM scratch [2020-10-19T07:36:05.765Z] ---> [2020-10-19T07:36:05.765Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-10-19T07:36:05.765Z] ---> Running in aa83bc0ea04c [2020-10-19T07:36:06.359Z] Removing intermediate container aa83bc0ea04c [2020-10-19T07:36:06.359Z] ---> a401363cf528 [2020-10-19T07:36:06.359Z] Step 12/24 : ENV APP_PORT=49990 [2020-10-19T07:36:06.359Z] ---> Running in 4f28009d8c18 [2020-10-19T07:36:06.632Z] Removing intermediate container 4f28009d8c18 [2020-10-19T07:36:06.632Z] ---> 7e700d9044f9 [2020-10-19T07:36:06.632Z] Step 13/24 : EXPOSE $APP_PORT [2020-10-19T07:36:06.906Z] ---> Running in 8e4a80e08d59 [2020-10-19T07:36:07.181Z] Removing intermediate container 8e4a80e08d59 [2020-10-19T07:36:07.181Z] ---> f2c382e5f4be [2020-10-19T07:36:07.181Z] Step 14/24 : WORKDIR / [2020-10-19T07:36:07.459Z] ---> Running in a847369a678f [2020-10-19T07:36:07.739Z] Removing intermediate container a847369a678f [2020-10-19T07:36:07.739Z] ---> 3edf4a889b34 [2020-10-19T07:36:07.739Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-10-19T07:36:09.196Z] ---> f1db516aea0b [2020-10-19T07:36:09.196Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-10-19T07:36:09.794Z] ---> f742e40167ef [2020-10-19T07:36:09.794Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-10-19T07:36:10.774Z] ---> da98b4faf145 [2020-10-19T07:36:10.774Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-10-19T07:36:11.369Z] ---> cd0ae904082e [2020-10-19T07:36:11.369Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-10-19T07:36:11.962Z] ---> 8f9e66afb134 [2020-10-19T07:36:11.962Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-10-19T07:36:12.237Z] ---> Running in d66c26493b22 [2020-10-19T07:36:12.831Z] Removing intermediate container d66c26493b22 [2020-10-19T07:36:12.831Z] ---> 374b9a0618c8 [2020-10-19T07:36:12.831Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-10-19T07:36:12.831Z] ---> Running in 39e2a6247528 [2020-10-19T07:36:13.426Z] Removing intermediate container 39e2a6247528 [2020-10-19T07:36:13.426Z] ---> a818c1768858 [2020-10-19T07:36:13.426Z] Step 22/24 : LABEL arch=arm64 [2020-10-19T07:36:13.426Z] ---> Running in 3c822fc5f24c [2020-10-19T07:36:14.021Z] Removing intermediate container 3c822fc5f24c [2020-10-19T07:36:14.021Z] ---> 57975aa6fb27 [2020-10-19T07:36:14.021Z] Step 23/24 : LABEL git_sha=3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [2020-10-19T07:36:14.021Z] ---> Running in 651018349fbe [2020-10-19T07:36:14.618Z] Removing intermediate container 651018349fbe [2020-10-19T07:36:14.618Z] ---> d480c92ad7c8 [2020-10-19T07:36:14.618Z] Step 24/24 : LABEL version=0.0.0 [2020-10-19T07:36:14.618Z] ---> Running in cb9d5af5265f [2020-10-19T07:36:15.211Z] Removing intermediate container cb9d5af5265f [2020-10-19T07:36:15.211Z] ---> 8f1b1ba6c501 [2020-10-19T07:36:15.211Z] [Warning] One or more build-args [ARCH] were not consumed [2020-10-19T07:36:15.211Z] Successfully built 8f1b1ba6c501 [2020-10-19T07:36:15.211Z] 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:36:16.960Z] provisioning config files... [2020-10-19T07:36:16.973Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/config2573285766830090486tmp [Pipeline] { [Pipeline] sh [2020-10-19T07:36:17.449Z] + set +x [2020-10-19T07:36:17.450Z] + curl -s https://codecov.io/bash [2020-10-19T07:36:17.450Z] + bash -s -- [2020-10-19T07:36:17.713Z] [2020-10-19T07:36:17.713Z] _____ _ [2020-10-19T07:36:17.713Z] / ____| | | [2020-10-19T07:36:17.713Z] | | ___ __| | ___ ___ _____ __ [2020-10-19T07:36:17.713Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-10-19T07:36:17.713Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-10-19T07:36:17.713Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-10-19T07:36:17.713Z] Bash-20201009-048fee3 [2020-10-19T07:36:17.713Z] [2020-10-19T07:36:17.713Z] [2020-10-19T07:36:17.713Z] ==> Jenkins CI detected. [2020-10-19T07:36:17.713Z] project root: . [2020-10-19T07:36:17.713Z] --> token set from env [2020-10-19T07:36:17.713Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-10-19T07:36:17.713Z] ==> Running gcov in . (disable via -X gcov) [2020-10-19T07:36:17.713Z] ==> Python coveragepy not found [2020-10-19T07:36:17.713Z] ==> Searching for coverage reports in: [2020-10-19T07:36:17.713Z] + . [2020-10-19T07:36:17.713Z] -> Found 1 reports [2020-10-19T07:36:17.713Z] ==> Detecting git/mercurial file structure [2020-10-19T07:36:17.713Z] ==> Reading reports [2020-10-19T07:36:17.713Z] + ./coverage.out bytes=110398 [2020-10-19T07:36:17.713Z] ==> Appending adjustments [2020-10-19T07:36:17.713Z] https://docs.codecov.io/docs/fixing-reports [2020-10-19T07:36:18.292Z] + Found adjustments [2020-10-19T07:36:18.292Z] ==> Gzipping contents [2020-10-19T07:36:18.292Z] ==> Uploading reports [2020-10-19T07:36:18.292Z] url: https://codecov.io [2020-10-19T07:36:18.292Z] query: branch=PR-631&commit=3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-631%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=631&job=&cmd_args= [2020-10-19T07:36:18.292Z] -> Pinging Codecov [2020-10-19T07:36:18.292Z] https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-631&commit=3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-631%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=631&job=&cmd_args= [2020-10-19T07:36:18.292Z] -> Uploading to [2020-10-19T07:36:18.292Z] [2020-10-19T07:36:18.292Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:36:18.292Z] Dload Upload Total Spent Left Speed [2020-10-19T07:36:18.292Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error [2020-10-19T07:36:18.292Z] X> Failed to upload [2020-10-19T07:36:18.292Z] ==> Uploading to Codecov [2020-10-19T07:36:18.292Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-10-19T07:36:18.292Z] Dload Upload Total Spent Left Speed [2020-10-19T07:36:18.867Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 19154 0 0 100 19044 0 40359 --:--:-- --:--:-- --:--:-- 40347 100 19154 100 110 100 19044 233 40339 --:--:-- --:--:-- --:--:-- 40347 [2020-10-19T07:36:18.867Z] View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3411a08b21ebbff4242a2d0b45a3ab23e5ea2ff6 [Pipeline] } [2020-10-19T07:36:18.878Z] 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:36:21.823Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:36:22.393Z] ---> package-listing.sh [2020-10-19T07:36:22.393Z] ++ facter osfamily [2020-10-19T07:36:22.394Z] ++ tr '[:upper:]' '[:lower:]' [2020-10-19T07:36:22.394Z] + OS_FAMILY=redhat [2020-10-19T07:36:22.394Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-631 [2020-10-19T07:36:22.394Z] + START_PACKAGES=/tmp/packages_start.txt [2020-10-19T07:36:22.394Z] + END_PACKAGES=/tmp/packages_end.txt [2020-10-19T07:36:22.394Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-10-19T07:36:22.394Z] + PACKAGES=/tmp/packages_start.txt [2020-10-19T07:36:22.394Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-631 ']' [2020-10-19T07:36:22.394Z] + PACKAGES=/tmp/packages_end.txt [2020-10-19T07:36:22.394Z] + case "${OS_FAMILY}" in [2020-10-19T07:36:22.394Z] + rpm -qa [2020-10-19T07:36:22.394Z] + sort [2020-10-19T07:36:26.633Z] + '[' -f /tmp/packages_start.txt ']' [2020-10-19T07:36:26.633Z] + '[' -f /tmp/packages_end.txt ']' [2020-10-19T07:36:26.633Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-10-19T07:36:26.633Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-631 ']' [2020-10-19T07:36:26.633Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-631/archives/ [2020-10-19T07:36:26.633Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-631/archives/ [Pipeline] echo [2020-10-19T07:36:26.657Z] 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-631/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:36:26.953Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:36:27.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:36:27.259Z] [2020-10-19T07:36:27.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-10-19T07:36:27.619Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:36:27.619Z] alpine: Pulling from edgex-lftools-log-publisher [2020-10-19T07:36:27.619Z] df20fa9351a1: Pulling fs layer [2020-10-19T07:36:27.619Z] 36b3adc4ff6f: Pulling fs layer [2020-10-19T07:36:27.619Z] 8ad3a11d3b57: Pulling fs layer [2020-10-19T07:36:27.619Z] 46f8f816bc3b: Pulling fs layer [2020-10-19T07:36:27.619Z] 93b61091891f: Pulling fs layer [2020-10-19T07:36:27.619Z] 93b9cdb0e59b: Pulling fs layer [2020-10-19T07:36:27.619Z] 5e14af77c1be: Pulling fs layer [2020-10-19T07:36:27.619Z] 01666e4c0597: Pulling fs layer [2020-10-19T07:36:27.619Z] aa168da1d23b: Pulling fs layer [2020-10-19T07:36:27.619Z] 46f8f816bc3b: Waiting [2020-10-19T07:36:27.619Z] 93b61091891f: Waiting [2020-10-19T07:36:27.619Z] 93b9cdb0e59b: Waiting [2020-10-19T07:36:27.619Z] 5e14af77c1be: Waiting [2020-10-19T07:36:27.619Z] 01666e4c0597: Waiting [2020-10-19T07:36:27.619Z] aa168da1d23b: Waiting [2020-10-19T07:36:27.619Z] 36b3adc4ff6f: Verifying Checksum [2020-10-19T07:36:27.619Z] 36b3adc4ff6f: Download complete [2020-10-19T07:36:27.619Z] 46f8f816bc3b: Verifying Checksum [2020-10-19T07:36:27.619Z] 46f8f816bc3b: Download complete [2020-10-19T07:36:27.881Z] df20fa9351a1: Download complete [2020-10-19T07:36:27.881Z] 93b9cdb0e59b: Verifying Checksum [2020-10-19T07:36:27.881Z] 93b9cdb0e59b: Download complete [2020-10-19T07:36:27.881Z] 5e14af77c1be: Verifying Checksum [2020-10-19T07:36:27.881Z] 5e14af77c1be: Download complete [2020-10-19T07:36:27.881Z] 01666e4c0597: Verifying Checksum [2020-10-19T07:36:27.881Z] 01666e4c0597: Download complete [2020-10-19T07:36:27.881Z] 93b61091891f: Verifying Checksum [2020-10-19T07:36:27.881Z] 93b61091891f: Download complete [2020-10-19T07:36:28.148Z] df20fa9351a1: Pull complete [2020-10-19T07:36:28.414Z] 36b3adc4ff6f: Pull complete [2020-10-19T07:36:28.679Z] 8ad3a11d3b57: Verifying Checksum [2020-10-19T07:36:28.679Z] 8ad3a11d3b57: Download complete [2020-10-19T07:36:29.258Z] 8ad3a11d3b57: Pull complete [2020-10-19T07:36:29.524Z] 46f8f816bc3b: Pull complete [2020-10-19T07:36:30.130Z] 93b61091891f: Pull complete [2020-10-19T07:36:30.130Z] 93b9cdb0e59b: Pull complete [2020-10-19T07:36:30.395Z] 5e14af77c1be: Pull complete [2020-10-19T07:36:30.395Z] 01666e4c0597: Pull complete [2020-10-19T07:36:30.395Z] aa168da1d23b: Verifying Checksum [2020-10-19T07:36:30.395Z] aa168da1d23b: Download complete [2020-10-19T07:36:37.036Z] aa168da1d23b: Pull complete [2020-10-19T07:36:37.036Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-10-19T07:36:37.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-10-19T07:36:37.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-10-19T07:36:37.213Z] prd-centos7-docker-4c-2g-6221 does not seem to be running inside a container [2020-10-19T07:36:37.260Z] $ 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-631/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-631 -v /w/workspace/dgexfoundry_device-sdk-go_PR-631:/w/workspace/dgexfoundry_device-sdk-go_PR-631:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-631@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:36:43.639Z] $ docker top c498981849454a28940a0abc8342afd929e25c63069be02f2adae8594dc2d7a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-10-19T07:36:44.211Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-10-19T07:36:44.517Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-10-19T07:36:44.818Z] + ls /var/log/sa-host [2020-10-19T07:36:44.818Z] + sadf -c /var/log/sa-host/sa05 [2020-10-19T07:36:44.818Z] file_magic: OK [2020-10-19T07:36:44.818Z] HZ: Using current value: 100 [2020-10-19T07:36:44.818Z] file_header: OK [2020-10-19T07:36:44.818Z] 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:36:44.818Z] Statistics: [2020-10-19T07:36:44.818Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:36:44.818Z] File successfully converted to sysstat format version 12.2.1 [2020-10-19T07:36:44.818Z] + sadf -c /var/log/sa-host/sa19 [2020-10-19T07:36:44.818Z] file_magic: OK [2020-10-19T07:36:44.818Z] HZ: Using current value: 100 [2020-10-19T07:36:44.818Z] file_header: OK [2020-10-19T07:36:44.818Z] 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:36:44.818Z] Statistics: [2020-10-19T07:36:44.818Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-10-19T07:36:44.818Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-10-19T07:36:45.020Z] provisioning config files... [2020-10-19T07:36:45.036Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-631@tmp/config4409273695911491070tmp [Pipeline] { [Pipeline] echo [2020-10-19T07:36:45.113Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:36:45.418Z] ---> create-netrc.sh [Pipeline] } [2020-10-19T07:36:45.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-10-19T07:36:45.559Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:36:45.863Z] ---> python-tools-install.sh [Pipeline] echo [2020-10-19T07:36:45.875Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:36:46.186Z] ---> sudo-logs.sh [2020-10-19T07:36:46.186Z] Archiving 'sudo' log.. [Pipeline] echo [2020-10-19T07:36:46.196Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:36:46.501Z] ---> job-cost.sh [2020-10-19T07:36:46.501Z] lf-activate-venv: SKIPPING [2020-10-19T07:36:46.501Z] INFO: No Stack... [2020-10-19T07:36:48.426Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-10-19T07:36:48.690Z] INFO: Archiving Costs [Pipeline] echo [2020-10-19T07:36:48.704Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-10-19T07:36:49.032Z] ---> logs-deploy.sh [2020-10-19T07:36:49.032Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-631/3 [2020-10-19T07:36:49.032Z] INFO: archiving workspace using pattern(s): [2020-10-19T07:36:50.959Z] Archives upload complete. [2020-10-19T07:36:50.959Z] INFO: archiving logs to Nexus