Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2a36bafe293b25006f64805c70b5c0d22d9ee1a2+5b084bdeafa1e122a5c890164a05a3ac30530fc3 (d16dc12a89de7aec6bda40e1d51d442d0c0e92f2) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-30690 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [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-821 # 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 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 2a36bafe293b25006f64805c70b5c0d22d9ee1a2 Merge succeeded, producing 8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 Checking out Revision 8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 (PR-821) > 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/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a36bafe293b25006f64805c70b5c0d22d9ee1a2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 # timeout=10 Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" > git rev-list --no-walk 2a36bafe293b25006f64805c70b5c0d22d9ee1a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-20T02:43:17.878Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-20T02:43:18.189Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-20T02:43:18.285Z] ========================================================= [2021-03-20T02:43:18.285Z] EdgeX Global Pipelines Version Info [2021-03-20T02:43:18.285Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:43:19.828Z] ------------------- [2021-03-20T02:43:19.828Z] stable info: [2021-03-20T02:43:19.828Z] ------------------- [2021-03-20T02:43:19.828Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-20T02:43:19.828Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-20T02:43:19.828Z] Message: update stable to v1.0.186 [2021-03-20T02:43:20.779Z] ------------------- [2021-03-20T02:43:20.779Z] experimental info: [2021-03-20T02:43:20.779Z] ------------------- [2021-03-20T02:43:20.779Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-20T02:43:20.779Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-20T02:43:20.779Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-20T02:43:21.042Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-20T02:43:21.133Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-20T02:43:21.236Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-20T02:43:21.333Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-20T02:43:21.416Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-20T02:43:21.509Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-20T02:43:21.604Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-20T02:43:21.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-20T02:43:21.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-20T02:43:21.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-20T02:43:21.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-20T02:43:22.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-20T02:43:22.127Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-20T02:43:22.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-20T02:43:22.317Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-20T02:43:22.398Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-20T02:43:22.484Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-20T02:43:22.566Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-20T02:43:22.649Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-20T02:43:22.730Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-20T02:43:22.813Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-20T02:43:22.894Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-20T02:43:22.979Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-20T02:43:23.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-20T02:43:23.153Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-20T02:43:23.235Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-20T02:43:23.321Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-821 [Pipeline] echo [2021-03-20T02:43:23.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-821 [Pipeline] echo [2021-03-20T02:43:23.519Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-821 [Pipeline] echo [2021-03-20T02:43:23.604Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 [Pipeline] echo [2021-03-20T02:43:23.765Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d4898a [Pipeline] echo [2021-03-20T02:43:23.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-20T02:43:24.055Z] provisioning config files... [2021-03-20T02:43:24.093Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config5776587607295984681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:43:24.454Z] ---> docker-login.sh [2021-03-20T02:43:24.455Z] nexus3.edgexfoundry.org:10001 [2021-03-20T02:43:24.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:24.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:24.719Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:24.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:24.719Z] [2021-03-20T02:43:24.719Z] Login Succeeded [2021-03-20T02:43:24.719Z] nexus3.edgexfoundry.org:10002 [2021-03-20T02:43:24.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:24.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:24.982Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:24.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:24.982Z] [2021-03-20T02:43:24.982Z] Login Succeeded [2021-03-20T02:43:24.982Z] nexus3.edgexfoundry.org:10003 [2021-03-20T02:43:25.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:25.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:25.247Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:25.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:25.247Z] [2021-03-20T02:43:25.247Z] Login Succeeded [2021-03-20T02:43:25.247Z] nexus3.edgexfoundry.org:10004 [2021-03-20T02:43:25.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:25.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:25.513Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:25.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:25.513Z] [2021-03-20T02:43:25.513Z] Login Succeeded [2021-03-20T02:43:25.513Z] docker.io [2021-03-20T02:43:25.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:43:25.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:43:25.777Z] Configure a credential helper to remove this warning. See [2021-03-20T02:43:25.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:43:25.777Z] [2021-03-20T02:43:25.777Z] Login Succeeded [2021-03-20T02:43:25.777Z] ---> docker-login.sh ends [Pipeline] } [2021-03-20T02:43:25.787Z] 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-03-20T02:43:26.642Z] + git log --format=format:%s -1 8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 [Pipeline] echo [2021-03-20T02:43:26.710Z] GIT_COMMIT: 8d4898aa1248db2b6d2d71dcb52508ef9a1583a5, Commit Message: Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD [Pipeline] echo [2021-03-20T02:43:26.761Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:43:27.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-20T02:43:27.366Z] [2021-03-20T02:43:27.366Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:43:27.720Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-20T02:43:27.720Z] latest: Pulling from edgex-devops/git-semver [2021-03-20T02:43:27.720Z] 31603596830f: Pulling fs layer [2021-03-20T02:43:27.720Z] 2a8b12db71e7: Pulling fs layer [2021-03-20T02:43:27.720Z] 6ca5941a6612: Pulling fs layer [2021-03-20T02:43:27.720Z] ecc8261a40a4: Pulling fs layer [2021-03-20T02:43:27.720Z] ecc8261a40a4: Waiting [2021-03-20T02:43:27.721Z] 2a8b12db71e7: Verifying Checksum [2021-03-20T02:43:27.721Z] 2a8b12db71e7: Download complete [2021-03-20T02:43:27.721Z] 31603596830f: Download complete [2021-03-20T02:43:27.989Z] ecc8261a40a4: Verifying Checksum [2021-03-20T02:43:27.989Z] ecc8261a40a4: Download complete [2021-03-20T02:43:27.989Z] 6ca5941a6612: Verifying Checksum [2021-03-20T02:43:27.989Z] 6ca5941a6612: Download complete [2021-03-20T02:43:28.255Z] 31603596830f: Pull complete [2021-03-20T02:43:28.255Z] 2a8b12db71e7: Pull complete [2021-03-20T02:43:29.226Z] 6ca5941a6612: Pull complete [2021-03-20T02:43:29.491Z] ecc8261a40a4: Pull complete [2021-03-20T02:43:29.491Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-20T02:43:29.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-20T02:43:29.491Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-20T02:43:29.597Z] prd-centos7-docker-4c-2g-30690 does not seem to be running inside a container [2021-03-20T02:43:29.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-821 -v /w/workspace/dgexfoundry_device-sdk-go_PR-821:/w/workspace/dgexfoundry_device-sdk-go_PR-821:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-20T02:43:32.042Z] $ docker top eebc21aaa669c9033e86e76476f3a78f13203a1ce1bd0c7d44d593f007682c0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-20T02:43:32.336Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-20T02:43:32.336Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-20T02:43:32.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-20T02:43:32.575Z] $ docker exec eebc21aaa669c9033e86e76476f3a78f13203a1ce1bd0c7d44d593f007682c0c ssh-agent [2021-03-20T02:43:32.738Z] SSH_AUTH_SOCK=/tmp/ssh-jvhLvCRMG1mm/agent.11 [2021-03-20T02:43:32.738Z] SSH_AGENT_PID=17 [2021-03-20T02:43:32.749Z] Running ssh-add (command line suppressed) [2021-03-20T02:43:32.876Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_2378182243511219662.key (/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_2378182243511219662.key) [2021-03-20T02:43:32.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-20T02:43:33.277Z] + git tag --points-at HEAD [Pipeline] } [2021-03-20T02:43:33.299Z] $ docker exec --env ******** --env ******** eebc21aaa669c9033e86e76476f3a78f13203a1ce1bd0c7d44d593f007682c0c ssh-agent -k [2021-03-20T02:43:33.417Z] unset SSH_AUTH_SOCK; [2021-03-20T02:43:33.418Z] unset SSH_AGENT_PID; [2021-03-20T02:43:33.418Z] echo Agent pid 17 killed; [2021-03-20T02:43:33.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-20T02:43:33.617Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-20T02:43:33.617Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-20T02:43:33.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-20T02:43:33.792Z] $ docker exec eebc21aaa669c9033e86e76476f3a78f13203a1ce1bd0c7d44d593f007682c0c ssh-agent [2021-03-20T02:43:33.968Z] SSH_AUTH_SOCK=/tmp/ssh-wtGWZwjuRgnn/agent.46 [2021-03-20T02:43:33.968Z] SSH_AGENT_PID=51 [2021-03-20T02:43:33.975Z] Running ssh-add (command line suppressed) [2021-03-20T02:43:34.098Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_8969196794479520069.key (/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_8969196794479520069.key) [2021-03-20T02:43:34.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-20T02:43:34.490Z] + git semver init [2021-03-20T02:43:34.490Z] # -> Open(): unable to determine branch for HEAD [2021-03-20T02:43:34.490Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-821/.git [2021-03-20T02:43:34.490Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-821 [2021-03-20T02:43:34.490Z] # $SEMVER_REMOTE_NAME = origin [2021-03-20T02:43:34.490Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-20T02:43:34.490Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-20T02:43:34.490Z] # $SEMVER_BRANCH = PR-821 [2021-03-20T02:43:34.490Z] # $SEMVER_TEMP = /tmp/semver-280628599 [2021-03-20T02:43:34.490Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-20T02:43:35.067Z] # '/tmp/semver-280628599' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-821/.semver' [2021-03-20T02:43:35.067Z] # -> Force: false [2021-03-20T02:43:35.336Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-821/.semver [Pipeline] } [2021-03-20T02:43:35.350Z] $ docker exec --env ******** --env ******** eebc21aaa669c9033e86e76476f3a78f13203a1ce1bd0c7d44d593f007682c0c ssh-agent -k [2021-03-20T02:43:35.479Z] unset SSH_AUTH_SOCK; [2021-03-20T02:43:35.479Z] unset SSH_AGENT_PID; [2021-03-20T02:43:35.479Z] echo Agent pid 51 killed; [2021-03-20T02:43:35.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-20T02:43:35.982Z] + git semver [Pipeline] } [2021-03-20T02:43:36.000Z] $ docker stop --time=1 eebc21aaa669c9033e86e76476f3a78f13203a1ce1bd0c7d44d593f007682c0c [2021-03-20T02:43:37.431Z] $ docker rm -f eebc21aaa669c9033e86e76476f3a78f13203a1ce1bd0c7d44d593f007682c0c [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-20T02:43:37.917Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-20T02:43:38.340Z] Stashed 1 file(s) [Pipeline] echo [2021-03-20T02:43:38.343Z] [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-03-20T02:43:53.872Z] Still waiting to schedule task [2021-03-20T02:43:53.872Z] ‘prd-centos7-docker-4c-2g-30693’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30485’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30654’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-30691’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-03-20T02:43:53.874Z] Still waiting to schedule task [2021-03-20T02:43:53.874Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-20T02:46:05.537Z] Running on prd-centos7-docker-4c-2g-30695 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [Pipeline] { [Pipeline] ws [2021-03-20T02:46:05.602Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-20T02:46:20.235Z] using credential edgex-jenkins-ssh [2021-03-20T02:46:20.377Z] Cloning the remote Git repository [2021-03-20T02:46:20.419Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:46:20.499Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-20T02:46:21.286Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:46:21.286Z] > git --version # timeout=10 [2021-03-20T02:46:21.349Z] > git --version # 'git version 2.24.3' [2021-03-20T02:46:21.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:46:21.420Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:46:22.431Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:46:22.455Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:46:22.487Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:46:22.953Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 2a36bafe293b25006f64805c70b5c0d22d9ee1a2 [2021-03-20T02:46:23.178Z] Merge succeeded, producing 5b358b5810e53a9f8f34b9d73a755d833449e008 [2021-03-20T02:46:23.179Z] Checking out Revision 5b358b5810e53a9f8f34b9d73a755d833449e008 (PR-821) [2021-03-20T02:46:22.512Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:46:22.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:46:22.541Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-20T02:46:22.967Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:46:22.977Z] > git checkout -f 2a36bafe293b25006f64805c70b5c0d22d9ee1a2 # timeout=10 [2021-03-20T02:46:23.049Z] > git remote # timeout=10 [2021-03-20T02:46:23.068Z] > git config --get remote.origin.url # timeout=10 [2021-03-20T02:46:23.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:46:23.086Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-20T02:46:23.128Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-20T02:46:23.187Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:46:23.213Z] > git checkout -f 5b358b5810e53a9f8f34b9d73a755d833449e008 # timeout=10 [2021-03-20T02:46:27.364Z] Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" [2021-03-20T02:46:27.371Z] > git rev-list --no-walk 2a36bafe293b25006f64805c70b5c0d22d9ee1a2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-20T02:46:29.494Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:46:29.847Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:46:30.215Z] + sudo service docker restart [2021-03-20T02:46:30.215Z] + true [2021-03-20T02:46:30.215Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-20T02:46:31.741Z] provisioning config files... [2021-03-20T02:46:31.772Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1215536610504776113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:46:32.193Z] ---> docker-login.sh [2021-03-20T02:46:32.193Z] nexus3.edgexfoundry.org:10001 [2021-03-20T02:46:33.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:34.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:34.397Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:34.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:34.397Z] [2021-03-20T02:46:34.397Z] Login Succeeded [2021-03-20T02:46:34.397Z] nexus3.edgexfoundry.org:10002 [2021-03-20T02:46:34.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:35.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:35.008Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:35.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:35.008Z] [2021-03-20T02:46:35.008Z] Login Succeeded [2021-03-20T02:46:35.008Z] nexus3.edgexfoundry.org:10003 [2021-03-20T02:46:35.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:35.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:35.292Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:35.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:35.292Z] [2021-03-20T02:46:35.292Z] Login Succeeded [2021-03-20T02:46:35.292Z] nexus3.edgexfoundry.org:10004 [2021-03-20T02:46:35.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:35.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:35.564Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:35.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:35.564Z] [2021-03-20T02:46:35.564Z] Login Succeeded [2021-03-20T02:46:35.564Z] docker.io [2021-03-20T02:46:35.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:46:36.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:46:36.102Z] Configure a credential helper to remove this warning. See [2021-03-20T02:46:36.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:46:36.102Z] [2021-03-20T02:46:36.102Z] Login Succeeded [2021-03-20T02:46:36.102Z] ---> docker-login.sh ends [Pipeline] } [2021-03-20T02:46:36.172Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-20T02:46:36.764Z] ========================================================= [2021-03-20T02:46:36.764Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-20T02:46:36.764Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:46:37.181Z] + 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-03-20T02:46:37.802Z] Sending build context to Docker daemon 2.285MB [2021-03-20T02:46:37.802Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:46:37.802Z] Step 2/8 : FROM ${BASE} [2021-03-20T02:46:37.802Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-20T02:46:37.802Z] 188c0c94c7c5: Pulling fs layer [2021-03-20T02:46:37.802Z] 0ef7d3d256c8: Pulling fs layer [2021-03-20T02:46:37.802Z] de9db76c5a1d: Pulling fs layer [2021-03-20T02:46:37.802Z] bca2f99d35d6: Pulling fs layer [2021-03-20T02:46:37.802Z] 93359f2a8cfa: Pulling fs layer [2021-03-20T02:46:37.802Z] 7c6f9722023f: Pulling fs layer [2021-03-20T02:46:37.802Z] a35cf1a2eb13: Pulling fs layer [2021-03-20T02:46:37.802Z] bca2f99d35d6: Waiting [2021-03-20T02:46:37.802Z] 93359f2a8cfa: Waiting [2021-03-20T02:46:37.802Z] 7c6f9722023f: Waiting [2021-03-20T02:46:37.802Z] a35cf1a2eb13: Waiting [2021-03-20T02:46:38.096Z] de9db76c5a1d: Verifying Checksum [2021-03-20T02:46:38.096Z] de9db76c5a1d: Download complete [2021-03-20T02:46:38.096Z] 0ef7d3d256c8: Verifying Checksum [2021-03-20T02:46:38.096Z] 0ef7d3d256c8: Download complete [2021-03-20T02:46:38.096Z] 93359f2a8cfa: Download complete [2021-03-20T02:46:38.096Z] 188c0c94c7c5: Verifying Checksum [2021-03-20T02:46:38.096Z] 188c0c94c7c5: Download complete [2021-03-20T02:46:38.096Z] 7c6f9722023f: Verifying Checksum [2021-03-20T02:46:38.096Z] 7c6f9722023f: Download complete [2021-03-20T02:46:38.686Z] 188c0c94c7c5: Pull complete [2021-03-20T02:46:38.976Z] 0ef7d3d256c8: Pull complete [2021-03-20T02:46:39.659Z] de9db76c5a1d: Pull complete [2021-03-20T02:46:41.121Z] a35cf1a2eb13: Verifying Checksum [2021-03-20T02:46:41.121Z] a35cf1a2eb13: Download complete [2021-03-20T02:46:42.745Z] bca2f99d35d6: Verifying Checksum [2021-03-20T02:46:42.745Z] bca2f99d35d6: Download complete [2021-03-20T02:46:58.105Z] bca2f99d35d6: Pull complete [2021-03-20T02:46:58.105Z] 93359f2a8cfa: Pull complete [2021-03-20T02:46:58.105Z] 7c6f9722023f: Pull complete [2021-03-20T02:47:06.486Z] a35cf1a2eb13: Pull complete [2021-03-20T02:47:06.486Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-20T02:47:06.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-20T02:47:06.486Z] ---> a62c8e92a672 [2021-03-20T02:47:06.486Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:47:07.073Z] ---> Running in 91e3d6d9353f [2021-03-20T02:47:07.350Z] Removing intermediate container 91e3d6d9353f [2021-03-20T02:47:07.350Z] ---> e60d02295c5d [2021-03-20T02:47:07.350Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:47:07.350Z] ---> Running in 7bc4c20b3e25 [2021-03-20T02:47:07.484Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30696 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [Pipeline] { [Pipeline] ws [2021-03-20T02:47:07.534Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-03-20T02:47:11.838Z] Removing intermediate container 7bc4c20b3e25 [2021-03-20T02:47:11.838Z] ---> 5f8a4f95cf2e [2021-03-20T02:47:11.838Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-20T02:47:11.838Z] ---> Running in 31d894ba1dba [2021-03-20T02:47:12.697Z] using credential edgex-jenkins-ssh [2021-03-20T02:47:12.754Z] Cloning the remote Git repository [2021-03-20T02:47:12.801Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-20T02:47:13.769Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-20T02:47:12.817Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:47:12.927Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-03-20T02:47:13.013Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:47:13.014Z] > git --version # timeout=10 [2021-03-20T02:47:13.033Z] > git --version # 'git version 2.17.1' [2021-03-20T02:47:13.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:47:13.102Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:47:14.863Z] OK: 166 MiB in 39 packages [2021-03-20T02:47:14.904Z] Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 2a36bafe293b25006f64805c70b5c0d22d9ee1a2 [2021-03-20T02:47:14.305Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:47:14.327Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-20T02:47:14.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-20T02:47:14.410Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-20T02:47:14.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:47:14.424Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-20T02:47:14.932Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:47:14.953Z] > git checkout -f 2a36bafe293b25006f64805c70b5c0d22d9ee1a2 # timeout=10 [2021-03-20T02:47:15.082Z] > git remote # timeout=10 [2021-03-20T02:47:15.329Z] Merge succeeded, producing 18139bfa57558a75e1831277e0341c11fbdf8205 [2021-03-20T02:47:15.329Z] Checking out Revision 18139bfa57558a75e1831277e0341c11fbdf8205 (PR-821) [2021-03-20T02:47:15.847Z] Removing intermediate container 31d894ba1dba [2021-03-20T02:47:15.847Z] ---> 933fbc712bbb [2021-03-20T02:47:15.847Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-20T02:47:15.847Z] ---> Running in a17a3e083082 [2021-03-20T02:47:16.127Z] Removing intermediate container a17a3e083082 [2021-03-20T02:47:16.127Z] ---> 8f21cdc62e3c [2021-03-20T02:47:16.127Z] Step 7/8 : COPY . . [2021-03-20T02:47:15.146Z] > git config --get remote.origin.url # timeout=10 [2021-03-20T02:47:15.173Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-20T02:47:15.188Z] > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [2021-03-20T02:47:15.269Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-20T02:47:15.340Z] > git config core.sparsecheckout # timeout=10 [2021-03-20T02:47:15.379Z] > git checkout -f 18139bfa57558a75e1831277e0341c11fbdf8205 # timeout=10 [2021-03-20T02:47:19.574Z] ---> 8ce7635d9392 [2021-03-20T02:47:19.575Z] Step 8/8 : RUN go mod download [2021-03-20T02:47:19.575Z] ---> Running in 8d7c6225b503 [2021-03-20T02:47:19.628Z] Commit message: "Merge commit '5b084bdeafa1e122a5c890164a05a3ac30530fc3' into HEAD" [2021-03-20T02:47:19.639Z] > git rev-list --no-walk 2a36bafe293b25006f64805c70b5c0d22d9ee1a2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-20T02:47:21.134Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:47:21.600Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-20T02:47:21.980Z] + sudo service docker restart [2021-03-20T02:47:21.980Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-20T02:47:24.687Z] provisioning config files... [2021-03-20T02:47:24.728Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config2913017863035850828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:47:25.136Z] ---> docker-login.sh [2021-03-20T02:47:25.136Z] nexus3.edgexfoundry.org:10001 [2021-03-20T02:47:26.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:47:26.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:47:26.395Z] Configure a credential helper to remove this warning. See [2021-03-20T02:47:26.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:47:26.395Z] [2021-03-20T02:47:26.395Z] Login Succeeded [2021-03-20T02:47:26.395Z] nexus3.edgexfoundry.org:10002 [2021-03-20T02:47:26.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:47:26.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:47:26.996Z] Configure a credential helper to remove this warning. See [2021-03-20T02:47:26.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:47:26.996Z] [2021-03-20T02:47:26.996Z] Login Succeeded [2021-03-20T02:47:26.996Z] nexus3.edgexfoundry.org:10003 [2021-03-20T02:47:27.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:47:27.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:47:27.596Z] Configure a credential helper to remove this warning. See [2021-03-20T02:47:27.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:47:27.596Z] [2021-03-20T02:47:27.596Z] Login Succeeded [2021-03-20T02:47:27.596Z] nexus3.edgexfoundry.org:10004 [2021-03-20T02:47:28.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:47:28.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:47:28.200Z] Configure a credential helper to remove this warning. See [2021-03-20T02:47:28.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:47:28.200Z] [2021-03-20T02:47:28.200Z] Login Succeeded [2021-03-20T02:47:28.200Z] docker.io [2021-03-20T02:47:28.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-20T02:47:29.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-20T02:47:29.076Z] Configure a credential helper to remove this warning. See [2021-03-20T02:47:29.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-20T02:47:29.076Z] [2021-03-20T02:47:29.076Z] Login Succeeded [2021-03-20T02:47:29.076Z] ---> docker-login.sh ends [Pipeline] } [2021-03-20T02:47:29.095Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-20T02:47:29.576Z] ========================================================= [2021-03-20T02:47:29.576Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-20T02:47:29.576Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:47:29.966Z] + 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-03-20T02:47:30.244Z] Sending build context to Docker daemon 2.284MB [2021-03-20T02:47:30.518Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:47:30.518Z] Step 2/8 : FROM ${BASE} [2021-03-20T02:47:30.518Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-20T02:47:30.518Z] 5f621e34cdf4: Pulling fs layer [2021-03-20T02:47:30.518Z] a4357932f1b6: Pulling fs layer [2021-03-20T02:47:30.518Z] 18c013af1878: Pulling fs layer [2021-03-20T02:47:30.518Z] 00ac8860ef70: Pulling fs layer [2021-03-20T02:47:30.518Z] 63d7cb157983: Pulling fs layer [2021-03-20T02:47:30.518Z] b116817d02f9: Pulling fs layer [2021-03-20T02:47:30.518Z] 745a02a5169b: Pulling fs layer [2021-03-20T02:47:30.518Z] 00ac8860ef70: Waiting [2021-03-20T02:47:30.518Z] 63d7cb157983: Waiting [2021-03-20T02:47:30.518Z] b116817d02f9: Waiting [2021-03-20T02:47:30.518Z] 745a02a5169b: Waiting [2021-03-20T02:47:30.518Z] 18c013af1878: Download complete [2021-03-20T02:47:30.518Z] a4357932f1b6: Verifying Checksum [2021-03-20T02:47:30.518Z] a4357932f1b6: Download complete [2021-03-20T02:47:30.518Z] 63d7cb157983: Verifying Checksum [2021-03-20T02:47:30.518Z] 63d7cb157983: Download complete [2021-03-20T02:47:30.791Z] b116817d02f9: Download complete [2021-03-20T02:47:31.067Z] 5f621e34cdf4: Verifying Checksum [2021-03-20T02:47:31.067Z] 5f621e34cdf4: Download complete [2021-03-20T02:47:31.677Z] 5f621e34cdf4: Pull complete [2021-03-20T02:47:32.283Z] a4357932f1b6: Pull complete [2021-03-20T02:47:32.559Z] 18c013af1878: Pull complete [2021-03-20T02:47:33.158Z] 745a02a5169b: Download complete [2021-03-20T02:47:34.599Z] 00ac8860ef70: Verifying Checksum [2021-03-20T02:47:34.599Z] 00ac8860ef70: Download complete [2021-03-20T02:47:44.770Z] 00ac8860ef70: Pull complete [2021-03-20T02:47:44.770Z] 63d7cb157983: Pull complete [2021-03-20T02:47:44.770Z] b116817d02f9: Pull complete [2021-03-20T02:47:48.171Z] 745a02a5169b: Pull complete [2021-03-20T02:47:48.171Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-20T02:47:48.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-20T02:47:48.171Z] ---> b7e6874047d6 [2021-03-20T02:47:48.171Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:47:50.818Z] ---> Running in 378742a2290f [2021-03-20T02:47:51.416Z] Removing intermediate container 378742a2290f [2021-03-20T02:47:51.416Z] ---> 8b9838e48bf3 [2021-03-20T02:47:51.416Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:47:51.416Z] ---> Running in 4316aa814bf0 [2021-03-20T02:47:54.044Z] Removing intermediate container 4316aa814bf0 [2021-03-20T02:47:54.044Z] ---> 903b30bfbdcb [2021-03-20T02:47:54.044Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-20T02:47:54.044Z] ---> Running in 9e5eec91a2d7 [2021-03-20T02:47:55.042Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-20T02:47:56.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-20T02:47:57.911Z] OK: 142 MiB in 39 packages [2021-03-20T02:47:58.761Z] Removing intermediate container 8d7c6225b503 [2021-03-20T02:47:58.761Z] ---> 0dbbe463cb2f [2021-03-20T02:47:58.761Z] Successfully built 0dbbe463cb2f [2021-03-20T02:47:58.761Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:47:58.893Z] Removing intermediate container 9e5eec91a2d7 [2021-03-20T02:47:58.893Z] ---> dcac45baf508 [2021-03-20T02:47:58.893Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-20T02:47:58.893Z] ---> Running in ff3373bb5d28 [2021-03-20T02:47:59.156Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-20T02:47:59.497Z] Removing intermediate container ff3373bb5d28 [2021-03-20T02:47:59.497Z] ---> eda6b2c63fb6 [2021-03-20T02:47:59.497Z] Step 7/8 : COPY . . [2021-03-20T02:47:59.745Z] . [Pipeline] withDockerContainer [2021-03-20T02:48:00.081Z] prd-centos7-docker-4c-2g-30695 does not seem to be running inside a container [2021-03-20T02:48:00.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-20T02:48:00.933Z] ---> 2199c61d4c60 [2021-03-20T02:48:00.933Z] Step 8/8 : RUN go mod download [2021-03-20T02:48:00.933Z] ---> Running in 4b6e3dd88730 [2021-03-20T02:48:02.282Z] $ docker top b7724c55db36242864f7920e4dc15257f30fc7ee984e517400cee5de68e4888a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:48:03.129Z] + go version [2021-03-20T02:48:03.129Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-20T02:48:03.176Z] $ docker stop --time=1 b7724c55db36242864f7920e4dc15257f30fc7ee984e517400cee5de68e4888a [2021-03-20T02:48:04.830Z] $ docker rm -f b7724c55db36242864f7920e4dc15257f30fc7ee984e517400cee5de68e4888a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:48:05.808Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-20T02:48:05.808Z] . [Pipeline] withDockerContainer [2021-03-20T02:48:05.953Z] prd-centos7-docker-4c-2g-30695 does not seem to be running inside a container [2021-03-20T02:48:06.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-20T02:48:07.389Z] $ docker top 151d092ee5e7b78de1134b2b795cb0252060d4ad285475a7d16beab624aa3fb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:48:08.604Z] + make test [2021-03-20T02:48:08.604Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-20T02:48:27.278Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-20T02:48:27.720Z] Removing intermediate container 4b6e3dd88730 [2021-03-20T02:48:27.720Z] ---> 98cf50249280 [2021-03-20T02:48:27.720Z] Successfully built 98cf50249280 [2021-03-20T02:48:27.720Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:48:28.064Z] + docker inspect -f . ci-base-image-arm64 [2021-03-20T02:48:28.064Z] . [Pipeline] withDockerContainer [2021-03-20T02:48:28.340Z] prd-ubuntu18.04-docker-arm64-4c-16g-30696 does not seem to be running inside a container [2021-03-20T02:48:28.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2021-03-20T02:48:29.953Z] $ docker top 1c1fcee80d74f008a85c5a47c4590b081444d0ffd2678f470beed8d2f1d234ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:48:30.982Z] + go version [2021-03-20T02:48:30.982Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-20T02:48:31.003Z] $ docker stop --time=1 1c1fcee80d74f008a85c5a47c4590b081444d0ffd2678f470beed8d2f1d234ff [2021-03-20T02:48:32.896Z] $ docker rm -f 1c1fcee80d74f008a85c5a47c4590b081444d0ffd2678f470beed8d2f1d234ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:48:33.909Z] + docker inspect -f . ci-base-image-arm64 [2021-03-20T02:48:33.909Z] . [Pipeline] withDockerContainer [2021-03-20T02:48:34.161Z] prd-ubuntu18.04-docker-arm64-4c-16g-30696 does not seem to be running inside a container [2021-03-20T02:48:34.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2021-03-20T02:48:35.585Z] $ docker top 0898e28d4b22cecd8a8083a376ef20996e2f5d8d1496f145e5b4a893db520b88 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:48:36.565Z] + make test [2021-03-20T02:48:36.565Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-20T02:48:58.982Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-20T02:49:15.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-20T02:49:15.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-20T02:49:15.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-20T02:49:15.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-20T02:49:15.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.096s coverage: 27.0% of statements [2021-03-20T02:49:15.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.110s coverage: 81.2% of statements [2021-03-20T02:49:43.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.072s coverage: 10.5% of statements [2021-03-20T02:49:43.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-20T02:49:43.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-20T02:49:43.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.177s coverage: 32.5% of statements [2021-03-20T02:49:43.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-20T02:49:43.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-20T02:49:43.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-20T02:49:43.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.223s coverage: 57.3% of statements [2021-03-20T02:49:43.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.787s coverage: 6.6% of statements [2021-03-20T02:49:43.653Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.513s coverage: 5.1% of statements [2021-03-20T02:49:43.653Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-20T02:49:43.653Z] GO111MODULE=on go vet ./... [2021-03-20T02:49:46.031Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-20T02:49:46.031Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-20T02:49:46.031Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-20T02:49:46.031Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-20T02:49:46.309Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 27.0% of statements [2021-03-20T02:49:47.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.217s coverage: 81.2% of statements [2021-03-20T02:50:17.163Z] gofmt -l . [2021-03-20T02:50:17.163Z] [ "`gofmt -l .`" = "" ] [2021-03-20T02:50:17.163Z] ./bin/test-attribution-txt.sh [2021-03-20T02:50:17.163Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-20T02:50:18.277Z] $ docker stop --time=1 151d092ee5e7b78de1134b2b795cb0252060d4ad285475a7d16beab624aa3fb1 [2021-03-20T02:50:19.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.161s coverage: 10.5% of statements [2021-03-20T02:50:19.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-20T02:50:19.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-20T02:50:19.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.227s coverage: 32.5% of statements [2021-03-20T02:50:19.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-20T02:50:19.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-20T02:50:19.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-20T02:50:19.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.253s coverage: 57.3% of statements [2021-03-20T02:50:19.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.982s coverage: 6.6% of statements [2021-03-20T02:50:19.748Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.1% of statements [2021-03-20T02:50:19.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-20T02:50:19.748Z] GO111MODULE=on go vet ./... [2021-03-20T02:50:20.777Z] $ docker rm -f 151d092ee5e7b78de1134b2b795cb0252060d4ad285475a7d16beab624aa3fb1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-20T02:50:21.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-20T02:50:23.152Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-20T02:50:24.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-20T02:50:25.154Z] + ls -al . [2021-03-20T02:50:25.154Z] total 184 [2021-03-20T02:50:25.154Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 20 02:50 . [2021-03-20T02:50:25.154Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 20 02:46 .. [2021-03-20T02:50:25.154Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 20 02:46 bin [2021-03-20T02:50:25.154Z] -rw-r--r--. 1 jenkins jenkins 99588 Mar 20 02:49 coverage.out [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 20 02:46 Dockerfile.build [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 20 02:46 .dockerignore [2021-03-20T02:50:25.154Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 20 02:46 example [2021-03-20T02:50:25.154Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 20 02:46 .git [2021-03-20T02:50:25.154Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 20 02:46 .github [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 20 02:46 .gitignore [2021-03-20T02:50:25.154Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 20 02:50 go.mod [2021-03-20T02:50:25.154Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 20 02:50 go.sum [2021-03-20T02:50:25.154Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 20 02:46 internal [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 20 02:46 Jenkinsfile [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 20 02:46 LICENSE [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 20 02:46 Makefile [2021-03-20T02:50:25.154Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 20 02:46 openapi [2021-03-20T02:50:25.154Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 20 02:46 pkg [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 20 02:46 README.md [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 20 02:46 RELEASE-NOTES.txt [2021-03-20T02:50:25.154Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 20 02:46 snap [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 20 02:43 VERSION [2021-03-20T02:50:25.154Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 20 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:50:26.054Z] + 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=8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 --label arch=amd64 --label version=0.0.0 . [2021-03-20T02:50:27.013Z] Sending build context to Docker daemon 2.385MB [2021-03-20T02:50:27.013Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:50:27.013Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-20T02:50:27.013Z] ---> 0dbbe463cb2f [2021-03-20T02:50:27.013Z] Step 3/24 : ARG MAKE='make build' [2021-03-20T02:50:27.013Z] ---> Running in 68954954515b [2021-03-20T02:50:27.402Z] Removing intermediate container 68954954515b [2021-03-20T02:50:27.402Z] ---> 726d6c578288 [2021-03-20T02:50:27.402Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-20T02:50:27.713Z] ---> Running in 3d6964a8ca1a [2021-03-20T02:50:28.040Z] Removing intermediate container 3d6964a8ca1a [2021-03-20T02:50:28.040Z] ---> bdff2afed156 [2021-03-20T02:50:28.040Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:50:28.040Z] ---> Running in 77e815e88684 [2021-03-20T02:50:28.334Z] Removing intermediate container 77e815e88684 [2021-03-20T02:50:28.334Z] ---> 4f2c5d578df7 [2021-03-20T02:50:28.334Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:50:28.677Z] ---> Running in 147db96ad173 [2021-03-20T02:50:30.260Z] Removing intermediate container 147db96ad173 [2021-03-20T02:50:30.260Z] ---> afd1e7a4d0b9 [2021-03-20T02:50:30.260Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-20T02:50:30.593Z] ---> Running in f3fa392857cc [2021-03-20T02:50:31.621Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-20T02:50:32.601Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-20T02:50:33.660Z] OK: 166 MiB in 39 packages [2021-03-20T02:50:34.655Z] Removing intermediate container f3fa392857cc [2021-03-20T02:50:34.655Z] ---> b24ad98a99f9 [2021-03-20T02:50:34.655Z] Step 8/24 : COPY . . [2021-03-20T02:50:35.677Z] ---> 845cbaf7dc4e [2021-03-20T02:50:35.677Z] Step 9/24 : RUN ${MAKE} [2021-03-20T02:50:35.677Z] ---> Running in 1c69c9d81f3e [2021-03-20T02:50:36.680Z] 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-03-20T02:50:52.361Z] gofmt -l . [2021-03-20T02:50:52.361Z] [ "`gofmt -l .`" = "" ] [2021-03-20T02:50:52.361Z] ./bin/test-attribution-txt.sh [2021-03-20T02:50:52.361Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-20T02:50:52.977Z] $ docker stop --time=1 0898e28d4b22cecd8a8083a376ef20996e2f5d8d1496f145e5b4a893db520b88 [2021-03-20T02:50:55.262Z] $ docker rm -f 0898e28d4b22cecd8a8083a376ef20996e2f5d8d1496f145e5b4a893db520b88 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-20T02:50:56.299Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-20T02:50:56.371Z] Warning: overwriting stash ‘coverage-report’ [2021-03-20T02:50:57.153Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-20T02:50:57.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-20T02:50:58.240Z] + ls -al . [2021-03-20T02:50:58.240Z] total 220 [2021-03-20T02:50:58.240Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 02:50 . [2021-03-20T02:50:58.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:47 .. [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 02:47 .dockerignore [2021-03-20T02:50:58.240Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 02:47 .git [2021-03-20T02:50:58.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 02:47 .github [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 20 02:47 .gitignore [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 20 02:47 Dockerfile.build [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 20 02:47 Jenkinsfile [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 02:47 LICENSE [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 20 02:47 Makefile [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 20 02:47 README.md [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 20 02:47 RELEASE-NOTES.txt [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 02:43 VERSION [2021-03-20T02:50:58.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 02:47 bin [2021-03-20T02:50:58.240Z] -rw-r--r-- 1 jenkins jenkins 99587 Mar 20 02:50 coverage.out [2021-03-20T02:50:58.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:47 example [2021-03-20T02:50:58.240Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 20 02:50 go.mod [2021-03-20T02:50:58.240Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 20 02:50 go.sum [2021-03-20T02:50:58.240Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 20 02:47 internal [2021-03-20T02:50:58.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:47 openapi [2021-03-20T02:50:58.240Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 02:47 pkg [2021-03-20T02:50:58.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 02:47 snap [2021-03-20T02:50:58.240Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 02:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:50:58.590Z] + 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=8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 --label arch=arm64 --label version=0.0.0 . [2021-03-20T02:50:58.867Z] Sending build context to Docker daemon 2.384MB [2021-03-20T02:50:58.867Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-20T02:50:58.867Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-20T02:50:58.867Z] ---> 98cf50249280 [2021-03-20T02:50:58.867Z] Step 3/24 : ARG MAKE='make build' [2021-03-20T02:50:59.480Z] ---> Running in 24f1dcf33a68 [2021-03-20T02:50:59.754Z] Removing intermediate container 24f1dcf33a68 [2021-03-20T02:50:59.754Z] ---> 6932588c3314 [2021-03-20T02:50:59.754Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-20T02:50:59.754Z] ---> Running in d54bce1adab5 [2021-03-20T02:51:00.352Z] Removing intermediate container d54bce1adab5 [2021-03-20T02:51:00.352Z] ---> 7399a8f4d4d6 [2021-03-20T02:51:00.352Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:51:00.352Z] ---> Running in ebc23fcd1f58 [2021-03-20T02:51:00.951Z] Removing intermediate container ebc23fcd1f58 [2021-03-20T02:51:00.951Z] ---> 2af4b86942b3 [2021-03-20T02:51:00.951Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-20T02:51:00.951Z] ---> Running in b9723313fe99 [2021-03-20T02:51:03.583Z] Removing intermediate container b9723313fe99 [2021-03-20T02:51:03.583Z] ---> 30cd9d30d845 [2021-03-20T02:51:03.583Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-20T02:51:03.583Z] ---> Running in e203bce45c97 [2021-03-20T02:51:04.565Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-20T02:51:05.157Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-20T02:51:06.596Z] OK: 142 MiB in 39 packages [2021-03-20T02:51:07.568Z] Removing intermediate container e203bce45c97 [2021-03-20T02:51:07.568Z] ---> dccf7de65d85 [2021-03-20T02:51:07.568Z] Step 8/24 : COPY . . [2021-03-20T02:51:08.537Z] ---> 310b95945b61 [2021-03-20T02:51:08.537Z] Step 9/24 : RUN ${MAKE} [2021-03-20T02:51:08.808Z] ---> Running in 1e53ff1acf33 [2021-03-20T02:51:09.779Z] 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-03-20T02:51:10.117Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-20T02:51:11.167Z] Removing intermediate container 1c69c9d81f3e [2021-03-20T02:51:11.167Z] ---> fe257807655f [2021-03-20T02:51:11.167Z] Step 10/24 : FROM scratch [2021-03-20T02:51:11.167Z] ---> [2021-03-20T02:51:11.167Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:51:11.475Z] ---> Running in a1909b654ff5 [2021-03-20T02:51:11.831Z] Removing intermediate container a1909b654ff5 [2021-03-20T02:51:11.831Z] ---> a4448f89f690 [2021-03-20T02:51:11.831Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-20T02:51:11.831Z] ---> Running in a106a615ba7f [2021-03-20T02:51:12.149Z] Removing intermediate container a106a615ba7f [2021-03-20T02:51:12.149Z] ---> 70787680577e [2021-03-20T02:51:12.149Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-20T02:51:12.149Z] ---> Running in df8e3e95fe24 [2021-03-20T02:51:12.435Z] Removing intermediate container df8e3e95fe24 [2021-03-20T02:51:12.435Z] ---> 8a3ea9a9c448 [2021-03-20T02:51:12.435Z] Step 14/24 : WORKDIR / [2021-03-20T02:51:12.707Z] ---> Running in 8be8540c0110 [2021-03-20T02:51:12.983Z] Removing intermediate container 8be8540c0110 [2021-03-20T02:51:12.983Z] ---> 65f6b329132d [2021-03-20T02:51:12.983Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-20T02:51:13.571Z] ---> a5b9d2a8d500 [2021-03-20T02:51:13.571Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-20T02:51:13.846Z] ---> 26c3ac31cacb [2021-03-20T02:51:13.846Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-20T02:51:14.444Z] ---> ee6a644ad6ed [2021-03-20T02:51:14.444Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-20T02:51:14.717Z] ---> 7d61fa150b4a [2021-03-20T02:51:14.717Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-20T02:51:14.985Z] ---> 07b61f8aba9d [2021-03-20T02:51:14.985Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-20T02:51:14.985Z] ---> Running in 07f740811dc1 [2021-03-20T02:51:15.590Z] Removing intermediate container 07f740811dc1 [2021-03-20T02:51:15.590Z] ---> 42d661f71e3d [2021-03-20T02:51:15.590Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-20T02:51:15.590Z] ---> Running in 4113fe12ceba [2021-03-20T02:51:16.191Z] Removing intermediate container 4113fe12ceba [2021-03-20T02:51:16.191Z] ---> 12b5429a5630 [2021-03-20T02:51:16.191Z] Step 22/24 : LABEL arch=amd64 [2021-03-20T02:51:16.191Z] ---> Running in 4bc7ba1ba480 [2021-03-20T02:51:16.460Z] Removing intermediate container 4bc7ba1ba480 [2021-03-20T02:51:16.460Z] ---> 0dac90de7fca [2021-03-20T02:51:16.460Z] Step 23/24 : LABEL git_sha=8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 [2021-03-20T02:51:16.804Z] ---> Running in a12d3ba966aa [2021-03-20T02:51:17.074Z] Removing intermediate container a12d3ba966aa [2021-03-20T02:51:17.074Z] ---> 5dd1b9b90652 [2021-03-20T02:51:17.074Z] Step 24/24 : LABEL version=0.0.0 [2021-03-20T02:51:17.074Z] ---> Running in 690afe5359b3 [2021-03-20T02:51:17.352Z] Removing intermediate container 690afe5359b3 [2021-03-20T02:51:17.352Z] ---> d9e40f0041fd [2021-03-20T02:51:17.352Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-20T02:51:17.663Z] Successfully built d9e40f0041fd [2021-03-20T02:51:17.663Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:51:18.683Z] ---> job-cost.sh [2021-03-20T02:51:18.683Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-YtAf [2021-03-20T02:51:36.588Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-20T02:51:37.569Z] Removing intermediate container 1e53ff1acf33 [2021-03-20T02:51:37.569Z] ---> 7645881b1708 [2021-03-20T02:51:37.569Z] Step 10/24 : FROM scratch [2021-03-20T02:51:37.569Z] ---> [2021-03-20T02:51:37.569Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-20T02:51:37.569Z] ---> Running in 7da597778acc [2021-03-20T02:51:38.164Z] Removing intermediate container 7da597778acc [2021-03-20T02:51:38.164Z] ---> 04b6bbc9d9c0 [2021-03-20T02:51:38.164Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-20T02:51:38.164Z] ---> Running in 86f1196aea3c [2021-03-20T02:51:38.434Z] Removing intermediate container 86f1196aea3c [2021-03-20T02:51:38.434Z] ---> 8416b9440aad [2021-03-20T02:51:38.434Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-20T02:51:38.709Z] ---> Running in d3da3cdcc91c [2021-03-20T02:51:38.980Z] Removing intermediate container d3da3cdcc91c [2021-03-20T02:51:38.980Z] ---> 1e726652b607 [2021-03-20T02:51:38.980Z] Step 14/24 : WORKDIR / [2021-03-20T02:51:39.252Z] ---> Running in 3db1e58f24bf [2021-03-20T02:51:39.524Z] Removing intermediate container 3db1e58f24bf [2021-03-20T02:51:39.524Z] ---> cfd2990b7df8 [2021-03-20T02:51:39.524Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-20T02:51:40.953Z] ---> 848965cf9d74 [2021-03-20T02:51:40.953Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-20T02:51:41.545Z] ---> 60256bcfd594 [2021-03-20T02:51:41.545Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-20T02:51:42.139Z] ---> 5a4a5edd2d90 [2021-03-20T02:51:42.139Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-20T02:51:43.114Z] ---> 04d1a112dd70 [2021-03-20T02:51:43.114Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-20T02:51:43.707Z] ---> 878d5b6ee326 [2021-03-20T02:51:43.707Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-20T02:51:43.707Z] ---> Running in da87508e6e53 [2021-03-20T02:51:44.300Z] Removing intermediate container da87508e6e53 [2021-03-20T02:51:44.300Z] ---> a5e0186759c8 [2021-03-20T02:51:44.300Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-20T02:51:44.300Z] ---> Running in edc835643edf [2021-03-20T02:51:44.893Z] Removing intermediate container edc835643edf [2021-03-20T02:51:44.893Z] ---> 144b400a64d1 [2021-03-20T02:51:44.893Z] Step 22/24 : LABEL arch=arm64 [2021-03-20T02:51:44.893Z] ---> Running in 45c0b28b6ee3 [2021-03-20T02:51:45.485Z] Removing intermediate container 45c0b28b6ee3 [2021-03-20T02:51:45.485Z] ---> ef3190e1c01c [2021-03-20T02:51:45.485Z] Step 23/24 : LABEL git_sha=8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 [2021-03-20T02:51:45.485Z] ---> Running in 2f55a3273973 [2021-03-20T02:51:45.639Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-20T02:51:46.080Z] Removing intermediate container 2f55a3273973 [2021-03-20T02:51:46.080Z] ---> 7f286eea9777 [2021-03-20T02:51:46.080Z] Step 24/24 : LABEL version=0.0.0 [2021-03-20T02:51:46.080Z] ---> Running in fac31b05f364 [2021-03-20T02:51:46.673Z] Removing intermediate container fac31b05f364 [2021-03-20T02:51:46.673Z] ---> 005236d06db5 [2021-03-20T02:51:46.673Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-20T02:51:46.673Z] Successfully built 005236d06db5 [2021-03-20T02:51:46.673Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:51:47.472Z] ---> job-cost.sh [2021-03-20T02:51:47.473Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qJie [2021-03-20T02:52:26.411Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-20T02:52:32.966Z] lf-activate-venv(): INFO: Adding /tmp/venv-YtAf/bin to PATH [2021-03-20T02:52:32.967Z] INFO: No Stack... [2021-03-20T02:52:32.967Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-20T02:52:32.967Z] INFO: Archiving Costs [Pipeline] sh [2021-03-20T02:52:33.465Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-03-20T02:52:33.465Z] + cut -d, -f6 [Pipeline] lock [2021-03-20T02:52:33.837Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-821-4-stack-cost] [2021-03-20T02:52:33.846Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-821-4-stack-cost] did not exist. Created. [2021-03-20T02:52:33.847Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-821-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-20T02:52:34.314Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-20T02:52:34.689Z] Stashed 1 file(s) [Pipeline] } [2021-03-20T02:52:34.706Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-821-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-20T02:54:03.147Z] lf-activate-venv(): INFO: Adding /tmp/venv-qJie/bin to PATH [2021-03-20T02:54:03.147Z] INFO: No Stack... [2021-03-20T02:54:03.147Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-20T02:54:03.147Z] INFO: Archiving Costs [Pipeline] sh [2021-03-20T02:54:03.484Z] + + cutcat -d, /w/workspace/device-sdk-go/4/archives/cost.csv -f6 [2021-03-20T02:54:03.484Z] [Pipeline] lock [2021-03-20T02:54:03.590Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-821-4-stack-cost] [2021-03-20T02:54:03.601Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-821-4-stack-cost] did not exist. Created. [2021-03-20T02:54:03.601Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-821-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-20T02:54:04.034Z] /w/workspace/device-sdk-go/4@tmp/durable-454bb780/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-454bb780/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-20T02:54:04.375Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-20T02:54:04.394Z] Warning: overwriting stash ‘stack-cost’ [2021-03-20T02:54:04.561Z] Stashed 1 file(s) [Pipeline] } [2021-03-20T02:54:04.578Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-821-4-stack-cost] [Pipeline] // lock [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-03-20T02:54:05.737Z] provisioning config files... [2021-03-20T02:54:05.748Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config3006346539551813572tmp [Pipeline] { [Pipeline] sh [2021-03-20T02:54:06.163Z] + set +x [2021-03-20T02:54:06.164Z] + curl -s https://codecov.io/bash [2021-03-20T02:54:06.164Z] + bash -s -- [2021-03-20T02:54:06.427Z] [2021-03-20T02:54:06.427Z] _____ _ [2021-03-20T02:54:06.427Z] / ____| | | [2021-03-20T02:54:06.427Z] | | ___ __| | ___ ___ _____ __ [2021-03-20T02:54:06.427Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-20T02:54:06.427Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-20T02:54:06.427Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-20T02:54:06.427Z] Bash-20210309-2b87ace [2021-03-20T02:54:06.427Z] [2021-03-20T02:54:06.427Z] [2021-03-20T02:54:06.427Z] ==> git version 2.24.3 found [2021-03-20T02:54:06.427Z] ==> 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-03-20T02:54:06.427Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-20T02:54:06.427Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-20T02:54:06.427Z] ==> Jenkins CI detected. [2021-03-20T02:54:06.427Z] project root: . [2021-03-20T02:54:06.427Z] --> token set from env [2021-03-20T02:54:06.427Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-20T02:54:06.427Z] ==> Running gcov in . (disable via -X gcov) [2021-03-20T02:54:06.427Z] ==> Python coveragepy not found [2021-03-20T02:54:06.427Z] ==> Searching for coverage reports in: [2021-03-20T02:54:06.427Z] + . [2021-03-20T02:54:06.427Z] -> Found 1 reports [2021-03-20T02:54:06.427Z] ==> Detecting git/mercurial file structure [2021-03-20T02:54:06.427Z] ==> Reading reports [2021-03-20T02:54:06.427Z] + ./coverage.out bytes=99587 [2021-03-20T02:54:06.427Z] ==> Appending adjustments [2021-03-20T02:54:06.427Z] https://docs.codecov.io/docs/fixing-reports [2021-03-20T02:54:06.691Z] + Found adjustments [2021-03-20T02:54:06.691Z] ==> Gzipping contents [2021-03-20T02:54:06.691Z] 16K /tmp/codecov.FBQTv8.gz [2021-03-20T02:54:06.691Z] ==> Uploading reports [2021-03-20T02:54:06.691Z] url: https://codecov.io [2021-03-20T02:54:06.691Z] query: branch=PR-821&commit=8d4898aa1248db2b6d2d71dcb52508ef9a1583a5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-821%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=821&job=&cmd_args= [2021-03-20T02:54:06.691Z] -> Pinging Codecov [2021-03-20T02:54:06.691Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-821&commit=8d4898aa1248db2b6d2d71dcb52508ef9a1583a5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-821%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=821&job=&cmd_args= [2021-03-20T02:54:07.268Z] -> Uploading to [2021-03-20T02:54:07.268Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-20/7E55EF52A471D76F132DFD9A03CDDE97/8d4898aa1248db2b6d2d71dcb52508ef9a1583a5/714fde7a-43fa-4610-a96f-8192d8e90708.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210320T025407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01336c1262ddb9311567e21fac33e3bc224cb1b9cbfbfa475ef37f2a906394c2 [2021-03-20T02:54:07.268Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-20T02:54:07.268Z] Dload Upload Total Spent Left Speed [2021-03-20T02:54:07.532Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13440 0 0 100 13440 0 33143 --:--:-- --:--:-- --:--:-- 33103 100 13440 0 0 100 13440 0 33126 --:--:-- --:--:-- --:--:-- 33103 [2021-03-20T02:54:07.795Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8d4898aa1248db2b6d2d71dcb52508ef9a1583a5 [Pipeline] } [2021-03-20T02:54:07.805Z] 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] { (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-03-20T02:54:09.918Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:54:10.231Z] ---> package-listing.sh [2021-03-20T02:54:10.231Z] ++ facter osfamily [2021-03-20T02:54:10.231Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-20T02:54:10.231Z] + OS_FAMILY=redhat [2021-03-20T02:54:10.231Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-821 [2021-03-20T02:54:10.231Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-20T02:54:10.231Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-20T02:54:10.231Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-20T02:54:10.231Z] + PACKAGES=/tmp/packages_start.txt [2021-03-20T02:54:10.231Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-821 ']' [2021-03-20T02:54:10.231Z] + PACKAGES=/tmp/packages_end.txt [2021-03-20T02:54:10.231Z] + case "${OS_FAMILY}" in [2021-03-20T02:54:10.231Z] + rpm -qa [2021-03-20T02:54:10.231Z] + sort [2021-03-20T02:54:15.558Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-20T02:54:15.558Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-20T02:54:15.558Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-20T02:54:15.558Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-821 ']' [2021-03-20T02:54:15.558Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-821/archives/ [2021-03-20T02:54:15.558Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-821/archives/ [Pipeline] echo [2021-03-20T02:54:15.579Z] 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-821/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-20T02:54:15.872Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:54:16.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-20T02:54:16.184Z] [2021-03-20T02:54:16.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-20T02:54:16.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-20T02:54:16.564Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-20T02:54:16.564Z] df20fa9351a1: Pulling fs layer [2021-03-20T02:54:16.564Z] 36b3adc4ff6f: Pulling fs layer [2021-03-20T02:54:16.564Z] 8ad3a11d3b57: Pulling fs layer [2021-03-20T02:54:16.564Z] 46f8f816bc3b: Pulling fs layer [2021-03-20T02:54:16.564Z] 93b61091891f: Pulling fs layer [2021-03-20T02:54:16.564Z] 93b9cdb0e59b: Pulling fs layer [2021-03-20T02:54:16.564Z] 5e14af77c1be: Pulling fs layer [2021-03-20T02:54:16.564Z] 01666e4c0597: Pulling fs layer [2021-03-20T02:54:16.564Z] aa168da1d23b: Pulling fs layer [2021-03-20T02:54:16.564Z] 46f8f816bc3b: Waiting [2021-03-20T02:54:16.564Z] 93b61091891f: Waiting [2021-03-20T02:54:16.564Z] 93b9cdb0e59b: Waiting [2021-03-20T02:54:16.564Z] 01666e4c0597: Waiting [2021-03-20T02:54:16.564Z] aa168da1d23b: Waiting [2021-03-20T02:54:16.564Z] 36b3adc4ff6f: Verifying Checksum [2021-03-20T02:54:16.564Z] 36b3adc4ff6f: Download complete [2021-03-20T02:54:16.827Z] 46f8f816bc3b: Verifying Checksum [2021-03-20T02:54:16.827Z] 46f8f816bc3b: Download complete [2021-03-20T02:54:16.827Z] df20fa9351a1: Verifying Checksum [2021-03-20T02:54:16.827Z] df20fa9351a1: Download complete [2021-03-20T02:54:16.827Z] 93b61091891f: Verifying Checksum [2021-03-20T02:54:16.827Z] 93b61091891f: Download complete [2021-03-20T02:54:16.827Z] 93b9cdb0e59b: Verifying Checksum [2021-03-20T02:54:16.827Z] 93b9cdb0e59b: Download complete [2021-03-20T02:54:16.827Z] 5e14af77c1be: Verifying Checksum [2021-03-20T02:54:16.827Z] 5e14af77c1be: Download complete [2021-03-20T02:54:16.827Z] 01666e4c0597: Verifying Checksum [2021-03-20T02:54:16.827Z] 01666e4c0597: Download complete [2021-03-20T02:54:16.827Z] 8ad3a11d3b57: Verifying Checksum [2021-03-20T02:54:16.827Z] 8ad3a11d3b57: Download complete [2021-03-20T02:54:17.402Z] df20fa9351a1: Pull complete [2021-03-20T02:54:17.402Z] 36b3adc4ff6f: Pull complete [2021-03-20T02:54:18.372Z] 8ad3a11d3b57: Pull complete [2021-03-20T02:54:18.372Z] 46f8f816bc3b: Pull complete [2021-03-20T02:54:19.335Z] aa168da1d23b: Verifying Checksum [2021-03-20T02:54:19.335Z] aa168da1d23b: Download complete [2021-03-20T02:54:19.599Z] 93b61091891f: Pull complete [2021-03-20T02:54:19.599Z] 93b9cdb0e59b: Pull complete [2021-03-20T02:54:19.862Z] 5e14af77c1be: Pull complete [2021-03-20T02:54:19.862Z] 01666e4c0597: Pull complete [2021-03-20T02:54:28.064Z] aa168da1d23b: Pull complete [2021-03-20T02:54:28.064Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-20T02:54:28.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-20T02:54:28.064Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-20T02:54:28.253Z] prd-centos7-docker-4c-2g-30690 does not seem to be running inside a container [2021-03-20T02:54:28.305Z] $ 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-821/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-821 -v /w/workspace/dgexfoundry_device-sdk-go_PR-821:/w/workspace/dgexfoundry_device-sdk-go_PR-821:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-821@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-20T02:54:31.491Z] $ docker top b635bfedce2a88aaecd0c8435b46b06ac14510c57af271fdea85c0b4ec65dcd9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-20T02:54:32.063Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-20T02:54:32.364Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-20T02:54:32.665Z] + ls /var/log/sa-host [2021-03-20T02:54:32.666Z] + sadf -c /var/log/sa-host/sa20 [2021-03-20T02:54:32.666Z] file_magic: OK [2021-03-20T02:54:32.666Z] HZ: Using current value: 100 [2021-03-20T02:54:32.666Z] file_header: OK [2021-03-20T02:54:32.666Z] 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-03-20T02:54:32.666Z] Statistics: [2021-03-20T02:54:32.666Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-20T02:54:32.666Z] File successfully converted to sysstat format version 12.2.1 [2021-03-20T02:54:32.666Z] + sadf -c /var/log/sa-host/sa23 [2021-03-20T02:54:32.666Z] file_magic: OK [2021-03-20T02:54:32.666Z] HZ: Using current value: 100 [2021-03-20T02:54:32.666Z] file_header: OK [2021-03-20T02:54:32.666Z] 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-03-20T02:54:32.666Z] Statistics: [2021-03-20T02:54:32.666Z] Hnuu...uuuununununu... [2021-03-20T02:54:32.666Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-20T02:54:32.883Z] provisioning config files... [2021-03-20T02:54:32.908Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config2610925684871110369tmp [Pipeline] { [Pipeline] echo [2021-03-20T02:54:33.069Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:54:33.374Z] ---> create-netrc.sh [Pipeline] } [2021-03-20T02:54:33.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-20T02:54:33.490Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:54:34.121Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-20T02:54:34.134Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:54:34.436Z] ---> sudo-logs.sh [2021-03-20T02:54:34.436Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-20T02:54:34.503Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:54:34.803Z] ---> job-cost.sh [2021-03-20T02:54:34.804Z] lf-activate-venv: SKIPPING [2021-03-20T02:54:34.804Z] DEBUG: total: 0.20999999344348907 [2021-03-20T02:54:34.804Z] INFO: Retrieving Stack Cost... [2021-03-20T02:54:35.750Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-20T02:54:36.012Z] INFO: Archiving Costs [Pipeline] echo [2021-03-20T02:54:36.026Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-20T02:54:36.324Z] ---> logs-deploy.sh [2021-03-20T02:54:36.325Z] lf-activate-venv: SKIPPING [2021-03-20T02:54:36.325Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-821/4 [2021-03-20T02:54:36.325Z] INFO: archiving workspace using pattern(s): [2021-03-20T02:54:38.246Z] Archives upload complete. [2021-03-20T02:54:38.246Z] INFO: archiving logs to Nexus