Pull request #804 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d38291b108151c678147caa989c3776b19aa5fc1 rather than 1a909d63bd2fae11d2671f2c9079753cf346bfc6 Obtained Jenkinsfile from d38291b108151c678147caa989c3776b19aa5fc1 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-28925 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [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-804 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 1a909d63bd2fae11d2671f2c9079753cf346bfc6 Merge succeeded, producing 1a909d63bd2fae11d2671f2c9079753cf346bfc6 Checking out Revision 1a909d63bd2fae11d2671f2c9079753cf346bfc6 (PR-804) > 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/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a909d63bd2fae11d2671f2c9079753cf346bfc6 # 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 d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a909d63bd2fae11d2671f2c9079753cf346bfc6 # timeout=10 Commit message: "refactor: remove default floating encoding" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk d952faf2fff8c0e655dc4ad75f7291b1fc4a2ce6 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-08T03:13:26.436Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-08T03:13:26.734Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-08T03:13:26.852Z] ========================================================= [2021-03-08T03:13:26.852Z] EdgeX Global Pipelines Version Info [2021-03-08T03:13:26.852Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:13:28.305Z] ------------------- [2021-03-08T03:13:28.305Z] stable info: [2021-03-08T03:13:28.305Z] ------------------- [2021-03-08T03:13:28.305Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-08T03:13:28.305Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T03:13:28.305Z] Message: update stable to v1.0.184 [2021-03-08T03:13:29.253Z] ------------------- [2021-03-08T03:13:29.253Z] experimental info: [2021-03-08T03:13:29.253Z] ------------------- [2021-03-08T03:13:29.253Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-08T03:13:29.253Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-08T03:13:29.253Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-08T03:13:29.537Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-08T03:13:29.642Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-08T03:13:29.746Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-08T03:13:29.850Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-08T03:13:29.958Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-08T03:13:30.083Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-08T03:13:30.212Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-08T03:13:30.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-08T03:13:30.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-08T03:13:30.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-08T03:13:30.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-08T03:13:30.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-08T03:13:30.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-08T03:13:31.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-08T03:13:31.224Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-08T03:13:31.336Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T03:13:31.448Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T03:13:31.546Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-08T03:13:31.652Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-08T03:13:31.750Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-08T03:13:31.846Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-08T03:13:31.937Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-08T03:13:32.031Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-08T03:13:32.125Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-08T03:13:32.240Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-08T03:13:32.332Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-08T03:13:32.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-804 [Pipeline] echo [2021-03-08T03:13:32.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-804 [Pipeline] echo [2021-03-08T03:13:32.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-804 [Pipeline] echo [2021-03-08T03:13:32.767Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a909d63bd2fae11d2671f2c9079753cf346bfc6 [Pipeline] echo [2021-03-08T03:13:32.869Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a909d6 [Pipeline] echo [2021-03-08T03:13:33.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T03:13:33.176Z] provisioning config files... [2021-03-08T03:13:33.203Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config5240324541959800374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:13:33.565Z] ---> docker-login.sh [2021-03-08T03:13:33.565Z] nexus3.edgexfoundry.org:10001 [2021-03-08T03:13:33.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:13:34.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:13:34.092Z] Configure a credential helper to remove this warning. See [2021-03-08T03:13:34.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:13:34.092Z] [2021-03-08T03:13:34.092Z] Login Succeeded [2021-03-08T03:13:34.092Z] nexus3.edgexfoundry.org:10002 [2021-03-08T03:13:34.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:13:34.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:13:34.359Z] Configure a credential helper to remove this warning. See [2021-03-08T03:13:34.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:13:34.359Z] [2021-03-08T03:13:34.359Z] Login Succeeded [2021-03-08T03:13:34.359Z] nexus3.edgexfoundry.org:10003 [2021-03-08T03:13:34.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:13:34.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:13:34.359Z] Configure a credential helper to remove this warning. See [2021-03-08T03:13:34.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:13:34.359Z] [2021-03-08T03:13:34.359Z] Login Succeeded [2021-03-08T03:13:34.359Z] nexus3.edgexfoundry.org:10004 [2021-03-08T03:13:34.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:13:34.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:13:34.623Z] Configure a credential helper to remove this warning. See [2021-03-08T03:13:34.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:13:34.624Z] [2021-03-08T03:13:34.624Z] Login Succeeded [2021-03-08T03:13:34.624Z] docker.io [2021-03-08T03:13:34.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:13:35.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:13:35.150Z] Configure a credential helper to remove this warning. See [2021-03-08T03:13:35.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:13:35.150Z] [2021-03-08T03:13:35.150Z] Login Succeeded [2021-03-08T03:13:35.150Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T03:13:35.161Z] 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-08T03:13:36.202Z] + git log --format=format:%s -1 1a909d63bd2fae11d2671f2c9079753cf346bfc6 [Pipeline] echo [2021-03-08T03:13:36.291Z] GIT_COMMIT: 1a909d63bd2fae11d2671f2c9079753cf346bfc6, Commit Message: refactor: remove default floating encoding [Pipeline] echo [2021-03-08T03:13:36.354Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:13:37.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:13:37.367Z] [2021-03-08T03:13:37.367Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:13:37.717Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:13:37.717Z] latest: Pulling from edgex-devops/git-semver [2021-03-08T03:13:37.717Z] 31603596830f: Pulling fs layer [2021-03-08T03:13:37.717Z] 2a8b12db71e7: Pulling fs layer [2021-03-08T03:13:37.717Z] 6ca5941a6612: Pulling fs layer [2021-03-08T03:13:37.717Z] ecc8261a40a4: Pulling fs layer [2021-03-08T03:13:37.717Z] ecc8261a40a4: Waiting [2021-03-08T03:13:37.717Z] 2a8b12db71e7: Verifying Checksum [2021-03-08T03:13:37.717Z] 2a8b12db71e7: Download complete [2021-03-08T03:13:37.984Z] 31603596830f: Verifying Checksum [2021-03-08T03:13:37.984Z] 31603596830f: Download complete [2021-03-08T03:13:37.984Z] ecc8261a40a4: Verifying Checksum [2021-03-08T03:13:37.984Z] ecc8261a40a4: Download complete [2021-03-08T03:13:38.246Z] 6ca5941a6612: Verifying Checksum [2021-03-08T03:13:38.246Z] 6ca5941a6612: Download complete [2021-03-08T03:13:38.511Z] 31603596830f: Pull complete [2021-03-08T03:13:38.511Z] 2a8b12db71e7: Pull complete [2021-03-08T03:13:39.465Z] 6ca5941a6612: Pull complete [2021-03-08T03:13:39.732Z] ecc8261a40a4: Pull complete [2021-03-08T03:13:39.732Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-08T03:13:39.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-08T03:13:39.732Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-08T03:13:39.852Z] prd-centos7-docker-4c-2g-28925 does not seem to be running inside a container [2021-03-08T03:13:39.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@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-08T03:13:42.289Z] $ docker top 77f12bc8698a07e8d9ad3ad43397fe86aadb3507206534166f97fbb84ef5f978 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-08T03:13:42.676Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T03:13:42.676Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T03:13:42.951Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T03:13:42.954Z] $ docker exec 77f12bc8698a07e8d9ad3ad43397fe86aadb3507206534166f97fbb84ef5f978 ssh-agent [2021-03-08T03:13:43.135Z] SSH_AUTH_SOCK=/tmp/ssh-XhVdCblo6zVp/agent.11 [2021-03-08T03:13:43.136Z] SSH_AGENT_PID=16 [2021-03-08T03:13:43.145Z] Running ssh-add (command line suppressed) [2021-03-08T03:13:43.270Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_4058168205359557884.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_4058168205359557884.key) [2021-03-08T03:13:43.325Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T03:13:43.670Z] + git tag --points-at HEAD [Pipeline] } [2021-03-08T03:13:43.694Z] $ docker exec --env ******** --env ******** 77f12bc8698a07e8d9ad3ad43397fe86aadb3507206534166f97fbb84ef5f978 ssh-agent -k [2021-03-08T03:13:43.816Z] unset SSH_AUTH_SOCK; [2021-03-08T03:13:43.817Z] unset SSH_AGENT_PID; [2021-03-08T03:13:43.817Z] echo Agent pid 16 killed; [2021-03-08T03:13:43.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-08T03:13:44.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-08T03:13:44.020Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-08T03:13:44.210Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-08T03:13:44.213Z] $ docker exec 77f12bc8698a07e8d9ad3ad43397fe86aadb3507206534166f97fbb84ef5f978 ssh-agent [2021-03-08T03:13:44.392Z] SSH_AUTH_SOCK=/tmp/ssh-IiR8BCm0FZqp/agent.46 [2021-03-08T03:13:44.392Z] SSH_AGENT_PID=51 [2021-03-08T03:13:44.398Z] Running ssh-add (command line suppressed) [2021-03-08T03:13:44.527Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_2287449975836975583.key (/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/private_key_2287449975836975583.key) [2021-03-08T03:13:44.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-08T03:13:44.920Z] + git semver init [2021-03-08T03:13:44.920Z] # -> Open(): unable to determine branch for HEAD [2021-03-08T03:13:44.920Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.git [2021-03-08T03:13:44.920Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-08T03:13:44.920Z] # $SEMVER_REMOTE_NAME = origin [2021-03-08T03:13:44.920Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-08T03:13:44.920Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-08T03:13:44.920Z] # $SEMVER_BRANCH = PR-804 [2021-03-08T03:13:44.920Z] # $SEMVER_TEMP = /tmp/semver-250867130 [2021-03-08T03:13:44.920Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-08T03:13:45.906Z] # '/tmp/semver-250867130' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver' [2021-03-08T03:13:45.907Z] # -> Force: false [2021-03-08T03:13:45.907Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-804/.semver [Pipeline] } [2021-03-08T03:13:45.920Z] $ docker exec --env ******** --env ******** 77f12bc8698a07e8d9ad3ad43397fe86aadb3507206534166f97fbb84ef5f978 ssh-agent -k [2021-03-08T03:13:46.042Z] unset SSH_AUTH_SOCK; [2021-03-08T03:13:46.042Z] unset SSH_AGENT_PID; [2021-03-08T03:13:46.042Z] echo Agent pid 51 killed; [2021-03-08T03:13:46.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-08T03:13:46.618Z] + git semver [Pipeline] } [2021-03-08T03:13:46.634Z] $ docker stop --time=1 77f12bc8698a07e8d9ad3ad43397fe86aadb3507206534166f97fbb84ef5f978 [2021-03-08T03:13:48.070Z] $ docker rm -f 77f12bc8698a07e8d9ad3ad43397fe86aadb3507206534166f97fbb84ef5f978 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T03:13:48.579Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-08T03:13:49.038Z] Stashed 1 file(s) [Pipeline] echo [2021-03-08T03:13:49.041Z] [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-08T03:14:04.558Z] Still waiting to schedule task [2021-03-08T03:14:04.558Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28925’ [2021-03-08T03:14:04.561Z] Still waiting to schedule task [2021-03-08T03:14:04.561Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-08T03:16:05.390Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28926 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] ws [2021-03-08T03:16:05.492Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-03-08T03:16:10.434Z] using credential edgex-jenkins-ssh [2021-03-08T03:16:10.515Z] Cloning the remote Git repository [2021-03-08T03:16:10.578Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:16:10.683Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-03-08T03:16:10.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:16:10.759Z] > git --version # timeout=10 [2021-03-08T03:16:10.775Z] > git --version # 'git version 2.17.1' [2021-03-08T03:16:10.777Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:16:10.839Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:16:12.683Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 1a909d63bd2fae11d2671f2c9079753cf346bfc6 [2021-03-08T03:16:12.942Z] Merge succeeded, producing 1a909d63bd2fae11d2671f2c9079753cf346bfc6 [2021-03-08T03:16:12.978Z] Checking out Revision 1a909d63bd2fae11d2671f2c9079753cf346bfc6 (PR-804) [2021-03-08T03:16:11.946Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:16:11.965Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:16:11.990Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:16:12.038Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:16:12.038Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:16:12.053Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T03:16:12.704Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:16:12.728Z] > git checkout -f 1a909d63bd2fae11d2671f2c9079753cf346bfc6 # timeout=10 [2021-03-08T03:16:12.839Z] > git remote # timeout=10 [2021-03-08T03:16:12.862Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T03:16:12.889Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:16:12.901Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-08T03:16:12.927Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T03:16:12.989Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:16:13.034Z] > git checkout -f 1a909d63bd2fae11d2671f2c9079753cf346bfc6 # timeout=10 [2021-03-08T03:16:17.587Z] Commit message: "refactor: remove default floating encoding" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:16:19.170Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:16:19.646Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:16:19.991Z] + + true [2021-03-08T03:16:19.991Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T03:16:22.703Z] provisioning config files... [2021-03-08T03:16:22.742Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config8944333216602340169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:16:23.147Z] ---> docker-login.sh [2021-03-08T03:16:23.147Z] nexus3.edgexfoundry.org:10001 [2021-03-08T03:16:24.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:24.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:24.407Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:24.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:24.407Z] [2021-03-08T03:16:24.407Z] Login Succeeded [2021-03-08T03:16:24.407Z] nexus3.edgexfoundry.org:10002 [2021-03-08T03:16:25.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:25.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:25.005Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:25.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:25.005Z] [2021-03-08T03:16:25.005Z] Login Succeeded [2021-03-08T03:16:25.005Z] nexus3.edgexfoundry.org:10003 [2021-03-08T03:16:25.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:25.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:25.602Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:25.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:25.602Z] [2021-03-08T03:16:25.602Z] Login Succeeded [2021-03-08T03:16:25.602Z] nexus3.edgexfoundry.org:10004 [2021-03-08T03:16:25.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:26.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:26.152Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:26.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:26.152Z] [2021-03-08T03:16:26.152Z] Login Succeeded [2021-03-08T03:16:26.152Z] docker.io [2021-03-08T03:16:26.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:27.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:27.030Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:27.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:27.030Z] [2021-03-08T03:16:27.030Z] Login Succeeded [2021-03-08T03:16:27.030Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T03:16:27.052Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-08T03:16:27.556Z] ========================================================= [2021-03-08T03:16:27.556Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-08T03:16:27.556Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:16:27.956Z] + 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-08T03:16:28.569Z] Sending build context to Docker daemon 2.497MB [2021-03-08T03:16:28.569Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:16:28.569Z] Step 2/8 : FROM ${BASE} [2021-03-08T03:16:28.569Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-08T03:16:28.569Z] 5f621e34cdf4: Pulling fs layer [2021-03-08T03:16:28.569Z] a4357932f1b6: Pulling fs layer [2021-03-08T03:16:28.569Z] 18c013af1878: Pulling fs layer [2021-03-08T03:16:28.569Z] 00ac8860ef70: Pulling fs layer [2021-03-08T03:16:28.569Z] 63d7cb157983: Pulling fs layer [2021-03-08T03:16:28.569Z] b116817d02f9: Pulling fs layer [2021-03-08T03:16:28.569Z] 745a02a5169b: Pulling fs layer [2021-03-08T03:16:28.569Z] 00ac8860ef70: Waiting [2021-03-08T03:16:28.569Z] b116817d02f9: Waiting [2021-03-08T03:16:28.569Z] 745a02a5169b: Waiting [2021-03-08T03:16:28.569Z] 63d7cb157983: Waiting [2021-03-08T03:16:28.569Z] 18c013af1878: Verifying Checksum [2021-03-08T03:16:28.569Z] 18c013af1878: Download complete [2021-03-08T03:16:28.569Z] a4357932f1b6: Verifying Checksum [2021-03-08T03:16:28.569Z] a4357932f1b6: Download complete [2021-03-08T03:16:28.569Z] 63d7cb157983: Verifying Checksum [2021-03-08T03:16:28.570Z] 63d7cb157983: Download complete [2021-03-08T03:16:28.844Z] 5f621e34cdf4: Verifying Checksum [2021-03-08T03:16:28.844Z] 5f621e34cdf4: Download complete [2021-03-08T03:16:28.844Z] b116817d02f9: Verifying Checksum [2021-03-08T03:16:28.844Z] b116817d02f9: Download complete [2021-03-08T03:16:29.278Z] Running on prd-centos7-docker-4c-2g-28927 in /w/workspace/dgexfoundry_device-sdk-go_PR-804 [Pipeline] { [Pipeline] ws [2021-03-08T03:16:29.336Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-03-08T03:16:29.475Z] 5f621e34cdf4: Pull complete [2021-03-08T03:16:30.110Z] a4357932f1b6: Pull complete [2021-03-08T03:16:30.389Z] 18c013af1878: Pull complete [2021-03-08T03:16:31.376Z] 745a02a5169b: Verifying Checksum [2021-03-08T03:16:31.376Z] 745a02a5169b: Download complete [2021-03-08T03:16:31.646Z] using credential edgex-jenkins-ssh [2021-03-08T03:16:31.726Z] Cloning the remote Git repository [2021-03-08T03:16:31.201Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:16:31.284Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-03-08T03:16:31.349Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:16:31.350Z] > git --version # timeout=10 [2021-03-08T03:16:31.358Z] > git --version # 'git version 2.24.3' [2021-03-08T03:16:31.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:16:31.389Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:16:32.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:16:32.153Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-08T03:16:32.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-08T03:16:32.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-08T03:16:32.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:16:32.189Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/804/head:refs/remotes/origin/PR-804 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-08T03:16:32.814Z] 00ac8860ef70: Verifying Checksum [2021-03-08T03:16:32.814Z] 00ac8860ef70: Download complete [2021-03-08T03:16:33.127Z] Merging remotes/origin/master commit d38291b108151c678147caa989c3776b19aa5fc1 into PR head commit 1a909d63bd2fae11d2671f2c9079753cf346bfc6 [2021-03-08T03:16:33.217Z] Merge succeeded, producing 1a909d63bd2fae11d2671f2c9079753cf346bfc6 [2021-03-08T03:16:33.217Z] Checking out Revision 1a909d63bd2fae11d2671f2c9079753cf346bfc6 (PR-804) [2021-03-08T03:16:32.697Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:16:32.703Z] > git checkout -f 1a909d63bd2fae11d2671f2c9079753cf346bfc6 # timeout=10 [2021-03-08T03:16:32.755Z] > git remote # timeout=10 [2021-03-08T03:16:32.761Z] > git config --get remote.origin.url # timeout=10 [2021-03-08T03:16:32.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-08T03:16:32.769Z] > git merge d38291b108151c678147caa989c3776b19aa5fc1 # timeout=10 [2021-03-08T03:16:32.779Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-08T03:16:32.789Z] > git config core.sparsecheckout # timeout=10 [2021-03-08T03:16:32.794Z] > git checkout -f 1a909d63bd2fae11d2671f2c9079753cf346bfc6 # timeout=10 [2021-03-08T03:16:36.607Z] Commit message: "refactor: remove default floating encoding" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:16:37.737Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:16:38.076Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-08T03:16:38.380Z] + true [2021-03-08T03:16:38.380Z] + sudo service docker restart [2021-03-08T03:16:38.380Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-08T03:16:39.397Z] provisioning config files... [2021-03-08T03:16:39.421Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config4148909822279261664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:16:39.795Z] ---> docker-login.sh [2021-03-08T03:16:39.795Z] nexus3.edgexfoundry.org:10001 [2021-03-08T03:16:40.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:40.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:40.058Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:40.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:40.058Z] [2021-03-08T03:16:40.058Z] Login Succeeded [2021-03-08T03:16:40.058Z] nexus3.edgexfoundry.org:10002 [2021-03-08T03:16:40.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:40.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:40.321Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:40.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:40.321Z] [2021-03-08T03:16:40.321Z] Login Succeeded [2021-03-08T03:16:40.321Z] nexus3.edgexfoundry.org:10003 [2021-03-08T03:16:40.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:40.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:40.585Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:40.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:40.585Z] [2021-03-08T03:16:40.585Z] Login Succeeded [2021-03-08T03:16:40.585Z] nexus3.edgexfoundry.org:10004 [2021-03-08T03:16:40.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:40.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:40.585Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:40.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:40.585Z] [2021-03-08T03:16:40.585Z] Login Succeeded [2021-03-08T03:16:40.585Z] docker.io [2021-03-08T03:16:40.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-08T03:16:41.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-08T03:16:41.122Z] Configure a credential helper to remove this warning. See [2021-03-08T03:16:41.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-08T03:16:41.122Z] [2021-03-08T03:16:41.122Z] Login Succeeded [2021-03-08T03:16:41.122Z] ---> docker-login.sh ends [Pipeline] } [2021-03-08T03:16:41.131Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-08T03:16:41.450Z] ========================================================= [2021-03-08T03:16:41.450Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-08T03:16:41.450Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:16:42.934Z] + 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-08T03:16:42.934Z] Sending build context to Docker daemon 2.489MB [2021-03-08T03:16:42.934Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:16:42.934Z] Step 2/8 : FROM ${BASE} [2021-03-08T03:16:42.934Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-08T03:16:42.934Z] 188c0c94c7c5: Pulling fs layer [2021-03-08T03:16:42.934Z] 0ef7d3d256c8: Pulling fs layer [2021-03-08T03:16:42.934Z] de9db76c5a1d: Pulling fs layer [2021-03-08T03:16:42.934Z] bca2f99d35d6: Pulling fs layer [2021-03-08T03:16:42.934Z] 93359f2a8cfa: Pulling fs layer [2021-03-08T03:16:42.934Z] 7c6f9722023f: Pulling fs layer [2021-03-08T03:16:42.934Z] a35cf1a2eb13: Pulling fs layer [2021-03-08T03:16:42.935Z] 93359f2a8cfa: Waiting [2021-03-08T03:16:42.935Z] 7c6f9722023f: Waiting [2021-03-08T03:16:42.935Z] a35cf1a2eb13: Waiting [2021-03-08T03:16:42.935Z] bca2f99d35d6: Waiting [2021-03-08T03:16:42.935Z] de9db76c5a1d: Verifying Checksum [2021-03-08T03:16:42.935Z] de9db76c5a1d: Download complete [2021-03-08T03:16:42.935Z] 0ef7d3d256c8: Verifying Checksum [2021-03-08T03:16:42.935Z] 0ef7d3d256c8: Download complete [2021-03-08T03:16:42.935Z] 93359f2a8cfa: Verifying Checksum [2021-03-08T03:16:42.935Z] 93359f2a8cfa: Download complete [2021-03-08T03:16:42.935Z] 188c0c94c7c5: Verifying Checksum [2021-03-08T03:16:42.935Z] 188c0c94c7c5: Download complete [2021-03-08T03:16:42.935Z] 7c6f9722023f: Verifying Checksum [2021-03-08T03:16:42.935Z] 7c6f9722023f: Download complete [2021-03-08T03:16:42.935Z] 188c0c94c7c5: Pull complete [2021-03-08T03:16:42.935Z] 0ef7d3d256c8: Pull complete [2021-03-08T03:16:42.935Z] de9db76c5a1d: Pull complete [2021-03-08T03:16:42.990Z] 00ac8860ef70: Pull complete [2021-03-08T03:16:43.266Z] 63d7cb157983: Pull complete [2021-03-08T03:16:43.540Z] b116817d02f9: Pull complete [2021-03-08T03:16:43.888Z] a35cf1a2eb13: Verifying Checksum [2021-03-08T03:16:43.888Z] a35cf1a2eb13: Download complete [2021-03-08T03:16:44.469Z] bca2f99d35d6: Download complete [2021-03-08T03:16:47.865Z] 745a02a5169b: Pull complete [2021-03-08T03:16:47.865Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-08T03:16:47.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-08T03:16:47.865Z] ---> b7e6874047d6 [2021-03-08T03:16:47.865Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:16:49.799Z] bca2f99d35d6: Pull complete [2021-03-08T03:16:49.799Z] 93359f2a8cfa: Pull complete [2021-03-08T03:16:49.799Z] 7c6f9722023f: Pull complete [2021-03-08T03:16:49.852Z] ---> Running in a5c8ef2b003f [2021-03-08T03:16:50.449Z] Removing intermediate container a5c8ef2b003f [2021-03-08T03:16:50.449Z] ---> 970dafee8511 [2021-03-08T03:16:50.449Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:16:50.449Z] ---> Running in 7745275e30b0 [2021-03-08T03:16:53.094Z] Removing intermediate container 7745275e30b0 [2021-03-08T03:16:53.094Z] ---> 27cfc0071f19 [2021-03-08T03:16:53.094Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T03:16:53.094Z] ---> Running in 7eb4bc5250d1 [2021-03-08T03:16:54.074Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T03:16:54.665Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T03:16:55.263Z] OK: 142 MiB in 39 packages [2021-03-08T03:16:56.242Z] Removing intermediate container 7eb4bc5250d1 [2021-03-08T03:16:56.242Z] ---> a6c65d9ee0ce [2021-03-08T03:16:56.242Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T03:16:56.519Z] ---> Running in 51d00e90130e [2021-03-08T03:16:57.115Z] Removing intermediate container 51d00e90130e [2021-03-08T03:16:57.115Z] ---> ed068e3e1601 [2021-03-08T03:16:57.115Z] Step 7/8 : COPY . . [2021-03-08T03:16:57.974Z] a35cf1a2eb13: Pull complete [2021-03-08T03:16:57.974Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-08T03:16:57.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-08T03:16:57.974Z] ---> a62c8e92a672 [2021-03-08T03:16:57.974Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:16:58.237Z] ---> Running in d472c67d94e1 [2021-03-08T03:16:58.500Z] Removing intermediate container d472c67d94e1 [2021-03-08T03:16:58.500Z] ---> 79596e0b7fab [2021-03-08T03:16:58.500Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:16:58.500Z] ---> Running in cd1b258406ab [2021-03-08T03:16:58.552Z] ---> a7ee2310d272 [2021-03-08T03:16:58.552Z] Step 8/8 : RUN go mod download [2021-03-08T03:16:58.552Z] ---> Running in 913de62cc700 [2021-03-08T03:16:59.451Z] Removing intermediate container cd1b258406ab [2021-03-08T03:16:59.451Z] ---> 818e1f39add4 [2021-03-08T03:16:59.451Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-08T03:16:59.718Z] ---> Running in 211fb0ebfdf5 [2021-03-08T03:17:00.302Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T03:17:01.249Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T03:17:01.514Z] OK: 166 MiB in 39 packages [2021-03-08T03:17:02.098Z] Removing intermediate container 211fb0ebfdf5 [2021-03-08T03:17:02.098Z] ---> e408b7345058 [2021-03-08T03:17:02.098Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-08T03:17:02.098Z] ---> Running in ae01cb338d90 [2021-03-08T03:17:02.098Z] Removing intermediate container ae01cb338d90 [2021-03-08T03:17:02.098Z] ---> 52a702857ef2 [2021-03-08T03:17:02.098Z] Step 7/8 : COPY . . [2021-03-08T03:17:03.497Z] ---> 4bd3ac119e67 [2021-03-08T03:17:03.497Z] Step 8/8 : RUN go mod download [2021-03-08T03:17:03.497Z] ---> Running in 983a473b0e6f [2021-03-08T03:17:25.361Z] Removing intermediate container 913de62cc700 [2021-03-08T03:17:25.361Z] ---> 4f86e2852cd2 [2021-03-08T03:17:25.361Z] Successfully built 4f86e2852cd2 [2021-03-08T03:17:25.361Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:17:25.520Z] Removing intermediate container 983a473b0e6f [2021-03-08T03:17:25.520Z] ---> d174d741c89d [2021-03-08T03:17:25.520Z] Successfully built d174d741c89d [2021-03-08T03:17:25.520Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:17:25.709Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T03:17:25.709Z] . [Pipeline] withDockerContainer [2021-03-08T03:17:25.851Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T03:17:25.851Z] . [2021-03-08T03:17:25.961Z] prd-ubuntu18.04-docker-arm64-4c-16g-28926 does not seem to be running inside a container [2021-03-08T03:17:26.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08T03:17:27.598Z] $ docker top b291461e62addfef513b558b4bbf2b3540e5b96bc656667a140125d34ce4a530 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-08T03:17:28.192Z] prd-centos7-docker-4c-2g-28927 does not seem to be running inside a container [2021-03-08T03:17:28.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08T03:17:29.016Z] $ docker top 4312ede1bd7920a25d87b81dcab7598f7f28de78fe4a8754c62f652ac379f916 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-08T03:17:29.558Z] + go version [2021-03-08T03:17:29.558Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-08T03:17:29.574Z] $ docker stop --time=1 4312ede1bd7920a25d87b81dcab7598f7f28de78fe4a8754c62f652ac379f916 [2021-03-08T03:17:29.855Z] + go version [2021-03-08T03:17:29.855Z] go version go1.15.5 linux/arm64 [2021-03-08T03:17:30.913Z] $ docker rm -f 4312ede1bd7920a25d87b81dcab7598f7f28de78fe4a8754c62f652ac379f916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-03-08T03:17:31.059Z] $ docker stop --time=1 b291461e62addfef513b558b4bbf2b3540e5b96bc656667a140125d34ce4a530 [2021-03-08T03:17:32.982Z] $ docker rm -f b291461e62addfef513b558b4bbf2b3540e5b96bc656667a140125d34ce4a530 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:17:34.169Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-08T03:17:34.169Z] . [Pipeline] withDockerContainer [2021-03-08T03:17:34.243Z] + docker inspect -f . ci-base-image-arm64 [2021-03-08T03:17:34.243Z] . [2021-03-08T03:17:34.266Z] prd-centos7-docker-4c-2g-28927 does not seem to be running inside a container [2021-03-08T03:17:34.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08T03:17:34.873Z] $ docker top bac53690f61726213ebc78863fabdd3e6ef08224651fc8873f848c718c58f730 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-08T03:17:35.305Z] prd-ubuntu18.04-docker-arm64-4c-16g-28926 does not seem to be running inside a container [2021-03-08T03:17:35.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08T03:17:36.880Z] $ docker top 4e0b8a1a3a548ed77ee2e45a76ed2737bca58afbfb9313f020d5552c781c96cf -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-08T03:17:37.556Z] + make test [2021-03-08T03:17:37.556Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T03:17:37.941Z] + make test [2021-03-08T03:17:37.941Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-08T03:17:44.189Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T03:17:59.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T03:17:59.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T03:17:59.222Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T03:18:00.112Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-08T03:18:01.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 25.5% of statements [2021-03-08T03:18:33.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.058s coverage: 10.5% of statements [2021-03-08T03:18:33.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.065s coverage: 12.5% of statements [2021-03-08T03:18:33.977Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T03:18:33.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.063s coverage: 84.8% of statements [2021-03-08T03:18:33.977Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T03:18:33.977Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-08T03:18:33.977Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T03:18:33.977Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T03:18:33.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 48.9% of statements [2021-03-08T03:18:33.977Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T03:18:33.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.057s coverage: 81.3% of statements [2021-03-08T03:18:33.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.426s coverage: 24.8% of statements [2021-03-08T03:18:33.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.296s coverage: 85.6% of statements [2021-03-08T03:18:33.977Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.2% of statements [2021-03-08T03:18:33.977Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T03:18:33.977Z] GO111MODULE=on go vet ./... [2021-03-08T03:18:39.341Z] gofmt -l . [2021-03-08T03:18:39.613Z] [ "`gofmt -l .`" = "" ] [2021-03-08T03:18:39.613Z] ./bin/test-attribution-txt.sh [2021-03-08T03:18:40.571Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-08T03:18:40.589Z] $ docker stop --time=1 bac53690f61726213ebc78863fabdd3e6ef08224651fc8873f848c718c58f730 [2021-03-08T03:18:42.540Z] $ docker rm -f bac53690f61726213ebc78863fabdd3e6ef08224651fc8873f848c718c58f730 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T03:18:43.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-08T03:18:43.671Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-08T03:18:46.651Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T03:18:46.960Z] + ls -al . [2021-03-08T03:18:46.960Z] total 184 [2021-03-08T03:18:46.960Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 8 03:18 . [2021-03-08T03:18:46.960Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 8 03:16 .. [2021-03-08T03:18:46.960Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 8 03:16 bin [2021-03-08T03:18:46.960Z] -rw-r--r--. 1 jenkins jenkins 101321 Mar 8 03:18 coverage.out [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 8 03:16 Dockerfile.build [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 8 03:16 .dockerignore [2021-03-08T03:18:46.960Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 8 03:16 example [2021-03-08T03:18:46.960Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 8 03:16 .git [2021-03-08T03:18:46.960Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 8 03:16 .github [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 8 03:16 .gitignore [2021-03-08T03:18:46.960Z] -rw-r--r--. 1 jenkins jenkins 516 Mar 8 03:18 go.mod [2021-03-08T03:18:46.960Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 8 03:18 go.sum [2021-03-08T03:18:46.960Z] drwxrwxr-x. 13 jenkins jenkins 183 Mar 8 03:16 internal [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 8 03:16 Jenkinsfile [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 8 03:16 LICENSE [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 8 03:16 Makefile [2021-03-08T03:18:46.960Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 8 03:16 openapi [2021-03-08T03:18:46.960Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 8 03:16 pkg [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 8 03:16 README.md [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 8 03:16 RELEASE-NOTES.txt [2021-03-08T03:18:46.960Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 8 03:16 snap [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 8 03:13 VERSION [2021-03-08T03:18:46.960Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 8 03:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:18:47.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-08T03:18:47.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-08T03:18:47.148Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-08T03:18:47.148Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.149s coverage: 25.5% of statements [2021-03-08T03:18:47.272Z] + 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=1a909d63bd2fae11d2671f2c9079753cf346bfc6 --label arch=amd64 --label version=0.0.0 . [2021-03-08T03:18:47.534Z] Sending build context to Docker daemon 2.591MB [2021-03-08T03:18:47.534Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:18:47.534Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T03:18:47.534Z] ---> d174d741c89d [2021-03-08T03:18:47.534Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T03:18:48.116Z] ---> Running in 1db7cf2d72fd [2021-03-08T03:18:48.380Z] Removing intermediate container 1db7cf2d72fd [2021-03-08T03:18:48.380Z] ---> ae3c995a3f55 [2021-03-08T03:18:48.380Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T03:18:48.380Z] ---> Running in 3c8e52c03698 [2021-03-08T03:18:48.642Z] Removing intermediate container 3c8e52c03698 [2021-03-08T03:18:48.642Z] ---> 9eeabeffc5d9 [2021-03-08T03:18:48.642Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:18:48.642Z] ---> Running in 0413b750ee42 [2021-03-08T03:18:48.642Z] Removing intermediate container 0413b750ee42 [2021-03-08T03:18:48.642Z] ---> d7f76d06cefb [2021-03-08T03:18:48.642Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:18:48.905Z] ---> Running in d243b42da09c [2021-03-08T03:18:49.851Z] Removing intermediate container d243b42da09c [2021-03-08T03:18:49.851Z] ---> 3d0f2935fa9f [2021-03-08T03:18:49.851Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T03:18:49.851Z] ---> Running in beb6cbdfe339 [2021-03-08T03:18:50.114Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-08T03:18:50.690Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-08T03:18:51.265Z] OK: 166 MiB in 39 packages [2021-03-08T03:18:51.526Z] Removing intermediate container beb6cbdfe339 [2021-03-08T03:18:51.526Z] ---> 2c60f5685a9e [2021-03-08T03:18:51.526Z] Step 8/24 : COPY . . [2021-03-08T03:18:52.922Z] ---> 69e24f572c83 [2021-03-08T03:18:52.922Z] Step 9/24 : RUN ${MAKE} [2021-03-08T03:18:52.922Z] ---> Running in 730254b0d728 [2021-03-08T03:18:53.186Z] 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-08T03:19:01.418Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T03:19:03.977Z] Removing intermediate container 730254b0d728 [2021-03-08T03:19:03.977Z] ---> feab1cdb3ee1 [2021-03-08T03:19:03.977Z] Step 10/24 : FROM scratch [2021-03-08T03:19:03.977Z] ---> [2021-03-08T03:19:03.977Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:19:03.977Z] ---> Running in fe1ad7c719e5 [2021-03-08T03:19:03.977Z] Removing intermediate container fe1ad7c719e5 [2021-03-08T03:19:03.977Z] ---> fa7bcc89332a [2021-03-08T03:19:03.977Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T03:19:03.977Z] ---> Running in c57e4b44f635 [2021-03-08T03:19:03.977Z] Removing intermediate container c57e4b44f635 [2021-03-08T03:19:03.977Z] ---> 8563980e1b30 [2021-03-08T03:19:03.977Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T03:19:03.977Z] ---> Running in 87649ef755b2 [2021-03-08T03:19:04.239Z] Removing intermediate container 87649ef755b2 [2021-03-08T03:19:04.239Z] ---> a60bcb43dec2 [2021-03-08T03:19:04.239Z] Step 14/24 : WORKDIR / [2021-03-08T03:19:04.239Z] ---> Running in be4949822129 [2021-03-08T03:19:04.501Z] Removing intermediate container be4949822129 [2021-03-08T03:19:04.501Z] ---> 55a095df8cd6 [2021-03-08T03:19:04.501Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T03:19:05.076Z] ---> f6472047ae2e [2021-03-08T03:19:05.076Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T03:19:05.076Z] ---> 68541976cc47 [2021-03-08T03:19:05.076Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T03:19:05.338Z] ---> c467de7696de [2021-03-08T03:19:05.338Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T03:19:05.601Z] ---> 8f50888b3104 [2021-03-08T03:19:05.601Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T03:19:05.863Z] ---> 07ed17a586c1 [2021-03-08T03:19:05.863Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T03:19:05.863Z] ---> Running in 36e78ee2ecbe [2021-03-08T03:19:06.124Z] Removing intermediate container 36e78ee2ecbe [2021-03-08T03:19:06.124Z] ---> f4a9faca9f85 [2021-03-08T03:19:06.124Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T03:19:06.124Z] ---> Running in eebc30064516 [2021-03-08T03:19:06.386Z] Removing intermediate container eebc30064516 [2021-03-08T03:19:06.386Z] ---> ee38cdad0532 [2021-03-08T03:19:06.386Z] Step 22/24 : LABEL arch=amd64 [2021-03-08T03:19:06.386Z] ---> Running in 74072c7a64b0 [2021-03-08T03:19:06.386Z] Removing intermediate container 74072c7a64b0 [2021-03-08T03:19:06.386Z] ---> d0b7a1d262ed [2021-03-08T03:19:06.386Z] Step 23/24 : LABEL git_sha=1a909d63bd2fae11d2671f2c9079753cf346bfc6 [2021-03-08T03:19:06.649Z] ---> Running in b78995f5d55a [2021-03-08T03:19:06.649Z] Removing intermediate container b78995f5d55a [2021-03-08T03:19:06.649Z] ---> a09e7d44aa9f [2021-03-08T03:19:06.649Z] Step 24/24 : LABEL version=0.0.0 [2021-03-08T03:19:06.649Z] ---> Running in 6f89c4613a67 [2021-03-08T03:19:06.912Z] Removing intermediate container 6f89c4613a67 [2021-03-08T03:19:06.912Z] ---> a1c2da5768b3 [2021-03-08T03:19:06.912Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T03:19:06.912Z] Successfully built a1c2da5768b3 [2021-03-08T03:19:06.912Z] 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-08T03:19:08.033Z] ---> job-cost.sh [2021-03-08T03:19:08.034Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gbFC [2021-03-08T03:19:13.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.149s coverage: 10.5% of statements [2021-03-08T03:19:13.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.118s coverage: 12.5% of statements [2021-03-08T03:19:13.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-08T03:19:13.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.142s coverage: 84.8% of statements [2021-03-08T03:19:13.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-08T03:19:13.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-03-08T03:19:13.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-08T03:19:13.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-08T03:19:13.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.206s coverage: 48.9% of statements [2021-03-08T03:19:13.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-08T03:19:13.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.163s coverage: 81.3% of statements [2021-03-08T03:19:13.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.183s coverage: 24.8% of statements [2021-03-08T03:19:13.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.945s coverage: 85.6% of statements [2021-03-08T03:19:13.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.2% of statements [2021-03-08T03:19:13.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-08T03:19:13.966Z] GO111MODULE=on go vet ./... [2021-03-08T03:19:22.975Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T03:19:49.594Z] lf-activate-venv(): INFO: Adding /tmp/venv-gbFC/bin to PATH [2021-03-08T03:19:49.594Z] INFO: No Stack... [2021-03-08T03:19:49.594Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T03:19:49.594Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T03:19:49.906Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-03-08T03:19:49.906Z] + cut -d, -f6 [Pipeline] lock [2021-03-08T03:19:49.985Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-6-stack-cost] [2021-03-08T03:19:49.996Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-6-stack-cost] did not exist. Created. [2021-03-08T03:19:49.996Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T03:19:50.416Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-08T03:19:50.588Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T03:19:50.603Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-08T03:19:53.082Z] gofmt -l . [2021-03-08T03:19:53.082Z] [ "`gofmt -l .`" = "" ] [2021-03-08T03:19:53.082Z] ./bin/test-attribution-txt.sh [2021-03-08T03:19:53.082Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-08T03:19:53.118Z] $ docker stop --time=1 4e0b8a1a3a548ed77ee2e45a76ed2737bca58afbfb9313f020d5552c781c96cf [2021-03-08T03:19:55.497Z] $ docker rm -f 4e0b8a1a3a548ed77ee2e45a76ed2737bca58afbfb9313f020d5552c781c96cf [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-08T03:19:56.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-08T03:19:56.625Z] Warning: overwriting stash ‘coverage-report’ [2021-03-08T03:19:57.468Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-08T03:19:58.156Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-08T03:19:58.492Z] + ls -al . [2021-03-08T03:19:58.492Z] total 220 [2021-03-08T03:19:58.492Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 03:19 . [2021-03-08T03:19:58.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:16 .. [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 8 03:16 .dockerignore [2021-03-08T03:19:58.492Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 03:16 .git [2021-03-08T03:19:58.492Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:16 .github [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 8 03:16 .gitignore [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 8 03:16 Dockerfile.build [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 8 03:16 Jenkinsfile [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 8 03:16 LICENSE [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 8 03:16 Makefile [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 8 03:16 README.md [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 8 03:16 RELEASE-NOTES.txt [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 03:13 VERSION [2021-03-08T03:19:58.492Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 03:16 bin [2021-03-08T03:19:58.492Z] -rw-r--r-- 1 jenkins jenkins 101321 Mar 8 03:19 coverage.out [2021-03-08T03:19:58.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:16 example [2021-03-08T03:19:58.492Z] -rw-r--r-- 1 jenkins jenkins 516 Mar 8 03:19 go.mod [2021-03-08T03:19:58.492Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 8 03:19 go.sum [2021-03-08T03:19:58.492Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 8 03:16 internal [2021-03-08T03:19:58.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:16 openapi [2021-03-08T03:19:58.492Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 8 03:16 pkg [2021-03-08T03:19:58.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 03:16 snap [2021-03-08T03:19:58.492Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 8 03:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:19:58.833Z] + 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=1a909d63bd2fae11d2671f2c9079753cf346bfc6 --label arch=arm64 --label version=0.0.0 . [2021-03-08T03:19:59.434Z] Sending build context to Docker daemon 2.598MB [2021-03-08T03:19:59.434Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-08T03:19:59.434Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-08T03:19:59.434Z] ---> 4f86e2852cd2 [2021-03-08T03:19:59.434Z] Step 3/24 : ARG MAKE='make build' [2021-03-08T03:19:59.706Z] ---> Running in 4b7edc99fe8b [2021-03-08T03:20:00.305Z] Removing intermediate container 4b7edc99fe8b [2021-03-08T03:20:00.305Z] ---> 9ea3b888e624 [2021-03-08T03:20:00.305Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-08T03:20:00.305Z] ---> Running in df214b7a11a2 [2021-03-08T03:20:00.895Z] Removing intermediate container df214b7a11a2 [2021-03-08T03:20:00.895Z] ---> 0fd1851bccad [2021-03-08T03:20:00.895Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:20:01.168Z] ---> Running in 258eb6bed82b [2021-03-08T03:20:01.440Z] Removing intermediate container 258eb6bed82b [2021-03-08T03:20:01.440Z] ---> 5bc1f0c6386b [2021-03-08T03:20:01.440Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-08T03:20:01.718Z] ---> Running in 9ae25c4318ed [2021-03-08T03:20:03.694Z] Removing intermediate container 9ae25c4318ed [2021-03-08T03:20:03.694Z] ---> 9bd4ca2fa4b3 [2021-03-08T03:20:03.694Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-08T03:20:03.694Z] ---> Running in 3b7393775161 [2021-03-08T03:20:04.687Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-08T03:20:05.656Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-08T03:20:06.245Z] OK: 142 MiB in 39 packages [2021-03-08T03:20:07.223Z] Removing intermediate container 3b7393775161 [2021-03-08T03:20:07.223Z] ---> 55bd4c419b6b [2021-03-08T03:20:07.223Z] Step 8/24 : COPY . . [2021-03-08T03:20:09.228Z] ---> cbb5f40c1773 [2021-03-08T03:20:09.228Z] Step 9/24 : RUN ${MAKE} [2021-03-08T03:20:09.228Z] ---> Running in 2e17b712c211 [2021-03-08T03:20:10.214Z] 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-08T03:20:37.022Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-08T03:20:38.004Z] Removing intermediate container 2e17b712c211 [2021-03-08T03:20:38.004Z] ---> 313d06e782a5 [2021-03-08T03:20:38.004Z] Step 10/24 : FROM scratch [2021-03-08T03:20:38.004Z] ---> [2021-03-08T03:20:38.004Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-08T03:20:38.004Z] ---> Running in 82d4cf35488c [2021-03-08T03:20:38.601Z] Removing intermediate container 82d4cf35488c [2021-03-08T03:20:38.601Z] ---> 333657aa93f1 [2021-03-08T03:20:38.601Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-08T03:20:38.601Z] ---> Running in 49d3a042011e [2021-03-08T03:20:39.195Z] Removing intermediate container 49d3a042011e [2021-03-08T03:20:39.195Z] ---> 27970a565f7f [2021-03-08T03:20:39.195Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-08T03:20:39.195Z] ---> Running in 5a3dd6c2de86 [2021-03-08T03:20:39.469Z] Removing intermediate container 5a3dd6c2de86 [2021-03-08T03:20:39.469Z] ---> 546c99546797 [2021-03-08T03:20:39.469Z] Step 14/24 : WORKDIR / [2021-03-08T03:20:39.742Z] ---> Running in 49f0e05f2229 [2021-03-08T03:20:40.339Z] Removing intermediate container 49f0e05f2229 [2021-03-08T03:20:40.339Z] ---> 2c36e0e2c101 [2021-03-08T03:20:40.339Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-08T03:20:41.315Z] ---> aacca29fb49a [2021-03-08T03:20:41.315Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-08T03:20:41.913Z] ---> f15334ea494a [2021-03-08T03:20:41.913Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-08T03:20:42.886Z] ---> 6113d5beb423 [2021-03-08T03:20:42.886Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-08T03:20:43.480Z] ---> 2f6f1de6c592 [2021-03-08T03:20:43.480Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-08T03:20:44.068Z] ---> 38828110bcba [2021-03-08T03:20:44.068Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-08T03:20:44.338Z] ---> Running in f1be8f7d4569 [2021-03-08T03:20:44.609Z] Removing intermediate container f1be8f7d4569 [2021-03-08T03:20:44.609Z] ---> e51cac891cba [2021-03-08T03:20:44.609Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-08T03:20:44.882Z] ---> Running in 9c8d7b0d3c05 [2021-03-08T03:20:45.154Z] Removing intermediate container 9c8d7b0d3c05 [2021-03-08T03:20:45.154Z] ---> 94f85893eb28 [2021-03-08T03:20:45.154Z] Step 22/24 : LABEL arch=arm64 [2021-03-08T03:20:45.426Z] ---> Running in d2eda733c78c [2021-03-08T03:20:45.699Z] Removing intermediate container d2eda733c78c [2021-03-08T03:20:45.699Z] ---> 75b4bb49d7d2 [2021-03-08T03:20:45.699Z] Step 23/24 : LABEL git_sha=1a909d63bd2fae11d2671f2c9079753cf346bfc6 [2021-03-08T03:20:45.974Z] ---> Running in eae9bf3882ed [2021-03-08T03:20:46.572Z] Removing intermediate container eae9bf3882ed [2021-03-08T03:20:46.572Z] ---> ea2a8481f392 [2021-03-08T03:20:46.572Z] Step 24/24 : LABEL version=0.0.0 [2021-03-08T03:20:46.572Z] ---> Running in 4d8fb8906bc7 [2021-03-08T03:20:46.847Z] Removing intermediate container 4d8fb8906bc7 [2021-03-08T03:20:46.847Z] ---> 65a90cb21871 [2021-03-08T03:20:46.847Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-08T03:20:47.118Z] Successfully built 65a90cb21871 [2021-03-08T03:20:47.118Z] 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-08T03:20:47.931Z] ---> job-cost.sh [2021-03-08T03:20:47.932Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6gcT [2021-03-08T03:21:26.893Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-08T03:23:33.685Z] lf-activate-venv(): INFO: Adding /tmp/venv-6gcT/bin to PATH [2021-03-08T03:23:33.685Z] INFO: No Stack... [2021-03-08T03:23:33.685Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-08T03:23:33.685Z] INFO: Archiving Costs [Pipeline] sh [2021-03-08T03:23:34.039Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-03-08T03:23:34.039Z] + cut -d, -f6 [Pipeline] lock [2021-03-08T03:23:34.160Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-804-6-stack-cost] [2021-03-08T03:23:34.170Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-804-6-stack-cost] did not exist. Created. [2021-03-08T03:23:34.170Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-804-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-08T03:23:34.658Z] /w/workspace/device-sdk-go/6@tmp/durable-80d828bd/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-80d828bd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-08T03:23:35.003Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-08T03:23:35.077Z] Warning: overwriting stash ‘stack-cost’ [2021-03-08T03:23:35.234Z] Stashed 1 file(s) [Pipeline] } [2021-03-08T03:23:35.247Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-804-6-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-08T03:23:36.854Z] provisioning config files... [2021-03-08T03:23:36.873Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config5339416309485266567tmp [Pipeline] { [Pipeline] sh [2021-03-08T03:23:37.281Z] + set +x [2021-03-08T03:23:37.281Z] + curl -s https://codecov.io/bash [2021-03-08T03:23:37.281Z] + bash -s -- [2021-03-08T03:23:37.545Z] [2021-03-08T03:23:37.545Z] _____ _ [2021-03-08T03:23:37.545Z] / ____| | | [2021-03-08T03:23:37.545Z] | | ___ __| | ___ ___ _____ __ [2021-03-08T03:23:37.545Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-08T03:23:37.545Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-08T03:23:37.545Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-08T03:23:37.545Z] Bash-20210226-7100762 [2021-03-08T03:23:37.545Z] [2021-03-08T03:23:37.545Z] [2021-03-08T03:23:37.545Z] ==> git version 2.24.3 found [2021-03-08T03:23:37.545Z] ==> 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-08T03:23:37.545Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-08T03:23:37.545Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-08T03:23:37.545Z] ==> Jenkins CI detected. [2021-03-08T03:23:37.545Z] project root: . [2021-03-08T03:23:37.545Z] --> token set from env [2021-03-08T03:23:37.545Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-08T03:23:37.545Z] ==> Running gcov in . (disable via -X gcov) [2021-03-08T03:23:37.545Z] ==> Python coveragepy not found [2021-03-08T03:23:37.545Z] ==> Searching for coverage reports in: [2021-03-08T03:23:37.545Z] + . [2021-03-08T03:23:37.545Z] -> Found 1 reports [2021-03-08T03:23:37.545Z] ==> Detecting git/mercurial file structure [2021-03-08T03:23:37.545Z] ==> Reading reports [2021-03-08T03:23:37.545Z] + ./coverage.out bytes=101321 [2021-03-08T03:23:37.545Z] ==> Appending adjustments [2021-03-08T03:23:37.545Z] https://docs.codecov.io/docs/fixing-reports [2021-03-08T03:23:38.122Z] + Found adjustments [2021-03-08T03:23:38.122Z] ==> Gzipping contents [2021-03-08T03:23:38.122Z] 20K /tmp/codecov.1bAfjM.gz [2021-03-08T03:23:38.122Z] ==> Uploading reports [2021-03-08T03:23:38.122Z] url: https://codecov.io [2021-03-08T03:23:38.122Z] query: branch=PR-804&commit=1a909d63bd2fae11d2671f2c9079753cf346bfc6&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-08T03:23:38.122Z] -> Pinging Codecov [2021-03-08T03:23:38.122Z] https://codecov.io/upload/v4?package=bash-20210226-7100762&token=secret&branch=PR-804&commit=1a909d63bd2fae11d2671f2c9079753cf346bfc6&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-804%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=804&job=&cmd_args= [2021-03-08T03:23:38.385Z] -> Uploading to [2021-03-08T03:23:38.386Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-08/7E55EF52A471D76F132DFD9A03CDDE97/1a909d63bd2fae11d2671f2c9079753cf346bfc6/c49ed6b6-6600-4ca4-ba0a-f26179376e82.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210308T032338Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9522ca45e2467f002373aa1162372e24f0483d9d6398b315b02f69a862c86d52 [2021-03-08T03:23:38.386Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-08T03:23:38.386Z] Dload Upload Total Spent Left Speed [2021-03-08T03:23:38.914Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16530 0 0 100 16530 0 31195 --:--:-- --:--:-- --:--:-- 31188 [2021-03-08T03:23:38.915Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1a909d63bd2fae11d2671f2c9079753cf346bfc6 [Pipeline] } [2021-03-08T03:23:38.925Z] 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-08T03:23:41.726Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:23:42.035Z] ---> package-listing.sh [2021-03-08T03:23:42.035Z] ++ facter osfamily [2021-03-08T03:23:42.035Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-08T03:23:42.035Z] + OS_FAMILY=redhat [2021-03-08T03:23:42.035Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-804 [2021-03-08T03:23:42.035Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-08T03:23:42.035Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-08T03:23:42.035Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-08T03:23:42.035Z] + PACKAGES=/tmp/packages_start.txt [2021-03-08T03:23:42.035Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-08T03:23:42.035Z] + PACKAGES=/tmp/packages_end.txt [2021-03-08T03:23:42.035Z] + case "${OS_FAMILY}" in [2021-03-08T03:23:42.035Z] + rpm -qa [2021-03-08T03:23:42.035Z] + sort [2021-03-08T03:23:46.268Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-08T03:23:46.268Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-08T03:23:46.268Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-08T03:23:46.268Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-804 ']' [2021-03-08T03:23:46.268Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [2021-03-08T03:23:46.268Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-804/archives/ [Pipeline] echo [2021-03-08T03:23:46.284Z] 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-804/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-08T03:23:46.578Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:23:46.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T03:23:46.891Z] [2021-03-08T03:23:46.891Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-08T03:23:47.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T03:23:47.251Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-08T03:23:47.251Z] df20fa9351a1: Pulling fs layer [2021-03-08T03:23:47.251Z] 36b3adc4ff6f: Pulling fs layer [2021-03-08T03:23:47.251Z] 8ad3a11d3b57: Pulling fs layer [2021-03-08T03:23:47.251Z] 46f8f816bc3b: Pulling fs layer [2021-03-08T03:23:47.251Z] 93b61091891f: Pulling fs layer [2021-03-08T03:23:47.251Z] 93b9cdb0e59b: Pulling fs layer [2021-03-08T03:23:47.251Z] 5e14af77c1be: Pulling fs layer [2021-03-08T03:23:47.251Z] 01666e4c0597: Pulling fs layer [2021-03-08T03:23:47.251Z] aa168da1d23b: Pulling fs layer [2021-03-08T03:23:47.251Z] 93b61091891f: Waiting [2021-03-08T03:23:47.251Z] 93b9cdb0e59b: Waiting [2021-03-08T03:23:47.251Z] 5e14af77c1be: Waiting [2021-03-08T03:23:47.251Z] 01666e4c0597: Waiting [2021-03-08T03:23:47.251Z] 46f8f816bc3b: Waiting [2021-03-08T03:23:47.251Z] aa168da1d23b: Waiting [2021-03-08T03:23:47.251Z] 36b3adc4ff6f: Verifying Checksum [2021-03-08T03:23:47.251Z] 36b3adc4ff6f: Download complete [2021-03-08T03:23:47.251Z] 46f8f816bc3b: Verifying Checksum [2021-03-08T03:23:47.251Z] 46f8f816bc3b: Download complete [2021-03-08T03:23:47.513Z] df20fa9351a1: Verifying Checksum [2021-03-08T03:23:47.513Z] 93b9cdb0e59b: Verifying Checksum [2021-03-08T03:23:47.513Z] 93b9cdb0e59b: Download complete [2021-03-08T03:23:47.513Z] 93b61091891f: Verifying Checksum [2021-03-08T03:23:47.513Z] 93b61091891f: Download complete [2021-03-08T03:23:47.513Z] 5e14af77c1be: Verifying Checksum [2021-03-08T03:23:47.513Z] 5e14af77c1be: Download complete [2021-03-08T03:23:47.513Z] 01666e4c0597: Verifying Checksum [2021-03-08T03:23:47.513Z] 01666e4c0597: Download complete [2021-03-08T03:23:47.781Z] df20fa9351a1: Pull complete [2021-03-08T03:23:48.044Z] 36b3adc4ff6f: Pull complete [2021-03-08T03:23:48.308Z] 8ad3a11d3b57: Verifying Checksum [2021-03-08T03:23:48.308Z] 8ad3a11d3b57: Download complete [2021-03-08T03:23:49.277Z] 8ad3a11d3b57: Pull complete [2021-03-08T03:23:49.277Z] 46f8f816bc3b: Pull complete [2021-03-08T03:23:49.873Z] 93b61091891f: Pull complete [2021-03-08T03:23:50.138Z] aa168da1d23b: Verifying Checksum [2021-03-08T03:23:50.138Z] aa168da1d23b: Download complete [2021-03-08T03:23:50.402Z] 93b9cdb0e59b: Pull complete [2021-03-08T03:23:50.664Z] 5e14af77c1be: Pull complete [2021-03-08T03:23:50.664Z] 01666e4c0597: Pull complete [2021-03-08T03:23:58.848Z] aa168da1d23b: Pull complete [2021-03-08T03:23:58.848Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-08T03:23:58.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-08T03:23:58.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-08T03:23:59.004Z] prd-centos7-docker-4c-2g-28925 does not seem to be running inside a container [2021-03-08T03:23:59.056Z] $ 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-804/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-804 -v /w/workspace/dgexfoundry_device-sdk-go_PR-804:/w/workspace/dgexfoundry_device-sdk-go_PR-804:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-804@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-08T03:24:02.093Z] $ docker top 9af50876c1703fd481fc65f83689647c9f0790a6d70254ff1e933e91dc576da4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-08T03:24:02.759Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-08T03:24:03.062Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-08T03:24:03.366Z] + ls /var/log/sa-host [2021-03-08T03:24:03.366Z] + sadf -c /var/log/sa-host/sa08 [2021-03-08T03:24:03.366Z] file_magic: OK [2021-03-08T03:24:03.366Z] HZ: Using current value: 100 [2021-03-08T03:24:03.366Z] file_header: OK [2021-03-08T03:24:03.366Z] 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-08T03:24:03.366Z] Statistics: [2021-03-08T03:24:03.366Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-08T03:24:03.366Z] File successfully converted to sysstat format version 12.2.1 [2021-03-08T03:24:03.366Z] + sadf -c /var/log/sa-host/sa23 [2021-03-08T03:24:03.366Z] file_magic: OK [2021-03-08T03:24:03.366Z] HZ: Using current value: 100 [2021-03-08T03:24:03.366Z] file_header: OK [2021-03-08T03:24:03.366Z] 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-08T03:24:03.366Z] Statistics: [2021-03-08T03:24:03.366Z] Hnuu...uuuununununu... [2021-03-08T03:24:03.366Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-08T03:24:04.022Z] provisioning config files... [2021-03-08T03:24:04.040Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-804@tmp/config8563582053266150924tmp [Pipeline] { [Pipeline] echo [2021-03-08T03:24:04.119Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:24:04.421Z] ---> create-netrc.sh [Pipeline] } [2021-03-08T03:24:04.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-08T03:24:04.528Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:24:04.829Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-08T03:24:04.841Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:24:05.143Z] ---> sudo-logs.sh [2021-03-08T03:24:05.143Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-08T03:24:05.334Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:24:05.644Z] ---> job-cost.sh [2021-03-08T03:24:05.645Z] lf-activate-venv: SKIPPING [2021-03-08T03:24:05.645Z] DEBUG: total: 0.20999999344348907 [2021-03-08T03:24:05.645Z] INFO: Retrieving Stack Cost... [2021-03-08T03:24:06.595Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-08T03:24:07.172Z] INFO: Archiving Costs [Pipeline] echo [2021-03-08T03:24:07.187Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-08T03:24:07.494Z] ---> logs-deploy.sh [2021-03-08T03:24:07.494Z] lf-activate-venv: SKIPPING [2021-03-08T03:24:07.494Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-804/6 [2021-03-08T03:24:07.494Z] INFO: archiving workspace using pattern(s): [2021-03-08T03:24:09.419Z] Archives upload complete. [2021-03-08T03:24:09.419Z] INFO: archiving logs to Nexus