Pull request #770 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b4f7d869f5f02dcd5930e14e7b459b8b1477f028+3aea893206dfece0cb943228d650ae216607898f (966b570a1b8260018f04be0ce506e9dd40c455b4) 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-770/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-770/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-24513 in /w/workspace/dgexfoundry_device-sdk-go_PR-770 [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-770 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b4f7d869f5f02dcd5930e14e7b459b8b1477f028 > 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/770/head:refs/remotes/origin/PR-770 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 Merge succeeded, producing b4f7d869f5f02dcd5930e14e7b459b8b1477f028 Checking out Revision b4f7d869f5f02dcd5930e14e7b459b8b1477f028 (PR-770) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # 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-02-02T05:59:46.585Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-02T05:59:46.946Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-02T05:59:47.196Z] ========================================================= [2021-02-02T05:59:47.196Z] EdgeX Global Pipelines Version Info [2021-02-02T05:59:47.196Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:59:49.389Z] ------------------- [2021-02-02T05:59:49.389Z] stable info: [2021-02-02T05:59:49.389Z] ------------------- [2021-02-02T05:59:49.389Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T05:59:49.389Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T05:59:49.389Z] Message: update stable to v1.0.179 [2021-02-02T05:59:50.378Z] ------------------- [2021-02-02T05:59:50.378Z] experimental info: [2021-02-02T05:59:50.378Z] ------------------- [2021-02-02T05:59:50.378Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-02T05:59:50.378Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-02T05:59:50.378Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-02T05:59:50.819Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-02T05:59:50.937Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-02T05:59:51.058Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-02T05:59:51.196Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-02T05:59:51.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-02T05:59:51.453Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-02T05:59:51.602Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-02T05:59:51.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-02T05:59:51.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-02T05:59:52.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-02T05:59:52.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-02T05:59:52.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-02T05:59:52.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-02T05:59:52.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-02T05:59:52.643Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-02T05:59:52.767Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T05:59:52.889Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T05:59:53.015Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-02T05:59:53.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-02T05:59:53.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-02T05:59:53.385Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-02T05:59:53.504Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-02T05:59:53.625Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-02T05:59:53.749Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-02T05:59:53.864Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-02T05:59:53.981Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-02T05:59:54.093Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-02T05:59:54.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-770 [Pipeline] echo [2021-02-02T05:59:54.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-770 [Pipeline] echo [2021-02-02T05:59:54.520Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-770 [Pipeline] echo [2021-02-02T05:59:54.636Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [Pipeline] echo [2021-02-02T05:59:54.757Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4f7d86 [Pipeline] echo [2021-02-02T05:59:54.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T05:59:55.132Z] provisioning config files... [2021-02-02T05:59:55.220Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/config4940314803364274128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T05:59:55.701Z] ---> docker-login.sh [2021-02-02T05:59:55.701Z] nexus3.edgexfoundry.org:10001 [2021-02-02T05:59:56.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:59:56.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:59:56.836Z] Configure a credential helper to remove this warning. See [2021-02-02T05:59:56.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:59:56.836Z] [2021-02-02T05:59:56.836Z] Login Succeeded [2021-02-02T05:59:56.836Z] nexus3.edgexfoundry.org:10002 [2021-02-02T05:59:57.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:59:57.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:59:57.376Z] Configure a credential helper to remove this warning. See [2021-02-02T05:59:57.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:59:57.376Z] [2021-02-02T05:59:57.376Z] Login Succeeded [2021-02-02T05:59:57.376Z] nexus3.edgexfoundry.org:10003 [2021-02-02T05:59:57.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:59:57.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:59:57.663Z] Configure a credential helper to remove this warning. See [2021-02-02T05:59:57.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:59:57.663Z] [2021-02-02T05:59:57.663Z] Login Succeeded [2021-02-02T05:59:57.663Z] nexus3.edgexfoundry.org:10004 [2021-02-02T05:59:57.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:59:58.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:59:58.207Z] Configure a credential helper to remove this warning. See [2021-02-02T05:59:58.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:59:58.207Z] [2021-02-02T05:59:58.207Z] Login Succeeded [2021-02-02T05:59:58.207Z] docker.io [2021-02-02T05:59:58.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T05:59:58.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T05:59:58.505Z] Configure a credential helper to remove this warning. See [2021-02-02T05:59:58.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T05:59:58.505Z] [2021-02-02T05:59:58.505Z] Login Succeeded [2021-02-02T05:59:58.505Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T05:59:58.539Z] 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-02-02T05:59:59.661Z] + git log --format=format:%s -1 b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [Pipeline] echo [2021-02-02T05:59:59.780Z] GIT_COMMIT: b4f7d869f5f02dcd5930e14e7b459b8b1477f028, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-02-02T05:59:59.851Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:00:01.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T06:00:01.195Z] [2021-02-02T06:00:01.195Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:00:01.627Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T06:00:01.941Z] latest: Pulling from edgex-devops/git-semver [2021-02-02T06:00:01.941Z] 31603596830f: Pulling fs layer [2021-02-02T06:00:01.941Z] 2a8b12db71e7: Pulling fs layer [2021-02-02T06:00:01.941Z] 6ca5941a6612: Pulling fs layer [2021-02-02T06:00:01.941Z] ecc8261a40a4: Pulling fs layer [2021-02-02T06:00:01.941Z] ecc8261a40a4: Waiting [2021-02-02T06:00:01.941Z] 2a8b12db71e7: Download complete [2021-02-02T06:00:01.941Z] 31603596830f: Verifying Checksum [2021-02-02T06:00:01.941Z] 31603596830f: Download complete [2021-02-02T06:00:02.560Z] 6ca5941a6612: Verifying Checksum [2021-02-02T06:00:02.560Z] 6ca5941a6612: Download complete [2021-02-02T06:00:02.560Z] ecc8261a40a4: Verifying Checksum [2021-02-02T06:00:02.560Z] ecc8261a40a4: Download complete [2021-02-02T06:00:02.560Z] 31603596830f: Pull complete [2021-02-02T06:00:02.839Z] 2a8b12db71e7: Pull complete [2021-02-02T06:00:04.303Z] 6ca5941a6612: Pull complete [2021-02-02T06:00:04.304Z] ecc8261a40a4: Pull complete [2021-02-02T06:00:04.304Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-02T06:00:04.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-02T06:00:04.580Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-02T06:00:04.735Z] prd-centos7-docker-4c-2g-24513 does not seem to be running inside a container [2021-02-02T06:00:04.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-770 -v /w/workspace/dgexfoundry_device-sdk-go_PR-770:/w/workspace/dgexfoundry_device-sdk-go_PR-770:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-770@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-02T06:00:07.654Z] $ docker top 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-02T06:00:08.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T06:00:08.208Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T06:00:08.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T06:00:08.515Z] $ docker exec 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 ssh-agent [2021-02-02T06:00:08.742Z] SSH_AUTH_SOCK=/tmp/ssh-dodoFEJB52Ck/agent.11 [2021-02-02T06:00:08.742Z] SSH_AGENT_PID=16 [2021-02-02T06:00:08.754Z] Running ssh-add (command line suppressed) [2021-02-02T06:00:08.911Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/private_key_5406110390081731758.key (/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/private_key_5406110390081731758.key) [2021-02-02T06:00:08.979Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T06:00:09.398Z] + git tag --points-at HEAD [Pipeline] } [2021-02-02T06:00:09.497Z] $ docker exec --env ******** --env ******** 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 ssh-agent -k [2021-02-02T06:00:09.872Z] unset SSH_AUTH_SOCK; [2021-02-02T06:00:09.873Z] unset SSH_AGENT_PID; [2021-02-02T06:00:09.873Z] echo Agent pid 16 killed; [2021-02-02T06:00:10.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-02T06:00:10.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-02T06:00:10.295Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-02T06:00:10.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-02T06:00:10.652Z] $ docker exec 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 ssh-agent [2021-02-02T06:00:11.097Z] SSH_AUTH_SOCK=/tmp/ssh-5tZPy66w9DbD/agent.44 [2021-02-02T06:00:11.097Z] SSH_AGENT_PID=49 [2021-02-02T06:00:11.109Z] Running ssh-add (command line suppressed) [2021-02-02T06:00:11.385Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/private_key_1234545237846003327.key (/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/private_key_1234545237846003327.key) [2021-02-02T06:00:11.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-02T06:00:12.026Z] + git semver init [2021-02-02T06:00:12.026Z] # -> Open(): unable to determine branch for HEAD [2021-02-02T06:00:12.026Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-770/.git [2021-02-02T06:00:12.026Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-770 [2021-02-02T06:00:12.026Z] # $SEMVER_REMOTE_NAME = origin [2021-02-02T06:00:12.026Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-02T06:00:12.026Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-02T06:00:12.026Z] # $SEMVER_BRANCH = PR-770 [2021-02-02T06:00:12.026Z] # $SEMVER_TEMP = /tmp/semver-757319554 [2021-02-02T06:00:12.026Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-02T06:00:13.005Z] # '/tmp/semver-757319554' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-770/.semver' [2021-02-02T06:00:13.005Z] # -> Force: false [2021-02-02T06:00:13.005Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-770/.semver [Pipeline] } [2021-02-02T06:00:13.038Z] $ docker exec --env ******** --env ******** 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 ssh-agent -k [2021-02-02T06:00:13.284Z] unset SSH_AUTH_SOCK; [2021-02-02T06:00:13.284Z] unset SSH_AGENT_PID; [2021-02-02T06:00:13.285Z] echo Agent pid 49 killed; [2021-02-02T06:00:13.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-02T06:00:14.460Z] + git semver [Pipeline] } [2021-02-02T06:00:14.536Z] $ docker stop --time=1 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 [2021-02-02T06:00:16.154Z] $ docker rm -f 271bee2889d8bc770fc931aff08bac0a7215d3441f219d460d96bc9b8c00f500 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T06:00:16.752Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-02T06:00:17.598Z] Stashed 1 file(s) [Pipeline] echo [2021-02-02T06:00:17.624Z] [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-02-02T06:00:33.543Z] Still waiting to schedule task [2021-02-02T06:00:33.543Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-02T06:00:33.573Z] Still waiting to schedule task [2021-02-02T06:00:33.573Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-02T06:01:01.215Z] Running on prd-centos7-docker-4c-2g-24516 in /w/workspace/dgexfoundry_device-sdk-go_PR-770 [Pipeline] { [Pipeline] ws [2021-02-02T06:01:01.307Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-02T06:01:03.944Z] using credential edgex-jenkins-ssh [2021-02-02T06:01:04.004Z] Cloning the remote Git repository [2021-02-02T06:01:03.477Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:01:03.568Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-02T06:01:03.655Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:01:03.655Z] > git --version # timeout=10 [2021-02-02T06:01:03.663Z] > git --version # 'git version 2.24.3' [2021-02-02T06:01:03.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:01:03.697Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:01:05.328Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [2021-02-02T06:01:05.429Z] Merge succeeded, producing b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [2021-02-02T06:01:05.429Z] Checking out Revision b4f7d869f5f02dcd5930e14e7b459b8b1477f028 (PR-770) [2021-02-02T06:01:04.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-02T06:01:04.426Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:01:04.439Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-02T06:01:04.456Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:01:04.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:01:04.461Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/770/head:refs/remotes/origin/PR-770 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T06:01:04.891Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:01:04.895Z] > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 [2021-02-02T06:01:04.959Z] > git remote # timeout=10 [2021-02-02T06:01:04.965Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T06:01:04.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:01:04.974Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-02T06:01:04.985Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T06:01:04.994Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:01:04.999Z] > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 [2021-02-02T06:01:08.911Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-02T06:01:08.792Z] > git --version # timeout=10 [2021-02-02T06:01:08.797Z] > git --version # 'git version 2.24.3' [2021-02-02T06:01:08.806Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T06:01:10.503Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:01:10.870Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:01:11.195Z] + true [2021-02-02T06:01:11.195Z] + sudo service docker restart [2021-02-02T06:01:11.195Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T06:01:12.291Z] provisioning config files... [2021-02-02T06:01:12.332Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6354280879374962719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:01:12.760Z] ---> docker-login.sh [2021-02-02T06:01:12.760Z] nexus3.edgexfoundry.org:10001 [2021-02-02T06:01:13.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:01:13.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:01:13.026Z] Configure a credential helper to remove this warning. See [2021-02-02T06:01:13.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:01:13.026Z] [2021-02-02T06:01:13.026Z] Login Succeeded [2021-02-02T06:01:13.026Z] nexus3.edgexfoundry.org:10002 [2021-02-02T06:01:13.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:01:13.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:01:13.291Z] Configure a credential helper to remove this warning. See [2021-02-02T06:01:13.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:01:13.291Z] [2021-02-02T06:01:13.291Z] Login Succeeded [2021-02-02T06:01:13.291Z] nexus3.edgexfoundry.org:10003 [2021-02-02T06:01:13.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:01:13.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:01:13.554Z] Configure a credential helper to remove this warning. See [2021-02-02T06:01:13.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:01:13.554Z] [2021-02-02T06:01:13.554Z] Login Succeeded [2021-02-02T06:01:13.554Z] nexus3.edgexfoundry.org:10004 [2021-02-02T06:01:13.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:01:13.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:01:13.819Z] Configure a credential helper to remove this warning. See [2021-02-02T06:01:13.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:01:13.819Z] [2021-02-02T06:01:13.819Z] Login Succeeded [2021-02-02T06:01:13.819Z] docker.io [2021-02-02T06:01:13.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:01:14.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:01:14.089Z] Configure a credential helper to remove this warning. See [2021-02-02T06:01:14.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:01:14.089Z] [2021-02-02T06:01:14.089Z] Login Succeeded [2021-02-02T06:01:14.089Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T06:01:14.116Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-02T06:01:14.671Z] ========================================================= [2021-02-02T06:01:14.671Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-02T06:01:14.671Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:01:15.046Z] + 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-02-02T06:01:15.046Z] Sending build context to Docker daemon 2.499MB [2021-02-02T06:01:15.323Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T06:01:15.323Z] Step 2/8 : FROM ${BASE} [2021-02-02T06:01:15.323Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-02T06:01:15.323Z] 188c0c94c7c5: Pulling fs layer [2021-02-02T06:01:15.323Z] 0ef7d3d256c8: Pulling fs layer [2021-02-02T06:01:15.323Z] de9db76c5a1d: Pulling fs layer [2021-02-02T06:01:15.323Z] bca2f99d35d6: Pulling fs layer [2021-02-02T06:01:15.323Z] 93359f2a8cfa: Pulling fs layer [2021-02-02T06:01:15.323Z] 7c6f9722023f: Pulling fs layer [2021-02-02T06:01:15.323Z] a35cf1a2eb13: Pulling fs layer [2021-02-02T06:01:15.323Z] bca2f99d35d6: Waiting [2021-02-02T06:01:15.323Z] 93359f2a8cfa: Waiting [2021-02-02T06:01:15.323Z] 7c6f9722023f: Waiting [2021-02-02T06:01:15.323Z] a35cf1a2eb13: Waiting [2021-02-02T06:01:15.323Z] de9db76c5a1d: Verifying Checksum [2021-02-02T06:01:15.323Z] de9db76c5a1d: Download complete [2021-02-02T06:01:15.323Z] 0ef7d3d256c8: Verifying Checksum [2021-02-02T06:01:15.323Z] 0ef7d3d256c8: Download complete [2021-02-02T06:01:15.323Z] 93359f2a8cfa: Verifying Checksum [2021-02-02T06:01:15.323Z] 93359f2a8cfa: Download complete [2021-02-02T06:01:15.323Z] 188c0c94c7c5: Download complete [2021-02-02T06:01:15.323Z] 7c6f9722023f: Verifying Checksum [2021-02-02T06:01:15.323Z] 7c6f9722023f: Download complete [2021-02-02T06:01:15.585Z] 188c0c94c7c5: Pull complete [2021-02-02T06:01:15.847Z] 0ef7d3d256c8: Pull complete [2021-02-02T06:01:15.847Z] de9db76c5a1d: Pull complete [2021-02-02T06:01:17.248Z] a35cf1a2eb13: Verifying Checksum [2021-02-02T06:01:17.248Z] a35cf1a2eb13: Download complete [2021-02-02T06:01:18.201Z] bca2f99d35d6: Verifying Checksum [2021-02-02T06:01:18.201Z] bca2f99d35d6: Download complete [2021-02-02T06:01:23.586Z] bca2f99d35d6: Pull complete [2021-02-02T06:01:23.586Z] 93359f2a8cfa: Pull complete [2021-02-02T06:01:23.586Z] 7c6f9722023f: Pull complete [2021-02-02T06:01:27.842Z] a35cf1a2eb13: Pull complete [2021-02-02T06:01:27.842Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-02T06:01:27.842Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-02T06:01:27.842Z] ---> a62c8e92a672 [2021-02-02T06:01:27.842Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-02T06:01:27.842Z] ---> Running in badae14c2530 [2021-02-02T06:01:27.842Z] Removing intermediate container badae14c2530 [2021-02-02T06:01:27.842Z] ---> 515faa40f80c [2021-02-02T06:01:27.842Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T06:01:27.842Z] ---> Running in 7b26f575606e [2021-02-02T06:01:29.244Z] Removing intermediate container 7b26f575606e [2021-02-02T06:01:29.244Z] ---> cfc91ab3afaf [2021-02-02T06:01:29.244Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-02T06:01:29.244Z] ---> Running in 25d5d82d32c9 [2021-02-02T06:01:30.205Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-02T06:01:30.783Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-02T06:01:31.358Z] OK: 166 MiB in 39 packages [2021-02-02T06:01:31.936Z] Removing intermediate container 25d5d82d32c9 [2021-02-02T06:01:31.936Z] ---> 7b8788bec182 [2021-02-02T06:01:31.936Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-02T06:01:31.936Z] ---> Running in 258640f96ce4 [2021-02-02T06:01:32.199Z] Removing intermediate container 258640f96ce4 [2021-02-02T06:01:32.199Z] ---> 31e342a0c578 [2021-02-02T06:01:32.199Z] Step 7/8 : COPY . . [2021-02-02T06:01:33.602Z] ---> 8fc039e6e2c0 [2021-02-02T06:01:33.602Z] Step 8/8 : RUN go mod download [2021-02-02T06:01:33.602Z] ---> Running in 1ec8179c9cc7 [2021-02-02T06:01:51.810Z] Removing intermediate container 1ec8179c9cc7 [2021-02-02T06:01:51.810Z] ---> 4eba6007ffbb [2021-02-02T06:01:51.810Z] Successfully built 4eba6007ffbb [2021-02-02T06:01:51.810Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:01:52.151Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T06:01:52.151Z] . [Pipeline] withDockerContainer [2021-02-02T06:01:52.326Z] prd-centos7-docker-4c-2g-24516 does not seem to be running inside a container [2021-02-02T06:01:52.375Z] $ 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-02-02T06:01:53.235Z] $ docker top f733aa9f5d495a33df11c49a87e0fcfc83d02ab3f44a61f6b8f6d2313677f0f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:01:53.869Z] + go version [2021-02-02T06:01:54.446Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-02T06:01:54.474Z] $ docker stop --time=1 f733aa9f5d495a33df11c49a87e0fcfc83d02ab3f44a61f6b8f6d2313677f0f7 [2021-02-02T06:01:55.844Z] $ docker rm -f f733aa9f5d495a33df11c49a87e0fcfc83d02ab3f44a61f6b8f6d2313677f0f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:01:56.888Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-02T06:01:56.888Z] . [Pipeline] withDockerContainer [2021-02-02T06:01:57.005Z] prd-centos7-docker-4c-2g-24516 does not seem to be running inside a container [2021-02-02T06:01:57.055Z] $ 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-02-02T06:01:57.804Z] $ docker top 29f9a039f6f8474ecfb208f78e456188dd504f9f95b7e2548a094de7aa2b3b19 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:01:58.340Z] + make test [2021-02-02T06:01:58.340Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-02T06:02:06.633Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-02T06:02:21.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-02T06:02:21.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-02T06:02:21.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-02T06:02:21.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 19.4% of statements [2021-02-02T06:02:25.012Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.448s coverage: 97.1% of statements [2021-02-02T06:02:29.376Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-24518 in /w/workspace/dgexfoundry_device-sdk-go_PR-770 [Pipeline] { [Pipeline] ws [2021-02-02T06:02:29.464Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-02-02T06:02:34.548Z] using credential edgex-jenkins-ssh [2021-02-02T06:02:34.612Z] Cloning the remote Git repository [2021-02-02T06:02:34.700Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:02:34.834Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-02-02T06:02:34.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:02:34.954Z] > git --version # timeout=10 [2021-02-02T06:02:34.972Z] > git --version # 'git version 2.17.1' [2021-02-02T06:02:34.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:02:35.050Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:02:36.750Z] Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [2021-02-02T06:02:37.064Z] Merge succeeded, producing b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [2021-02-02T06:02:37.064Z] Checking out Revision b4f7d869f5f02dcd5930e14e7b459b8b1477f028 (PR-770) [2021-02-02T06:02:36.173Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-02T06:02:36.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-02T06:02:36.217Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-02T06:02:36.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-02T06:02:36.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:02:36.274Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/770/head:refs/remotes/origin/PR-770 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-02T06:02:36.783Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:02:36.831Z] > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 [2021-02-02T06:02:36.975Z] > git remote # timeout=10 [2021-02-02T06:02:37.008Z] > git config --get remote.origin.url # timeout=10 [2021-02-02T06:02:37.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-02T06:02:37.043Z] > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 [2021-02-02T06:02:37.065Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-02T06:02:37.085Z] > git config core.sparsecheckout # timeout=10 [2021-02-02T06:02:37.095Z] > git checkout -f b4f7d869f5f02dcd5930e14e7b459b8b1477f028 # timeout=10 [2021-02-02T06:02:41.331Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-02-02T06:02:41.404Z] > git --version # timeout=10 [2021-02-02T06:02:41.415Z] > git --version # 'git version 2.17.1' [2021-02-02T06:02:41.425Z] fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T06:02:43.058Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:02:43.517Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-02T06:02:43.881Z] + sudo service docker restart [2021-02-02T06:02:43.881Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-02T06:02:46.651Z] provisioning config files... [2021-02-02T06:02:46.733Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3337855146584631799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:02:47.233Z] ---> docker-login.sh [2021-02-02T06:02:47.233Z] nexus3.edgexfoundry.org:10001 [2021-02-02T06:02:48.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:48.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:48.491Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:48.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:48.491Z] [2021-02-02T06:02:48.491Z] Login Succeeded [2021-02-02T06:02:48.491Z] nexus3.edgexfoundry.org:10002 [2021-02-02T06:02:48.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:49.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:49.043Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:49.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:49.043Z] [2021-02-02T06:02:49.043Z] Login Succeeded [2021-02-02T06:02:49.043Z] nexus3.edgexfoundry.org:10003 [2021-02-02T06:02:49.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:49.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:49.592Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:49.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:49.592Z] [2021-02-02T06:02:49.592Z] Login Succeeded [2021-02-02T06:02:49.592Z] nexus3.edgexfoundry.org:10004 [2021-02-02T06:02:49.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:50.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:50.140Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:50.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:50.140Z] [2021-02-02T06:02:50.140Z] Login Succeeded [2021-02-02T06:02:50.140Z] docker.io [2021-02-02T06:02:50.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-02T06:02:50.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-02T06:02:50.685Z] Configure a credential helper to remove this warning. See [2021-02-02T06:02:50.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-02T06:02:50.685Z] [2021-02-02T06:02:50.685Z] Login Succeeded [2021-02-02T06:02:50.956Z] ---> docker-login.sh ends [Pipeline] } [2021-02-02T06:02:50.983Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-02T06:02:51.544Z] ========================================================= [2021-02-02T06:02:51.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-02T06:02:51.544Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:02:51.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.055s coverage: 9.4% of statements [2021-02-02T06:02:51.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.049s coverage: 21.7% of statements [2021-02-02T06:02:51.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-02T06:02:51.654Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.236s coverage: 43.6% of statements [2021-02-02T06:02:51.654Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-02T06:02:51.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.269s coverage: 68.9% of statements [2021-02-02T06:02:51.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-02T06:02:51.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-02T06:02:51.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-02T06:02:51.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-02T06:02:51.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 53.8% of statements [2021-02-02T06:02:51.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-02T06:02:51.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-02T06:02:51.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.075s coverage: 25.2% of statements [2021-02-02T06:02:51.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.356s coverage: 83.5% of statements [2021-02-02T06:02:51.655Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements [2021-02-02T06:02:51.655Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-02T06:02:51.655Z] GO111MODULE=on go vet ./... [2021-02-02T06:02:51.960Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-02T06:02:52.561Z] Sending build context to Docker daemon 2.498MB [2021-02-02T06:02:52.561Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T06:02:52.561Z] Step 2/8 : FROM ${BASE} [2021-02-02T06:02:52.561Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-02T06:02:52.561Z] 5f621e34cdf4: Pulling fs layer [2021-02-02T06:02:52.561Z] a4357932f1b6: Pulling fs layer [2021-02-02T06:02:52.561Z] 18c013af1878: Pulling fs layer [2021-02-02T06:02:52.561Z] 00ac8860ef70: Pulling fs layer [2021-02-02T06:02:52.561Z] 63d7cb157983: Pulling fs layer [2021-02-02T06:02:52.561Z] b116817d02f9: Pulling fs layer [2021-02-02T06:02:52.561Z] 745a02a5169b: Pulling fs layer [2021-02-02T06:02:52.561Z] 00ac8860ef70: Waiting [2021-02-02T06:02:52.561Z] 63d7cb157983: Waiting [2021-02-02T06:02:52.561Z] b116817d02f9: Waiting [2021-02-02T06:02:52.561Z] 745a02a5169b: Waiting [2021-02-02T06:02:52.561Z] 18c013af1878: Download complete [2021-02-02T06:02:52.561Z] a4357932f1b6: Verifying Checksum [2021-02-02T06:02:52.561Z] a4357932f1b6: Download complete [2021-02-02T06:02:52.561Z] 63d7cb157983: Verifying Checksum [2021-02-02T06:02:52.561Z] 63d7cb157983: Download complete [2021-02-02T06:02:52.561Z] b116817d02f9: Verifying Checksum [2021-02-02T06:02:52.561Z] b116817d02f9: Download complete [2021-02-02T06:02:52.561Z] 5f621e34cdf4: Download complete [2021-02-02T06:02:53.548Z] 5f621e34cdf4: Pull complete [2021-02-02T06:02:53.825Z] a4357932f1b6: Pull complete [2021-02-02T06:02:54.423Z] 18c013af1878: Pull complete [2021-02-02T06:02:54.702Z] 745a02a5169b: Download complete [2021-02-02T06:02:56.143Z] 00ac8860ef70: Verifying Checksum [2021-02-02T06:02:56.143Z] 00ac8860ef70: Download complete [2021-02-02T06:03:04.007Z] gofmt -l . [2021-02-02T06:03:04.008Z] [ "`gofmt -l .`" = "" ] [2021-02-02T06:03:04.008Z] ./bin/test-attribution-txt.sh [2021-02-02T06:03:04.008Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-02T06:03:04.039Z] $ docker stop --time=1 29f9a039f6f8474ecfb208f78e456188dd504f9f95b7e2548a094de7aa2b3b19 [2021-02-02T06:03:06.096Z] $ docker rm -f 29f9a039f6f8474ecfb208f78e456188dd504f9f95b7e2548a094de7aa2b3b19 [2021-02-02T06:03:06.297Z] 00ac8860ef70: Pull complete [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T06:03:06.572Z] 63d7cb157983: Pull complete [2021-02-02T06:03:06.850Z] + sudo chown -R jenkins:jenkins . [2021-02-02T06:03:06.855Z] b116817d02f9: Pull complete [Pipeline] stash [2021-02-02T06:03:07.262Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-02T06:03:09.815Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-02T06:03:10.137Z] + ls -al . [2021-02-02T06:03:10.137Z] total 216 [2021-02-02T06:03:10.137Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 06:03 . [2021-02-02T06:03:10.137Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 2 06:01 .. [2021-02-02T06:03:10.137Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 2 06:01 bin [2021-02-02T06:03:10.137Z] -rw-r--r--. 1 jenkins jenkins 137332 Feb 2 06:02 coverage.out [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 2 06:01 Dockerfile.build [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 2 06:01 .dockerignore [2021-02-02T06:03:10.137Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 2 06:01 example [2021-02-02T06:03:10.137Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 2 06:01 .git [2021-02-02T06:03:10.137Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 2 06:01 .github [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 2 06:01 .gitignore [2021-02-02T06:03:10.137Z] -rw-r--r--. 1 jenkins jenkins 515 Feb 2 06:03 go.mod [2021-02-02T06:03:10.137Z] -rw-r--r--. 1 jenkins jenkins 14193 Feb 2 06:03 go.sum [2021-02-02T06:03:10.137Z] drwxrwxr-x. 15 jenkins jenkins 211 Feb 2 06:01 internal [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 2 06:01 Jenkinsfile [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 2 06:01 LICENSE [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 2 06:01 Makefile [2021-02-02T06:03:10.137Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 2 06:01 openapi [2021-02-02T06:03:10.137Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 2 06:01 pkg [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 2 06:01 README.md [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 2 06:01 RELEASE-NOTES.txt [2021-02-02T06:03:10.137Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 2 06:01 snap [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 2 06:00 VERSION [2021-02-02T06:03:10.137Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 2 06:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:03:10.476Z] + 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=b4f7d869f5f02dcd5930e14e7b459b8b1477f028 --label arch=amd64 --label version=0.0.0 . [2021-02-02T06:03:10.738Z] Sending build context to Docker daemon 2.637MB [2021-02-02T06:03:10.738Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T06:03:10.738Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-02T06:03:10.738Z] ---> 4eba6007ffbb [2021-02-02T06:03:10.738Z] Step 3/24 : ARG MAKE='make build' [2021-02-02T06:03:11.176Z] 745a02a5169b: Pull complete [2021-02-02T06:03:11.176Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-02T06:03:11.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-02T06:03:11.176Z] ---> b7e6874047d6 [2021-02-02T06:03:11.176Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-02T06:03:11.310Z] ---> Running in 42a0eac5a6e6 [2021-02-02T06:03:11.572Z] Removing intermediate container 42a0eac5a6e6 [2021-02-02T06:03:11.572Z] ---> 70ec4fa76d7f [2021-02-02T06:03:11.572Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-02T06:03:11.572Z] ---> Running in 3b28db49ee14 [2021-02-02T06:03:11.835Z] Removing intermediate container 3b28db49ee14 [2021-02-02T06:03:11.835Z] ---> 2f53c30c9ab2 [2021-02-02T06:03:11.835Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-02T06:03:11.835Z] ---> Running in fdf91d3bf530 [2021-02-02T06:03:11.835Z] Removing intermediate container fdf91d3bf530 [2021-02-02T06:03:11.835Z] ---> 89c6326b1eb0 [2021-02-02T06:03:11.835Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T06:03:12.097Z] ---> Running in 23943c566577 [2021-02-02T06:03:13.043Z] Removing intermediate container 23943c566577 [2021-02-02T06:03:13.043Z] ---> ec21da96aa1d [2021-02-02T06:03:13.043Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-02T06:03:13.043Z] ---> Running in cb99bb5a7d88 [2021-02-02T06:03:13.626Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-02T06:03:13.819Z] ---> Running in 6816ceb89e18 [2021-02-02T06:03:14.205Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-02T06:03:14.418Z] Removing intermediate container 6816ceb89e18 [2021-02-02T06:03:14.418Z] ---> ca18419982de [2021-02-02T06:03:14.418Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T06:03:14.418Z] ---> Running in f6b239b8a36b [2021-02-02T06:03:15.150Z] OK: 166 MiB in 39 packages [2021-02-02T06:03:15.414Z] Removing intermediate container cb99bb5a7d88 [2021-02-02T06:03:15.414Z] ---> 8e26fd177075 [2021-02-02T06:03:15.414Z] Step 8/24 : COPY . . [2021-02-02T06:03:16.806Z] ---> e7b37c4052d3 [2021-02-02T06:03:16.806Z] Step 9/24 : RUN ${MAKE} [2021-02-02T06:03:16.806Z] ---> Running in 7a07ad1b31bd [2021-02-02T06:03:17.067Z] Removing intermediate container f6b239b8a36b [2021-02-02T06:03:17.067Z] ---> 7c4081ba03b0 [2021-02-02T06:03:17.067Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-02T06:03:17.067Z] ---> Running in d50c4088e597 [2021-02-02T06:03:17.070Z] 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-02-02T06:03:18.055Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-02T06:03:18.651Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-02T06:03:19.635Z] OK: 142 MiB in 39 packages [2021-02-02T06:03:20.614Z] Removing intermediate container d50c4088e597 [2021-02-02T06:03:20.614Z] ---> d5756baba3ba [2021-02-02T06:03:20.614Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-02T06:03:20.887Z] ---> Running in 542cb165e3a5 [2021-02-02T06:03:21.513Z] Removing intermediate container 542cb165e3a5 [2021-02-02T06:03:21.513Z] ---> e065a61b793e [2021-02-02T06:03:21.513Z] Step 7/8 : COPY . . [2021-02-02T06:03:22.491Z] ---> cc93518fb4ab [2021-02-02T06:03:22.491Z] Step 8/8 : RUN go mod download [2021-02-02T06:03:22.763Z] ---> Running in 65b629976434 [2021-02-02T06:03:27.151Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-02T06:03:28.103Z] Removing intermediate container 7a07ad1b31bd [2021-02-02T06:03:28.103Z] ---> d6c0106e67b3 [2021-02-02T06:03:28.103Z] Step 10/24 : FROM scratch [2021-02-02T06:03:28.103Z] ---> [2021-02-02T06:03:28.103Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-02T06:03:28.365Z] ---> Running in 881d494c161d [2021-02-02T06:03:28.365Z] Removing intermediate container 881d494c161d [2021-02-02T06:03:28.365Z] ---> af57f5a843fa [2021-02-02T06:03:28.365Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-02T06:03:28.365Z] ---> Running in 4a513bcfd1a9 [2021-02-02T06:03:28.627Z] Removing intermediate container 4a513bcfd1a9 [2021-02-02T06:03:28.627Z] ---> e8f50bfe43a8 [2021-02-02T06:03:28.627Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-02T06:03:28.627Z] ---> Running in 1354623d1311 [2021-02-02T06:03:28.891Z] Removing intermediate container 1354623d1311 [2021-02-02T06:03:28.891Z] ---> 43150616919f [2021-02-02T06:03:28.891Z] Step 14/24 : WORKDIR / [2021-02-02T06:03:28.891Z] ---> Running in 470d1429c7b7 [2021-02-02T06:03:28.892Z] Removing intermediate container 470d1429c7b7 [2021-02-02T06:03:28.892Z] ---> 8aee899b9b04 [2021-02-02T06:03:28.892Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-02T06:03:29.463Z] ---> 8ed7c6953684 [2021-02-02T06:03:29.463Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-02T06:03:29.725Z] ---> f03e654d90e7 [2021-02-02T06:03:29.725Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-02T06:03:29.989Z] ---> 02358241f8d8 [2021-02-02T06:03:29.989Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-02T06:03:30.252Z] ---> d37a637166a1 [2021-02-02T06:03:30.252Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-02T06:03:30.516Z] ---> e49c48ce0d7f [2021-02-02T06:03:30.516Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-02T06:03:30.516Z] ---> Running in e884474a9572 [2021-02-02T06:03:30.516Z] Removing intermediate container e884474a9572 [2021-02-02T06:03:30.516Z] ---> 10e009457b31 [2021-02-02T06:03:30.516Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-02T06:03:30.778Z] ---> Running in 6b1b65f177d3 [2021-02-02T06:03:30.779Z] Removing intermediate container 6b1b65f177d3 [2021-02-02T06:03:30.779Z] ---> a5e0357fb39c [2021-02-02T06:03:30.779Z] Step 22/24 : LABEL arch=amd64 [2021-02-02T06:03:31.040Z] ---> Running in 22f3294c6905 [2021-02-02T06:03:31.040Z] Removing intermediate container 22f3294c6905 [2021-02-02T06:03:31.040Z] ---> 9047e652257d [2021-02-02T06:03:31.040Z] Step 23/24 : LABEL git_sha=b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [2021-02-02T06:03:31.040Z] ---> Running in 065e88101778 [2021-02-02T06:03:31.301Z] Removing intermediate container 065e88101778 [2021-02-02T06:03:31.301Z] ---> ef6959a596b9 [2021-02-02T06:03:31.301Z] Step 24/24 : LABEL version=0.0.0 [2021-02-02T06:03:31.301Z] ---> Running in 709011bc4174 [2021-02-02T06:03:31.564Z] Removing intermediate container 709011bc4174 [2021-02-02T06:03:31.564Z] ---> ce146df3b1fb [2021-02-02T06:03:31.564Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-02T06:03:31.564Z] Successfully built ce146df3b1fb [2021-02-02T06:03:31.564Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-02T06:03:44.915Z] Removing intermediate container 65b629976434 [2021-02-02T06:03:44.915Z] ---> 05bc101b2fc1 [2021-02-02T06:03:44.915Z] Successfully built 05bc101b2fc1 [2021-02-02T06:03:44.915Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:03:45.295Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T06:03:45.295Z] . [Pipeline] withDockerContainer [2021-02-02T06:03:45.562Z] prd-ubuntu18.04-docker-arm64-4c-16g-24518 does not seem to be running inside a container [2021-02-02T06:03:45.653Z] $ 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-02-02T06:03:47.195Z] $ docker top cda571c57017fcb876602aa06f636d2d01c2a7432337440859fc5b7022cc63c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:03:48.283Z] + go version [2021-02-02T06:03:48.283Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-02T06:03:48.327Z] $ docker stop --time=1 cda571c57017fcb876602aa06f636d2d01c2a7432337440859fc5b7022cc63c7 [2021-02-02T06:03:50.256Z] $ docker rm -f cda571c57017fcb876602aa06f636d2d01c2a7432337440859fc5b7022cc63c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:03:51.497Z] + docker inspect -f . ci-base-image-arm64 [2021-02-02T06:03:51.497Z] . [Pipeline] withDockerContainer [2021-02-02T06:03:51.783Z] prd-ubuntu18.04-docker-arm64-4c-16g-24518 does not seem to be running inside a container [2021-02-02T06:03:51.884Z] $ 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-02-02T06:03:53.341Z] $ docker top f00a2c2573b3ba10df5c125b179a0ebce2dd9c56f3240e6dcf5d7a1b37bd046c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:03:54.393Z] + make test [2021-02-02T06:03:54.393Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-02T06:04:16.607Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-02T06:04:55.697Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-02T06:04:55.697Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-02T06:04:55.697Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-02T06:04:55.697Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.201s coverage: 19.4% of statements [2021-02-02T06:05:01.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.157s coverage: 97.1% of statements [2021-02-02T06:05:28.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.136s coverage: 9.4% of statements [2021-02-02T06:05:28.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.118s coverage: 21.7% of statements [2021-02-02T06:05:28.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-02T06:05:28.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.604s coverage: 43.6% of statements [2021-02-02T06:05:28.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-02T06:05:28.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.737s coverage: 68.9% of statements [2021-02-02T06:05:28.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-02-02T06:05:28.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-02T06:05:28.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-02T06:05:28.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-02T06:05:28.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.202s coverage: 53.8% of statements [2021-02-02T06:05:28.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-02T06:05:28.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-02-02T06:05:28.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 25.2% of statements [2021-02-02T06:05:28.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.731s coverage: 83.5% of statements [2021-02-02T06:05:28.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 4.2% of statements [2021-02-02T06:05:28.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-02T06:05:28.021Z] GO111MODULE=on go vet ./... [2021-02-02T06:06:07.253Z] gofmt -l . [2021-02-02T06:06:07.253Z] [ "`gofmt -l .`" = "" ] [2021-02-02T06:06:07.253Z] ./bin/test-attribution-txt.sh [2021-02-02T06:06:07.253Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-02T06:06:07.298Z] $ docker stop --time=1 f00a2c2573b3ba10df5c125b179a0ebce2dd9c56f3240e6dcf5d7a1b37bd046c [2021-02-02T06:06:09.530Z] $ docker rm -f f00a2c2573b3ba10df5c125b179a0ebce2dd9c56f3240e6dcf5d7a1b37bd046c [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-02T06:06:10.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-02T06:06:10.855Z] Warning: overwriting stash ‘coverage-report’ [2021-02-02T06:06:11.684Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-02T06:06:12.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-02T06:06:12.873Z] + ls -al . [2021-02-02T06:06:12.873Z] total 252 [2021-02-02T06:06:12.873Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 06:06 . [2021-02-02T06:06:12.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:02 .. [2021-02-02T06:06:12.873Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 06:02 .dockerignore [2021-02-02T06:06:12.873Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 06:02 .git [2021-02-02T06:06:12.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 06:02 .github [2021-02-02T06:06:12.873Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 2 06:02 .gitignore [2021-02-02T06:06:12.873Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 2 06:02 Dockerfile.build [2021-02-02T06:06:12.874Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 2 06:02 Jenkinsfile [2021-02-02T06:06:12.874Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 06:02 LICENSE [2021-02-02T06:06:12.874Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 2 06:02 Makefile [2021-02-02T06:06:12.874Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 2 06:02 README.md [2021-02-02T06:06:12.874Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 2 06:02 RELEASE-NOTES.txt [2021-02-02T06:06:12.874Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 06:00 VERSION [2021-02-02T06:06:12.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 06:02 bin [2021-02-02T06:06:12.874Z] -rw-r--r-- 1 jenkins jenkins 137332 Feb 2 06:05 coverage.out [2021-02-02T06:06:12.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:02 example [2021-02-02T06:06:12.874Z] -rw-r--r-- 1 jenkins jenkins 515 Feb 2 06:06 go.mod [2021-02-02T06:06:12.874Z] -rw-r--r-- 1 jenkins jenkins 14193 Feb 2 06:06 go.sum [2021-02-02T06:06:12.874Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 2 06:02 internal [2021-02-02T06:06:12.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:02 openapi [2021-02-02T06:06:12.874Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 06:02 pkg [2021-02-02T06:06:12.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 06:02 snap [2021-02-02T06:06:12.874Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 06:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:06:13.249Z] + 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=b4f7d869f5f02dcd5930e14e7b459b8b1477f028 --label arch=arm64 --label version=0.0.0 . [2021-02-02T06:06:13.853Z] Sending build context to Docker daemon 2.636MB [2021-02-02T06:06:13.853Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-02T06:06:13.853Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-02T06:06:13.853Z] ---> 05bc101b2fc1 [2021-02-02T06:06:13.853Z] Step 3/24 : ARG MAKE='make build' [2021-02-02T06:06:14.134Z] ---> Running in aaed0a7ad269 [2021-02-02T06:06:14.407Z] Removing intermediate container aaed0a7ad269 [2021-02-02T06:06:14.407Z] ---> ce6b521d7297 [2021-02-02T06:06:14.407Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-02T06:06:14.679Z] ---> Running in 56f6706c8410 [2021-02-02T06:06:15.274Z] Removing intermediate container 56f6706c8410 [2021-02-02T06:06:15.274Z] ---> 92b2a1871436 [2021-02-02T06:06:15.274Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-02T06:06:15.274Z] ---> Running in f6b06c1f4bec [2021-02-02T06:06:15.869Z] Removing intermediate container f6b06c1f4bec [2021-02-02T06:06:15.869Z] ---> 05973012c509 [2021-02-02T06:06:15.869Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-02T06:06:15.869Z] ---> Running in 30bd71257c6c [2021-02-02T06:06:17.863Z] Removing intermediate container 30bd71257c6c [2021-02-02T06:06:17.863Z] ---> e1a69dcb703b [2021-02-02T06:06:17.863Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-02T06:06:18.136Z] ---> Running in bd10fc16adde [2021-02-02T06:06:19.114Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-02T06:06:20.088Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-02T06:06:21.065Z] OK: 142 MiB in 39 packages [2021-02-02T06:06:22.039Z] Removing intermediate container bd10fc16adde [2021-02-02T06:06:22.039Z] ---> 2e7ebc644ee3 [2021-02-02T06:06:22.039Z] Step 8/24 : COPY . . [2021-02-02T06:06:23.476Z] ---> bcb96536a6ba [2021-02-02T06:06:23.476Z] Step 9/24 : RUN ${MAKE} [2021-02-02T06:06:23.476Z] ---> Running in 8dc4a08727e2 [2021-02-02T06:06:24.458Z] 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-02-02T06:06:51.301Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-02T06:06:51.895Z] Removing intermediate container 8dc4a08727e2 [2021-02-02T06:06:51.895Z] ---> 59e2f30bf76a [2021-02-02T06:06:51.895Z] Step 10/24 : FROM scratch [2021-02-02T06:06:51.895Z] ---> [2021-02-02T06:06:51.895Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-02T06:06:52.169Z] ---> Running in 3f8689e8a9a3 [2021-02-02T06:06:52.442Z] Removing intermediate container 3f8689e8a9a3 [2021-02-02T06:06:52.442Z] ---> 1761b95a73f5 [2021-02-02T06:06:52.442Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-02T06:06:52.725Z] ---> Running in 768eea3e042a [2021-02-02T06:06:52.999Z] Removing intermediate container 768eea3e042a [2021-02-02T06:06:52.999Z] ---> 2f14bdd055e2 [2021-02-02T06:06:52.999Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-02T06:06:53.269Z] ---> Running in 415b03759c7c [2021-02-02T06:06:53.542Z] Removing intermediate container 415b03759c7c [2021-02-02T06:06:53.542Z] ---> e3f4b94cad39 [2021-02-02T06:06:53.542Z] Step 14/24 : WORKDIR / [2021-02-02T06:06:53.542Z] ---> Running in 631e061e2954 [2021-02-02T06:06:54.140Z] Removing intermediate container 631e061e2954 [2021-02-02T06:06:54.140Z] ---> 8fda6d9640d7 [2021-02-02T06:06:54.140Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-02T06:06:55.116Z] ---> e7ffc74a7f71 [2021-02-02T06:06:55.116Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-02T06:06:56.096Z] ---> 626bde8d14f6 [2021-02-02T06:06:56.096Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-02T06:06:56.693Z] ---> 36c37df73a17 [2021-02-02T06:06:56.693Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-02T06:06:57.289Z] ---> c5c8478750cd [2021-02-02T06:06:57.289Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-02T06:06:58.266Z] ---> ac50a9896d14 [2021-02-02T06:06:58.266Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-02T06:06:58.266Z] ---> Running in d072c3276491 [2021-02-02T06:06:58.860Z] Removing intermediate container d072c3276491 [2021-02-02T06:06:58.860Z] ---> d2fc530ca1c7 [2021-02-02T06:06:58.860Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-02T06:06:58.860Z] ---> Running in ba22fba6fd76 [2021-02-02T06:06:59.459Z] Removing intermediate container ba22fba6fd76 [2021-02-02T06:06:59.459Z] ---> f20d3eae5df9 [2021-02-02T06:06:59.459Z] Step 22/24 : LABEL arch=arm64 [2021-02-02T06:06:59.459Z] ---> Running in 0aa5f22c0de6 [2021-02-02T06:07:00.057Z] Removing intermediate container 0aa5f22c0de6 [2021-02-02T06:07:00.057Z] ---> c3bd47296dec [2021-02-02T06:07:00.058Z] Step 23/24 : LABEL git_sha=b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [2021-02-02T06:07:00.058Z] ---> Running in 7e21559caa19 [2021-02-02T06:07:00.333Z] Removing intermediate container 7e21559caa19 [2021-02-02T06:07:00.333Z] ---> 4b67b0b8c30c [2021-02-02T06:07:00.333Z] Step 24/24 : LABEL version=0.0.0 [2021-02-02T06:07:00.610Z] ---> Running in 9f1e9087d036 [2021-02-02T06:07:01.205Z] Removing intermediate container 9f1e9087d036 [2021-02-02T06:07:01.205Z] ---> 3e766b985f9a [2021-02-02T06:07:01.205Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-02T06:07:01.205Z] Successfully built 3e766b985f9a [2021-02-02T06:07:01.205Z] 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-02-02T06:07:03.826Z] provisioning config files... [2021-02-02T06:07:03.844Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/config7436031733956289782tmp [Pipeline] { [Pipeline] sh [2021-02-02T06:07:04.279Z] + set +x [2021-02-02T06:07:04.279Z] + bash -s -- [2021-02-02T06:07:04.279Z] + curl -s https://codecov.io/bash [2021-02-02T06:07:04.549Z] [2021-02-02T06:07:04.550Z] _____ _ [2021-02-02T06:07:04.550Z] / ____| | | [2021-02-02T06:07:04.550Z] | | ___ __| | ___ ___ _____ __ [2021-02-02T06:07:04.550Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-02T06:07:04.550Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-02T06:07:04.550Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-02T06:07:04.550Z] Bash-20210129-7c25fce [2021-02-02T06:07:04.550Z] [2021-02-02T06:07:04.550Z] [2021-02-02T06:07:04.550Z] ==> git version 2.24.3 found [2021-02-02T06:07:04.550Z] ==> 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-02-02T06:07:04.550Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-02T06:07:04.550Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-02T06:07:04.550Z] ==> Jenkins CI detected. [2021-02-02T06:07:04.550Z] project root: . [2021-02-02T06:07:04.550Z] --> token set from env [2021-02-02T06:07:04.550Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-02T06:07:04.550Z] ==> Running gcov in . (disable via -X gcov) [2021-02-02T06:07:04.550Z] ==> Python coveragepy not found [2021-02-02T06:07:04.550Z] ==> Searching for coverage reports in: [2021-02-02T06:07:04.550Z] + . [2021-02-02T06:07:04.550Z] -> Found 1 reports [2021-02-02T06:07:04.550Z] ==> Detecting git/mercurial file structure [2021-02-02T06:07:04.817Z] ==> Reading reports [2021-02-02T06:07:04.817Z] + ./coverage.out bytes=137332 [2021-02-02T06:07:04.817Z] ==> Appending adjustments [2021-02-02T06:07:04.817Z] https://docs.codecov.io/docs/fixing-reports [2021-02-02T06:07:05.440Z] + Found adjustments [2021-02-02T06:07:05.440Z] ==> Gzipping contents [2021-02-02T06:07:05.440Z] 24K /tmp/codecov.pvxHHZ.gz [2021-02-02T06:07:05.440Z] ==> Uploading reports [2021-02-02T06:07:05.440Z] url: https://codecov.io [2021-02-02T06:07:05.440Z] query: branch=PR-770&commit=b4f7d869f5f02dcd5930e14e7b459b8b1477f028&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-770%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=770&job=&cmd_args= [2021-02-02T06:07:05.440Z] -> Pinging Codecov [2021-02-02T06:07:05.440Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-770&commit=b4f7d869f5f02dcd5930e14e7b459b8b1477f028&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-770%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=770&job=&cmd_args= [2021-02-02T06:07:06.031Z] -> Uploading to [2021-02-02T06:07:06.031Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-02/7E55EF52A471D76F132DFD9A03CDDE97/b4f7d869f5f02dcd5930e14e7b459b8b1477f028/8ad6d9e0-6035-4afa-b332-c324804f62d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210202T060705Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a6c02814a4924843c45e132c17547ced4e1dedee4edc02663138b3b2d837c6c [2021-02-02T06:07:06.031Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-02T06:07:06.031Z] Dload Upload Total Spent Left Speed [2021-02-02T06:07:06.306Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21626 0 0 100 21626 0 47018 --:--:-- --:--:-- --:--:-- 47115 [2021-02-02T06:07:06.572Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b4f7d869f5f02dcd5930e14e7b459b8b1477f028 [Pipeline] } [2021-02-02T06:07:06.605Z] 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-02-02T06:07:10.156Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:10.806Z] ---> package-listing.sh [2021-02-02T06:07:10.806Z] ++ facter osfamily [2021-02-02T06:07:10.806Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-02T06:07:11.077Z] + OS_FAMILY=redhat [2021-02-02T06:07:11.077Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-770 [2021-02-02T06:07:11.077Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-02T06:07:11.077Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-02T06:07:11.077Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-02T06:07:11.077Z] + PACKAGES=/tmp/packages_start.txt [2021-02-02T06:07:11.077Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-770 ']' [2021-02-02T06:07:11.077Z] + PACKAGES=/tmp/packages_end.txt [2021-02-02T06:07:11.077Z] + case "${OS_FAMILY}" in [2021-02-02T06:07:11.077Z] + rpm -qa [2021-02-02T06:07:11.077Z] + sort [2021-02-02T06:07:17.777Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-02T06:07:17.777Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-02T06:07:17.777Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-02T06:07:17.777Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-770 ']' [2021-02-02T06:07:17.777Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-770/archives/ [2021-02-02T06:07:17.777Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-770/archives/ [Pipeline] echo [2021-02-02T06:07:17.813Z] 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-770/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-02T06:07:18.143Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:07:18.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T06:07:18.562Z] [2021-02-02T06:07:18.562Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-02T06:07:19.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T06:07:19.106Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-02T06:07:19.106Z] df20fa9351a1: Pulling fs layer [2021-02-02T06:07:19.106Z] 36b3adc4ff6f: Pulling fs layer [2021-02-02T06:07:19.106Z] 8ad3a11d3b57: Pulling fs layer [2021-02-02T06:07:19.106Z] 46f8f816bc3b: Pulling fs layer [2021-02-02T06:07:19.106Z] 93b61091891f: Pulling fs layer [2021-02-02T06:07:19.106Z] 93b9cdb0e59b: Pulling fs layer [2021-02-02T06:07:19.106Z] 5e14af77c1be: Pulling fs layer [2021-02-02T06:07:19.106Z] 01666e4c0597: Pulling fs layer [2021-02-02T06:07:19.106Z] aa168da1d23b: Pulling fs layer [2021-02-02T06:07:19.106Z] 46f8f816bc3b: Waiting [2021-02-02T06:07:19.106Z] 93b61091891f: Waiting [2021-02-02T06:07:19.106Z] 93b9cdb0e59b: Waiting [2021-02-02T06:07:19.106Z] 5e14af77c1be: Waiting [2021-02-02T06:07:19.106Z] 01666e4c0597: Waiting [2021-02-02T06:07:19.106Z] aa168da1d23b: Waiting [2021-02-02T06:07:19.444Z] 36b3adc4ff6f: Verifying Checksum [2021-02-02T06:07:19.444Z] 36b3adc4ff6f: Download complete [2021-02-02T06:07:19.444Z] 46f8f816bc3b: Verifying Checksum [2021-02-02T06:07:19.444Z] 46f8f816bc3b: Download complete [2021-02-02T06:07:19.444Z] df20fa9351a1: Verifying Checksum [2021-02-02T06:07:19.444Z] df20fa9351a1: Download complete [2021-02-02T06:07:19.444Z] 93b9cdb0e59b: Verifying Checksum [2021-02-02T06:07:19.444Z] 93b9cdb0e59b: Download complete [2021-02-02T06:07:19.444Z] 5e14af77c1be: Verifying Checksum [2021-02-02T06:07:19.444Z] 5e14af77c1be: Download complete [2021-02-02T06:07:19.716Z] 01666e4c0597: Verifying Checksum [2021-02-02T06:07:19.716Z] 01666e4c0597: Download complete [2021-02-02T06:07:19.716Z] 93b61091891f: Verifying Checksum [2021-02-02T06:07:19.716Z] 93b61091891f: Download complete [2021-02-02T06:07:20.332Z] df20fa9351a1: Pull complete [2021-02-02T06:07:20.632Z] 8ad3a11d3b57: Verifying Checksum [2021-02-02T06:07:20.632Z] 8ad3a11d3b57: Download complete [2021-02-02T06:07:20.632Z] 36b3adc4ff6f: Pull complete [2021-02-02T06:07:22.666Z] 8ad3a11d3b57: Pull complete [2021-02-02T06:07:22.964Z] 46f8f816bc3b: Pull complete [2021-02-02T06:07:24.008Z] 93b61091891f: Pull complete [2021-02-02T06:07:24.289Z] 93b9cdb0e59b: Pull complete [2021-02-02T06:07:24.556Z] 5e14af77c1be: Pull complete [2021-02-02T06:07:24.836Z] 01666e4c0597: Pull complete [2021-02-02T06:07:25.525Z] aa168da1d23b: Verifying Checksum [2021-02-02T06:07:25.525Z] aa168da1d23b: Download complete [2021-02-02T06:07:41.091Z] aa168da1d23b: Pull complete [2021-02-02T06:07:41.091Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-02T06:07:41.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-02T06:07:41.091Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-02T06:07:41.821Z] prd-centos7-docker-4c-2g-24513 does not seem to be running inside a container [2021-02-02T06:07:41.985Z] $ 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-770/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-770 -v /w/workspace/dgexfoundry_device-sdk-go_PR-770:/w/workspace/dgexfoundry_device-sdk-go_PR-770:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-770@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-02T06:07:44.806Z] $ docker top aabac296b4cfe35dec40b9e643748e4b430bc59e8a9c7a6399db92ffac3119f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-02T06:07:45.478Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-02T06:07:46.206Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-02T06:07:46.655Z] + ls /var/log/sa-host [2021-02-02T06:07:46.655Z] + sadf -c /var/log/sa-host/sa02 [2021-02-02T06:07:46.655Z] file_magic: OK [2021-02-02T06:07:46.655Z] HZ: Using current value: 100 [2021-02-02T06:07:46.655Z] file_header: OK [2021-02-02T06:07:46.655Z] 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-02-02T06:07:46.655Z] Statistics: [2021-02-02T06:07:46.655Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-02T06:07:46.655Z] File successfully converted to sysstat format version 12.2.1 [2021-02-02T06:07:46.655Z] + sadf -c /var/log/sa-host/sa23 [2021-02-02T06:07:46.655Z] file_magic: OK [2021-02-02T06:07:46.655Z] HZ: Using current value: 100 [2021-02-02T06:07:46.655Z] file_header: OK [2021-02-02T06:07:46.655Z] 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-02-02T06:07:46.655Z] Statistics: [2021-02-02T06:07:46.655Z] Hnuu...uuuununununu... [2021-02-02T06:07:46.655Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-02T06:07:46.936Z] provisioning config files... [2021-02-02T06:07:46.953Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-770@tmp/config4596945940733046151tmp [Pipeline] { [Pipeline] echo [2021-02-02T06:07:47.075Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:47.430Z] ---> create-netrc.sh [Pipeline] } [2021-02-02T06:07:47.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-02T06:07:47.890Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:48.253Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-02T06:07:48.285Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:48.657Z] ---> sudo-logs.sh [2021-02-02T06:07:48.657Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-02T06:07:48.730Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:49.126Z] ---> job-cost.sh [2021-02-02T06:07:49.463Z] lf-activate-venv: SKIPPING [2021-02-02T06:07:49.463Z] INFO: No Stack... [2021-02-02T06:07:50.553Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-02T06:07:50.872Z] INFO: Archiving Costs [Pipeline] echo [2021-02-02T06:07:50.911Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-02T06:07:51.723Z] ---> logs-deploy.sh [2021-02-02T06:07:51.723Z] lf-activate-venv: SKIPPING [2021-02-02T06:07:51.723Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-770/1 [2021-02-02T06:07:51.723Z] INFO: archiving workspace using pattern(s): [2021-02-02T06:07:54.537Z] Archives upload complete. [2021-02-02T06:07:54.822Z] INFO: archiving logs to Nexus