Pull request #761 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a8acc02905d29a70293a042bb51aacaa11024691+76d059c2e27a3d5d488ff0022063f09e99d334bf (7dbe68e5f63b115b0d00833e94a3b80c17cf42e5) 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-761/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-761/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-23357 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [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-761 # 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 > 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/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit a8acc02905d29a70293a042bb51aacaa11024691 Merge succeeded, producing a8acc02905d29a70293a042bb51aacaa11024691 Checking out Revision a8acc02905d29a70293a042bb51aacaa11024691 (PR-761) > git config core.sparsecheckout # timeout=10 > git checkout -f a8acc02905d29a70293a042bb51aacaa11024691 # 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 a8acc02905d29a70293a042bb51aacaa11024691 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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:11:25.131Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-27T06:11:25.484Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-27T06:11:25.683Z] ========================================================= [2021-01-27T06:11:25.683Z] EdgeX Global Pipelines Version Info [2021-01-27T06:11:25.683Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:11:27.229Z] ------------------- [2021-01-27T06:11:27.229Z] stable info: [2021-01-27T06:11:27.229Z] ------------------- [2021-01-27T06:11:27.229Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T06:11:27.229Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T06:11:27.229Z] Message: update stable to v1.0.179 [2021-01-27T06:11:28.182Z] ------------------- [2021-01-27T06:11:28.182Z] experimental info: [2021-01-27T06:11:28.182Z] ------------------- [2021-01-27T06:11:28.182Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-27T06:11:28.182Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-27T06:11:28.182Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-27T06:11:28.539Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-27T06:11:28.742Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-27T06:11:28.859Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-27T06:11:28.975Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-27T06:11:29.090Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-27T06:11:29.209Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-27T06:11:29.330Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-27T06:11:29.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-27T06:11:29.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-27T06:11:29.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-27T06:11:29.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-27T06:11:29.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-27T06:11:30.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-27T06:11:30.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-27T06:11:30.385Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-27T06:11:30.515Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T06:11:30.717Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T06:11:30.859Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-27T06:11:30.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-27T06:11:31.134Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-27T06:11:31.256Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-27T06:11:31.375Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-27T06:11:31.507Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-27T06:11:31.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-27T06:11:31.761Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-27T06:11:31.885Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-27T06:11:32.000Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-27T06:11:32.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-761 [Pipeline] echo [2021-01-27T06:11:32.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-761 [Pipeline] echo [2021-01-27T06:11:32.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-761 [Pipeline] echo [2021-01-27T06:11:32.469Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8acc02905d29a70293a042bb51aacaa11024691 [Pipeline] echo [2021-01-27T06:11:32.585Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8acc02 [Pipeline] echo [2021-01-27T06:11:32.701Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T06:11:32.950Z] provisioning config files... [2021-01-27T06:11:32.980Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config879816164218136047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:11:33.422Z] ---> docker-login.sh [2021-01-27T06:11:33.422Z] nexus3.edgexfoundry.org:10001 [2021-01-27T06:11:33.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:33.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:33.684Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:33.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:33.684Z] [2021-01-27T06:11:33.684Z] Login Succeeded [2021-01-27T06:11:33.684Z] nexus3.edgexfoundry.org:10002 [2021-01-27T06:11:33.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:33.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:33.947Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:33.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:33.947Z] [2021-01-27T06:11:33.947Z] Login Succeeded [2021-01-27T06:11:33.947Z] nexus3.edgexfoundry.org:10003 [2021-01-27T06:11:33.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:33.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:33.947Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:33.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:33.947Z] [2021-01-27T06:11:33.947Z] Login Succeeded [2021-01-27T06:11:33.947Z] nexus3.edgexfoundry.org:10004 [2021-01-27T06:11:34.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:34.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:34.210Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:34.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:34.210Z] [2021-01-27T06:11:34.210Z] Login Succeeded [2021-01-27T06:11:34.210Z] docker.io [2021-01-27T06:11:34.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:11:34.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:11:34.472Z] Configure a credential helper to remove this warning. See [2021-01-27T06:11:34.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:11:34.472Z] [2021-01-27T06:11:34.472Z] Login Succeeded [2021-01-27T06:11:34.472Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T06:11:34.494Z] 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:11:35.565Z] + git log --format=format:%s -1 a8acc02905d29a70293a042bb51aacaa11024691 [Pipeline] echo [2021-01-27T06:11:35.652Z] GIT_COMMIT: a8acc02905d29a70293a042bb51aacaa11024691, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-01-27T06:11:35.717Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:11:36.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T06:11:36.397Z] [2021-01-27T06:11:36.397Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:11:36.803Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T06:11:36.804Z] latest: Pulling from edgex-devops/git-semver [2021-01-27T06:11:36.804Z] 31603596830f: Pulling fs layer [2021-01-27T06:11:36.804Z] 2a8b12db71e7: Pulling fs layer [2021-01-27T06:11:36.804Z] 6ca5941a6612: Pulling fs layer [2021-01-27T06:11:36.804Z] ecc8261a40a4: Pulling fs layer [2021-01-27T06:11:36.804Z] ecc8261a40a4: Waiting [2021-01-27T06:11:36.804Z] 2a8b12db71e7: Verifying Checksum [2021-01-27T06:11:36.804Z] 2a8b12db71e7: Download complete [2021-01-27T06:11:36.804Z] 31603596830f: Verifying Checksum [2021-01-27T06:11:36.804Z] 31603596830f: Download complete [2021-01-27T06:11:37.070Z] ecc8261a40a4: Verifying Checksum [2021-01-27T06:11:37.070Z] ecc8261a40a4: Download complete [2021-01-27T06:11:37.070Z] 6ca5941a6612: Verifying Checksum [2021-01-27T06:11:37.070Z] 6ca5941a6612: Download complete [2021-01-27T06:11:37.336Z] 31603596830f: Pull complete [2021-01-27T06:11:37.336Z] 2a8b12db71e7: Pull complete [2021-01-27T06:11:38.286Z] 6ca5941a6612: Pull complete [2021-01-27T06:11:38.548Z] ecc8261a40a4: Pull complete [2021-01-27T06:11:38.549Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-27T06:11:38.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-27T06:11:38.549Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-27T06:11:38.721Z] prd-centos7-docker-4c-2g-23357 does not seem to be running inside a container [2021-01-27T06:11:38.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-761 -v /w/workspace/dgexfoundry_device-sdk-go_PR-761:/w/workspace/dgexfoundry_device-sdk-go_PR-761:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-761@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:11:40.674Z] $ docker top e4da6c1d2ad8723dbbd0e706db111ea9571103e3e253a2ad58e06b2b2452be62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-27T06:11:41.022Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T06:11:41.023Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T06:11:41.244Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T06:11:41.250Z] $ docker exec e4da6c1d2ad8723dbbd0e706db111ea9571103e3e253a2ad58e06b2b2452be62 ssh-agent [2021-01-27T06:11:41.422Z] SSH_AUTH_SOCK=/tmp/ssh-oXoxuF7Qs4vY/agent.11 [2021-01-27T06:11:41.422Z] SSH_AGENT_PID=16 [2021-01-27T06:11:41.432Z] Running ssh-add (command line suppressed) [2021-01-27T06:11:41.556Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_3205738215395590986.key (/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_3205738215395590986.key) [2021-01-27T06:11:41.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T06:11:41.990Z] + git tag --points-at HEAD [Pipeline] } [2021-01-27T06:11:42.020Z] $ docker exec --env ******** --env ******** e4da6c1d2ad8723dbbd0e706db111ea9571103e3e253a2ad58e06b2b2452be62 ssh-agent -k [2021-01-27T06:11:42.137Z] unset SSH_AUTH_SOCK; [2021-01-27T06:11:42.137Z] unset SSH_AGENT_PID; [2021-01-27T06:11:42.137Z] echo Agent pid 16 killed; [2021-01-27T06:11:42.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-27T06:11:42.431Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-27T06:11:42.431Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-27T06:11:42.605Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-27T06:11:42.611Z] $ docker exec e4da6c1d2ad8723dbbd0e706db111ea9571103e3e253a2ad58e06b2b2452be62 ssh-agent [2021-01-27T06:11:42.775Z] SSH_AUTH_SOCK=/tmp/ssh-RF4uNbt1O9Ma/agent.45 [2021-01-27T06:11:42.775Z] SSH_AGENT_PID=50 [2021-01-27T06:11:42.782Z] Running ssh-add (command line suppressed) [2021-01-27T06:11:42.906Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_8012778030774565612.key (/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/private_key_8012778030774565612.key) [2021-01-27T06:11:42.958Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-27T06:11:43.324Z] + git semver init [2021-01-27T06:11:43.324Z] # -> Open(): unable to determine branch for HEAD [2021-01-27T06:11:43.324Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-761/.git [2021-01-27T06:11:43.324Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-761 [2021-01-27T06:11:43.324Z] # $SEMVER_REMOTE_NAME = origin [2021-01-27T06:11:43.324Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-27T06:11:43.324Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-27T06:11:43.324Z] # $SEMVER_BRANCH = PR-761 [2021-01-27T06:11:43.324Z] # $SEMVER_TEMP = /tmp/semver-169502887 [2021-01-27T06:11:43.324Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-27T06:11:44.271Z] # '/tmp/semver-169502887' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-761/.semver' [2021-01-27T06:11:44.271Z] # -> Force: false [2021-01-27T06:11:44.271Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-761/.semver [Pipeline] } [2021-01-27T06:11:44.296Z] $ docker exec --env ******** --env ******** e4da6c1d2ad8723dbbd0e706db111ea9571103e3e253a2ad58e06b2b2452be62 ssh-agent -k [2021-01-27T06:11:44.413Z] unset SSH_AUTH_SOCK; [2021-01-27T06:11:44.414Z] unset SSH_AGENT_PID; [2021-01-27T06:11:44.414Z] echo Agent pid 50 killed; [2021-01-27T06:11:44.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-27T06:11:45.016Z] + git semver [Pipeline] } [2021-01-27T06:11:45.050Z] $ docker stop --time=1 e4da6c1d2ad8723dbbd0e706db111ea9571103e3e253a2ad58e06b2b2452be62 [2021-01-27T06:11:46.416Z] $ docker rm -f e4da6c1d2ad8723dbbd0e706db111ea9571103e3e253a2ad58e06b2b2452be62 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T06:11:46.935Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-27T06:11:47.378Z] Stashed 1 file(s) [Pipeline] echo [2021-01-27T06:11:47.399Z] [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:12:03.275Z] Still waiting to schedule task [2021-01-27T06:12:03.275Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-27T06:12:03.300Z] Still waiting to schedule task [2021-01-27T06:12:03.301Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-27T06:14:26.436Z] Running on prd-centos7-docker-4c-2g-23359 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] { [Pipeline] ws [2021-01-27T06:14:26.606Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-01-27T06:14:29.069Z] using credential edgex-jenkins-ssh [2021-01-27T06:14:29.124Z] Cloning the remote Git repository [2021-01-27T06:14:28.927Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:14:29.000Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-27T06:14:29.066Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:14:29.067Z] > git --version # timeout=10 [2021-01-27T06:14:29.074Z] > git --version # 'git version 2.24.3' [2021-01-27T06:14:29.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:14:29.105Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T06:14:30.628Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit a8acc02905d29a70293a042bb51aacaa11024691 [2021-01-27T06:14:30.727Z] Merge succeeded, producing a8acc02905d29a70293a042bb51aacaa11024691 [2021-01-27T06:14:30.727Z] Checking out Revision a8acc02905d29a70293a042bb51aacaa11024691 (PR-761) [2021-01-27T06:14:30.058Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T06:14:30.065Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T06:14:30.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T06:14:30.093Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:14:30.094Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:14:30.101Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T06:14:30.535Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T06:14:30.541Z] > git checkout -f a8acc02905d29a70293a042bb51aacaa11024691 # timeout=10 [2021-01-27T06:14:30.589Z] > git remote # timeout=10 [2021-01-27T06:14:30.602Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T06:14:30.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:14:30.615Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T06:14:30.626Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T06:14:30.635Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T06:14:30.639Z] > git checkout -f a8acc02905d29a70293a042bb51aacaa11024691 # timeout=10 [2021-01-27T06:14:34.256Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-01-27T06:14:34.281Z] > git --version # timeout=10 [2021-01-27T06:14:34.285Z] > git --version # 'git version 2.24.3' [2021-01-27T06:14:34.292Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T06:14:35.626Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-27T06:14:35.981Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T06:14:36.299Z] + sudo service docker restart [2021-01-27T06:14:36.299Z] + true [2021-01-27T06:14:36.299Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T06:14:37.390Z] provisioning config files... [2021-01-27T06:14:37.418Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1468741236383312962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:14:37.868Z] ---> docker-login.sh [2021-01-27T06:14:37.868Z] nexus3.edgexfoundry.org:10001 [2021-01-27T06:14:38.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:38.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:38.131Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:38.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:38.131Z] [2021-01-27T06:14:38.131Z] Login Succeeded [2021-01-27T06:14:38.131Z] nexus3.edgexfoundry.org:10002 [2021-01-27T06:14:38.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:38.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:38.396Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:38.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:38.396Z] [2021-01-27T06:14:38.396Z] Login Succeeded [2021-01-27T06:14:38.396Z] nexus3.edgexfoundry.org:10003 [2021-01-27T06:14:38.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:38.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:38.660Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:38.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:38.660Z] [2021-01-27T06:14:38.660Z] Login Succeeded [2021-01-27T06:14:38.660Z] nexus3.edgexfoundry.org:10004 [2021-01-27T06:14:38.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:38.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:38.660Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:38.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:38.660Z] [2021-01-27T06:14:38.660Z] Login Succeeded [2021-01-27T06:14:38.660Z] docker.io [2021-01-27T06:14:38.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:14:39.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:14:39.184Z] Configure a credential helper to remove this warning. See [2021-01-27T06:14:39.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:14:39.184Z] [2021-01-27T06:14:39.184Z] Login Succeeded [2021-01-27T06:14:39.184Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T06:14:39.215Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-27T06:14:39.885Z] ========================================================= [2021-01-27T06:14:39.885Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-27T06:14:39.885Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:14:40.273Z] + 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:40.273Z] Sending build context to Docker daemon 2.574MB [2021-01-27T06:14:40.273Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T06:14:40.273Z] Step 2/8 : FROM ${BASE} [2021-01-27T06:14:40.535Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-27T06:14:40.535Z] 188c0c94c7c5: Pulling fs layer [2021-01-27T06:14:40.535Z] 0ef7d3d256c8: Pulling fs layer [2021-01-27T06:14:40.535Z] de9db76c5a1d: Pulling fs layer [2021-01-27T06:14:40.535Z] bca2f99d35d6: Pulling fs layer [2021-01-27T06:14:40.535Z] 93359f2a8cfa: Pulling fs layer [2021-01-27T06:14:40.535Z] 7c6f9722023f: Pulling fs layer [2021-01-27T06:14:40.535Z] a35cf1a2eb13: Pulling fs layer [2021-01-27T06:14:40.535Z] 93359f2a8cfa: Waiting [2021-01-27T06:14:40.535Z] 7c6f9722023f: Waiting [2021-01-27T06:14:40.535Z] a35cf1a2eb13: Waiting [2021-01-27T06:14:40.535Z] bca2f99d35d6: Waiting [2021-01-27T06:14:40.535Z] de9db76c5a1d: Verifying Checksum [2021-01-27T06:14:40.535Z] de9db76c5a1d: Download complete [2021-01-27T06:14:40.535Z] 0ef7d3d256c8: Verifying Checksum [2021-01-27T06:14:40.535Z] 0ef7d3d256c8: Download complete [2021-01-27T06:14:40.535Z] 93359f2a8cfa: Download complete [2021-01-27T06:14:40.535Z] 188c0c94c7c5: Verifying Checksum [2021-01-27T06:14:40.535Z] 188c0c94c7c5: Download complete [2021-01-27T06:14:40.535Z] 7c6f9722023f: Verifying Checksum [2021-01-27T06:14:40.535Z] 7c6f9722023f: Download complete [2021-01-27T06:14:40.803Z] 188c0c94c7c5: Pull complete [2021-01-27T06:14:41.064Z] 0ef7d3d256c8: Pull complete [2021-01-27T06:14:41.064Z] de9db76c5a1d: Pull complete [2021-01-27T06:14:42.460Z] a35cf1a2eb13: Verifying Checksum [2021-01-27T06:14:42.460Z] a35cf1a2eb13: Download complete [2021-01-27T06:14:43.042Z] bca2f99d35d6: Verifying Checksum [2021-01-27T06:14:43.042Z] bca2f99d35d6: Download complete [2021-01-27T06:14:48.388Z] bca2f99d35d6: Pull complete [2021-01-27T06:14:48.389Z] 93359f2a8cfa: Pull complete [2021-01-27T06:14:48.389Z] 7c6f9722023f: Pull complete [2021-01-27T06:14:51.719Z] a35cf1a2eb13: Pull complete [2021-01-27T06:14:51.719Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-27T06:14:51.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-27T06:14:51.719Z] ---> a62c8e92a672 [2021-01-27T06:14:51.719Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:14:52.297Z] ---> Running in 23c62057bb18 [2021-01-27T06:14:52.297Z] Removing intermediate container 23c62057bb18 [2021-01-27T06:14:52.297Z] ---> e1a64b3ddb6a [2021-01-27T06:14:52.297Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T06:14:52.297Z] ---> Running in 458190bf1781 [2021-01-27T06:14:53.248Z] Removing intermediate container 458190bf1781 [2021-01-27T06:14:53.248Z] ---> cac35cdc3299 [2021-01-27T06:14:53.248Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T06:14:53.520Z] ---> Running in ff636ff0e9c7 [2021-01-27T06:14:54.100Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T06:14:54.674Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T06:14:55.253Z] OK: 166 MiB in 39 packages [2021-01-27T06:14:55.515Z] Removing intermediate container ff636ff0e9c7 [2021-01-27T06:14:55.515Z] ---> 6543bd4ad352 [2021-01-27T06:14:55.515Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T06:14:55.780Z] ---> Running in 4064fad1b333 [2021-01-27T06:14:55.780Z] Removing intermediate container 4064fad1b333 [2021-01-27T06:14:55.780Z] ---> e4bd4cd385cc [2021-01-27T06:14:55.780Z] Step 7/8 : COPY . . [2021-01-27T06:14:57.178Z] ---> 61ce2b430dbb [2021-01-27T06:14:57.178Z] Step 8/8 : RUN go mod download [2021-01-27T06:14:57.178Z] ---> Running in 8eabaa9144a0 [2021-01-27T06:15:15.362Z] Removing intermediate container 8eabaa9144a0 [2021-01-27T06:15:15.362Z] ---> 9eb5beb71db8 [2021-01-27T06:15:15.362Z] Successfully built 9eb5beb71db8 [2021-01-27T06:15:15.362Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:15:15.720Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T06:15:15.720Z] . [Pipeline] withDockerContainer [2021-01-27T06:15:15.854Z] prd-centos7-docker-4c-2g-23359 does not seem to be running inside a container [2021-01-27T06:15:15.906Z] $ 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-x86_64 cat [2021-01-27T06:15:16.630Z] $ docker top 6dfc7d0e1dcd078ba8daeb31b6516cb3fccf273cc0406b4e0f6ba5140c5943f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:15:17.289Z] + go version [2021-01-27T06:15:17.289Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-27T06:15:17.317Z] $ docker stop --time=1 6dfc7d0e1dcd078ba8daeb31b6516cb3fccf273cc0406b4e0f6ba5140c5943f3 [2021-01-27T06:15:19.426Z] $ docker rm -f 6dfc7d0e1dcd078ba8daeb31b6516cb3fccf273cc0406b4e0f6ba5140c5943f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:15:20.603Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-27T06:15:20.603Z] . [Pipeline] withDockerContainer [2021-01-27T06:15:20.723Z] prd-centos7-docker-4c-2g-23359 does not seem to be running inside a container [2021-01-27T06:15:20.770Z] $ 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-x86_64 cat [2021-01-27T06:15:21.490Z] $ docker top aa5a87d256ac6fb03aa988097c56afd3096c2c060eaa923a22880ca94dc2dde7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:15:22.027Z] + make test [2021-01-27T06:15:22.027Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T06:15:30.217Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T06:15:45.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T06:15:45.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T06:15:45.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T06:15:45.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 19.4% of statements [2021-01-27T06:15:47.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.465s coverage: 97.1% of statements [2021-01-27T06:16:20.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.055s coverage: 9.4% of statements [2021-01-27T06:16:20.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.049s coverage: 21.7% of statements [2021-01-27T06:16:20.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T06:16:20.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.245s coverage: 43.2% of statements [2021-01-27T06:16:20.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T06:16:20.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.277s coverage: 68.9% of statements [2021-01-27T06:16:20.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T06:16:20.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T06:16:20.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T06:16:20.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T06:16:20.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.068s coverage: 53.8% of statements [2021-01-27T06:16:20.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T06:16:20.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T06:16:20.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.076s coverage: 26.8% of statements [2021-01-27T06:16:20.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.500s coverage: 83.5% of statements [2021-01-27T06:16:20.039Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-01-27T06:16:20.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T06:16:20.039Z] GO111MODULE=on go vet ./... [2021-01-27T06:16:26.711Z] gofmt -l . [2021-01-27T06:16:26.711Z] [ "`gofmt -l .`" = "" ] [2021-01-27T06:16:26.711Z] ./bin/test-attribution-txt.sh [2021-01-27T06:16:28.120Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T06:16:28.175Z] $ docker stop --time=1 aa5a87d256ac6fb03aa988097c56afd3096c2c060eaa923a22880ca94dc2dde7 [2021-01-27T06:16:30.280Z] $ docker rm -f aa5a87d256ac6fb03aa988097c56afd3096c2c060eaa923a22880ca94dc2dde7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T06:16:31.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T06:16:31.486Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-01-27T06:16:31.754Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23360 in /w/workspace/dgexfoundry_device-sdk-go_PR-761 [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] ws [2021-01-27T06:16:31.966Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] sh [2021-01-27T06:16:33.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T06:16:33.384Z] + ls -al . [2021-01-27T06:16:33.384Z] total 216 [2021-01-27T06:16:33.384Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 27 06:16 . [2021-01-27T06:16:33.384Z] drwxrwxr-x. 4 jenkins jenkins 28 Jan 27 06:14 .. [2021-01-27T06:16:33.384Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 27 06:14 bin [2021-01-27T06:16:33.384Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 27 06:16 coverage.out [2021-01-27T06:16:33.384Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 27 06:14 Dockerfile.build [2021-01-27T06:16:33.384Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 27 06:14 .dockerignore [2021-01-27T06:16:33.384Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 27 06:14 example [2021-01-27T06:16:33.384Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 27 06:14 .git [2021-01-27T06:16:33.384Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 27 06:14 .github [2021-01-27T06:16:33.384Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 27 06:14 .gitignore [2021-01-27T06:16:33.384Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 27 06:16 go.mod [2021-01-27T06:16:33.384Z] -rw-r--r--. 1 jenkins jenkins 14016 Jan 27 06:16 go.sum [2021-01-27T06:16:33.384Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 27 06:14 internal [2021-01-27T06:16:33.384Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 27 06:14 Jenkinsfile [2021-01-27T06:16:33.384Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 27 06:14 LICENSE [2021-01-27T06:16:33.384Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 27 06:14 Makefile [2021-01-27T06:16:33.384Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 27 06:14 openapi [2021-01-27T06:16:33.384Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 27 06:14 pkg [2021-01-27T06:16:33.385Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 27 06:14 README.md [2021-01-27T06:16:33.385Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 27 06:14 RELEASE-NOTES.txt [2021-01-27T06:16:33.385Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 27 06:14 snap [2021-01-27T06:16:33.385Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 27 06:11 VERSION [2021-01-27T06:16:33.385Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 27 06:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:16:33.729Z] + 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=a8acc02905d29a70293a042bb51aacaa11024691 --label arch=amd64 --label version=0.0.0 . [2021-01-27T06:16:33.991Z] Sending build context to Docker daemon 2.712MB [2021-01-27T06:16:33.991Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T06:16:33.991Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T06:16:33.991Z] ---> 9eb5beb71db8 [2021-01-27T06:16:33.991Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T06:16:34.568Z] ---> Running in 6ab6c0ff950d [2021-01-27T06:16:34.568Z] Removing intermediate container 6ab6c0ff950d [2021-01-27T06:16:34.568Z] ---> 2e5dddc86cbc [2021-01-27T06:16:34.568Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T06:16:34.568Z] ---> Running in faadf68136bc [2021-01-27T06:16:34.830Z] Removing intermediate container faadf68136bc [2021-01-27T06:16:34.830Z] ---> b35a42ff19b5 [2021-01-27T06:16:34.830Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:16:34.830Z] ---> Running in eaad5f8af472 [2021-01-27T06:16:35.095Z] Removing intermediate container eaad5f8af472 [2021-01-27T06:16:35.095Z] ---> 495f1b8c0c7e [2021-01-27T06:16:35.095Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T06:16:35.095Z] ---> Running in 93271237a7ff [2021-01-27T06:16:36.056Z] Removing intermediate container 93271237a7ff [2021-01-27T06:16:36.056Z] ---> 631e80dbd964 [2021-01-27T06:16:36.056Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T06:16:36.056Z] ---> Running in 9b7028af6b9c [2021-01-27T06:16:36.646Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-27T06:16:37.238Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-27T06:16:37.329Z] using credential edgex-jenkins-ssh [2021-01-27T06:16:37.406Z] Cloning the remote Git repository [2021-01-27T06:16:37.818Z] OK: 166 MiB in 39 packages [2021-01-27T06:16:38.093Z] Removing intermediate container 9b7028af6b9c [2021-01-27T06:16:38.093Z] ---> 4434836f87e4 [2021-01-27T06:16:38.093Z] Step 8/24 : COPY . . [2021-01-27T06:16:37.470Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:16:37.584Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-01-27T06:16:37.674Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:16:37.677Z] > git --version # timeout=10 [2021-01-27T06:16:37.692Z] > git --version # 'git version 2.17.1' [2021-01-27T06:16:37.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:16:37.782Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T06:16:39.050Z] ---> 3e117038f0a6 [2021-01-27T06:16:39.050Z] Step 9/24 : RUN ${MAKE} [2021-01-27T06:16:39.312Z] ---> Running in d4cb2e7a21a1 [2021-01-27T06:16:39.520Z] Merging remotes/origin/master commit 76d059c2e27a3d5d488ff0022063f09e99d334bf into PR head commit a8acc02905d29a70293a042bb51aacaa11024691 [2021-01-27T06:16:39.581Z] 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:16:38.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T06:16:38.936Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-27T06:16:38.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-27T06:16:39.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-27T06:16:39.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:16:39.038Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/761/head:refs/remotes/origin/PR-761 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-27T06:16:39.545Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T06:16:39.565Z] > git checkout -f a8acc02905d29a70293a042bb51aacaa11024691 # timeout=10 [2021-01-27T06:16:39.769Z] Merge succeeded, producing a8acc02905d29a70293a042bb51aacaa11024691 [2021-01-27T06:16:39.769Z] Checking out Revision a8acc02905d29a70293a042bb51aacaa11024691 (PR-761) [2021-01-27T06:16:39.685Z] > git remote # timeout=10 [2021-01-27T06:16:39.703Z] > git config --get remote.origin.url # timeout=10 [2021-01-27T06:16:39.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-27T06:16:39.735Z] > git merge 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-27T06:16:39.756Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-01-27T06:16:39.778Z] > git config core.sparsecheckout # timeout=10 [2021-01-27T06:16:39.788Z] > git checkout -f a8acc02905d29a70293a042bb51aacaa11024691 # timeout=10 [2021-01-27T06:16:44.024Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-01-27T06:16:44.077Z] > git --version # timeout=10 [2021-01-27T06:16:44.092Z] > git --version # 'git version 2.17.1' [2021-01-27T06:16:44.104Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T06:16:45.705Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-27T06:16:46.107Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-27T06:16:46.471Z] + true [2021-01-27T06:16:46.471Z] + sudo service docker restart [2021-01-27T06:16:47.850Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-27T06:16:49.241Z] provisioning config files... [2021-01-27T06:16:49.282Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2573252212114605934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:16:49.803Z] ---> docker-login.sh [2021-01-27T06:16:49.804Z] nexus3.edgexfoundry.org:10001 [2021-01-27T06:16:50.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:16:50.409Z] Removing intermediate container d4cb2e7a21a1 [2021-01-27T06:16:50.409Z] ---> b0a90d6ab02d [2021-01-27T06:16:50.409Z] Step 10/24 : FROM scratch [2021-01-27T06:16:50.409Z] ---> [2021-01-27T06:16:50.409Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:16:50.409Z] ---> Running in 23cbc6749f93 [2021-01-27T06:16:50.673Z] Removing intermediate container 23cbc6749f93 [2021-01-27T06:16:50.673Z] ---> 823d35331704 [2021-01-27T06:16:50.673Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T06:16:50.673Z] ---> Running in ea9e424824ce [2021-01-27T06:16:50.673Z] Removing intermediate container ea9e424824ce [2021-01-27T06:16:50.673Z] ---> e62e7fc80484 [2021-01-27T06:16:50.673Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T06:16:50.935Z] ---> Running in af2e98aa1e74 [2021-01-27T06:16:50.935Z] Removing intermediate container af2e98aa1e74 [2021-01-27T06:16:50.935Z] ---> d2483eb511b4 [2021-01-27T06:16:50.935Z] Step 14/24 : WORKDIR / [2021-01-27T06:16:50.935Z] ---> Running in 05f0c966db09 [2021-01-27T06:16:51.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:16:51.006Z] Configure a credential helper to remove this warning. See [2021-01-27T06:16:51.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:16:51.006Z] [2021-01-27T06:16:51.006Z] Login Succeeded [2021-01-27T06:16:51.006Z] nexus3.edgexfoundry.org:10002 [2021-01-27T06:16:51.198Z] Removing intermediate container 05f0c966db09 [2021-01-27T06:16:51.198Z] ---> 992f4fb1e6d2 [2021-01-27T06:16:51.198Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T06:16:51.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:16:51.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:16:51.563Z] Configure a credential helper to remove this warning. See [2021-01-27T06:16:51.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:16:51.563Z] [2021-01-27T06:16:51.563Z] Login Succeeded [2021-01-27T06:16:51.563Z] nexus3.edgexfoundry.org:10003 [2021-01-27T06:16:51.774Z] ---> aacabd322787 [2021-01-27T06:16:51.774Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T06:16:51.774Z] ---> 66670eb39e67 [2021-01-27T06:16:51.774Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T06:16:51.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:16:52.036Z] ---> 3f8019c70756 [2021-01-27T06:16:52.036Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T06:16:52.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:16:52.119Z] Configure a credential helper to remove this warning. See [2021-01-27T06:16:52.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:16:52.119Z] [2021-01-27T06:16:52.119Z] Login Succeeded [2021-01-27T06:16:52.119Z] nexus3.edgexfoundry.org:10004 [2021-01-27T06:16:52.299Z] ---> e5db43892cbf [2021-01-27T06:16:52.299Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T06:16:52.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:16:52.563Z] ---> 3243a79b3ca3 [2021-01-27T06:16:52.563Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T06:16:52.563Z] ---> Running in ada210021716 [2021-01-27T06:16:52.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:16:52.667Z] Configure a credential helper to remove this warning. See [2021-01-27T06:16:52.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:16:52.668Z] [2021-01-27T06:16:52.668Z] Login Succeeded [2021-01-27T06:16:52.668Z] docker.io [2021-01-27T06:16:52.827Z] Removing intermediate container ada210021716 [2021-01-27T06:16:52.827Z] ---> 2e9e2015ea93 [2021-01-27T06:16:52.827Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T06:16:52.827Z] ---> Running in 94dc08a0f468 [2021-01-27T06:16:52.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-27T06:16:53.089Z] Removing intermediate container 94dc08a0f468 [2021-01-27T06:16:53.089Z] ---> dc74e9932fde [2021-01-27T06:16:53.089Z] Step 22/24 : LABEL arch=amd64 [2021-01-27T06:16:53.089Z] ---> Running in fd756ce9d04f [2021-01-27T06:16:53.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-27T06:16:53.216Z] Configure a credential helper to remove this warning. See [2021-01-27T06:16:53.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-27T06:16:53.216Z] [2021-01-27T06:16:53.216Z] Login Succeeded [2021-01-27T06:16:53.216Z] ---> docker-login.sh ends [Pipeline] } [2021-01-27T06:16:53.260Z] Deleting 1 temporary files [Pipeline] // wrap [2021-01-27T06:16:53.362Z] Removing intermediate container fd756ce9d04f [2021-01-27T06:16:53.362Z] ---> 9476d1b9d650 [2021-01-27T06:16:53.362Z] Step 23/24 : LABEL git_sha=a8acc02905d29a70293a042bb51aacaa11024691 [2021-01-27T06:16:53.362Z] ---> Running in 7bb003e9f8b7 [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-01-27T06:16:53.625Z] Removing intermediate container 7bb003e9f8b7 [2021-01-27T06:16:53.625Z] ---> c3bb313269ae [2021-01-27T06:16:53.625Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T06:16:53.625Z] ---> Running in 5ba6509d313b [Pipeline] echo [2021-01-27T06:16:53.834Z] ========================================================= [2021-01-27T06:16:53.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-27T06:16:53.834Z] ========================================================= [2021-01-27T06:16:53.888Z] Removing intermediate container 5ba6509d313b [2021-01-27T06:16:53.888Z] ---> 63fcca5d586c [2021-01-27T06:16:53.888Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T06:16:53.888Z] Successfully built 63fcca5d586c [2021-01-27T06:16:53.888Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] isUnix [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-01-27T06:16:54.365Z] + 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 . [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [2021-01-27T06:16:54.966Z] Sending build context to Docker daemon 2.566MB [2021-01-27T06:16:54.966Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T06:16:54.966Z] Step 2/8 : FROM ${BASE} [2021-01-27T06:16:54.966Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-27T06:16:54.966Z] 5f621e34cdf4: Pulling fs layer [2021-01-27T06:16:54.966Z] a4357932f1b6: Pulling fs layer [2021-01-27T06:16:54.966Z] 18c013af1878: Pulling fs layer [2021-01-27T06:16:54.966Z] 00ac8860ef70: Pulling fs layer [2021-01-27T06:16:54.966Z] 63d7cb157983: Pulling fs layer [2021-01-27T06:16:54.966Z] b116817d02f9: Pulling fs layer [2021-01-27T06:16:54.966Z] 745a02a5169b: Pulling fs layer [2021-01-27T06:16:54.966Z] 63d7cb157983: Waiting [2021-01-27T06:16:54.966Z] 00ac8860ef70: Waiting [2021-01-27T06:16:54.966Z] b116817d02f9: Waiting [2021-01-27T06:16:54.966Z] 745a02a5169b: Waiting [2021-01-27T06:16:54.966Z] 18c013af1878: Verifying Checksum [2021-01-27T06:16:54.966Z] 18c013af1878: Download complete [2021-01-27T06:16:54.966Z] a4357932f1b6: Download complete [2021-01-27T06:16:54.966Z] 63d7cb157983: Verifying Checksum [2021-01-27T06:16:54.966Z] 63d7cb157983: Download complete [2021-01-27T06:16:54.966Z] b116817d02f9: Verifying Checksum [2021-01-27T06:16:54.966Z] b116817d02f9: Download complete [2021-01-27T06:16:54.966Z] 5f621e34cdf4: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2021-01-27T06:16:55.574Z] 5f621e34cdf4: Pull complete [Pipeline] } [2021-01-27T06:16:56.191Z] a4357932f1b6: Pull complete [2021-01-27T06:16:56.468Z] 18c013af1878: Pull complete [2021-01-27T06:16:57.904Z] 745a02a5169b: Verifying Checksum [2021-01-27T06:16:57.904Z] 745a02a5169b: Download complete [2021-01-27T06:16:58.880Z] 00ac8860ef70: Verifying Checksum [2021-01-27T06:16:58.880Z] 00ac8860ef70: Download complete [2021-01-27T06:17:09.042Z] 00ac8860ef70: Pull complete [2021-01-27T06:17:09.316Z] 63d7cb157983: Pull complete [2021-01-27T06:17:09.913Z] b116817d02f9: Pull complete [2021-01-27T06:17:13.313Z] 745a02a5169b: Pull complete [2021-01-27T06:17:13.586Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-27T06:17:13.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-27T06:17:13.586Z] ---> b7e6874047d6 [2021-01-27T06:17:13.586Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:17:16.252Z] ---> Running in 84d27b00b978 [2021-01-27T06:17:16.524Z] Removing intermediate container 84d27b00b978 [2021-01-27T06:17:16.524Z] ---> 1d4629a08cf8 [2021-01-27T06:17:16.524Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T06:17:16.799Z] ---> Running in 3af3b3b055ce [2021-01-27T06:17:18.813Z] Removing intermediate container 3af3b3b055ce [2021-01-27T06:17:18.813Z] ---> f410b0db6362 [2021-01-27T06:17:18.813Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-27T06:17:19.096Z] ---> Running in 7272e0c7a3f7 [2021-01-27T06:17:20.076Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T06:17:21.061Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T06:17:21.333Z] OK: 142 MiB in 39 packages [2021-01-27T06:17:22.766Z] Removing intermediate container 7272e0c7a3f7 [2021-01-27T06:17:22.766Z] ---> 450892ab573e [2021-01-27T06:17:22.766Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-27T06:17:22.766Z] ---> Running in 2145a0f6e5b8 [2021-01-27T06:17:23.361Z] Removing intermediate container 2145a0f6e5b8 [2021-01-27T06:17:23.361Z] ---> 89f51a2c528e [2021-01-27T06:17:23.361Z] Step 7/8 : COPY . . [2021-01-27T06:17:24.797Z] ---> 3f6d476c7de7 [2021-01-27T06:17:24.797Z] Step 8/8 : RUN go mod download [2021-01-27T06:17:24.797Z] ---> Running in 41a5f85eb596 [2021-01-27T06:17:46.982Z] Removing intermediate container 41a5f85eb596 [2021-01-27T06:17:46.982Z] ---> c7f6d5b43030 [2021-01-27T06:17:46.982Z] Successfully built c7f6d5b43030 [2021-01-27T06:17:46.982Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:17:47.381Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T06:17:47.381Z] . [Pipeline] withDockerContainer [2021-01-27T06:17:47.685Z] prd-ubuntu18.04-docker-arm64-4c-16g-23360 does not seem to be running inside a container [2021-01-27T06:17:47.774Z] $ 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-arm64 cat [2021-01-27T06:17:49.276Z] $ docker top 0469428f8cfddc5e5366a4bdc0d90f066255b462a654ecdea33f6b3ac63d4bec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:17:50.359Z] + go version [2021-01-27T06:17:50.359Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-27T06:17:50.410Z] $ docker stop --time=1 0469428f8cfddc5e5366a4bdc0d90f066255b462a654ecdea33f6b3ac63d4bec [2021-01-27T06:17:52.310Z] $ docker rm -f 0469428f8cfddc5e5366a4bdc0d90f066255b462a654ecdea33f6b3ac63d4bec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:17:53.645Z] + docker inspect -f . ci-base-image-arm64 [2021-01-27T06:17:53.645Z] . [Pipeline] withDockerContainer [2021-01-27T06:17:55.419Z] prd-ubuntu18.04-docker-arm64-4c-16g-23360 does not seem to be running inside a container [2021-01-27T06:17:55.508Z] $ 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-arm64 cat [2021-01-27T06:17:57.038Z] $ docker top 8719806e1ea6f3a77219ab87e7a8633c6ecf4c6e7fa12825c20e63f7c3cbe8ce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:17:58.147Z] + make test [2021-01-27T06:17:58.147Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-27T06:18:20.379Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-27T06:18:59.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-27T06:18:59.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-27T06:18:59.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-27T06:18:59.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.133s coverage: 19.4% of statements [2021-01-27T06:19:04.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.199s coverage: 97.1% of statements [2021-01-27T06:19:32.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.136s coverage: 9.4% of statements [2021-01-27T06:19:32.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 21.7% of statements [2021-01-27T06:19:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-27T06:19:32.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.826s coverage: 43.2% of statements [2021-01-27T06:19:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-27T06:19:32.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.850s coverage: 68.9% of statements [2021-01-27T06:19:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-27T06:19:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-27T06:19:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-27T06:19:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-27T06:19:32.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.182s coverage: 53.8% of statements [2021-01-27T06:19:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-27T06:19:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-27T06:19:32.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.208s coverage: 26.8% of statements [2021-01-27T06:19:32.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.921s coverage: 83.5% of statements [2021-01-27T06:19:32.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements [2021-01-27T06:19:32.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-27T06:19:32.099Z] GO111MODULE=on go vet ./... [2021-01-27T06:20:04.526Z] gofmt -l . [2021-01-27T06:20:04.801Z] [ "`gofmt -l .`" = "" ] [2021-01-27T06:20:05.421Z] ./bin/test-attribution-txt.sh [2021-01-27T06:20:06.038Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-27T06:20:06.716Z] $ docker stop --time=1 8719806e1ea6f3a77219ab87e7a8633c6ecf4c6e7fa12825c20e63f7c3cbe8ce [2021-01-27T06:20:08.989Z] $ docker rm -f 8719806e1ea6f3a77219ab87e7a8633c6ecf4c6e7fa12825c20e63f7c3cbe8ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-27T06:20:10.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-27T06:20:10.160Z] Warning: overwriting stash ‘coverage-report’ [2021-01-27T06:20:11.116Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-27T06:20:11.967Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-27T06:20:12.328Z] + ls -al . [2021-01-27T06:20:12.328Z] total 252 [2021-01-27T06:20:12.328Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 27 06:20 . [2021-01-27T06:20:12.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 06:16 .. [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 27 06:16 .dockerignore [2021-01-27T06:20:12.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 27 06:16 .git [2021-01-27T06:20:12.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 06:16 .github [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 27 06:16 .gitignore [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 27 06:16 Dockerfile.build [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 27 06:16 Jenkinsfile [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 27 06:16 LICENSE [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 27 06:16 Makefile [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 27 06:16 README.md [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 27 06:16 RELEASE-NOTES.txt [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 27 06:11 VERSION [2021-01-27T06:20:12.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 27 06:16 bin [2021-01-27T06:20:12.328Z] -rw-r--r-- 1 jenkins jenkins 136841 Jan 27 06:19 coverage.out [2021-01-27T06:20:12.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 06:16 example [2021-01-27T06:20:12.328Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 27 06:20 go.mod [2021-01-27T06:20:12.328Z] -rw-r--r-- 1 jenkins jenkins 14016 Jan 27 06:20 go.sum [2021-01-27T06:20:12.328Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 27 06:16 internal [2021-01-27T06:20:12.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 06:16 openapi [2021-01-27T06:20:12.328Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 27 06:16 pkg [2021-01-27T06:20:12.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 27 06:16 snap [2021-01-27T06:20:12.328Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 27 06:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:20:12.718Z] + 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=a8acc02905d29a70293a042bb51aacaa11024691 --label arch=arm64 --label version=0.0.0 . [2021-01-27T06:20:13.000Z] Sending build context to Docker daemon 2.704MB [2021-01-27T06:20:13.274Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-27T06:20:13.274Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-27T06:20:13.274Z] ---> c7f6d5b43030 [2021-01-27T06:20:13.274Z] Step 3/24 : ARG MAKE='make build' [2021-01-27T06:20:13.553Z] ---> Running in 8156670f629f [2021-01-27T06:20:13.829Z] Removing intermediate container 8156670f629f [2021-01-27T06:20:13.829Z] ---> 2815bd6e519b [2021-01-27T06:20:13.829Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-27T06:20:14.124Z] ---> Running in f3bfecbb5f1d [2021-01-27T06:20:14.409Z] Removing intermediate container f3bfecbb5f1d [2021-01-27T06:20:14.409Z] ---> a32e87b8f7ef [2021-01-27T06:20:14.409Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:20:14.689Z] ---> Running in 7efb1b6066bb [2021-01-27T06:20:15.305Z] Removing intermediate container 7efb1b6066bb [2021-01-27T06:20:15.305Z] ---> 19044e866901 [2021-01-27T06:20:15.305Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-27T06:20:15.305Z] ---> Running in bbfab9fef967 [2021-01-27T06:20:17.277Z] Removing intermediate container bbfab9fef967 [2021-01-27T06:20:17.277Z] ---> 6fc1182dbc05 [2021-01-27T06:20:17.277Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-27T06:20:17.549Z] ---> Running in ac9adc8e791d [2021-01-27T06:20:18.526Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-27T06:20:19.509Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-27T06:20:20.116Z] OK: 142 MiB in 39 packages [2021-01-27T06:20:21.097Z] Removing intermediate container ac9adc8e791d [2021-01-27T06:20:21.097Z] ---> e3d77c5b100f [2021-01-27T06:20:21.097Z] Step 8/24 : COPY . . [2021-01-27T06:20:22.529Z] ---> 44315eee92bd [2021-01-27T06:20:22.529Z] Step 9/24 : RUN ${MAKE} [2021-01-27T06:20:22.529Z] ---> Running in fc174eb35673 [2021-01-27T06:20:23.509Z] 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:20:50.348Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-27T06:20:50.621Z] Removing intermediate container fc174eb35673 [2021-01-27T06:20:50.621Z] ---> 66fe58095ac6 [2021-01-27T06:20:50.621Z] Step 10/24 : FROM scratch [2021-01-27T06:20:50.621Z] ---> [2021-01-27T06:20:50.621Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-27T06:20:50.621Z] ---> Running in 5e28d4cda9f9 [2021-01-27T06:20:51.216Z] Removing intermediate container 5e28d4cda9f9 [2021-01-27T06:20:51.216Z] ---> df7f1d053f77 [2021-01-27T06:20:51.216Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-27T06:20:51.216Z] ---> Running in 34d0e40b4427 [2021-01-27T06:20:51.813Z] Removing intermediate container 34d0e40b4427 [2021-01-27T06:20:51.814Z] ---> 7d6c6754f428 [2021-01-27T06:20:51.814Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-27T06:20:51.814Z] ---> Running in 1659f7d6fde5 [2021-01-27T06:20:52.412Z] Removing intermediate container 1659f7d6fde5 [2021-01-27T06:20:52.412Z] ---> ea8dabac11d6 [2021-01-27T06:20:52.412Z] Step 14/24 : WORKDIR / [2021-01-27T06:20:52.412Z] ---> Running in 3d885d5f64d3 [2021-01-27T06:20:53.026Z] Removing intermediate container 3d885d5f64d3 [2021-01-27T06:20:53.026Z] ---> 6b285ba6b911 [2021-01-27T06:20:53.026Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-27T06:20:54.006Z] ---> a1c7e034b061 [2021-01-27T06:20:54.006Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-27T06:20:54.606Z] ---> bc5d7a248b97 [2021-01-27T06:20:54.606Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-27T06:20:55.587Z] ---> 15d99a25fbfb [2021-01-27T06:20:55.587Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-27T06:20:56.182Z] ---> 9d9e8c287f95 [2021-01-27T06:20:56.182Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-27T06:20:56.777Z] ---> 47cb132b2af4 [2021-01-27T06:20:56.777Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-27T06:20:57.050Z] ---> Running in a7364481e2c3 [2021-01-27T06:20:57.324Z] Removing intermediate container a7364481e2c3 [2021-01-27T06:20:57.324Z] ---> 1f9bf63deb71 [2021-01-27T06:20:57.603Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-27T06:20:57.603Z] ---> Running in e4162d98a740 [2021-01-27T06:20:58.199Z] Removing intermediate container e4162d98a740 [2021-01-27T06:20:58.199Z] ---> 58694277217d [2021-01-27T06:20:58.199Z] Step 22/24 : LABEL arch=arm64 [2021-01-27T06:20:58.199Z] ---> Running in c18cb9b9de4b [2021-01-27T06:20:58.483Z] Removing intermediate container c18cb9b9de4b [2021-01-27T06:20:58.483Z] ---> 0f3770764d37 [2021-01-27T06:20:58.483Z] Step 23/24 : LABEL git_sha=a8acc02905d29a70293a042bb51aacaa11024691 [2021-01-27T06:20:58.756Z] ---> Running in 4734143d0880 [2021-01-27T06:20:59.359Z] Removing intermediate container 4734143d0880 [2021-01-27T06:20:59.359Z] ---> c390fc9ca464 [2021-01-27T06:20:59.359Z] Step 24/24 : LABEL version=0.0.0 [2021-01-27T06:20:59.359Z] ---> Running in 31851616a80b [2021-01-27T06:20:59.966Z] Removing intermediate container 31851616a80b [2021-01-27T06:20:59.966Z] ---> 3324a17e6dba [2021-01-27T06:20:59.966Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-27T06:20:59.966Z] Successfully built 3324a17e6dba [2021-01-27T06:20:59.966Z] 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 [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:21:02.179Z] provisioning config files... [2021-01-27T06:21:02.189Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config3291089535581539543tmp [Pipeline] { [Pipeline] sh [2021-01-27T06:21:02.637Z] + set +x [2021-01-27T06:21:02.638Z] + curl -s https://codecov.io/bash [2021-01-27T06:21:02.638Z] + bash -s -- [2021-01-27T06:21:02.903Z] [2021-01-27T06:21:02.903Z] _____ _ [2021-01-27T06:21:02.903Z] / ____| | | [2021-01-27T06:21:02.903Z] | | ___ __| | ___ ___ _____ __ [2021-01-27T06:21:02.903Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-27T06:21:02.903Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-27T06:21:02.903Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-27T06:21:02.903Z] Bash-20210115-cec3c92 [2021-01-27T06:21:02.903Z] [2021-01-27T06:21:02.903Z] [2021-01-27T06:21:02.903Z] ==> git version 2.24.3 found [2021-01-27T06:21:02.903Z] ==> 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:21:02.903Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-27T06:21:02.903Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-27T06:21:02.903Z] ==> Jenkins CI detected. [2021-01-27T06:21:02.903Z] project root: . [2021-01-27T06:21:02.903Z] --> token set from env [2021-01-27T06:21:02.903Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-27T06:21:02.903Z] ==> Running gcov in . (disable via -X gcov) [2021-01-27T06:21:02.903Z] ==> Python coveragepy not found [2021-01-27T06:21:02.903Z] ==> Searching for coverage reports in: [2021-01-27T06:21:02.903Z] + . [2021-01-27T06:21:02.903Z] -> Found 1 reports [2021-01-27T06:21:02.903Z] ==> Detecting git/mercurial file structure [2021-01-27T06:21:02.903Z] ==> Reading reports [2021-01-27T06:21:02.903Z] + ./coverage.out bytes=136841 [2021-01-27T06:21:02.903Z] ==> Appending adjustments [2021-01-27T06:21:02.903Z] https://docs.codecov.io/docs/fixing-reports [2021-01-27T06:21:03.479Z] + Found adjustments [2021-01-27T06:21:03.479Z] ==> Gzipping contents [2021-01-27T06:21:03.479Z] 24K /tmp/codecov.JzzLRO.gz [2021-01-27T06:21:03.479Z] ==> Uploading reports [2021-01-27T06:21:03.479Z] url: https://codecov.io [2021-01-27T06:21:03.479Z] query: branch=PR-761&commit=a8acc02905d29a70293a042bb51aacaa11024691&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-761%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=761&job=&cmd_args= [2021-01-27T06:21:03.479Z] -> Pinging Codecov [2021-01-27T06:21:03.479Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-761&commit=a8acc02905d29a70293a042bb51aacaa11024691&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-761%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=761&job=&cmd_args= [2021-01-27T06:21:04.056Z] -> Uploading to [2021-01-27T06:21:04.056Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-27/7E55EF52A471D76F132DFD9A03CDDE97/a8acc02905d29a70293a042bb51aacaa11024691/b7cc637e-14ad-482c-b0fc-cedbb06d0808.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210127%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210127T062103Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3c52285ba081865908489d12154c0ccd61a0166d0f4c96b2884be43537ed65f [2021-01-27T06:21:04.056Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-27T06:21:04.056Z] Dload Upload Total Spent Left Speed [2021-01-27T06:21:04.634Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21542 0 0 100 21542 0 48145 --:--:-- --:--:-- --:--:-- 48192 [2021-01-27T06:21:04.634Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a8acc02905d29a70293a042bb51aacaa11024691 [Pipeline] } [2021-01-27T06:21:04.660Z] 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:21:08.254Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:21:08.908Z] ---> package-listing.sh [2021-01-27T06:21:08.908Z] ++ facter osfamily [2021-01-27T06:21:08.908Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-27T06:21:08.908Z] + OS_FAMILY=redhat [2021-01-27T06:21:08.908Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-761 [2021-01-27T06:21:08.908Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-27T06:21:08.908Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-27T06:21:08.908Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-27T06:21:08.908Z] + PACKAGES=/tmp/packages_start.txt [2021-01-27T06:21:08.908Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-761 ']' [2021-01-27T06:21:08.908Z] + PACKAGES=/tmp/packages_end.txt [2021-01-27T06:21:08.908Z] + case "${OS_FAMILY}" in [2021-01-27T06:21:08.908Z] + rpm -qa [2021-01-27T06:21:08.908Z] + sort [2021-01-27T06:21:14.267Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-27T06:21:14.267Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-27T06:21:14.267Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-27T06:21:14.267Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-761 ']' [2021-01-27T06:21:14.267Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-761/archives/ [2021-01-27T06:21:14.267Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-761/archives/ [Pipeline] echo [2021-01-27T06:21:14.301Z] 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-761/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:21:14.619Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:21:14.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T06:21:14.967Z] [2021-01-27T06:21:14.967Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-27T06:21:15.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T06:21:15.436Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-27T06:21:15.436Z] df20fa9351a1: Pulling fs layer [2021-01-27T06:21:15.436Z] 36b3adc4ff6f: Pulling fs layer [2021-01-27T06:21:15.436Z] 8ad3a11d3b57: Pulling fs layer [2021-01-27T06:21:15.436Z] 46f8f816bc3b: Pulling fs layer [2021-01-27T06:21:15.436Z] 93b61091891f: Pulling fs layer [2021-01-27T06:21:15.436Z] 93b9cdb0e59b: Pulling fs layer [2021-01-27T06:21:15.436Z] 5e14af77c1be: Pulling fs layer [2021-01-27T06:21:15.436Z] 01666e4c0597: Pulling fs layer [2021-01-27T06:21:15.436Z] aa168da1d23b: Pulling fs layer [2021-01-27T06:21:15.436Z] 93b9cdb0e59b: Waiting [2021-01-27T06:21:15.436Z] 5e14af77c1be: Waiting [2021-01-27T06:21:15.436Z] 46f8f816bc3b: Waiting [2021-01-27T06:21:15.436Z] 93b61091891f: Waiting [2021-01-27T06:21:15.436Z] 01666e4c0597: Waiting [2021-01-27T06:21:15.436Z] aa168da1d23b: Waiting [2021-01-27T06:21:15.436Z] 36b3adc4ff6f: Verifying Checksum [2021-01-27T06:21:15.436Z] 36b3adc4ff6f: Download complete [2021-01-27T06:21:15.436Z] 46f8f816bc3b: Verifying Checksum [2021-01-27T06:21:15.436Z] 46f8f816bc3b: Download complete [2021-01-27T06:21:15.436Z] df20fa9351a1: Verifying Checksum [2021-01-27T06:21:15.436Z] df20fa9351a1: Download complete [2021-01-27T06:21:15.436Z] 93b9cdb0e59b: Verifying Checksum [2021-01-27T06:21:15.436Z] 93b9cdb0e59b: Download complete [2021-01-27T06:21:15.704Z] 5e14af77c1be: Download complete [2021-01-27T06:21:15.704Z] 01666e4c0597: Verifying Checksum [2021-01-27T06:21:15.704Z] 01666e4c0597: Download complete [2021-01-27T06:21:15.704Z] 93b61091891f: Verifying Checksum [2021-01-27T06:21:15.704Z] 93b61091891f: Download complete [2021-01-27T06:21:15.973Z] df20fa9351a1: Pull complete [2021-01-27T06:21:15.973Z] 8ad3a11d3b57: Verifying Checksum [2021-01-27T06:21:15.973Z] 8ad3a11d3b57: Download complete [2021-01-27T06:21:15.973Z] 36b3adc4ff6f: Pull complete [2021-01-27T06:21:16.950Z] 8ad3a11d3b57: Pull complete [2021-01-27T06:21:17.524Z] aa168da1d23b: Verifying Checksum [2021-01-27T06:21:17.524Z] aa168da1d23b: Download complete [2021-01-27T06:21:17.524Z] 46f8f816bc3b: Pull complete [2021-01-27T06:21:17.787Z] 93b61091891f: Pull complete [2021-01-27T06:21:18.057Z] 93b9cdb0e59b: Pull complete [2021-01-27T06:21:18.057Z] 5e14af77c1be: Pull complete [2021-01-27T06:21:18.332Z] 01666e4c0597: Pull complete [2021-01-27T06:21:26.563Z] aa168da1d23b: Pull complete [2021-01-27T06:21:26.563Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-27T06:21:26.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-27T06:21:26.563Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-27T06:21:26.716Z] prd-centos7-docker-4c-2g-23357 does not seem to be running inside a container [2021-01-27T06:21:26.762Z] $ 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-761/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-761 -v /w/workspace/dgexfoundry_device-sdk-go_PR-761:/w/workspace/dgexfoundry_device-sdk-go_PR-761:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-761@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:21:29.661Z] $ docker top dbb2f17aed5d9fa524c10c7e7da6e73e5bb576bb989211e387b9703a821f1555 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-27T06:21:30.205Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-27T06:21:30.521Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-27T06:21:30.834Z] + ls /var/log/sa-host [2021-01-27T06:21:30.834Z] + sadf -c /var/log/sa-host/sa23 [2021-01-27T06:21:30.834Z] file_magic: OK [2021-01-27T06:21:30.834Z] HZ: Using current value: 100 [2021-01-27T06:21:30.834Z] file_header: OK [2021-01-27T06:21:30.834Z] 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:21:30.834Z] Statistics: [2021-01-27T06:21:30.834Z] Hnuu...uuuununununu... [2021-01-27T06:21:30.834Z] File successfully converted to sysstat format version 12.2.1 [2021-01-27T06:21:30.834Z] + sadf -c /var/log/sa-host/sa27 [2021-01-27T06:21:30.834Z] file_magic: OK [2021-01-27T06:21:30.834Z] HZ: Using current value: 100 [2021-01-27T06:21:30.834Z] file_header: OK [2021-01-27T06:21:30.834Z] 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:21:30.834Z] Statistics: [2021-01-27T06:21:30.834Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-27T06:21:30.834Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-27T06:21:31.098Z] provisioning config files... [2021-01-27T06:21:31.112Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-761@tmp/config1093518476936257725tmp [Pipeline] { [Pipeline] echo [2021-01-27T06:21:31.239Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:21:31.565Z] ---> create-netrc.sh [Pipeline] } [2021-01-27T06:21:31.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-27T06:21:31.729Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:21:32.066Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-27T06:21:32.094Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:21:32.421Z] ---> sudo-logs.sh [2021-01-27T06:21:32.421Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-27T06:21:32.450Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:21:32.776Z] ---> job-cost.sh [2021-01-27T06:21:32.776Z] lf-activate-venv: SKIPPING [2021-01-27T06:21:32.776Z] INFO: No Stack... [2021-01-27T06:21:33.720Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-27T06:21:34.296Z] INFO: Archiving Costs [Pipeline] echo [2021-01-27T06:21:34.325Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-27T06:21:34.668Z] ---> logs-deploy.sh [2021-01-27T06:21:34.668Z] lf-activate-venv: SKIPPING [2021-01-27T06:21:34.668Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-761/1 [2021-01-27T06:21:34.668Z] INFO: archiving workspace using pattern(s): [2021-01-27T06:21:36.585Z] Archives upload complete. [2021-01-27T06:21:36.585Z] INFO: archiving logs to Nexus