Pull request #760 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 632bc473474f915b03438cc79dd7a64bc7672eb1+76d059c2e27a3d5d488ff0022063f09e99d334bf (baa20b05fff0c5e363c6bbe37889e0e3931b6bb8) Running in Durability level: MAX_SURVIVABILITY 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-760/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-760/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-23356 in /w/workspace/dgexfoundry_device-sdk-go_PR-760 [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-760 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 632bc473474f915b03438cc79dd7a64bc7672eb1 Merge succeeded, producing 632bc473474f915b03438cc79dd7a64bc7672eb1 Checking out Revision 632bc473474f915b03438cc79dd7a64bc7672eb1 (PR-760) > 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 --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/760/head:refs/remotes/origin/PR-760 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 632bc473474f915b03438cc79dd7a64bc7672eb1 # 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 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-27T06:10:35.535Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T06:10:35.892Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T06:10:36.093Z] ========================================================= [2021-01-27T06:10:36.093Z] EdgeX Global Pipelines Version Info [2021-01-27T06:10:36.093Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:10:38.067Z] ------------------- [2021-01-27T06:10:38.067Z] stable info: [2021-01-27T06:10:38.067Z] ------------------- [2021-01-27T06:10:38.067Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T06:10:38.067Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T06:10:38.067Z] Message: update stable to v1.0.179 [2021-01-27T06:10:38.641Z] ------------------- [2021-01-27T06:10:38.641Z] experimental info: [2021-01-27T06:10:38.641Z] ------------------- [2021-01-27T06:10:38.641Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T06:10:38.641Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T06:10:38.641Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T06:10:39.053Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-27T06:10:39.181Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-27T06:10:39.325Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T06:10:39.454Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T06:10:39.583Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T06:10:39.715Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T06:10:39.884Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T06:10:40.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T06:10:40.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-27T06:10:40.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T06:10:40.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T06:10:40.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-27T06:10:40.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T06:10:40.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T06:10:41.166Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-27T06:10:41.288Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T06:10:41.413Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T06:10:41.548Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T06:10:41.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T06:10:41.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T06:10:41.948Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-27T06:10:42.082Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-27T06:10:42.222Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T06:10:42.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T06:10:42.482Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-27T06:10:42.615Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T06:10:42.737Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T06:10:42.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-760 [Pipeline] echo [2021-01-27T06:10:43.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-760 [Pipeline] echo [2021-01-27T06:10:43.139Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-760 [Pipeline] echo [2021-01-27T06:10:43.256Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 632bc473474f915b03438cc79dd7a64bc7672eb1 [Pipeline] echo [2021-01-27T06:10:43.409Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 632bc47 [Pipeline] echo [2021-01-27T06:10:43.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T06:10:43.786Z] provisioning config files... [2021-01-27T06:10:43.825Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/config8574557308629441218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:10:44.244Z] ---> docker-login.sh [2021-01-27T06:10:44.244Z] nexus3.edgexfoundry.org:10001 [2021-01-27T06:10:44.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:10:44.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:10:44.508Z] Configure a credential helper to remove this warning. See [2021-01-27T06:10:44.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:10:44.508Z] [2021-01-27T06:10:44.508Z] Login Succeeded [2021-01-27T06:10:44.508Z] nexus3.edgexfoundry.org:10002 [2021-01-27T06:10:44.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:10:44.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:10:44.771Z] Configure a credential helper to remove this warning. See [2021-01-27T06:10:44.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:10:44.771Z] [2021-01-27T06:10:44.771Z] Login Succeeded [2021-01-27T06:10:44.771Z] nexus3.edgexfoundry.org:10003 [2021-01-27T06:10:45.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:10:45.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:10:45.033Z] Configure a credential helper to remove this warning. See [2021-01-27T06:10:45.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:10:45.033Z] [2021-01-27T06:10:45.033Z] Login Succeeded [2021-01-27T06:10:45.033Z] nexus3.edgexfoundry.org:10004 [2021-01-27T06:10:45.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:10:45.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:10:45.033Z] Configure a credential helper to remove this warning. See [2021-01-27T06:10:45.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:10:45.033Z] [2021-01-27T06:10:45.033Z] Login Succeeded [2021-01-27T06:10:45.033Z] docker.io [2021-01-27T06:10:45.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:10:45.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:10:45.556Z] Configure a credential helper to remove this warning. See [2021-01-27T06:10:45.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:10:45.556Z] [2021-01-27T06:10:45.556Z] Login Succeeded [2021-01-27T06:10:45.556Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T06:10:45.580Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T06:10:46.634Z] + git log --format=format:%s -1 632bc473474f915b03438cc79dd7a64bc7672eb1 [Pipeline] echo [2021-01-27T06:10:46.728Z] GIT_COMMIT: 632bc473474f915b03438cc79dd7a64bc7672eb1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-01-27T06:10:46.808Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:10:47.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T06:10:47.598Z] [2021-01-27T06:10:47.598Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:10:47.987Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T06:10:47.988Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T06:10:47.988Z] 31603596830f: Pulling fs layer [2021-01-27T06:10:47.988Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T06:10:47.988Z] 6ca5941a6612: Pulling fs layer [2021-01-27T06:10:47.988Z] ecc8261a40a4: Pulling fs layer [2021-01-27T06:10:47.988Z] ecc8261a40a4: Waiting [2021-01-27T06:10:47.988Z] 2a8b12db71e7: Verifying Checksum [2021-01-27T06:10:47.988Z] 2a8b12db71e7: Download complete [2021-01-27T06:10:48.251Z] 31603596830f: Verifying Checksum [2021-01-27T06:10:48.251Z] 31603596830f: Download complete [2021-01-27T06:10:48.251Z] ecc8261a40a4: Verifying Checksum [2021-01-27T06:10:48.251Z] ecc8261a40a4: Download complete [2021-01-27T06:10:48.251Z] 6ca5941a6612: Verifying Checksum [2021-01-27T06:10:48.251Z] 6ca5941a6612: Download complete [2021-01-27T06:10:48.515Z] 31603596830f: Pull complete [2021-01-27T06:10:48.515Z] 2a8b12db71e7: Pull complete [2021-01-27T06:10:49.467Z] 6ca5941a6612: Pull complete [2021-01-27T06:10:49.730Z] ecc8261a40a4: Pull complete [2021-01-27T06:10:49.730Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T06:10:49.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T06:10:49.730Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T06:10:49.873Z] prd-centos7-docker-4c-2g-23356 does not seem to be running inside a container [2021-01-27T06:10:50.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-760 -v /w/workspace/dgexfoundry_device-sdk-go_PR-760:/w/workspace/dgexfoundry_device-sdk-go_PR-760:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-760@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 [2021-01-27T06:10:52.299Z] $ docker top aa749b3da330beec93129e7060094b02e863cc23e475f8fd22dcea206b0a4366 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T06:10:52.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T06:10:52.720Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T06:10:52.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T06:10:52.968Z] $ docker exec aa749b3da330beec93129e7060094b02e863cc23e475f8fd22dcea206b0a4366 ssh-agent [2021-01-27T06:10:53.135Z] SSH_AUTH_SOCK=/tmp/ssh-5ufBEx61DL3l/agent.11 [2021-01-27T06:10:53.135Z] SSH_AGENT_PID=16 [2021-01-27T06:10:53.147Z] Running ssh-add (command line suppressed) [2021-01-27T06:10:53.274Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/private_key_5041020852028148916.key (/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/private_key_5041020852028148916.key) [2021-01-27T06:10:53.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T06:10:53.699Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T06:10:53.734Z] $ docker exec --env ******** --env ******** aa749b3da330beec93129e7060094b02e863cc23e475f8fd22dcea206b0a4366 ssh-agent -k [2021-01-27T06:10:53.854Z] unset SSH_AUTH_SOCK; [2021-01-27T06:10:53.855Z] unset SSH_AGENT_PID; [2021-01-27T06:10:53.855Z] echo Agent pid 16 killed; [2021-01-27T06:10:53.897Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T06:10:54.124Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T06:10:54.124Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T06:10:54.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T06:10:54.312Z] $ docker exec aa749b3da330beec93129e7060094b02e863cc23e475f8fd22dcea206b0a4366 ssh-agent [2021-01-27T06:10:54.465Z] SSH_AUTH_SOCK=/tmp/ssh-qNtTaAKIvVP0/agent.47 [2021-01-27T06:10:54.465Z] SSH_AGENT_PID=53 [2021-01-27T06:10:54.473Z] Running ssh-add (command line suppressed) [2021-01-27T06:10:54.603Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/private_key_8266860127300688136.key (/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/private_key_8266860127300688136.key) [2021-01-27T06:10:54.649Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T06:10:55.047Z] + git semver init [2021-01-27T06:10:55.047Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T06:10:55.047Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-760/.git [2021-01-27T06:10:55.047Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-760 [2021-01-27T06:10:55.047Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T06:10:55.047Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T06:10:55.047Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T06:10:55.047Z] # $SEMVER_BRANCH = PR-760 [2021-01-27T06:10:55.047Z] # $SEMVER_TEMP = /tmp/semver-221885693 [2021-01-27T06:10:55.047Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-27T06:10:55.621Z] # '/tmp/semver-221885693' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-760/.semver' [2021-01-27T06:10:55.881Z] # -> Force: false [2021-01-27T06:10:55.881Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-760/.semver [Pipeline] } [2021-01-27T06:10:55.909Z] $ docker exec --env ******** --env ******** aa749b3da330beec93129e7060094b02e863cc23e475f8fd22dcea206b0a4366 ssh-agent -k [2021-01-27T06:10:56.018Z] unset SSH_AUTH_SOCK; [2021-01-27T06:10:56.020Z] unset SSH_AGENT_PID; [2021-01-27T06:10:56.020Z] echo Agent pid 53 killed; [2021-01-27T06:10:56.065Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T06:10:56.625Z] + git semver [Pipeline] } [2021-01-27T06:10:56.669Z] $ docker stop --time=1 aa749b3da330beec93129e7060094b02e863cc23e475f8fd22dcea206b0a4366 [2021-01-27T06:10:58.030Z] $ docker rm -f aa749b3da330beec93129e7060094b02e863cc23e475f8fd22dcea206b0a4366 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T06:10:58.592Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T06:10:59.048Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T06:10:59.072Z] [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 [2021-01-27T06:11:00.125Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23348 in /w/workspace/dgexfoundry_device-sdk-go_PR-760 [Pipeline] { [Pipeline] ws [2021-01-27T06:11:00.217Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-27T06:11:04.680Z] using credential edgex-jenkins-ssh [2021-01-27T06:11:04.734Z] Cloning the remote Git repository [2021-01-27T06:11:04.790Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:11:04.903Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-27T06:11:04.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:11:04.995Z] > git --version # timeout=10 [2021-01-27T06:11:05.016Z] > git --version # 'git version 2.17.1' [2021-01-27T06:11:05.018Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:11:05.085Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T06:11:06.133Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T06:11:06.165Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T06:11:06.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T06:11:06.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:11:06.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:11:06.229Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/760/head:refs/remotes/origin/PR-760 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T06:11:06.727Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 632bc473474f915b03438cc79dd7a64bc7672eb1 [2021-01-27T06:11:06.932Z] Merge succeeded, producing 632bc473474f915b03438cc79dd7a64bc7672eb1 [2021-01-27T06:11:06.932Z] Checking out Revision 632bc473474f915b03438cc79dd7a64bc7672eb1 (PR-760) [2021-01-27T06:11:06.749Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T06:11:06.761Z] > git checkout -f 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 [2021-01-27T06:11:06.858Z] > git remote # timeout=10 [2021-01-27T06:11:06.874Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T06:11:06.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:11:06.900Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T06:11:06.923Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T06:11:06.942Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T06:11:06.958Z] > git checkout -f 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 [2021-01-27T06:11:11.268Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-01-27T06:11:11.343Z] > git --version # timeout=10 [2021-01-27T06:11:11.366Z] > git --version # 'git version 2.17.1' [2021-01-27T06:11:11.407Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T06:11:13.079Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-27T06:11:13.502Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T06:11:13.861Z] + sudo service docker restart [2021-01-27T06:11:13.861Z] + true [2021-01-27T06:11:14.915Z] Still waiting to schedule task [2021-01-27T06:11:14.915Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-23354’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23355’ is offline; ‘prd-centos7-docker-4c-2g-23357’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23295’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23296’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23297’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-23299’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T06:11:16.006Z] provisioning config files... [2021-01-27T06:11:16.048Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2274826148768231787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:11:16.520Z] ---> docker-login.sh [2021-01-27T06:11:16.520Z] nexus3.edgexfoundry.org:10001 [2021-01-27T06:11:17.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:18.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:18.140Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:18.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:18.140Z] [2021-01-27T06:11:18.140Z] Login Succeeded [2021-01-27T06:11:18.140Z] nexus3.edgexfoundry.org:10002 [2021-01-27T06:11:18.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:18.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:18.414Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:18.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:18.414Z] [2021-01-27T06:11:18.414Z] Login Succeeded [2021-01-27T06:11:18.414Z] nexus3.edgexfoundry.org:10003 [2021-01-27T06:11:19.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:19.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:19.016Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:19.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:19.016Z] [2021-01-27T06:11:19.016Z] Login Succeeded [2021-01-27T06:11:19.016Z] nexus3.edgexfoundry.org:10004 [2021-01-27T06:11:19.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:19.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:19.573Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:19.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:19.573Z] [2021-01-27T06:11:19.573Z] Login Succeeded [2021-01-27T06:11:19.573Z] docker.io [2021-01-27T06:11:19.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:20.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:20.113Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:20.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:20.113Z] [2021-01-27T06:11:20.113Z] Login Succeeded [2021-01-27T06:11:20.113Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T06:11:20.146Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T06:11:20.702Z] ========================================================= [2021-01-27T06:11:20.702Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T06:11:20.702Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:11:21.134Z] + 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 . [2021-01-27T06:11:21.407Z] Sending build context to Docker daemon 2.565MB [2021-01-27T06:11:21.407Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T06:11:21.407Z] Step 2/8 : FROM ${BASE} [2021-01-27T06:11:21.678Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T06:11:21.678Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T06:11:21.678Z] a4357932f1b6: Pulling fs layer [2021-01-27T06:11:21.678Z] 18c013af1878: Pulling fs layer [2021-01-27T06:11:21.678Z] 00ac8860ef70: Pulling fs layer [2021-01-27T06:11:21.678Z] 63d7cb157983: Pulling fs layer [2021-01-27T06:11:21.678Z] b116817d02f9: Pulling fs layer [2021-01-27T06:11:21.678Z] 745a02a5169b: Pulling fs layer [2021-01-27T06:11:21.678Z] 00ac8860ef70: Waiting [2021-01-27T06:11:21.678Z] 63d7cb157983: Waiting [2021-01-27T06:11:21.678Z] b116817d02f9: Waiting [2021-01-27T06:11:21.678Z] 745a02a5169b: Waiting [2021-01-27T06:11:21.678Z] 18c013af1878: Verifying Checksum [2021-01-27T06:11:21.678Z] 18c013af1878: Download complete [2021-01-27T06:11:21.678Z] a4357932f1b6: Verifying Checksum [2021-01-27T06:11:21.678Z] a4357932f1b6: Download complete [2021-01-27T06:11:21.678Z] 63d7cb157983: Verifying Checksum [2021-01-27T06:11:21.678Z] 63d7cb157983: Download complete [2021-01-27T06:11:21.678Z] b116817d02f9: Verifying Checksum [2021-01-27T06:11:21.678Z] b116817d02f9: Download complete [2021-01-27T06:11:22.276Z] 5f621e34cdf4: Verifying Checksum [2021-01-27T06:11:22.276Z] 5f621e34cdf4: Download complete [2021-01-27T06:11:22.882Z] 5f621e34cdf4: Pull complete [2021-01-27T06:11:23.490Z] a4357932f1b6: Pull complete [2021-01-27T06:11:23.764Z] 18c013af1878: Pull complete [2021-01-27T06:11:24.743Z] 745a02a5169b: Verifying Checksum [2021-01-27T06:11:24.743Z] 745a02a5169b: Download complete [2021-01-27T06:11:25.733Z] 00ac8860ef70: Verifying Checksum [2021-01-27T06:11:25.733Z] 00ac8860ef70: Download complete [2021-01-27T06:11:35.927Z] 00ac8860ef70: Pull complete [2021-01-27T06:11:36.201Z] 63d7cb157983: Pull complete [2021-01-27T06:11:36.473Z] b116817d02f9: Pull complete [2021-01-27T06:11:40.799Z] 745a02a5169b: Pull complete [2021-01-27T06:11:40.799Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T06:11:40.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T06:11:40.799Z] ---> b7e6874047d6 [2021-01-27T06:11:40.799Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:11:43.460Z] ---> Running in a1754432fb39 [2021-01-27T06:11:43.737Z] Removing intermediate container a1754432fb39 [2021-01-27T06:11:43.737Z] ---> 613e4d6dcd80 [2021-01-27T06:11:43.737Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T06:11:43.737Z] ---> Running in 3587d08178bf [2021-01-27T06:11:46.364Z] Removing intermediate container 3587d08178bf [2021-01-27T06:11:46.364Z] ---> 12a67869aa43 [2021-01-27T06:11:46.364Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T06:11:46.364Z] ---> Running in c7009a36d65b [2021-01-27T06:11:47.339Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T06:11:48.332Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T06:11:48.927Z] OK: 142 MiB in 39 packages [2021-01-27T06:11:49.909Z] Removing intermediate container c7009a36d65b [2021-01-27T06:11:49.909Z] ---> 3743a2822f27 [2021-01-27T06:11:49.909Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T06:11:50.181Z] ---> Running in aeea12f7847f [2021-01-27T06:11:50.458Z] Removing intermediate container aeea12f7847f [2021-01-27T06:11:50.458Z] ---> 3d3b61ff4f2b [2021-01-27T06:11:50.458Z] Step 7/8 : COPY . . [2021-01-27T06:11:51.891Z] ---> bf0859400ad2 [2021-01-27T06:11:51.891Z] Step 8/8 : RUN go mod download [2021-01-27T06:11:51.891Z] ---> Running in e71c8b735226 [2021-01-27T06:12:14.056Z] Removing intermediate container e71c8b735226 [2021-01-27T06:12:14.056Z] ---> 695f60c2a07b [2021-01-27T06:12:14.056Z] Successfully built 695f60c2a07b [2021-01-27T06:12:14.056Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:12:14.438Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T06:12:14.438Z] . [Pipeline] withDockerContainer [2021-01-27T06:12:14.879Z] prd-ubuntu18.04-docker-arm64-4c-16g-23348 does not seem to be running inside a container [2021-01-27T06:12:14.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T06:12:16.639Z] $ docker top a753aad7731473d5a4de6dae043b66801d3882ba4f92afd150802e6800adb4ac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:12:17.747Z] + go version [2021-01-27T06:12:17.747Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-27T06:12:17.785Z] $ docker stop --time=1 a753aad7731473d5a4de6dae043b66801d3882ba4f92afd150802e6800adb4ac [2021-01-27T06:12:19.738Z] $ docker rm -f a753aad7731473d5a4de6dae043b66801d3882ba4f92afd150802e6800adb4ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:12:21.059Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T06:12:21.059Z] . [Pipeline] withDockerContainer [2021-01-27T06:12:21.337Z] prd-ubuntu18.04-docker-arm64-4c-16g-23348 does not seem to be running inside a container [2021-01-27T06:12:21.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-27T06:12:22.946Z] $ docker top fbd6b40bd69e6678d066014c6916bbcdd5ec10750fa6248a4eed2fba38731beb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:12:24.086Z] + make test [2021-01-27T06:12:24.086Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T06:12:46.265Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T06:13:25.308Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T06:13:25.308Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T06:13:25.308Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T06:13:25.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.124s coverage: 19.4% of statements [2021-01-27T06:13:31.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.213s coverage: 97.1% of statements [2021-01-27T06:13:43.499Z] Running on prd-centos7-docker-4c-2g-23358 in /w/workspace/dgexfoundry_device-sdk-go_PR-760 [Pipeline] { [Pipeline] ws [2021-01-27T06:13:43.659Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-27T06:13:51.824Z] using credential edgex-jenkins-ssh [2021-01-27T06:13:51.919Z] Cloning the remote Git repository [2021-01-27T06:13:52.037Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:13:52.174Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-27T06:13:52.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:13:52.303Z] > git --version # timeout=10 [2021-01-27T06:13:52.325Z] > git --version # 'git version 2.24.3' [2021-01-27T06:13:52.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:13:52.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T06:13:53.791Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit 632bc473474f915b03438cc79dd7a64bc7672eb1 [2021-01-27T06:13:53.263Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T06:13:53.296Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T06:13:53.322Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T06:13:53.357Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:13:53.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:13:53.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/760/head:refs/remotes/origin/PR-760 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T06:13:53.806Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T06:13:53.856Z] > git checkout -f 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 [2021-01-27T06:13:54.169Z] Merge succeeded, producing 632bc473474f915b03438cc79dd7a64bc7672eb1 [2021-01-27T06:13:54.169Z] Checking out Revision 632bc473474f915b03438cc79dd7a64bc7672eb1 (PR-760) [2021-01-27T06:13:53.971Z] > git remote # timeout=10 [2021-01-27T06:13:54.033Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T06:13:54.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:13:54.070Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T06:13:54.094Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T06:13:54.174Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T06:13:54.201Z] > git checkout -f 632bc473474f915b03438cc79dd7a64bc7672eb1 # timeout=10 [2021-01-27T06:13:58.616Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-01-27T06:13:58.667Z] > git --version # timeout=10 [2021-01-27T06:13:58.692Z] > git --version # 'git version 2.24.3' [2021-01-27T06:13:58.716Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T06:14:00.618Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T06:14:01.057Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T06:14:01.471Z] + sudo service docker restart [2021-01-27T06:14:01.471Z] + true [2021-01-27T06:14:01.471Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [2021-01-27T06:14:03.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.121s coverage: 9.4% of statements [2021-01-27T06:14:03.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 21.7% of statements [2021-01-27T06:14:03.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T06:14:03.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.606s coverage: 43.2% of statements [2021-01-27T06:14:03.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T06:14:03.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.711s coverage: 68.9% of statements [2021-01-27T06:14:03.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T06:14:03.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T06:14:03.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T06:14:03.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T06:14:03.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 53.8% of statements [2021-01-27T06:14:03.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T06:14:03.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T06:14:03.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.158s coverage: 26.8% of statements [2021-01-27T06:14:03.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.797s coverage: 83.5% of statements [2021-01-27T06:14:03.684Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.152s coverage: 4.2% of statements [2021-01-27T06:14:03.684Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T06:14:03.684Z] GO111MODULE=on go vet ./... [Pipeline] wrap [2021-01-27T06:14:03.689Z] provisioning config files... [2021-01-27T06:14:03.739Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7389879368745070927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:14:04.308Z] ---> docker-login.sh [2021-01-27T06:14:04.308Z] nexus3.edgexfoundry.org:10001 [2021-01-27T06:14:05.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:05.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:05.625Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:05.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:05.625Z] [2021-01-27T06:14:05.625Z] Login Succeeded [2021-01-27T06:14:05.625Z] nexus3.edgexfoundry.org:10002 [2021-01-27T06:14:05.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:05.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:05.899Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:05.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:05.899Z] [2021-01-27T06:14:05.899Z] Login Succeeded [2021-01-27T06:14:05.899Z] nexus3.edgexfoundry.org:10003 [2021-01-27T06:14:06.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:06.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:06.175Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:06.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:06.175Z] [2021-01-27T06:14:06.175Z] Login Succeeded [2021-01-27T06:14:06.175Z] nexus3.edgexfoundry.org:10004 [2021-01-27T06:14:06.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:06.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:06.724Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:06.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:06.724Z] [2021-01-27T06:14:06.724Z] Login Succeeded [2021-01-27T06:14:06.724Z] docker.io [2021-01-27T06:14:06.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:06.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:06.993Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:06.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:06.993Z] [2021-01-27T06:14:06.993Z] Login Succeeded [2021-01-27T06:14:06.993Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T06:14:07.050Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T06:14:08.013Z] ========================================================= [2021-01-27T06:14:08.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T06:14:08.014Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:14:08.552Z] + 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 . [2021-01-27T06:14:08.840Z] Sending build context to Docker daemon 2.574MB [2021-01-27T06:14:08.840Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T06:14:08.840Z] Step 2/8 : FROM ${BASE} [2021-01-27T06:14:08.840Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T06:14:08.840Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T06:14:08.840Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T06:14:08.840Z] de9db76c5a1d: Pulling fs layer [2021-01-27T06:14:08.840Z] bca2f99d35d6: Pulling fs layer [2021-01-27T06:14:08.840Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T06:14:08.840Z] 7c6f9722023f: Pulling fs layer [2021-01-27T06:14:08.840Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T06:14:08.840Z] 93359f2a8cfa: Waiting [2021-01-27T06:14:08.840Z] 7c6f9722023f: Waiting [2021-01-27T06:14:08.840Z] a35cf1a2eb13: Waiting [2021-01-27T06:14:08.840Z] bca2f99d35d6: Waiting [2021-01-27T06:14:09.144Z] de9db76c5a1d: Verifying Checksum [2021-01-27T06:14:09.144Z] de9db76c5a1d: Download complete [2021-01-27T06:14:09.144Z] 0ef7d3d256c8: Verifying Checksum [2021-01-27T06:14:09.144Z] 0ef7d3d256c8: Download complete [2021-01-27T06:14:09.144Z] 93359f2a8cfa: Verifying Checksum [2021-01-27T06:14:09.144Z] 93359f2a8cfa: Download complete [2021-01-27T06:14:09.144Z] 7c6f9722023f: Verifying Checksum [2021-01-27T06:14:09.144Z] 7c6f9722023f: Download complete [2021-01-27T06:14:09.429Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T06:14:09.429Z] 188c0c94c7c5: Download complete [2021-01-27T06:14:10.236Z] 188c0c94c7c5: Pull complete [2021-01-27T06:14:10.956Z] 0ef7d3d256c8: Pull complete [2021-01-27T06:14:11.229Z] de9db76c5a1d: Pull complete [2021-01-27T06:14:15.638Z] bca2f99d35d6: Verifying Checksum [2021-01-27T06:14:15.638Z] bca2f99d35d6: Download complete [2021-01-27T06:14:16.283Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T06:14:16.283Z] a35cf1a2eb13: Download complete [2021-01-27T06:14:26.470Z] bca2f99d35d6: Pull complete [2021-01-27T06:14:26.470Z] 93359f2a8cfa: Pull complete [2021-01-27T06:14:26.470Z] 7c6f9722023f: Pull complete [2021-01-27T06:14:32.074Z] a35cf1a2eb13: Pull complete [2021-01-27T06:14:32.074Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T06:14:32.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T06:14:32.074Z] ---> a62c8e92a672 [2021-01-27T06:14:32.074Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:14:32.361Z] ---> Running in 07a292f21695 [2021-01-27T06:14:32.654Z] Removing intermediate container 07a292f21695 [2021-01-27T06:14:32.654Z] ---> facd1f1e716e [2021-01-27T06:14:32.654Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T06:14:32.924Z] ---> Running in d39d0eef9b0d [2021-01-27T06:14:34.955Z] Removing intermediate container d39d0eef9b0d [2021-01-27T06:14:34.955Z] ---> 8e80dfdb8f57 [2021-01-27T06:14:34.955Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T06:14:34.955Z] ---> Running in dfed9cf2628b [2021-01-27T06:14:35.560Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T06:14:36.080Z] gofmt -l . [2021-01-27T06:14:36.080Z] [ "`gofmt -l .`" = "" ] [2021-01-27T06:14:36.080Z] ./bin/test-attribution-txt.sh [2021-01-27T06:14:36.080Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T06:14:36.121Z] $ docker stop --time=1 fbd6b40bd69e6678d066014c6916bbcdd5ec10750fa6248a4eed2fba38731beb [2021-01-27T06:14:36.151Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T06:14:36.745Z] OK: 166 MiB in 39 packages [2021-01-27T06:14:37.350Z] Removing intermediate container dfed9cf2628b [2021-01-27T06:14:37.350Z] ---> 6b3578d59128 [2021-01-27T06:14:37.350Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T06:14:37.350Z] ---> Running in 3b9272c1a320 [2021-01-27T06:14:37.623Z] Removing intermediate container 3b9272c1a320 [2021-01-27T06:14:37.623Z] ---> 0e82c200e7a5 [2021-01-27T06:14:37.623Z] Step 7/8 : COPY . . [2021-01-27T06:14:38.310Z] $ docker rm -f fbd6b40bd69e6678d066014c6916bbcdd5ec10750fa6248a4eed2fba38731beb [Pipeline] // withDockerContainer [2021-01-27T06:14:39.064Z] ---> b56436bb138e [2021-01-27T06:14:39.064Z] Step 8/8 : RUN go mod download [2021-01-27T06:14:39.064Z] ---> Running in efb28c66816e [Pipeline] sh [2021-01-27T06:14:39.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T06:14:40.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T06:14:43.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T06:14:43.671Z] + ls -al . [2021-01-27T06:14:43.671Z] total 252 [2021-01-27T06:14:43.671Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 06:14 . [2021-01-27T06:14:43.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 06:11 .. [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 06:11 .dockerignore [2021-01-27T06:14:43.671Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 06:11 .git [2021-01-27T06:14:43.671Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 06:11 .github [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 06:11 .gitignore [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 06:11 Dockerfile.build [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 06:11 Jenkinsfile [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 06:11 LICENSE [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 06:11 Makefile [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 06:11 README.md [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 06:11 RELEASE-NOTES.txt [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 06:10 VERSION [2021-01-27T06:14:43.671Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 06:11 bin [2021-01-27T06:14:43.671Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 27 06:13 coverage.out [2021-01-27T06:14:43.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 06:11 example [2021-01-27T06:14:43.671Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 27 06:14 go.mod [2021-01-27T06:14:43.671Z] -rw-r--r-- 1 jenkins jenkins 14191 Jan 27 06:14 go.sum [2021-01-27T06:14:43.671Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 06:11 internal [2021-01-27T06:14:43.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 06:11 openapi [2021-01-27T06:14:43.671Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 06:11 pkg [2021-01-27T06:14:43.671Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 06:11 snap [2021-01-27T06:14:43.671Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 06:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:14:44.104Z] + 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=632bc473474f915b03438cc79dd7a64bc7672eb1 --label arch=arm64 --label version=0.0.0 . [2021-01-27T06:14:44.709Z] Sending build context to Docker daemon 2.702MB [2021-01-27T06:14:44.709Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T06:14:44.709Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T06:14:44.709Z] ---> 695f60c2a07b [2021-01-27T06:14:44.709Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T06:14:44.983Z] ---> Running in 374e4be544fc [2021-01-27T06:14:45.257Z] Removing intermediate container 374e4be544fc [2021-01-27T06:14:45.257Z] ---> 233e80c24b02 [2021-01-27T06:14:45.257Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T06:14:45.530Z] ---> Running in 5ba5cdc7ce57 [2021-01-27T06:14:46.125Z] Removing intermediate container 5ba5cdc7ce57 [2021-01-27T06:14:46.125Z] ---> 43472ae8272e [2021-01-27T06:14:46.125Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:14:46.125Z] ---> Running in d3b0a2f6a0ac [2021-01-27T06:14:46.720Z] Removing intermediate container d3b0a2f6a0ac [2021-01-27T06:14:46.720Z] ---> e96c8131074d [2021-01-27T06:14:46.720Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T06:14:46.720Z] ---> Running in 4ddfb54c8298 [2021-01-27T06:14:48.706Z] Removing intermediate container 4ddfb54c8298 [2021-01-27T06:14:48.706Z] ---> 5473963773b5 [2021-01-27T06:14:48.706Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T06:14:48.706Z] ---> Running in 83da3bcd7292 [2021-01-27T06:14:49.678Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T06:14:50.648Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T06:14:51.240Z] OK: 142 MiB in 39 packages [2021-01-27T06:14:52.217Z] Removing intermediate container 83da3bcd7292 [2021-01-27T06:14:52.217Z] ---> 05792286cdad [2021-01-27T06:14:52.217Z] Step 8/24 : COPY . . [2021-01-27T06:14:53.650Z] ---> a8a8ffca1ee4 [2021-01-27T06:14:53.650Z] Step 9/24 : RUN ${MAKE} [2021-01-27T06:14:53.650Z] ---> Running in 00fb9a42cd51 [2021-01-27T06:14:54.629Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-27T06:15:06.093Z] Removing intermediate container efb28c66816e [2021-01-27T06:15:06.093Z] ---> d9da6e7edd8b [2021-01-27T06:15:06.093Z] Successfully built d9da6e7edd8b [2021-01-27T06:15:06.093Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:15:06.559Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T06:15:06.830Z] . [Pipeline] withDockerContainer [2021-01-27T06:15:07.141Z] prd-centos7-docker-4c-2g-23358 does not seem to be running inside a container [2021-01-27T06:15:07.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 [2021-01-27T06:15:08.718Z] $ docker top 03c881f3f0af5c1ca740bb5cf7aed4d5e208b5fd4843a5be2c6794ae4828302a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:15:10.229Z] + go version [2021-01-27T06:15:10.229Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T06:15:10.267Z] $ docker stop --time=1 03c881f3f0af5c1ca740bb5cf7aed4d5e208b5fd4843a5be2c6794ae4828302a [2021-01-27T06:15:11.929Z] $ docker rm -f 03c881f3f0af5c1ca740bb5cf7aed4d5e208b5fd4843a5be2c6794ae4828302a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:15:13.043Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T06:15:13.043Z] . [Pipeline] withDockerContainer [2021-01-27T06:15:13.220Z] prd-centos7-docker-4c-2g-23358 does not seem to be running inside a container [2021-01-27T06:15:13.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 [2021-01-27T06:15:14.633Z] $ docker top 815d0064c51a07810d46faf2604f8c5d8c6e915a9bbf04a627fbd4a9623d1177 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:15:15.447Z] + make test [2021-01-27T06:15:15.447Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T06:15:21.439Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T06:15:21.439Z] Removing intermediate container 00fb9a42cd51 [2021-01-27T06:15:21.439Z] ---> 824c2929d9f7 [2021-01-27T06:15:21.439Z] Step 10/24 : FROM scratch [2021-01-27T06:15:21.439Z] ---> [2021-01-27T06:15:21.439Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:15:21.439Z] ---> Running in 05702b290663 [2021-01-27T06:15:21.439Z] Removing intermediate container 05702b290663 [2021-01-27T06:15:21.439Z] ---> 943c39554e03 [2021-01-27T06:15:21.439Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T06:15:21.710Z] ---> Running in d76fa72b948f [2021-01-27T06:15:21.984Z] Removing intermediate container d76fa72b948f [2021-01-27T06:15:21.985Z] ---> a5cb8c678900 [2021-01-27T06:15:21.985Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T06:15:21.985Z] ---> Running in 220b182185e6 [2021-01-27T06:15:22.577Z] Removing intermediate container 220b182185e6 [2021-01-27T06:15:22.577Z] ---> 7aabb520a478 [2021-01-27T06:15:22.577Z] Step 14/24 : WORKDIR / [2021-01-27T06:15:22.577Z] ---> Running in 8ff88802a165 [2021-01-27T06:15:22.852Z] Removing intermediate container 8ff88802a165 [2021-01-27T06:15:22.852Z] ---> feb6eae9c281 [2021-01-27T06:15:22.852Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T06:15:24.332Z] ---> 998328aca4e6 [2021-01-27T06:15:24.332Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T06:15:24.927Z] ---> 2a182a26d445 [2021-01-27T06:15:24.927Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T06:15:25.520Z] ---> 12afce4ffa06 [2021-01-27T06:15:25.520Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T06:15:26.117Z] ---> 9227de10c0f5 [2021-01-27T06:15:26.117Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T06:15:27.095Z] ---> 20e43b552acb [2021-01-27T06:15:27.095Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T06:15:27.095Z] ---> Running in 38e8df5b2525 [2021-01-27T06:15:27.367Z] Removing intermediate container 38e8df5b2525 [2021-01-27T06:15:27.367Z] ---> ff8c40dd1eac [2021-01-27T06:15:27.367Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T06:15:27.640Z] ---> Running in 335230893ac0 [2021-01-27T06:15:27.913Z] Removing intermediate container 335230893ac0 [2021-01-27T06:15:27.913Z] ---> e99a0c05b6e4 [2021-01-27T06:15:27.913Z] Step 22/24 : LABEL arch=arm64 [2021-01-27T06:15:28.184Z] ---> Running in 1bfc63ca7f4e [2021-01-27T06:15:28.782Z] Removing intermediate container 1bfc63ca7f4e [2021-01-27T06:15:28.782Z] ---> 53e32dedbfa4 [2021-01-27T06:15:28.782Z] Step 23/24 : LABEL git_sha=632bc473474f915b03438cc79dd7a64bc7672eb1 [2021-01-27T06:15:28.782Z] ---> Running in e555261ef16e [2021-01-27T06:15:29.061Z] Removing intermediate container e555261ef16e [2021-01-27T06:15:29.061Z] ---> ee3102bd8929 [2021-01-27T06:15:29.061Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T06:15:29.332Z] ---> Running in b41273d2effe [2021-01-27T06:15:29.922Z] Removing intermediate container b41273d2effe [2021-01-27T06:15:29.923Z] ---> b914ee06986a [2021-01-27T06:15:29.923Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T06:15:29.923Z] Successfully built b914ee06986a [2021-01-27T06:15:29.923Z] 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] } [Pipeline] // withEnv [2021-01-27T06:15:30.795Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-27T06:16:04.017Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T06:16:04.017Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T06:16:04.017Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T06:16:04.017Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 19.4% of statements [2021-01-27T06:16:11.354Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.704s coverage: 97.1% of statements [2021-01-27T06:16:38.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.116s coverage: 9.4% of statements [2021-01-27T06:16:38.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.144s coverage: 21.7% of statements [2021-01-27T06:16:38.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T06:16:38.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.356s coverage: 43.2% of statements [2021-01-27T06:16:38.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T06:16:38.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.583s coverage: 68.9% of statements [2021-01-27T06:16:38.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T06:16:38.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T06:16:38.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T06:16:38.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T06:16:38.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.165s coverage: 53.8% of statements [2021-01-27T06:16:38.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T06:16:38.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T06:16:38.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.347s coverage: 26.8% of statements [2021-01-27T06:16:38.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.744s coverage: 83.5% of statements [2021-01-27T06:16:38.749Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.204s coverage: 4.2% of statements [2021-01-27T06:16:38.749Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T06:16:38.749Z] GO111MODULE=on go vet ./... [2021-01-27T06:17:06.139Z] gofmt -l . [2021-01-27T06:17:06.139Z] [ "`gofmt -l .`" = "" ] [2021-01-27T06:17:06.139Z] ./bin/test-attribution-txt.sh [2021-01-27T06:17:06.139Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T06:17:06.232Z] $ docker stop --time=1 815d0064c51a07810d46faf2604f8c5d8c6e915a9bbf04a627fbd4a9623d1177 [2021-01-27T06:17:08.489Z] $ docker rm -f 815d0064c51a07810d46faf2604f8c5d8c6e915a9bbf04a627fbd4a9623d1177 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T06:17:09.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T06:17:09.499Z] Warning: overwriting stash ‘coverage-report’ [2021-01-27T06:17:10.484Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-27T06:17:11.294Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T06:17:11.633Z] + ls -al . [2021-01-27T06:17:11.633Z] total 216 [2021-01-27T06:17:11.633Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 06:17 . [2021-01-27T06:17:11.633Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 06:13 .. [2021-01-27T06:17:11.633Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 06:13 bin [2021-01-27T06:17:11.633Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 27 06:16 coverage.out [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 06:13 Dockerfile.build [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 06:13 .dockerignore [2021-01-27T06:17:11.633Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 06:13 example [2021-01-27T06:17:11.633Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 06:13 .git [2021-01-27T06:17:11.633Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 06:13 .github [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 06:13 .gitignore [2021-01-27T06:17:11.633Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 27 06:17 go.mod [2021-01-27T06:17:11.633Z] -rw-r--r--. 1 jenkins jenkins 14191 Jan 27 06:17 go.sum [2021-01-27T06:17:11.633Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 06:13 internal [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 06:13 Jenkinsfile [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 06:13 LICENSE [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 06:13 Makefile [2021-01-27T06:17:11.633Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 06:13 openapi [2021-01-27T06:17:11.633Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 06:13 pkg [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 06:13 README.md [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 06:13 RELEASE-NOTES.txt [2021-01-27T06:17:11.633Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 06:13 snap [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 06:10 VERSION [2021-01-27T06:17:11.633Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 06:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:17:12.037Z] + 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=632bc473474f915b03438cc79dd7a64bc7672eb1 --label arch=amd64 --label version=0.0.0 . [2021-01-27T06:17:12.731Z] Sending build context to Docker daemon 2.712MB [2021-01-27T06:17:12.731Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T06:17:12.731Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T06:17:12.731Z] ---> d9da6e7edd8b [2021-01-27T06:17:12.731Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T06:17:13.378Z] ---> Running in 966745eeab90 [2021-01-27T06:17:13.696Z] Removing intermediate container 966745eeab90 [2021-01-27T06:17:13.696Z] ---> cc9a73bc7e9a [2021-01-27T06:17:13.696Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T06:17:13.993Z] ---> Running in ae290566b9f1 [2021-01-27T06:17:14.298Z] Removing intermediate container ae290566b9f1 [2021-01-27T06:17:14.298Z] ---> 9737a89b5f4d [2021-01-27T06:17:14.298Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:17:14.298Z] ---> Running in 2acc0663ec8c [2021-01-27T06:17:14.608Z] Removing intermediate container 2acc0663ec8c [2021-01-27T06:17:14.608Z] ---> 790cc5352d38 [2021-01-27T06:17:14.608Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T06:17:14.921Z] ---> Running in 72c3af3f48ee [2021-01-27T06:17:17.088Z] Removing intermediate container 72c3af3f48ee [2021-01-27T06:17:17.088Z] ---> e88872cc8cd0 [2021-01-27T06:17:17.088Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T06:17:17.088Z] ---> Running in 53ad21948423 [2021-01-27T06:17:17.704Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T06:17:18.331Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T06:17:18.948Z] OK: 166 MiB in 39 packages [2021-01-27T06:17:19.931Z] Removing intermediate container 53ad21948423 [2021-01-27T06:17:19.931Z] ---> 61285081ee48 [2021-01-27T06:17:19.931Z] Step 8/24 : COPY . . [2021-01-27T06:17:21.390Z] ---> b83035b98259 [2021-01-27T06:17:21.390Z] Step 9/24 : RUN ${MAKE} [2021-01-27T06:17:21.675Z] ---> Running in 149a6bf421ac [2021-01-27T06:17:22.716Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-27T06:17:46.594Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T06:17:49.858Z] Removing intermediate container 149a6bf421ac [2021-01-27T06:17:49.858Z] ---> b9798e6b8b02 [2021-01-27T06:17:49.858Z] Step 10/24 : FROM scratch [2021-01-27T06:17:49.858Z] ---> [2021-01-27T06:17:49.858Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:17:49.858Z] ---> Running in 0dc79d002f3a [2021-01-27T06:17:49.858Z] Removing intermediate container 0dc79d002f3a [2021-01-27T06:17:49.858Z] ---> 18e2fe86ad61 [2021-01-27T06:17:49.858Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T06:17:49.858Z] ---> Running in 48b144ccf4ea [2021-01-27T06:17:50.147Z] Removing intermediate container 48b144ccf4ea [2021-01-27T06:17:50.147Z] ---> 6144ab721a0d [2021-01-27T06:17:50.147Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T06:17:50.476Z] ---> Running in ce0f1d3e2cc9 [2021-01-27T06:17:51.082Z] Removing intermediate container ce0f1d3e2cc9 [2021-01-27T06:17:51.082Z] ---> 81c0f2c6761f [2021-01-27T06:17:51.082Z] Step 14/24 : WORKDIR / [2021-01-27T06:17:51.082Z] ---> Running in 947a1c7da737 [2021-01-27T06:17:51.362Z] Removing intermediate container 947a1c7da737 [2021-01-27T06:17:51.362Z] ---> 25e2c8b7bd3f [2021-01-27T06:17:51.362Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T06:17:52.373Z] ---> 6933cf2eccfd [2021-01-27T06:17:52.373Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T06:17:52.994Z] ---> 498c4ab7ca56 [2021-01-27T06:17:52.994Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T06:17:53.286Z] ---> d4895d693da0 [2021-01-27T06:17:53.286Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T06:17:55.169Z] ---> a171dde684b2 [2021-01-27T06:17:55.169Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T06:17:55.169Z] ---> b1665ebc4cf4 [2021-01-27T06:17:55.169Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T06:17:55.169Z] ---> Running in 499bf4fa71d8 [2021-01-27T06:17:55.169Z] Removing intermediate container 499bf4fa71d8 [2021-01-27T06:17:55.169Z] ---> 95f4dacfefe7 [2021-01-27T06:17:55.169Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T06:17:55.169Z] ---> Running in a2ef0bb6ed36 [2021-01-27T06:17:55.169Z] Removing intermediate container a2ef0bb6ed36 [2021-01-27T06:17:55.169Z] ---> 391dcf5dd5b5 [2021-01-27T06:17:55.169Z] Step 22/24 : LABEL arch=amd64 [2021-01-27T06:17:55.169Z] ---> Running in 3b9d5820f6b8 [2021-01-27T06:17:55.169Z] Removing intermediate container 3b9d5820f6b8 [2021-01-27T06:17:55.169Z] ---> e2d5ddfa2a7e [2021-01-27T06:17:55.169Z] Step 23/24 : LABEL git_sha=632bc473474f915b03438cc79dd7a64bc7672eb1 [2021-01-27T06:17:55.448Z] ---> Running in 23ecdc1d1669 [2021-01-27T06:17:55.448Z] Removing intermediate container 23ecdc1d1669 [2021-01-27T06:17:55.448Z] ---> ca2e558f5c94 [2021-01-27T06:17:55.448Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T06:17:55.716Z] ---> Running in 7c629197afff [2021-01-27T06:17:55.990Z] Removing intermediate container 7c629197afff [2021-01-27T06:17:55.990Z] ---> 5e68e352011b [2021-01-27T06:17:55.990Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T06:17:55.990Z] Successfully built 5e68e352011b [2021-01-27T06:17:55.990Z] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-27T06:17:58.331Z] provisioning config files... [2021-01-27T06:17:58.344Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/config3880575310938702912tmp [Pipeline] { [Pipeline] sh [2021-01-27T06:17:58.789Z] + set +x [2021-01-27T06:17:58.789Z] + curl -s https://codecov.io/bash [2021-01-27T06:17:58.789Z] + bash -s -- [2021-01-27T06:17:59.059Z] [2021-01-27T06:17:59.059Z] _____ _ [2021-01-27T06:17:59.059Z] / ____| | | [2021-01-27T06:17:59.059Z] | | ___ __| | ___ ___ _____ __ [2021-01-27T06:17:59.059Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-27T06:17:59.059Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-27T06:17:59.059Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-27T06:17:59.059Z] Bash-20210115-cec3c92 [2021-01-27T06:17:59.059Z] [2021-01-27T06:17:59.059Z] [2021-01-27T06:17:59.059Z] ==> git version 2.24.3 found [2021-01-27T06:17:59.059Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-01-27T06:17:59.059Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-27T06:17:59.059Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-27T06:17:59.059Z] ==> Jenkins CI detected. [2021-01-27T06:17:59.059Z] project root: . [2021-01-27T06:17:59.059Z] --> token set from env [2021-01-27T06:17:59.059Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-27T06:17:59.059Z] ==> Running gcov in . (disable via -X gcov) [2021-01-27T06:17:59.059Z] ==> Python coveragepy not found [2021-01-27T06:17:59.059Z] ==> Searching for coverage reports in: [2021-01-27T06:17:59.059Z] + . [2021-01-27T06:17:59.059Z] -> Found 1 reports [2021-01-27T06:17:59.059Z] ==> Detecting git/mercurial file structure [2021-01-27T06:17:59.059Z] ==> Reading reports [2021-01-27T06:17:59.059Z] + ./coverage.out bytes=136842 [2021-01-27T06:17:59.059Z] ==> Appending adjustments [2021-01-27T06:17:59.059Z] https://docs.codecov.io/docs/fixing-reports [2021-01-27T06:17:59.671Z] + Found adjustments [2021-01-27T06:17:59.671Z] ==> Gzipping contents [2021-01-27T06:17:59.671Z] 24K /tmp/codecov.J9bDK7.gz [2021-01-27T06:17:59.671Z] ==> Uploading reports [2021-01-27T06:17:59.671Z] url: https://codecov.io [2021-01-27T06:17:59.671Z] query: branch=PR-760&commit=632bc473474f915b03438cc79dd7a64bc7672eb1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-760%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=760&job=&cmd_args= [2021-01-27T06:17:59.671Z] -> Pinging Codecov [2021-01-27T06:17:59.671Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-760&commit=632bc473474f915b03438cc79dd7a64bc7672eb1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-760%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=760&job=&cmd_args= [2021-01-27T06:17:59.935Z] -> Uploading to [2021-01-27T06:17:59.935Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/632bc473474f915b03438cc79dd7a64bc7672eb1/7eb03ace-371b-4fd1-889a-1226d5ad9ca0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T061759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5dcd54fb73145345bfe507b32da752e8ee85e4f59c05e97dc327b5cf87494447 [2021-01-27T06:17:59.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-27T06:17:59.935Z] Dload Upload Total Spent Left Speed [2021-01-27T06:18:00.518Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21529 0 0 100 21529 0 43419 --:--:-- --:--:-- --:--:-- 43492 [2021-01-27T06:18:00.518Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/632bc473474f915b03438cc79dd7a64bc7672eb1 [Pipeline] } [2021-01-27T06:18:00.545Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 [2021-01-27T06:18:04.286Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:18:04.636Z] ---> package-listing.sh [2021-01-27T06:18:04.636Z] ++ facter osfamily [2021-01-27T06:18:04.636Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T06:18:04.636Z] + OS_FAMILY=redhat [2021-01-27T06:18:04.636Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-760 [2021-01-27T06:18:04.636Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T06:18:04.636Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T06:18:04.636Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T06:18:04.636Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T06:18:04.636Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-760 ']' [2021-01-27T06:18:04.636Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T06:18:04.636Z] + case "${OS_FAMILY}" in [2021-01-27T06:18:04.636Z] + rpm -qa [2021-01-27T06:18:04.636Z] + sort [2021-01-27T06:18:09.981Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T06:18:09.981Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T06:18:09.981Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T06:18:09.981Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-760 ']' [2021-01-27T06:18:09.981Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-760/archives/ [2021-01-27T06:18:09.981Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-760/archives/ [Pipeline] echo [2021-01-27T06:18:10.030Z] 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-760/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-27T06:18:10.342Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:18:10.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T06:18:10.683Z] [2021-01-27T06:18:10.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:18:11.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T06:18:11.079Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T06:18:11.079Z] df20fa9351a1: Pulling fs layer [2021-01-27T06:18:11.079Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T06:18:11.079Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T06:18:11.079Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T06:18:11.079Z] 93b61091891f: Pulling fs layer [2021-01-27T06:18:11.079Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T06:18:11.079Z] 5e14af77c1be: Pulling fs layer [2021-01-27T06:18:11.079Z] 01666e4c0597: Pulling fs layer [2021-01-27T06:18:11.079Z] aa168da1d23b: Pulling fs layer [2021-01-27T06:18:11.079Z] 93b9cdb0e59b: Waiting [2021-01-27T06:18:11.079Z] 5e14af77c1be: Waiting [2021-01-27T06:18:11.079Z] 01666e4c0597: Waiting [2021-01-27T06:18:11.079Z] aa168da1d23b: Waiting [2021-01-27T06:18:11.079Z] 46f8f816bc3b: Waiting [2021-01-27T06:18:11.079Z] 93b61091891f: Waiting [2021-01-27T06:18:11.079Z] 36b3adc4ff6f: Verifying Checksum [2021-01-27T06:18:11.079Z] 36b3adc4ff6f: Download complete [2021-01-27T06:18:11.079Z] 46f8f816bc3b: Verifying Checksum [2021-01-27T06:18:11.079Z] 46f8f816bc3b: Download complete [2021-01-27T06:18:11.343Z] df20fa9351a1: Verifying Checksum [2021-01-27T06:18:11.343Z] df20fa9351a1: Download complete [2021-01-27T06:18:11.343Z] 93b9cdb0e59b: Verifying Checksum [2021-01-27T06:18:11.343Z] 93b9cdb0e59b: Download complete [2021-01-27T06:18:11.343Z] 5e14af77c1be: Verifying Checksum [2021-01-27T06:18:11.343Z] 5e14af77c1be: Download complete [2021-01-27T06:18:11.343Z] 93b61091891f: Download complete [2021-01-27T06:18:11.343Z] 01666e4c0597: Verifying Checksum [2021-01-27T06:18:11.343Z] 01666e4c0597: Download complete [2021-01-27T06:18:11.609Z] df20fa9351a1: Pull complete [2021-01-27T06:18:11.876Z] 8ad3a11d3b57: Verifying Checksum [2021-01-27T06:18:11.876Z] 8ad3a11d3b57: Download complete [2021-01-27T06:18:11.876Z] 36b3adc4ff6f: Pull complete [2021-01-27T06:18:12.847Z] 8ad3a11d3b57: Pull complete [2021-01-27T06:18:12.847Z] 46f8f816bc3b: Pull complete [2021-01-27T06:18:13.815Z] aa168da1d23b: Verifying Checksum [2021-01-27T06:18:13.815Z] aa168da1d23b: Download complete [2021-01-27T06:18:13.815Z] 93b61091891f: Pull complete [2021-01-27T06:18:14.079Z] 93b9cdb0e59b: Pull complete [2021-01-27T06:18:14.079Z] 5e14af77c1be: Pull complete [2021-01-27T06:18:14.342Z] 01666e4c0597: Pull complete [2021-01-27T06:18:22.516Z] aa168da1d23b: Pull complete [2021-01-27T06:18:22.516Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T06:18:22.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T06:18:22.516Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T06:18:22.923Z] prd-centos7-docker-4c-2g-23356 does not seem to be running inside a container [2021-01-27T06:18:22.991Z] $ 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-760/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-760 -v /w/workspace/dgexfoundry_device-sdk-go_PR-760:/w/workspace/dgexfoundry_device-sdk-go_PR-760:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-760@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 [2021-01-27T06:18:25.278Z] $ docker top 1b18cd725978cb0fe03ae81da577a841a05ba5da1c436ffd65e636d0d3fda131 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:18:25.883Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T06:18:26.199Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T06:18:26.517Z] + ls /var/log/sa-host [2021-01-27T06:18:26.517Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T06:18:26.517Z] file_magic: OK [2021-01-27T06:18:26.517Z] HZ: Using current value: 100 [2021-01-27T06:18:26.517Z] file_header: OK [2021-01-27T06:18:26.517Z] 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 [2021-01-27T06:18:26.517Z] Statistics: [2021-01-27T06:18:26.517Z] Hnuu...uuuununununu... [2021-01-27T06:18:26.517Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T06:18:26.517Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T06:18:26.517Z] file_magic: OK [2021-01-27T06:18:26.517Z] HZ: Using current value: 100 [2021-01-27T06:18:26.517Z] file_header: OK [2021-01-27T06:18:26.517Z] 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 [2021-01-27T06:18:26.517Z] Statistics: [2021-01-27T06:18:26.517Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T06:18:26.517Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T06:18:26.763Z] provisioning config files... [2021-01-27T06:18:26.776Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-760@tmp/config1460726113190606254tmp [Pipeline] { [Pipeline] echo [2021-01-27T06:18:26.907Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:18:27.243Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T06:18:27.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T06:18:27.421Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:18:27.753Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T06:18:27.781Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:18:28.107Z] ---> sudo-logs.sh [2021-01-27T06:18:28.107Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T06:18:28.138Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:18:28.471Z] ---> job-cost.sh [2021-01-27T06:18:28.471Z] lf-activate-venv: SKIPPING [2021-01-27T06:18:28.471Z] INFO: No Stack... [2021-01-27T06:18:29.420Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T06:18:29.992Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T06:18:30.030Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:18:30.368Z] ---> logs-deploy.sh [2021-01-27T06:18:30.368Z] lf-activate-venv: SKIPPING [2021-01-27T06:18:30.368Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-760/1 [2021-01-27T06:18:30.368Z] INFO: archiving workspace using pattern(s): [2021-01-27T06:18:32.305Z] Archives upload complete. [2021-01-27T06:18:32.305Z] INFO: archiving logs to Nexus