Pull request #813 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from fb29ba3adfa2c2456972a290f646fac25e2789ad+3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (cc31d876d135e3c0c9de8e503e5dcb42b9b2bb9c) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-29776 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [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-813 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit fb29ba3adfa2c2456972a290f646fac25e2789ad Merge succeeded, producing fb29ba3adfa2c2456972a290f646fac25e2789ad Checking out Revision fb29ba3adfa2c2456972a290f646fac25e2789ad (PR-813) > git config core.sparsecheckout # timeout=10 > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 Commit message: "refactor: wrap error in transformer package for debugging" > git rev-list --no-walk 0b279d30dbc0e47c366b42958131ac05b480ee12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-15T05:26:14.551Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-15T05:26:14.898Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-15T05:26:15.014Z] ========================================================= [2021-03-15T05:26:15.014Z] EdgeX Global Pipelines Version Info [2021-03-15T05:26:15.014Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:26:19.308Z] ------------------- [2021-03-15T05:26:19.308Z] stable info: [2021-03-15T05:26:19.308Z] ------------------- [2021-03-15T05:26:19.308Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-15T05:26:19.308Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T05:26:19.308Z] Message: update stable to v1.0.184 [2021-03-15T05:26:20.320Z] ------------------- [2021-03-15T05:26:20.320Z] experimental info: [2021-03-15T05:26:20.320Z] ------------------- [2021-03-15T05:26:20.320Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-15T05:26:20.320Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T05:26:20.320Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-15T05:26:20.693Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-15T05:26:20.841Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-15T05:26:20.951Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-15T05:26:21.082Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-15T05:26:21.188Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-15T05:26:21.307Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-15T05:26:21.406Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-15T05:26:21.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-15T05:26:21.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-15T05:26:21.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-15T05:26:22.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-15T05:26:22.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-15T05:26:22.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-15T05:26:22.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-15T05:26:22.487Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-15T05:26:22.591Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T05:26:22.692Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T05:26:22.849Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T05:26:22.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-15T05:26:23.048Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-15T05:26:23.148Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-15T05:26:23.260Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-15T05:26:23.400Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-15T05:26:23.506Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-15T05:26:23.609Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-15T05:26:23.724Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-15T05:26:23.826Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-813 [Pipeline] echo [2021-03-15T05:26:23.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-813 [Pipeline] echo [2021-03-15T05:26:24.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-813 [Pipeline] echo [2021-03-15T05:26:24.170Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb29ba3adfa2c2456972a290f646fac25e2789ad [Pipeline] echo [2021-03-15T05:26:24.318Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb29ba3 [Pipeline] echo [2021-03-15T05:26:24.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T05:26:24.630Z] provisioning config files... [2021-03-15T05:26:24.670Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config413356084101822372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:26:25.060Z] ---> docker-login.sh [2021-03-15T05:26:25.060Z] nexus3.edgexfoundry.org:10001 [2021-03-15T05:26:25.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:26:25.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:26:25.917Z] Configure a credential helper to remove this warning. See [2021-03-15T05:26:25.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:26:25.917Z] [2021-03-15T05:26:25.917Z] Login Succeeded [2021-03-15T05:26:25.917Z] nexus3.edgexfoundry.org:10002 [2021-03-15T05:26:26.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:26:26.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:26:26.237Z] Configure a credential helper to remove this warning. See [2021-03-15T05:26:26.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:26:26.237Z] [2021-03-15T05:26:26.237Z] Login Succeeded [2021-03-15T05:26:26.237Z] nexus3.edgexfoundry.org:10003 [2021-03-15T05:26:26.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:26:26.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:26:26.896Z] Configure a credential helper to remove this warning. See [2021-03-15T05:26:26.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:26:26.897Z] [2021-03-15T05:26:26.897Z] Login Succeeded [2021-03-15T05:26:26.897Z] nexus3.edgexfoundry.org:10004 [2021-03-15T05:26:27.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:26:27.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:26:27.578Z] Configure a credential helper to remove this warning. See [2021-03-15T05:26:27.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:26:27.578Z] [2021-03-15T05:26:27.578Z] Login Succeeded [2021-03-15T05:26:27.578Z] docker.io [2021-03-15T05:26:28.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:26:28.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:26:28.823Z] Configure a credential helper to remove this warning. See [2021-03-15T05:26:28.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:26:28.823Z] [2021-03-15T05:26:28.823Z] Login Succeeded [2021-03-15T05:26:28.838Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T05:26:28.839Z] 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-15T05:26:29.813Z] + git log --format=format:%s -1 fb29ba3adfa2c2456972a290f646fac25e2789ad [Pipeline] echo [2021-03-15T05:26:30.016Z] GIT_COMMIT: fb29ba3adfa2c2456972a290f646fac25e2789ad, Commit Message: refactor: wrap error in transformer package for debugging [Pipeline] echo [2021-03-15T05:26:30.073Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:26:31.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T05:26:31.270Z] [2021-03-15T05:26:31.270Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:26:31.719Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T05:26:31.719Z] latest: Pulling from edgex-devops/git-semver [2021-03-15T05:26:31.719Z] 31603596830f: Pulling fs layer [2021-03-15T05:26:31.719Z] 2a8b12db71e7: Pulling fs layer [2021-03-15T05:26:31.719Z] 6ca5941a6612: Pulling fs layer [2021-03-15T05:26:31.719Z] ecc8261a40a4: Pulling fs layer [2021-03-15T05:26:31.719Z] ecc8261a40a4: Waiting [2021-03-15T05:26:31.719Z] 2a8b12db71e7: Verifying Checksum [2021-03-15T05:26:31.719Z] 2a8b12db71e7: Download complete [2021-03-15T05:26:31.997Z] 31603596830f: Verifying Checksum [2021-03-15T05:26:31.997Z] 31603596830f: Download complete [2021-03-15T05:26:32.290Z] ecc8261a40a4: Verifying Checksum [2021-03-15T05:26:32.290Z] ecc8261a40a4: Download complete [2021-03-15T05:26:32.290Z] 6ca5941a6612: Verifying Checksum [2021-03-15T05:26:32.290Z] 6ca5941a6612: Download complete [2021-03-15T05:26:32.887Z] 31603596830f: Pull complete [2021-03-15T05:26:33.172Z] 2a8b12db71e7: Pull complete [2021-03-15T05:26:34.712Z] 6ca5941a6612: Pull complete [2021-03-15T05:26:35.353Z] ecc8261a40a4: Pull complete [2021-03-15T05:26:35.353Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-15T05:26:35.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T05:26:35.353Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-15T05:26:35.559Z] prd-centos7-docker-4c-2g-29776 does not seem to be running inside a container [2021-03-15T05:26:35.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-813 -v /w/workspace/dgexfoundry_device-sdk-go_PR-813:/w/workspace/dgexfoundry_device-sdk-go_PR-813:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-813@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-15T05:26:39.123Z] $ docker top 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T05:26:39.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T05:26:39.530Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T05:26:39.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T05:26:39.980Z] $ docker exec 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 ssh-agent [2021-03-15T05:26:40.776Z] SSH_AUTH_SOCK=/tmp/ssh-2RyrHqCGEjrI/agent.11 [2021-03-15T05:26:40.776Z] SSH_AGENT_PID=16 [2021-03-15T05:26:40.821Z] Running ssh-add (command line suppressed) [2021-03-15T05:26:41.127Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_9083553992199972127.key (/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_9083553992199972127.key) [2021-03-15T05:26:41.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T05:26:41.655Z] + git tag --points-at HEAD [Pipeline] } [2021-03-15T05:26:41.697Z] $ docker exec --env ******** --env ******** 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 ssh-agent -k [2021-03-15T05:26:41.936Z] unset SSH_AUTH_SOCK; [2021-03-15T05:26:41.937Z] unset SSH_AGENT_PID; [2021-03-15T05:26:41.937Z] echo Agent pid 16 killed; [2021-03-15T05:26:42.013Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-15T05:26:42.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T05:26:42.237Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T05:26:42.685Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T05:26:42.689Z] $ docker exec 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 ssh-agent [2021-03-15T05:26:43.098Z] SSH_AUTH_SOCK=/tmp/ssh-0bePjTtEdZlD/agent.46 [2021-03-15T05:26:43.098Z] SSH_AGENT_PID=52 [2021-03-15T05:26:43.110Z] Running ssh-add (command line suppressed) [2021-03-15T05:26:43.316Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_6959909501567056435.key (/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/private_key_6959909501567056435.key) [2021-03-15T05:26:43.451Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T05:26:44.144Z] + git semver init [2021-03-15T05:26:44.144Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T05:26:44.144Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-813/.git [2021-03-15T05:26:44.144Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-813 [2021-03-15T05:26:44.144Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T05:26:44.144Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T05:26:44.144Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T05:26:44.144Z] # $SEMVER_BRANCH = PR-813 [2021-03-15T05:26:44.144Z] # $SEMVER_TEMP = /tmp/semver-694237401 [2021-03-15T05:26:44.144Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-15T05:26:44.743Z] # '/tmp/semver-694237401' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-813/.semver' [2021-03-15T05:26:44.743Z] # -> Force: false [2021-03-15T05:26:44.743Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-813/.semver [Pipeline] } [2021-03-15T05:26:44.758Z] $ docker exec --env ******** --env ******** 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 ssh-agent -k [2021-03-15T05:26:44.965Z] unset SSH_AUTH_SOCK; [2021-03-15T05:26:44.967Z] unset SSH_AGENT_PID; [2021-03-15T05:26:44.967Z] echo Agent pid 52 killed; [2021-03-15T05:26:45.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T05:26:45.623Z] + git semver [Pipeline] } [2021-03-15T05:26:45.656Z] $ docker stop --time=1 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 [2021-03-15T05:26:47.599Z] $ docker rm -f 2200a11fb87581473bc4a7a76c87da79e34296964b3600bee9b8815c64bb9644 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T05:26:48.637Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-15T05:26:49.273Z] Stashed 1 file(s) [Pipeline] echo [2021-03-15T05:26:49.276Z] [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-15T05:27:04.823Z] Still waiting to schedule task [2021-03-15T05:27:04.823Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29776’ [2021-03-15T05:27:04.826Z] Still waiting to schedule task [2021-03-15T05:27:04.826Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-15T05:28:59.062Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29777 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [Pipeline] { [Pipeline] ws [2021-03-15T05:28:59.127Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-03-15T05:29:04.297Z] using credential edgex-jenkins-ssh [2021-03-15T05:29:04.358Z] Cloning the remote Git repository [2021-03-15T05:29:04.415Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:29:04.532Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-15T05:29:04.602Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:29:04.602Z] > git --version # timeout=10 [2021-03-15T05:29:04.622Z] > git --version # 'git version 2.17.1' [2021-03-15T05:29:04.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:29:04.695Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T05:29:06.505Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit fb29ba3adfa2c2456972a290f646fac25e2789ad [2021-03-15T05:29:06.734Z] Merge succeeded, producing fb29ba3adfa2c2456972a290f646fac25e2789ad [2021-03-15T05:29:06.735Z] Checking out Revision fb29ba3adfa2c2456972a290f646fac25e2789ad (PR-813) [2021-03-15T05:29:05.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T05:29:05.824Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T05:29:05.859Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T05:29:05.900Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:29:05.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:29:05.913Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T05:29:06.523Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T05:29:06.549Z] > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 [2021-03-15T05:29:06.651Z] > git remote # timeout=10 [2021-03-15T05:29:06.669Z] > git config --get remote.origin.url # timeout=10 [2021-03-15T05:29:06.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:29:06.694Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-15T05:29:06.716Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-15T05:29:06.742Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T05:29:06.757Z] > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 [2021-03-15T05:29:11.250Z] Commit message: "refactor: wrap error in transformer package for debugging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T05:29:13.008Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-15T05:29:13.517Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T05:29:13.855Z] + sudo service docker restart [2021-03-15T05:29:13.856Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T05:29:16.570Z] provisioning config files... [2021-03-15T05:29:16.614Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config725123934942882780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:29:17.019Z] ---> docker-login.sh [2021-03-15T05:29:17.019Z] nexus3.edgexfoundry.org:10001 [2021-03-15T05:29:18.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:18.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:18.276Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:18.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:18.276Z] [2021-03-15T05:29:18.276Z] Login Succeeded [2021-03-15T05:29:18.276Z] nexus3.edgexfoundry.org:10002 [2021-03-15T05:29:18.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:18.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:18.827Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:18.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:18.827Z] [2021-03-15T05:29:18.827Z] Login Succeeded [2021-03-15T05:29:18.827Z] nexus3.edgexfoundry.org:10003 [2021-03-15T05:29:19.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:19.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:19.380Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:19.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:19.380Z] [2021-03-15T05:29:19.380Z] Login Succeeded [2021-03-15T05:29:19.380Z] nexus3.edgexfoundry.org:10004 [2021-03-15T05:29:19.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:19.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:19.933Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:19.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:19.933Z] [2021-03-15T05:29:19.933Z] Login Succeeded [2021-03-15T05:29:19.933Z] docker.io [2021-03-15T05:29:20.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:20.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:20.483Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:20.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:20.484Z] [2021-03-15T05:29:20.484Z] Login Succeeded [2021-03-15T05:29:20.758Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T05:29:20.776Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T05:29:21.254Z] ========================================================= [2021-03-15T05:29:21.254Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-15T05:29:21.254Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:29:21.639Z] + 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-15T05:29:21.911Z] Sending build context to Docker daemon 2.302MB [2021-03-15T05:29:22.190Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T05:29:22.190Z] Step 2/8 : FROM ${BASE} [2021-03-15T05:29:22.190Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-15T05:29:22.190Z] 5f621e34cdf4: Pulling fs layer [2021-03-15T05:29:22.190Z] a4357932f1b6: Pulling fs layer [2021-03-15T05:29:22.190Z] 18c013af1878: Pulling fs layer [2021-03-15T05:29:22.190Z] 00ac8860ef70: Pulling fs layer [2021-03-15T05:29:22.190Z] 63d7cb157983: Pulling fs layer [2021-03-15T05:29:22.190Z] b116817d02f9: Pulling fs layer [2021-03-15T05:29:22.190Z] 745a02a5169b: Pulling fs layer [2021-03-15T05:29:22.190Z] 00ac8860ef70: Waiting [2021-03-15T05:29:22.190Z] 63d7cb157983: Waiting [2021-03-15T05:29:22.190Z] b116817d02f9: Waiting [2021-03-15T05:29:22.190Z] 745a02a5169b: Waiting [2021-03-15T05:29:22.190Z] 18c013af1878: Download complete [2021-03-15T05:29:22.190Z] a4357932f1b6: Download complete [2021-03-15T05:29:22.190Z] 63d7cb157983: Verifying Checksum [2021-03-15T05:29:22.190Z] 63d7cb157983: Download complete [2021-03-15T05:29:22.190Z] b116817d02f9: Download complete [2021-03-15T05:29:22.190Z] 5f621e34cdf4: Verifying Checksum [2021-03-15T05:29:22.190Z] 5f621e34cdf4: Download complete [2021-03-15T05:29:23.190Z] 5f621e34cdf4: Pull complete [2021-03-15T05:29:23.792Z] a4357932f1b6: Pull complete [2021-03-15T05:29:24.081Z] 18c013af1878: Pull complete [2021-03-15T05:29:24.352Z] 745a02a5169b: Verifying Checksum [2021-03-15T05:29:24.352Z] 745a02a5169b: Download complete [2021-03-15T05:29:25.845Z] 00ac8860ef70: Verifying Checksum [2021-03-15T05:29:25.845Z] 00ac8860ef70: Download complete [2021-03-15T05:29:25.925Z] Running on prd-centos7-docker-4c-2g-29778 in /w/workspace/dgexfoundry_device-sdk-go_PR-813 [Pipeline] { [Pipeline] ws [2021-03-15T05:29:25.980Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-03-15T05:29:28.668Z] using credential edgex-jenkins-ssh [2021-03-15T05:29:28.727Z] Cloning the remote Git repository [2021-03-15T05:29:28.767Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:29:28.838Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-15T05:29:28.909Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:29:28.909Z] > git --version # timeout=10 [2021-03-15T05:29:28.919Z] > git --version # 'git version 2.24.3' [2021-03-15T05:29:28.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:29:28.945Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T05:29:30.138Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit fb29ba3adfa2c2456972a290f646fac25e2789ad [2021-03-15T05:29:30.251Z] Merge succeeded, producing fb29ba3adfa2c2456972a290f646fac25e2789ad [2021-03-15T05:29:30.252Z] Checking out Revision fb29ba3adfa2c2456972a290f646fac25e2789ad (PR-813) [2021-03-15T05:29:29.631Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T05:29:29.644Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T05:29:29.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T05:29:29.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T05:29:29.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:29:29.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/813/head:refs/remotes/origin/PR-813 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T05:29:30.154Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T05:29:30.161Z] > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 [2021-03-15T05:29:30.215Z] > git remote # timeout=10 [2021-03-15T05:29:30.223Z] > git config --get remote.origin.url # timeout=10 [2021-03-15T05:29:30.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T05:29:30.234Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-15T05:29:30.246Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-15T05:29:30.258Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T05:29:30.264Z] > git checkout -f fb29ba3adfa2c2456972a290f646fac25e2789ad # timeout=10 [2021-03-15T05:29:33.957Z] Commit message: "refactor: wrap error in transformer package for debugging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T05:29:35.193Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-15T05:29:35.539Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T05:29:35.849Z] + sudo service docker restart [2021-03-15T05:29:35.849Z] + true [2021-03-15T05:29:35.849Z] Redirecting to /bin/systemctl restart docker.service [2021-03-15T05:29:36.096Z] 00ac8860ef70: Pull complete [2021-03-15T05:29:36.096Z] 63d7cb157983: Pull complete [2021-03-15T05:29:36.369Z] b116817d02f9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T05:29:37.312Z] provisioning config files... [2021-03-15T05:29:37.339Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1650556030240652234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:29:37.721Z] ---> docker-login.sh [2021-03-15T05:29:37.721Z] nexus3.edgexfoundry.org:10001 [2021-03-15T05:29:37.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:37.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:37.984Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:37.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:37.984Z] [2021-03-15T05:29:37.984Z] Login Succeeded [2021-03-15T05:29:38.247Z] nexus3.edgexfoundry.org:10002 [2021-03-15T05:29:38.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:38.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:38.247Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:38.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:38.247Z] [2021-03-15T05:29:38.247Z] Login Succeeded [2021-03-15T05:29:38.247Z] nexus3.edgexfoundry.org:10003 [2021-03-15T05:29:38.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:38.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:38.510Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:38.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:38.510Z] [2021-03-15T05:29:38.510Z] Login Succeeded [2021-03-15T05:29:38.510Z] nexus3.edgexfoundry.org:10004 [2021-03-15T05:29:38.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:38.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:38.774Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:38.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:38.774Z] [2021-03-15T05:29:38.774Z] Login Succeeded [2021-03-15T05:29:38.774Z] docker.io [2021-03-15T05:29:38.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T05:29:39.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T05:29:39.038Z] Configure a credential helper to remove this warning. See [2021-03-15T05:29:39.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T05:29:39.038Z] [2021-03-15T05:29:39.038Z] Login Succeeded [2021-03-15T05:29:39.038Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T05:29:39.046Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T05:29:39.415Z] ========================================================= [2021-03-15T05:29:39.416Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-15T05:29:39.416Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:29:39.757Z] + 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-15T05:29:39.758Z] Sending build context to Docker daemon 2.303MB [2021-03-15T05:29:39.758Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T05:29:39.758Z] Step 2/8 : FROM ${BASE} [2021-03-15T05:29:40.028Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-15T05:29:40.028Z] 188c0c94c7c5: Pulling fs layer [2021-03-15T05:29:40.028Z] 0ef7d3d256c8: Pulling fs layer [2021-03-15T05:29:40.028Z] de9db76c5a1d: Pulling fs layer [2021-03-15T05:29:40.028Z] bca2f99d35d6: Pulling fs layer [2021-03-15T05:29:40.028Z] 93359f2a8cfa: Pulling fs layer [2021-03-15T05:29:40.028Z] 7c6f9722023f: Pulling fs layer [2021-03-15T05:29:40.028Z] a35cf1a2eb13: Pulling fs layer [2021-03-15T05:29:40.028Z] 93359f2a8cfa: Waiting [2021-03-15T05:29:40.028Z] 7c6f9722023f: Waiting [2021-03-15T05:29:40.028Z] a35cf1a2eb13: Waiting [2021-03-15T05:29:40.028Z] bca2f99d35d6: Waiting [2021-03-15T05:29:40.028Z] de9db76c5a1d: Verifying Checksum [2021-03-15T05:29:40.028Z] de9db76c5a1d: Download complete [2021-03-15T05:29:40.028Z] 0ef7d3d256c8: Verifying Checksum [2021-03-15T05:29:40.028Z] 0ef7d3d256c8: Download complete [2021-03-15T05:29:40.028Z] 93359f2a8cfa: Verifying Checksum [2021-03-15T05:29:40.028Z] 93359f2a8cfa: Download complete [2021-03-15T05:29:40.028Z] 7c6f9722023f: Verifying Checksum [2021-03-15T05:29:40.028Z] 7c6f9722023f: Download complete [2021-03-15T05:29:40.028Z] 188c0c94c7c5: Verifying Checksum [2021-03-15T05:29:40.028Z] 188c0c94c7c5: Download complete [2021-03-15T05:29:40.300Z] 188c0c94c7c5: Pull complete [2021-03-15T05:29:40.563Z] 0ef7d3d256c8: Pull complete [2021-03-15T05:29:40.686Z] 745a02a5169b: Pull complete [2021-03-15T05:29:40.686Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-15T05:29:40.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-15T05:29:40.686Z] ---> b7e6874047d6 [2021-03-15T05:29:40.686Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:29:40.829Z] de9db76c5a1d: Pull complete [2021-03-15T05:29:41.782Z] a35cf1a2eb13: Verifying Checksum [2021-03-15T05:29:41.782Z] a35cf1a2eb13: Download complete [2021-03-15T05:29:42.362Z] bca2f99d35d6: Verifying Checksum [2021-03-15T05:29:42.362Z] bca2f99d35d6: Download complete [2021-03-15T05:29:44.095Z] ---> Running in e2a730939d5a [2021-03-15T05:29:44.095Z] Removing intermediate container e2a730939d5a [2021-03-15T05:29:44.095Z] ---> 7f35307154cb [2021-03-15T05:29:44.095Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T05:29:44.095Z] ---> Running in f837c3307f05 [2021-03-15T05:29:46.751Z] Removing intermediate container f837c3307f05 [2021-03-15T05:29:46.751Z] ---> aa470eaab611 [2021-03-15T05:29:46.751Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T05:29:46.751Z] ---> Running in 56e033321759 [2021-03-15T05:29:47.711Z] bca2f99d35d6: Pull complete [2021-03-15T05:29:47.711Z] 93359f2a8cfa: Pull complete [2021-03-15T05:29:47.711Z] 7c6f9722023f: Pull complete [2021-03-15T05:29:47.728Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T05:29:48.329Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T05:29:48.927Z] OK: 142 MiB in 39 packages [2021-03-15T05:29:50.360Z] Removing intermediate container 56e033321759 [2021-03-15T05:29:50.360Z] ---> 532811a0e905 [2021-03-15T05:29:50.360Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T05:29:50.360Z] ---> Running in 9bab80fc6bc8 [2021-03-15T05:29:50.952Z] Removing intermediate container 9bab80fc6bc8 [2021-03-15T05:29:50.952Z] ---> 3e46c941b484 [2021-03-15T05:29:50.952Z] Step 7/8 : COPY . . [2021-03-15T05:29:51.931Z] ---> 1eac508b769f [2021-03-15T05:29:51.931Z] Step 8/8 : RUN go mod download [2021-03-15T05:29:52.202Z] ---> Running in 090c8fac339a [2021-03-15T05:29:55.911Z] a35cf1a2eb13: Pull complete [2021-03-15T05:29:55.911Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-15T05:29:55.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-15T05:29:55.911Z] ---> a62c8e92a672 [2021-03-15T05:29:55.911Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:29:55.911Z] ---> Running in 2100e517f1ed [2021-03-15T05:29:55.911Z] Removing intermediate container 2100e517f1ed [2021-03-15T05:29:55.911Z] ---> cdaac0125157 [2021-03-15T05:29:55.911Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T05:29:55.911Z] ---> Running in 53d2bec2d5d9 [2021-03-15T05:29:56.507Z] Removing intermediate container 53d2bec2d5d9 [2021-03-15T05:29:56.507Z] ---> b14652503be3 [2021-03-15T05:29:56.507Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T05:29:56.507Z] ---> Running in 2bdf0e8efafd [2021-03-15T05:29:57.923Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T05:29:58.499Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T05:29:58.766Z] OK: 166 MiB in 39 packages [2021-03-15T05:29:59.344Z] Removing intermediate container 2bdf0e8efafd [2021-03-15T05:29:59.344Z] ---> 121b06f6ba60 [2021-03-15T05:29:59.344Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T05:29:59.344Z] ---> Running in 32b3e74094c8 [2021-03-15T05:29:59.607Z] Removing intermediate container 32b3e74094c8 [2021-03-15T05:29:59.607Z] ---> 19234dbcd747 [2021-03-15T05:29:59.607Z] Step 7/8 : COPY . . [2021-03-15T05:30:00.562Z] ---> ad41f5b2770e [2021-03-15T05:30:00.562Z] Step 8/8 : RUN go mod download [2021-03-15T05:30:00.834Z] ---> Running in 692161f11d32 [2021-03-15T05:30:18.999Z] Removing intermediate container 090c8fac339a [2021-03-15T05:30:18.999Z] ---> aaffbc9941f1 [2021-03-15T05:30:18.999Z] Successfully built aaffbc9941f1 [2021-03-15T05:30:18.999Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:30:19.349Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T05:30:19.349Z] . [Pipeline] withDockerContainer [2021-03-15T05:30:19.628Z] prd-ubuntu18.04-docker-arm64-4c-16g-29777 does not seem to be running inside a container [2021-03-15T05:30:19.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-15T05:30:21.257Z] $ docker top db708c525df2a9a806df5b81f4135fc8e507d97ae807ab8067623c3720df9f66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T05:30:22.289Z] + go version [2021-03-15T05:30:22.289Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-15T05:30:22.319Z] $ docker stop --time=1 db708c525df2a9a806df5b81f4135fc8e507d97ae807ab8067623c3720df9f66 [2021-03-15T05:30:22.928Z] Removing intermediate container 692161f11d32 [2021-03-15T05:30:22.928Z] ---> 8bcecc51da58 [2021-03-15T05:30:22.928Z] Successfully built 8bcecc51da58 [2021-03-15T05:30:22.928Z] Successfully tagged ci-base-image-x86_64:latest [2021-03-15T05:30:24.233Z] $ docker rm -f db708c525df2a9a806df5b81f4135fc8e507d97ae807ab8067623c3720df9f66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:30:25.024Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T05:30:25.024Z] . [Pipeline] withDockerContainer [2021-03-15T05:30:25.217Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T05:30:25.217Z] . [2021-03-15T05:30:25.427Z] prd-centos7-docker-4c-2g-29778 does not seem to be running inside a container [2021-03-15T05:30:25.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T05:30:26.487Z] $ docker top 6d1e8536cca6d72c59779534cd80766693daa9c98a899d0c09d5707bdc770446 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-15T05:30:26.955Z] prd-ubuntu18.04-docker-arm64-4c-16g-29777 does not seem to be running inside a container [2021-03-15T05:30:27.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-15T05:30:28.507Z] $ docker top a40bc65519e1ae336c41575b6e6aa46d73d6629ac52d217b6341360fa451c2d8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-15T05:30:29.171Z] + go version [2021-03-15T05:30:29.171Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-15T05:30:29.191Z] $ docker stop --time=1 6d1e8536cca6d72c59779534cd80766693daa9c98a899d0c09d5707bdc770446 [2021-03-15T05:30:29.557Z] + make test [2021-03-15T05:30:29.558Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T05:30:30.556Z] $ docker rm -f 6d1e8536cca6d72c59779534cd80766693daa9c98a899d0c09d5707bdc770446 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:30:31.363Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T05:30:31.364Z] . [Pipeline] withDockerContainer [2021-03-15T05:30:31.472Z] prd-centos7-docker-4c-2g-29778 does not seem to be running inside a container [2021-03-15T05:30:31.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-15T05:30:32.249Z] $ docker top c379f1f60aedd090f7fd9113b049df562b1c1c611974604603582298f5b44f5d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T05:30:32.784Z] + make test [2021-03-15T05:30:32.784Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T05:30:41.011Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T05:30:51.749Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T05:30:56.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T05:30:56.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T05:30:56.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T05:30:59.397Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 25.5% of statements [2021-03-15T05:31:31.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 10.5% of statements [2021-03-15T05:31:31.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.069s coverage: 12.5% of statements [2021-03-15T05:31:31.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T05:31:31.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.067s coverage: 84.8% of statements [2021-03-15T05:31:31.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T05:31:31.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T05:31:31.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T05:31:31.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 57.3% of statements [2021-03-15T05:31:31.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T05:31:31.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.069s coverage: 81.3% of statements [2021-03-15T05:31:31.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.089s coverage: 24.8% of statements [2021-03-15T05:31:31.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.180s coverage: 6.4% of statements [2021-03-15T05:31:31.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 5.2% of statements [2021-03-15T05:31:31.598Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T05:31:31.598Z] GO111MODULE=on go vet ./... [2021-03-15T05:31:38.314Z] gofmt -l . [2021-03-15T05:31:38.580Z] [ "`gofmt -l .`" = "" ] [2021-03-15T05:31:38.580Z] ./bin/test-attribution-txt.sh [2021-03-15T05:31:38.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T05:31:38.809Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T05:31:38.809Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T05:31:38.809Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.145s coverage: 25.5% of statements [2021-03-15T05:31:39.529Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T05:31:39.816Z] $ docker stop --time=1 c379f1f60aedd090f7fd9113b049df562b1c1c611974604603582298f5b44f5d [2021-03-15T05:31:41.903Z] $ docker rm -f c379f1f60aedd090f7fd9113b049df562b1c1c611974604603582298f5b44f5d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T05:31:42.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T05:31:43.172Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-15T05:31:45.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T05:31:46.182Z] + ls -al . [2021-03-15T05:31:46.182Z] total 188 [2021-03-15T05:31:46.182Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 15 05:31 . [2021-03-15T05:31:46.182Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 15 05:29 .. [2021-03-15T05:31:46.182Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 15 05:29 bin [2021-03-15T05:31:46.182Z] -rw-r--r--. 1 jenkins jenkins 103668 Mar 15 05:31 coverage.out [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 15 05:29 Dockerfile.build [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 15 05:29 .dockerignore [2021-03-15T05:31:46.182Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 15 05:29 example [2021-03-15T05:31:46.182Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 15 05:29 .git [2021-03-15T05:31:46.182Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 15 05:29 .github [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 15 05:29 .gitignore [2021-03-15T05:31:46.182Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 15 05:31 go.mod [2021-03-15T05:31:46.182Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 15 05:31 go.sum [2021-03-15T05:31:46.182Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 15 05:29 internal [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 15 05:29 Jenkinsfile [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 15 05:29 LICENSE [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 15 05:29 Makefile [2021-03-15T05:31:46.182Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 15 05:29 openapi [2021-03-15T05:31:46.182Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 15 05:29 pkg [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 15 05:29 README.md [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 15 05:29 RELEASE-NOTES.txt [2021-03-15T05:31:46.182Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 15 05:29 snap [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 15 05:26 VERSION [2021-03-15T05:31:46.182Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 15 05:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:31:46.489Z] + 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=fb29ba3adfa2c2456972a290f646fac25e2789ad --label arch=amd64 --label version=0.0.0 . [2021-03-15T05:31:46.752Z] Sending build context to Docker daemon 2.408MB [2021-03-15T05:31:46.752Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T05:31:46.752Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T05:31:46.752Z] ---> 8bcecc51da58 [2021-03-15T05:31:46.752Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T05:31:47.330Z] ---> Running in ca6e17841ce1 [2021-03-15T05:31:47.592Z] Removing intermediate container ca6e17841ce1 [2021-03-15T05:31:47.592Z] ---> 3af04b448401 [2021-03-15T05:31:47.592Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T05:31:47.592Z] ---> Running in cb457e148be6 [2021-03-15T05:31:47.855Z] Removing intermediate container cb457e148be6 [2021-03-15T05:31:47.855Z] ---> 427717e686f6 [2021-03-15T05:31:47.855Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:31:47.855Z] ---> Running in 2af1322314f1 [2021-03-15T05:31:48.120Z] Removing intermediate container 2af1322314f1 [2021-03-15T05:31:48.120Z] ---> 335046503a04 [2021-03-15T05:31:48.120Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T05:31:48.120Z] ---> Running in c00c8ac3267b [2021-03-15T05:31:49.071Z] Removing intermediate container c00c8ac3267b [2021-03-15T05:31:49.071Z] ---> 7bd37c2ccecc [2021-03-15T05:31:49.071Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T05:31:49.336Z] ---> Running in 7c92621e2aa0 [2021-03-15T05:31:49.915Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T05:31:50.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T05:31:50.755Z] OK: 166 MiB in 39 packages [2021-03-15T05:31:51.336Z] Removing intermediate container 7c92621e2aa0 [2021-03-15T05:31:51.336Z] ---> 7f7fb3a0248e [2021-03-15T05:31:51.336Z] Step 8/24 : COPY . . [2021-03-15T05:31:52.295Z] ---> e9d29e6e5355 [2021-03-15T05:31:52.295Z] Step 9/24 : RUN ${MAKE} [2021-03-15T05:31:52.295Z] ---> Running in bf6db323e821 [2021-03-15T05:31:52.884Z] 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-15T05:32:03.013Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T05:32:04.420Z] Removing intermediate container bf6db323e821 [2021-03-15T05:32:04.420Z] ---> 9d6c2007bd27 [2021-03-15T05:32:04.420Z] Step 10/24 : FROM scratch [2021-03-15T05:32:04.420Z] ---> [2021-03-15T05:32:04.420Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:32:04.420Z] ---> Running in ab977ade5758 [2021-03-15T05:32:04.684Z] Removing intermediate container ab977ade5758 [2021-03-15T05:32:04.684Z] ---> 0ed107f42a7e [2021-03-15T05:32:04.684Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T05:32:04.685Z] ---> Running in 2d2cf1c8e56d [2021-03-15T05:32:04.947Z] Removing intermediate container 2d2cf1c8e56d [2021-03-15T05:32:04.947Z] ---> ed62be1b2b3e [2021-03-15T05:32:04.947Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T05:32:04.947Z] ---> Running in 22127722e06c [2021-03-15T05:32:05.211Z] Removing intermediate container 22127722e06c [2021-03-15T05:32:05.211Z] ---> 4e53b0b55c47 [2021-03-15T05:32:05.211Z] Step 14/24 : WORKDIR / [2021-03-15T05:32:05.211Z] ---> Running in 647937158a09 [2021-03-15T05:32:05.211Z] Removing intermediate container 647937158a09 [2021-03-15T05:32:05.211Z] ---> 0eda6e933d6c [2021-03-15T05:32:05.211Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T05:32:05.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.130s coverage: 10.5% of statements [2021-03-15T05:32:05.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.139s coverage: 12.5% of statements [2021-03-15T05:32:05.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T05:32:05.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.134s coverage: 84.8% of statements [2021-03-15T05:32:05.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T05:32:05.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T05:32:05.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T05:32:05.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.285s coverage: 57.3% of statements [2021-03-15T05:32:05.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T05:32:05.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.174s coverage: 81.3% of statements [2021-03-15T05:32:05.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.175s coverage: 24.8% of statements [2021-03-15T05:32:05.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.888s coverage: 6.4% of statements [2021-03-15T05:32:05.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.2% of statements [2021-03-15T05:32:05.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T05:32:05.635Z] GO111MODULE=on go vet ./... [2021-03-15T05:32:05.791Z] ---> 588d14e89d5d [2021-03-15T05:32:05.791Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T05:32:06.057Z] ---> 1c4ffd2db399 [2021-03-15T05:32:06.057Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T05:32:06.322Z] ---> c5da8587e4cf [2021-03-15T05:32:06.322Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T05:32:06.585Z] ---> a40aaee3cc14 [2021-03-15T05:32:06.585Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T05:32:06.848Z] ---> fbd7da4598d2 [2021-03-15T05:32:06.848Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T05:32:06.848Z] ---> Running in 01779bdb645b [2021-03-15T05:32:06.848Z] Removing intermediate container 01779bdb645b [2021-03-15T05:32:06.848Z] ---> 158443cf3c2b [2021-03-15T05:32:06.848Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T05:32:07.111Z] ---> Running in 6112ed5eb0ea [2021-03-15T05:32:07.111Z] Removing intermediate container 6112ed5eb0ea [2021-03-15T05:32:07.111Z] ---> 0e9520328975 [2021-03-15T05:32:07.111Z] Step 22/24 : LABEL arch=amd64 [2021-03-15T05:32:07.374Z] ---> Running in fb7b125d47f0 [2021-03-15T05:32:07.374Z] Removing intermediate container fb7b125d47f0 [2021-03-15T05:32:07.374Z] ---> d2b7a68d6e9e [2021-03-15T05:32:07.374Z] Step 23/24 : LABEL git_sha=fb29ba3adfa2c2456972a290f646fac25e2789ad [2021-03-15T05:32:07.374Z] ---> Running in 2e081f8f8af4 [2021-03-15T05:32:07.640Z] Removing intermediate container 2e081f8f8af4 [2021-03-15T05:32:07.640Z] ---> 077cc343189f [2021-03-15T05:32:07.640Z] Step 24/24 : LABEL version=0.0.0 [2021-03-15T05:32:07.640Z] ---> Running in 888331dae96c [2021-03-15T05:32:07.903Z] Removing intermediate container 888331dae96c [2021-03-15T05:32:07.903Z] ---> 8043761f09ba [2021-03-15T05:32:07.903Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T05:32:07.903Z] Successfully built 8043761f09ba [2021-03-15T05:32:07.903Z] 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-15T05:32:08.902Z] ---> job-cost.sh [2021-03-15T05:32:08.902Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GDse [2021-03-15T05:32:23.849Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T05:32:38.040Z] gofmt -l . [2021-03-15T05:32:38.314Z] [ "`gofmt -l .`" = "" ] [2021-03-15T05:32:38.589Z] ./bin/test-attribution-txt.sh [2021-03-15T05:32:39.566Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T05:32:40.198Z] $ docker stop --time=1 a40bc65519e1ae336c41575b6e6aa46d73d6629ac52d217b6341360fa451c2d8 [2021-03-15T05:32:42.474Z] $ docker rm -f a40bc65519e1ae336c41575b6e6aa46d73d6629ac52d217b6341360fa451c2d8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T05:32:43.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T05:32:43.662Z] Warning: overwriting stash ‘coverage-report’ [2021-03-15T05:32:44.551Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T05:32:45.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T05:32:45.622Z] + ls -al . [2021-03-15T05:32:45.622Z] total 224 [2021-03-15T05:32:45.622Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 05:32 . [2021-03-15T05:32:45.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:29 .. [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 05:29 .dockerignore [2021-03-15T05:32:45.622Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 05:29 .git [2021-03-15T05:32:45.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 05:29 .github [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 15 05:29 .gitignore [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 15 05:29 Dockerfile.build [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 15 05:29 Jenkinsfile [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 05:29 LICENSE [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 15 05:29 Makefile [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 15 05:29 README.md [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 15 05:29 RELEASE-NOTES.txt [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 05:26 VERSION [2021-03-15T05:32:45.622Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 05:29 bin [2021-03-15T05:32:45.622Z] -rw-r--r-- 1 jenkins jenkins 103668 Mar 15 05:32 coverage.out [2021-03-15T05:32:45.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:29 example [2021-03-15T05:32:45.622Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 15 05:32 go.mod [2021-03-15T05:32:45.622Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 15 05:32 go.sum [2021-03-15T05:32:45.622Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 05:29 internal [2021-03-15T05:32:45.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:29 openapi [2021-03-15T05:32:45.622Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 05:29 pkg [2021-03-15T05:32:45.622Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 05:29 snap [2021-03-15T05:32:45.622Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 05:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:32:46.034Z] + 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=fb29ba3adfa2c2456972a290f646fac25e2789ad --label arch=arm64 --label version=0.0.0 . [2021-03-15T05:32:46.690Z] Sending build context to Docker daemon 2.407MB [2021-03-15T05:32:46.690Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T05:32:46.690Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T05:32:46.690Z] ---> aaffbc9941f1 [2021-03-15T05:32:46.690Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T05:32:46.965Z] ---> Running in 6c433eb8cc0d [2021-03-15T05:32:47.241Z] Removing intermediate container 6c433eb8cc0d [2021-03-15T05:32:47.241Z] ---> d741619d52d4 [2021-03-15T05:32:47.241Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T05:32:47.519Z] ---> Running in 158701ca3f03 [2021-03-15T05:32:48.117Z] Removing intermediate container 158701ca3f03 [2021-03-15T05:32:48.117Z] ---> 4785c4cad112 [2021-03-15T05:32:48.117Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:32:48.117Z] ---> Running in 3a11d8fa6ed7 [2021-03-15T05:32:48.390Z] Removing intermediate container 3a11d8fa6ed7 [2021-03-15T05:32:48.390Z] ---> fa69370c61e4 [2021-03-15T05:32:48.390Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T05:32:48.669Z] ---> Running in 288504fabeb1 [2021-03-15T05:32:50.649Z] Removing intermediate container 288504fabeb1 [2021-03-15T05:32:50.649Z] ---> a45b4f14d10a [2021-03-15T05:32:50.649Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T05:32:50.925Z] ---> Running in 84f26fbcfbb2 [2021-03-15T05:32:51.902Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T05:32:52.875Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T05:32:53.154Z] OK: 142 MiB in 39 packages [2021-03-15T05:32:54.581Z] Removing intermediate container 84f26fbcfbb2 [2021-03-15T05:32:54.581Z] ---> b1090d39f59e [2021-03-15T05:32:54.581Z] Step 8/24 : COPY . . [2021-03-15T05:32:55.561Z] ---> 77cc7efb9745 [2021-03-15T05:32:55.561Z] Step 9/24 : RUN ${MAKE} [2021-03-15T05:32:55.832Z] ---> Running in 019b6bb3decd [2021-03-15T05:32:56.029Z] lf-activate-venv(): INFO: Adding /tmp/venv-GDse/bin to PATH [2021-03-15T05:32:56.029Z] INFO: No Stack... [2021-03-15T05:32:56.029Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T05:32:56.029Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T05:32:56.353Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-03-15T05:32:56.353Z] + cut -d, -f6 [Pipeline] lock [2021-03-15T05:32:56.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] [2021-03-15T05:32:56.445Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] did not exist. Created. [2021-03-15T05:32:56.445Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T05:32:56.834Z] 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-15T05:32:56.848Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-15T05:32:57.028Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T05:32:57.044Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-15T05:33:23.649Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T05:33:25.089Z] Removing intermediate container 019b6bb3decd [2021-03-15T05:33:25.089Z] ---> c1e8eac2cbf7 [2021-03-15T05:33:25.089Z] Step 10/24 : FROM scratch [2021-03-15T05:33:25.089Z] ---> [2021-03-15T05:33:25.089Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T05:33:25.089Z] ---> Running in 3c61a2dbc196 [2021-03-15T05:33:25.684Z] Removing intermediate container 3c61a2dbc196 [2021-03-15T05:33:25.684Z] ---> 8183b8c1c192 [2021-03-15T05:33:25.684Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T05:33:25.684Z] ---> Running in 49efa4e86fe9 [2021-03-15T05:33:26.283Z] Removing intermediate container 49efa4e86fe9 [2021-03-15T05:33:26.283Z] ---> e1681b697797 [2021-03-15T05:33:26.283Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T05:33:26.283Z] ---> Running in a6754ff7d73f [2021-03-15T05:33:26.556Z] Removing intermediate container a6754ff7d73f [2021-03-15T05:33:26.556Z] ---> 3551ee1f931d [2021-03-15T05:33:26.556Z] Step 14/24 : WORKDIR / [2021-03-15T05:33:27.157Z] ---> Running in cd426e1a7ba1 [2021-03-15T05:33:28.130Z] Removing intermediate container cd426e1a7ba1 [2021-03-15T05:33:28.130Z] ---> 5d6635eef1a4 [2021-03-15T05:33:28.130Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T05:33:29.564Z] ---> a8fc002d2417 [2021-03-15T05:33:29.564Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T05:33:30.536Z] ---> a6b839626b7c [2021-03-15T05:33:30.536Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T05:33:31.514Z] ---> d32e3d3180ec [2021-03-15T05:33:31.514Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T05:33:32.487Z] ---> a44db68dea1e [2021-03-15T05:33:32.487Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T05:33:33.079Z] ---> b98b3dd6de7d [2021-03-15T05:33:33.079Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T05:33:33.352Z] ---> Running in 938251dd38b7 [2021-03-15T05:33:33.624Z] Removing intermediate container 938251dd38b7 [2021-03-15T05:33:33.624Z] ---> 4870c44087a0 [2021-03-15T05:33:33.624Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T05:33:34.224Z] ---> Running in 9c24c79c1531 [2021-03-15T05:33:34.817Z] Removing intermediate container 9c24c79c1531 [2021-03-15T05:33:34.817Z] ---> 7a10ccd5c37a [2021-03-15T05:33:34.817Z] Step 22/24 : LABEL arch=arm64 [2021-03-15T05:33:35.090Z] ---> Running in 8475587879f9 [2021-03-15T05:33:35.683Z] Removing intermediate container 8475587879f9 [2021-03-15T05:33:35.683Z] ---> d9a0ef1e19c1 [2021-03-15T05:33:35.683Z] Step 23/24 : LABEL git_sha=fb29ba3adfa2c2456972a290f646fac25e2789ad [2021-03-15T05:33:35.683Z] ---> Running in c853c312e7be [2021-03-15T05:33:36.277Z] Removing intermediate container c853c312e7be [2021-03-15T05:33:36.277Z] ---> cb1f60348071 [2021-03-15T05:33:36.277Z] Step 24/24 : LABEL version=0.0.0 [2021-03-15T05:33:36.277Z] ---> Running in 04f8406d0d84 [2021-03-15T05:33:36.870Z] Removing intermediate container 04f8406d0d84 [2021-03-15T05:33:36.870Z] ---> 8f9da3a1e6c0 [2021-03-15T05:33:36.870Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T05:33:36.870Z] Successfully built 8f9da3a1e6c0 [2021-03-15T05:33:36.870Z] 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-15T05:33:37.756Z] ---> job-cost.sh [2021-03-15T05:33:37.756Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tI9B [2021-03-15T05:34:16.706Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T05:35:53.443Z] lf-activate-venv(): INFO: Adding /tmp/venv-tI9B/bin to PATH [2021-03-15T05:35:53.443Z] INFO: No Stack... [2021-03-15T05:35:53.443Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-15T05:35:53.443Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T05:35:53.773Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-03-15T05:35:53.773Z] + cut -d, -f6 [Pipeline] lock [2021-03-15T05:35:53.882Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] [2021-03-15T05:35:53.897Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] did not exist. Created. [2021-03-15T05:35:53.897Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-813-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T05:35:54.344Z] /w/workspace/device-sdk-go/3@tmp/durable-bd203d66/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-bd203d66/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-15T05:35:54.685Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-15T05:35:54.754Z] Warning: overwriting stash ‘stack-cost’ [2021-03-15T05:35:54.917Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T05:35:54.945Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-813-3-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-15T05:35:56.544Z] provisioning config files... [2021-03-15T05:35:56.583Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config6164814339445760777tmp [Pipeline] { [Pipeline] sh [2021-03-15T05:35:57.204Z] + set +x [2021-03-15T05:35:57.204Z] + curl -s https://codecov.io/bash [2021-03-15T05:35:57.204Z] + bash -s -- [2021-03-15T05:35:57.492Z] [2021-03-15T05:35:57.492Z] _____ _ [2021-03-15T05:35:57.492Z] / ____| | | [2021-03-15T05:35:57.492Z] | | ___ __| | ___ ___ _____ __ [2021-03-15T05:35:57.492Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-15T05:35:57.492Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-15T05:35:57.492Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-15T05:35:57.492Z] Bash-20210309-2b87ace [2021-03-15T05:35:57.492Z] [2021-03-15T05:35:57.492Z] [2021-03-15T05:35:57.492Z] ==> git version 2.24.3 found [2021-03-15T05:35:57.492Z] ==> 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-15T05:35:57.492Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-15T05:35:57.492Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-15T05:35:57.492Z] ==> Jenkins CI detected. [2021-03-15T05:35:57.492Z] project root: . [2021-03-15T05:35:57.492Z] --> token set from env [2021-03-15T05:35:57.492Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-15T05:35:57.492Z] ==> Running gcov in . (disable via -X gcov) [2021-03-15T05:35:57.492Z] ==> Python coveragepy not found [2021-03-15T05:35:57.492Z] ==> Searching for coverage reports in: [2021-03-15T05:35:57.492Z] + . [2021-03-15T05:35:57.772Z] -> Found 1 reports [2021-03-15T05:35:57.772Z] ==> Detecting git/mercurial file structure [2021-03-15T05:35:57.772Z] ==> Reading reports [2021-03-15T05:35:57.772Z] + ./coverage.out bytes=103668 [2021-03-15T05:35:57.772Z] ==> Appending adjustments [2021-03-15T05:35:57.772Z] https://docs.codecov.io/docs/fixing-reports [2021-03-15T05:35:58.373Z] + Found adjustments [2021-03-15T05:35:58.374Z] ==> Gzipping contents [2021-03-15T05:35:58.648Z] 16K /tmp/codecov.P7HTW3.gz [2021-03-15T05:35:58.648Z] ==> Uploading reports [2021-03-15T05:35:58.648Z] url: https://codecov.io [2021-03-15T05:35:58.648Z] query: branch=PR-813&commit=fb29ba3adfa2c2456972a290f646fac25e2789ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-813%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=813&job=&cmd_args= [2021-03-15T05:35:58.648Z] -> Pinging Codecov [2021-03-15T05:35:58.648Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-813&commit=fb29ba3adfa2c2456972a290f646fac25e2789ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-813%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=813&job=&cmd_args= [2021-03-15T05:35:58.942Z] -> Uploading to [2021-03-15T05:35:58.942Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-15/7E55EF52A471D76F132DFD9A03CDDE97/fb29ba3adfa2c2456972a290f646fac25e2789ad/a4165c62-6c65-4701-80b4-358a405eeb8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210315T053558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=51806f4a03734fa09de0291a001df9f1ab7a6a21bacc72aefe76b4cb96799399 [2021-03-15T05:35:59.213Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T05:35:59.213Z] Dload Upload Total Spent Left Speed [2021-03-15T05:35:59.485Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13924 0 0 100 13924 0 28285 --:--:-- --:--:-- --:--:-- 28300 [2021-03-15T05:35:59.485Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fb29ba3adfa2c2456972a290f646fac25e2789ad [Pipeline] } [2021-03-15T05:35:59.497Z] 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-15T05:36:01.980Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:36:02.642Z] ---> package-listing.sh [2021-03-15T05:36:02.642Z] ++ facter osfamily [2021-03-15T05:36:02.642Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-15T05:36:02.911Z] + OS_FAMILY=redhat [2021-03-15T05:36:02.911Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-813 [2021-03-15T05:36:02.911Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-15T05:36:02.911Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-15T05:36:02.911Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-15T05:36:02.911Z] + PACKAGES=/tmp/packages_start.txt [2021-03-15T05:36:02.911Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-813 ']' [2021-03-15T05:36:02.911Z] + PACKAGES=/tmp/packages_end.txt [2021-03-15T05:36:02.912Z] + case "${OS_FAMILY}" in [2021-03-15T05:36:02.912Z] + rpm -qa [2021-03-15T05:36:02.912Z] + sort [2021-03-15T05:36:11.171Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-15T05:36:11.171Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-15T05:36:11.171Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-15T05:36:11.171Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-813 ']' [2021-03-15T05:36:11.171Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-813/archives/ [2021-03-15T05:36:11.171Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-813/archives/ [Pipeline] echo [2021-03-15T05:36:11.189Z] 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-813/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-15T05:36:11.507Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:36:12.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T05:36:12.099Z] [2021-03-15T05:36:12.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-15T05:36:12.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T05:36:12.739Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-15T05:36:12.739Z] df20fa9351a1: Pulling fs layer [2021-03-15T05:36:12.739Z] 36b3adc4ff6f: Pulling fs layer [2021-03-15T05:36:12.739Z] 8ad3a11d3b57: Pulling fs layer [2021-03-15T05:36:12.739Z] 46f8f816bc3b: Pulling fs layer [2021-03-15T05:36:12.739Z] 93b61091891f: Pulling fs layer [2021-03-15T05:36:12.739Z] 93b9cdb0e59b: Pulling fs layer [2021-03-15T05:36:12.739Z] 5e14af77c1be: Pulling fs layer [2021-03-15T05:36:12.739Z] 01666e4c0597: Pulling fs layer [2021-03-15T05:36:12.739Z] aa168da1d23b: Pulling fs layer [2021-03-15T05:36:12.739Z] 93b9cdb0e59b: Waiting [2021-03-15T05:36:12.739Z] 5e14af77c1be: Waiting [2021-03-15T05:36:12.739Z] 01666e4c0597: Waiting [2021-03-15T05:36:12.739Z] aa168da1d23b: Waiting [2021-03-15T05:36:12.739Z] 46f8f816bc3b: Waiting [2021-03-15T05:36:12.739Z] 93b61091891f: Waiting [2021-03-15T05:36:12.739Z] 36b3adc4ff6f: Verifying Checksum [2021-03-15T05:36:12.739Z] 36b3adc4ff6f: Download complete [2021-03-15T05:36:12.739Z] 46f8f816bc3b: Verifying Checksum [2021-03-15T05:36:12.739Z] 46f8f816bc3b: Download complete [2021-03-15T05:36:13.016Z] df20fa9351a1: Verifying Checksum [2021-03-15T05:36:13.016Z] 93b9cdb0e59b: Verifying Checksum [2021-03-15T05:36:13.016Z] 93b9cdb0e59b: Download complete [2021-03-15T05:36:13.016Z] 93b61091891f: Download complete [2021-03-15T05:36:13.016Z] 5e14af77c1be: Download complete [2021-03-15T05:36:13.016Z] 01666e4c0597: Verifying Checksum [2021-03-15T05:36:13.016Z] 01666e4c0597: Download complete [2021-03-15T05:36:13.623Z] df20fa9351a1: Pull complete [2021-03-15T05:36:13.911Z] 8ad3a11d3b57: Verifying Checksum [2021-03-15T05:36:13.911Z] 8ad3a11d3b57: Download complete [2021-03-15T05:36:13.911Z] 36b3adc4ff6f: Pull complete [2021-03-15T05:36:15.385Z] 8ad3a11d3b57: Pull complete [2021-03-15T05:36:15.989Z] 46f8f816bc3b: Pull complete [2021-03-15T05:36:16.976Z] 93b61091891f: Pull complete [2021-03-15T05:36:17.250Z] aa168da1d23b: Verifying Checksum [2021-03-15T05:36:17.250Z] aa168da1d23b: Download complete [2021-03-15T05:36:17.544Z] 93b9cdb0e59b: Pull complete [2021-03-15T05:36:18.136Z] 5e14af77c1be: Pull complete [2021-03-15T05:36:18.477Z] 01666e4c0597: Pull complete [2021-03-15T05:36:41.271Z] aa168da1d23b: Pull complete [2021-03-15T05:36:41.271Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-15T05:36:41.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T05:36:41.271Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-15T05:36:42.260Z] prd-centos7-docker-4c-2g-29776 does not seem to be running inside a container [2021-03-15T05:36:42.339Z] $ 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-813/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-813 -v /w/workspace/dgexfoundry_device-sdk-go_PR-813:/w/workspace/dgexfoundry_device-sdk-go_PR-813:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-813@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-15T05:36:45.201Z] $ docker top 909557b79a91d6f9e8c7476e0cbea2ba1e4f44e79a49cf4f7dc65a9d9d746074 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T05:36:46.581Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-15T05:36:47.371Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-15T05:36:47.741Z] + ls /var/log/sa-host [2021-03-15T05:36:47.741Z] + sadf -c /var/log/sa-host/sa15 [2021-03-15T05:36:47.741Z] file_magic: OK [2021-03-15T05:36:47.741Z] HZ: Using current value: 100 [2021-03-15T05:36:47.741Z] file_header: OK [2021-03-15T05:36:47.741Z] 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-15T05:36:47.741Z] Statistics: [2021-03-15T05:36:47.741Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-15T05:36:47.741Z] File successfully converted to sysstat format version 12.2.1 [2021-03-15T05:36:47.741Z] + sadf -c /var/log/sa-host/sa23 [2021-03-15T05:36:47.741Z] file_magic: OK [2021-03-15T05:36:47.741Z] HZ: Using current value: 100 [2021-03-15T05:36:47.741Z] file_header: OK [2021-03-15T05:36:47.741Z] 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-15T05:36:47.741Z] Statistics: [2021-03-15T05:36:47.741Z] Hnuu...uuuununununu... [2021-03-15T05:36:47.741Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-15T05:36:48.457Z] provisioning config files... [2021-03-15T05:36:48.477Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-813@tmp/config5752576513694754813tmp [Pipeline] { [Pipeline] echo [2021-03-15T05:36:48.560Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:36:49.207Z] ---> create-netrc.sh [Pipeline] } [2021-03-15T05:36:49.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-15T05:36:49.325Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:36:50.053Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-15T05:36:50.114Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:36:50.564Z] ---> sudo-logs.sh [2021-03-15T05:36:50.564Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-15T05:36:50.663Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:36:51.025Z] ---> job-cost.sh [2021-03-15T05:36:51.335Z] lf-activate-venv: SKIPPING [2021-03-15T05:36:51.335Z] DEBUG: total: 0.20999999344348907 [2021-03-15T05:36:51.335Z] INFO: Retrieving Stack Cost... [2021-03-15T05:36:52.288Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T05:36:52.553Z] INFO: Archiving Costs [Pipeline] echo [2021-03-15T05:36:52.570Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T05:36:53.230Z] ---> logs-deploy.sh [2021-03-15T05:36:53.230Z] lf-activate-venv: SKIPPING [2021-03-15T05:36:53.230Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-813/3 [2021-03-15T05:36:53.230Z] INFO: archiving workspace using pattern(s): [2021-03-15T05:36:55.965Z] Archives upload complete. [2021-03-15T05:36:56.265Z] INFO: archiving logs to Nexus