lenny-intel commented: recheck Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from cae2b1391063dac375a5c1e8a3b4fadecdcac137+9c99b3ad7d2e4ca826a6fb04090188d28e886681 (97989a0210a753b2bba86bd769e5f597de0f6640) 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-27021’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-27398’ is offline; ‘prd-centos7-docker-4c-2g-27401’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27403 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [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-792 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 9c99b3ad7d2e4ca826a6fb04090188d28e886681 into PR head commit cae2b1391063dac375a5c1e8a3b4fadecdcac137 > 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/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 Merge succeeded, producing cae2b1391063dac375a5c1e8a3b4fadecdcac137 Checking out Revision cae2b1391063dac375a5c1e8a3b4fadecdcac137 (PR-792) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13" > git rev-list --no-walk cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-23T23:09:08.870Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-23T23:09:09.137Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-23T23:09:09.232Z] ========================================================= [2021-02-23T23:09:09.232Z] EdgeX Global Pipelines Version Info [2021-02-23T23:09:09.232Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:09:14.798Z] ------------------- [2021-02-23T23:09:14.798Z] stable info: [2021-02-23T23:09:14.798Z] ------------------- [2021-02-23T23:09:14.798Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T23:09:14.798Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-23T23:09:14.798Z] Message: update stable to v1.0.181 [2021-02-23T23:09:16.443Z] ------------------- [2021-02-23T23:09:16.443Z] experimental info: [2021-02-23T23:09:16.443Z] ------------------- [2021-02-23T23:09:16.443Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-23T23:09:16.443Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-23T23:09:16.443Z] Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-23T23:09:16.837Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-23T23:09:16.945Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-23T23:09:17.034Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-23T23:09:17.125Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-23T23:09:17.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-23T23:09:17.296Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-23T23:09:17.384Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-23T23:09:17.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-23T23:09:17.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-23T23:09:17.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-23T23:09:17.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-23T23:09:17.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-23T23:09:17.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-23T23:09:18.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-23T23:09:18.206Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-23T23:09:18.330Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T23:09:18.419Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T23:09:18.509Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T23:09:18.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-23T23:09:18.709Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-23T23:09:18.794Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-23T23:09:18.879Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-23T23:09:18.980Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-23T23:09:19.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-23T23:09:19.147Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-23T23:09:19.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-792 [Pipeline] echo [2021-02-23T23:09:19.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-792 [Pipeline] echo [2021-02-23T23:09:19.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-792 [Pipeline] echo [2021-02-23T23:09:19.502Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cae2b1391063dac375a5c1e8a3b4fadecdcac137 [Pipeline] echo [2021-02-23T23:09:19.586Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cae2b13 [Pipeline] echo [2021-02-23T23:09:19.669Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T23:09:19.839Z] provisioning config files... [2021-02-23T23:09:19.903Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config3631044319710370091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:09:21.141Z] ---> docker-login.sh [2021-02-23T23:09:21.141Z] nexus3.edgexfoundry.org:10001 [2021-02-23T23:09:23.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:09:23.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:09:23.843Z] Configure a credential helper to remove this warning. See [2021-02-23T23:09:23.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:09:23.843Z] [2021-02-23T23:09:23.843Z] Login Succeeded [2021-02-23T23:09:23.843Z] nexus3.edgexfoundry.org:10002 [2021-02-23T23:09:24.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:09:25.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:09:25.360Z] Configure a credential helper to remove this warning. See [2021-02-23T23:09:25.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:09:25.360Z] [2021-02-23T23:09:25.360Z] Login Succeeded [2021-02-23T23:09:25.360Z] nexus3.edgexfoundry.org:10003 [2021-02-23T23:09:27.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:09:27.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:09:27.287Z] Configure a credential helper to remove this warning. See [2021-02-23T23:09:27.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:09:27.287Z] [2021-02-23T23:09:27.287Z] Login Succeeded [2021-02-23T23:09:27.287Z] nexus3.edgexfoundry.org:10004 [2021-02-23T23:09:29.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:09:29.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:09:29.431Z] Configure a credential helper to remove this warning. See [2021-02-23T23:09:29.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:09:29.431Z] [2021-02-23T23:09:29.431Z] Login Succeeded [2021-02-23T23:09:29.431Z] docker.io [2021-02-23T23:09:30.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:09:31.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:09:31.003Z] Configure a credential helper to remove this warning. See [2021-02-23T23:09:31.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:09:31.003Z] [2021-02-23T23:09:31.003Z] Login Succeeded [2021-02-23T23:09:31.003Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T23:09:31.081Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:09:32.201Z] + git log --format=format:%s -1 cae2b1391063dac375a5c1e8a3b4fadecdcac137 [Pipeline] echo [2021-02-23T23:09:32.602Z] GIT_COMMIT: cae2b1391063dac375a5c1e8a3b4fadecdcac137, Commit Message: Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13 [Pipeline] echo [2021-02-23T23:09:32.644Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:09:33.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:09:34.084Z] [2021-02-23T23:09:34.084Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:09:34.644Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:09:35.520Z] latest: Pulling from edgex-devops/git-semver [2021-02-23T23:09:35.520Z] 31603596830f: Pulling fs layer [2021-02-23T23:09:35.520Z] 2a8b12db71e7: Pulling fs layer [2021-02-23T23:09:35.520Z] 6ca5941a6612: Pulling fs layer [2021-02-23T23:09:35.520Z] ecc8261a40a4: Pulling fs layer [2021-02-23T23:09:35.520Z] ecc8261a40a4: Waiting [2021-02-23T23:09:36.124Z] 2a8b12db71e7: Verifying Checksum [2021-02-23T23:09:36.124Z] 2a8b12db71e7: Download complete [2021-02-23T23:09:38.053Z] 31603596830f: Verifying Checksum [2021-02-23T23:09:38.053Z] 31603596830f: Download complete [2021-02-23T23:09:38.788Z] ecc8261a40a4: Verifying Checksum [2021-02-23T23:09:38.788Z] ecc8261a40a4: Download complete [2021-02-23T23:09:39.091Z] 31603596830f: Pull complete [2021-02-23T23:09:39.423Z] 6ca5941a6612: Verifying Checksum [2021-02-23T23:09:39.423Z] 6ca5941a6612: Download complete [2021-02-23T23:09:39.788Z] 2a8b12db71e7: Pull complete [2021-02-23T23:09:46.493Z] 6ca5941a6612: Pull complete [2021-02-23T23:09:46.493Z] ecc8261a40a4: Pull complete [2021-02-23T23:09:46.754Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-23T23:09:46.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:09:46.754Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-23T23:09:48.499Z] prd-centos7-docker-4c-2g-27403 does not seem to be running inside a container [2021-02-23T23:09:49.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-792 -v /w/workspace/dgexfoundry_device-sdk-go_PR-792:/w/workspace/dgexfoundry_device-sdk-go_PR-792:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T23:09:52.464Z] $ docker top 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T23:09:53.466Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T23:09:53.466Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T23:09:54.670Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T23:09:54.752Z] $ docker exec 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b ssh-agent [2021-02-23T23:09:56.128Z] SSH_AUTH_SOCK=/tmp/ssh-reiRMiw7uAOu/agent.12 [2021-02-23T23:09:56.128Z] SSH_AGENT_PID=17 [2021-02-23T23:09:56.162Z] Running ssh-add (command line suppressed) [2021-02-23T23:09:56.701Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_519837565174451730.key (/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_519837565174451730.key) [2021-02-23T23:09:57.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T23:09:58.142Z] + git tag --points-at HEAD [Pipeline] } [2021-02-23T23:09:58.300Z] $ docker exec --env ******** --env ******** 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b ssh-agent -k [2021-02-23T23:09:58.666Z] unset SSH_AUTH_SOCK; [2021-02-23T23:09:58.667Z] unset SSH_AGENT_PID; [2021-02-23T23:09:58.667Z] echo Agent pid 17 killed; [2021-02-23T23:09:58.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-23T23:09:58.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T23:09:58.938Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T23:09:59.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T23:09:59.444Z] $ docker exec 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b ssh-agent [2021-02-23T23:10:00.142Z] SSH_AUTH_SOCK=/tmp/ssh-sdIbaV6xtpmI/agent.45 [2021-02-23T23:10:00.142Z] SSH_AGENT_PID=50 [2021-02-23T23:10:00.570Z] Running ssh-add (command line suppressed) [2021-02-23T23:10:02.013Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_3823039372144097477.key (/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/private_key_3823039372144097477.key) [2021-02-23T23:10:02.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T23:10:03.843Z] + git semver init [2021-02-23T23:10:03.843Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T23:10:03.843Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-792/.git [2021-02-23T23:10:03.843Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-792 [2021-02-23T23:10:03.843Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T23:10:03.843Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T23:10:03.843Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T23:10:03.843Z] # $SEMVER_BRANCH = PR-792 [2021-02-23T23:10:03.843Z] # $SEMVER_TEMP = /tmp/semver-578778704 [2021-02-23T23:10:03.843Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-23T23:10:06.805Z] # '/tmp/semver-578778704' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-792/.semver' [2021-02-23T23:10:06.805Z] # -> Force: false [2021-02-23T23:10:06.805Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-792/.semver [Pipeline] } [2021-02-23T23:10:07.045Z] $ docker exec --env ******** --env ******** 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b ssh-agent -k [2021-02-23T23:10:07.720Z] unset SSH_AUTH_SOCK; [2021-02-23T23:10:07.721Z] unset SSH_AGENT_PID; [2021-02-23T23:10:07.721Z] echo Agent pid 50 killed; [2021-02-23T23:10:07.891Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T23:10:09.699Z] + git semver [Pipeline] } [2021-02-23T23:10:09.854Z] $ docker stop --time=1 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b [2021-02-23T23:10:12.292Z] $ docker rm -f 095e56c63819f06af628e2bc192d21ec1e840542fb07d17aada9cea5ad32392b [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T23:10:13.550Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-23T23:10:16.073Z] Stashed 1 file(s) [Pipeline] echo [2021-02-23T23:10:16.075Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-23T23:10:31.583Z] Still waiting to schedule task [2021-02-23T23:10:31.583Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-02-23T23:10:31.586Z] Still waiting to schedule task [2021-02-23T23:10:31.586Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-02-23T23:13:18.861Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27406 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [Pipeline] { [Pipeline] ws [2021-02-23T23:13:18.953Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-02-23T23:13:23.917Z] using credential edgex-jenkins-ssh [2021-02-23T23:13:23.971Z] Cloning the remote Git repository [2021-02-23T23:13:24.021Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:13:24.155Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-02-23T23:13:24.222Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:13:24.222Z] > git --version # timeout=10 [2021-02-23T23:13:24.241Z] > git --version # 'git version 2.17.1' [2021-02-23T23:13:24.242Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:13:24.321Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:13:25.999Z] Merging remotes/origin/master commit 9c99b3ad7d2e4ca826a6fb04090188d28e886681 into PR head commit cae2b1391063dac375a5c1e8a3b4fadecdcac137 [2021-02-23T23:13:26.249Z] Merge succeeded, producing cae2b1391063dac375a5c1e8a3b4fadecdcac137 [2021-02-23T23:13:26.249Z] Checking out Revision cae2b1391063dac375a5c1e8a3b4fadecdcac137 (PR-792) [2021-02-23T23:13:25.404Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:13:25.421Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:13:25.454Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:13:25.503Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:13:25.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:13:25.515Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T23:13:26.016Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:13:26.042Z] > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 [2021-02-23T23:13:26.158Z] > git remote # timeout=10 [2021-02-23T23:13:26.174Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T23:13:26.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:13:26.204Z] > git merge 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 [2021-02-23T23:13:26.229Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T23:13:26.252Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:13:26.261Z] > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 [2021-02-23T23:13:30.872Z] Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:13:32.590Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:13:33.019Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:13:33.374Z] + true [2021-02-23T23:13:33.374Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T23:13:36.178Z] provisioning config files... [2021-02-23T23:13:36.215Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8152950897754259712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:13:36.618Z] ---> docker-login.sh [2021-02-23T23:13:36.618Z] nexus3.edgexfoundry.org:10001 [2021-02-23T23:13:37.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:13:37.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:13:37.889Z] Configure a credential helper to remove this warning. See [2021-02-23T23:13:37.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:13:37.889Z] [2021-02-23T23:13:37.889Z] Login Succeeded [2021-02-23T23:13:37.889Z] nexus3.edgexfoundry.org:10002 [2021-02-23T23:13:38.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:13:38.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:13:38.440Z] Configure a credential helper to remove this warning. See [2021-02-23T23:13:38.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:13:38.440Z] [2021-02-23T23:13:38.440Z] Login Succeeded [2021-02-23T23:13:38.440Z] nexus3.edgexfoundry.org:10003 [2021-02-23T23:13:38.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:13:38.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:13:38.990Z] Configure a credential helper to remove this warning. See [2021-02-23T23:13:38.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:13:38.990Z] [2021-02-23T23:13:38.990Z] Login Succeeded [2021-02-23T23:13:38.990Z] nexus3.edgexfoundry.org:10004 [2021-02-23T23:13:39.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:13:39.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:13:39.541Z] Configure a credential helper to remove this warning. See [2021-02-23T23:13:39.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:13:39.541Z] [2021-02-23T23:13:39.541Z] Login Succeeded [2021-02-23T23:13:39.541Z] docker.io [2021-02-23T23:13:39.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:13:40.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:13:40.086Z] Configure a credential helper to remove this warning. See [2021-02-23T23:13:40.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:13:40.086Z] [2021-02-23T23:13:40.086Z] Login Succeeded [2021-02-23T23:13:40.086Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T23:13:40.102Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T23:13:40.537Z] ========================================================= [2021-02-23T23:13:40.537Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-23T23:13:40.537Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:13:40.919Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-23T23:13:41.197Z] Sending build context to Docker daemon 2.408MB [2021-02-23T23:13:41.470Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:13:41.470Z] Step 2/8 : FROM ${BASE} [2021-02-23T23:13:41.470Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-23T23:13:41.470Z] 5f621e34cdf4: Pulling fs layer [2021-02-23T23:13:41.470Z] a4357932f1b6: Pulling fs layer [2021-02-23T23:13:41.470Z] 18c013af1878: Pulling fs layer [2021-02-23T23:13:41.470Z] 00ac8860ef70: Pulling fs layer [2021-02-23T23:13:41.470Z] 63d7cb157983: Pulling fs layer [2021-02-23T23:13:41.470Z] b116817d02f9: Pulling fs layer [2021-02-23T23:13:41.470Z] 745a02a5169b: Pulling fs layer [2021-02-23T23:13:41.470Z] 63d7cb157983: Waiting [2021-02-23T23:13:41.470Z] 745a02a5169b: Waiting [2021-02-23T23:13:41.470Z] 00ac8860ef70: Waiting [2021-02-23T23:13:41.470Z] 18c013af1878: Download complete [2021-02-23T23:13:41.470Z] a4357932f1b6: Download complete [2021-02-23T23:13:41.470Z] 63d7cb157983: Verifying Checksum [2021-02-23T23:13:41.470Z] 63d7cb157983: Download complete [2021-02-23T23:13:41.470Z] b116817d02f9: Verifying Checksum [2021-02-23T23:13:41.470Z] b116817d02f9: Download complete [2021-02-23T23:13:41.470Z] 5f621e34cdf4: Verifying Checksum [2021-02-23T23:13:41.470Z] 5f621e34cdf4: Download complete [2021-02-23T23:13:42.452Z] 5f621e34cdf4: Pull complete [2021-02-23T23:13:43.061Z] a4357932f1b6: Pull complete [2021-02-23T23:13:43.336Z] 18c013af1878: Pull complete [2021-02-23T23:13:44.350Z] 745a02a5169b: Download complete [2021-02-23T23:13:45.332Z] 00ac8860ef70: Verifying Checksum [2021-02-23T23:13:45.332Z] 00ac8860ef70: Download complete [2021-02-23T23:13:48.417Z] Running on prd-centos7-docker-4c-2g-27407 in /w/workspace/dgexfoundry_device-sdk-go_PR-792 [Pipeline] { [Pipeline] ws [2021-02-23T23:13:48.474Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-02-23T23:13:50.769Z] using credential edgex-jenkins-ssh [2021-02-23T23:13:50.821Z] Cloning the remote Git repository [2021-02-23T23:13:50.847Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:13:50.916Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-02-23T23:13:50.976Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:13:50.976Z] > git --version # timeout=10 [2021-02-23T23:13:50.985Z] > git --version # 'git version 2.24.3' [2021-02-23T23:13:50.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:13:51.137Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:13:51.817Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:13:51.825Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:13:51.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:13:51.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:13:51.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:13:51.854Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/792/head:refs/remotes/origin/PR-792 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T23:13:52.265Z] Merging remotes/origin/master commit 9c99b3ad7d2e4ca826a6fb04090188d28e886681 into PR head commit cae2b1391063dac375a5c1e8a3b4fadecdcac137 [2021-02-23T23:13:52.424Z] Merge succeeded, producing cae2b1391063dac375a5c1e8a3b4fadecdcac137 [2021-02-23T23:13:52.425Z] Checking out Revision cae2b1391063dac375a5c1e8a3b4fadecdcac137 (PR-792) [2021-02-23T23:13:52.275Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:13:52.283Z] > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 [2021-02-23T23:13:52.343Z] > git remote # timeout=10 [2021-02-23T23:13:52.350Z] > git config --get remote.origin.url # timeout=10 [2021-02-23T23:13:52.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:13:52.362Z] > git merge 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 [2021-02-23T23:13:52.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-02-23T23:13:52.428Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:13:52.438Z] > git checkout -f cae2b1391063dac375a5c1e8a3b4fadecdcac137 # timeout=10 [2021-02-23T23:13:55.567Z] 00ac8860ef70: Pull complete [2021-02-23T23:13:55.841Z] 63d7cb157983: Pull complete [2021-02-23T23:13:56.116Z] b116817d02f9: Pull complete [2021-02-23T23:13:56.135Z] Commit message: "Merge branch 'master' into dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:13:57.272Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:13:57.611Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:13:57.914Z] + sudo service docker restart [2021-02-23T23:13:57.915Z] + true [2021-02-23T23:13:57.915Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T23:13:59.391Z] provisioning config files... [2021-02-23T23:13:59.428Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8898644286258306986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:13:59.801Z] ---> docker-login.sh [2021-02-23T23:13:59.801Z] nexus3.edgexfoundry.org:10001 [2021-02-23T23:14:00.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:14:00.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:14:00.331Z] Configure a credential helper to remove this warning. See [2021-02-23T23:14:00.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:14:00.331Z] [2021-02-23T23:14:00.331Z] Login Succeeded [2021-02-23T23:14:00.331Z] nexus3.edgexfoundry.org:10002 [2021-02-23T23:14:00.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:14:00.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:14:00.331Z] Configure a credential helper to remove this warning. See [2021-02-23T23:14:00.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:14:00.331Z] [2021-02-23T23:14:00.331Z] Login Succeeded [2021-02-23T23:14:00.331Z] nexus3.edgexfoundry.org:10003 [2021-02-23T23:14:00.470Z] 745a02a5169b: Pull complete [2021-02-23T23:14:00.470Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-23T23:14:00.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-23T23:14:00.470Z] ---> b7e6874047d6 [2021-02-23T23:14:00.470Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:14:00.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:14:00.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:14:00.594Z] Configure a credential helper to remove this warning. See [2021-02-23T23:14:00.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:14:00.594Z] [2021-02-23T23:14:00.594Z] Login Succeeded [2021-02-23T23:14:00.594Z] nexus3.edgexfoundry.org:10004 [2021-02-23T23:14:00.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:14:00.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:14:00.860Z] Configure a credential helper to remove this warning. See [2021-02-23T23:14:00.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:14:00.860Z] [2021-02-23T23:14:00.860Z] Login Succeeded [2021-02-23T23:14:00.860Z] docker.io [2021-02-23T23:14:00.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:14:01.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:14:01.122Z] Configure a credential helper to remove this warning. See [2021-02-23T23:14:01.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:14:01.122Z] [2021-02-23T23:14:01.122Z] Login Succeeded [2021-02-23T23:14:01.122Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T23:14:01.133Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T23:14:01.522Z] ========================================================= [2021-02-23T23:14:01.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-23T23:14:01.522Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:14:01.875Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-23T23:14:02.138Z] Sending build context to Docker daemon 2.402MB [2021-02-23T23:14:02.138Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:14:02.138Z] Step 2/8 : FROM ${BASE} [2021-02-23T23:14:02.138Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-23T23:14:02.138Z] 188c0c94c7c5: Pulling fs layer [2021-02-23T23:14:02.138Z] 0ef7d3d256c8: Pulling fs layer [2021-02-23T23:14:02.138Z] de9db76c5a1d: Pulling fs layer [2021-02-23T23:14:02.138Z] bca2f99d35d6: Pulling fs layer [2021-02-23T23:14:02.138Z] 93359f2a8cfa: Pulling fs layer [2021-02-23T23:14:02.138Z] 7c6f9722023f: Pulling fs layer [2021-02-23T23:14:02.138Z] a35cf1a2eb13: Pulling fs layer [2021-02-23T23:14:02.138Z] 93359f2a8cfa: Waiting [2021-02-23T23:14:02.138Z] 7c6f9722023f: Waiting [2021-02-23T23:14:02.138Z] a35cf1a2eb13: Waiting [2021-02-23T23:14:02.138Z] bca2f99d35d6: Waiting [2021-02-23T23:14:02.138Z] de9db76c5a1d: Verifying Checksum [2021-02-23T23:14:02.138Z] de9db76c5a1d: Download complete [2021-02-23T23:14:02.138Z] 0ef7d3d256c8: Verifying Checksum [2021-02-23T23:14:02.138Z] 0ef7d3d256c8: Download complete [2021-02-23T23:14:02.138Z] 93359f2a8cfa: Verifying Checksum [2021-02-23T23:14:02.138Z] 93359f2a8cfa: Download complete [2021-02-23T23:14:02.138Z] 7c6f9722023f: Verifying Checksum [2021-02-23T23:14:02.138Z] 7c6f9722023f: Download complete [2021-02-23T23:14:02.138Z] 188c0c94c7c5: Verifying Checksum [2021-02-23T23:14:02.138Z] 188c0c94c7c5: Download complete [2021-02-23T23:14:02.401Z] 188c0c94c7c5: Pull complete [2021-02-23T23:14:02.664Z] 0ef7d3d256c8: Pull complete [2021-02-23T23:14:02.928Z] de9db76c5a1d: Pull complete [2021-02-23T23:14:03.098Z] ---> Running in 6f663f9ae716 [2021-02-23T23:14:03.373Z] Removing intermediate container 6f663f9ae716 [2021-02-23T23:14:03.373Z] ---> 25980c3269a2 [2021-02-23T23:14:03.373Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:14:03.373Z] ---> Running in 65034f3caab0 [2021-02-23T23:14:04.339Z] a35cf1a2eb13: Verifying Checksum [2021-02-23T23:14:04.339Z] a35cf1a2eb13: Download complete [2021-02-23T23:14:04.918Z] bca2f99d35d6: Verifying Checksum [2021-02-23T23:14:04.918Z] bca2f99d35d6: Download complete [2021-02-23T23:14:06.017Z] Removing intermediate container 65034f3caab0 [2021-02-23T23:14:06.017Z] ---> aab66319450f [2021-02-23T23:14:06.017Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T23:14:06.017Z] ---> Running in e9c732ecd9a6 [2021-02-23T23:14:06.999Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T23:14:07.590Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T23:14:08.178Z] OK: 142 MiB in 39 packages [2021-02-23T23:14:09.166Z] Removing intermediate container e9c732ecd9a6 [2021-02-23T23:14:09.166Z] ---> cd0d64888469 [2021-02-23T23:14:09.166Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T23:14:09.440Z] ---> Running in 6ed770039c04 [2021-02-23T23:14:10.035Z] Removing intermediate container 6ed770039c04 [2021-02-23T23:14:10.035Z] ---> e46283182c02 [2021-02-23T23:14:10.035Z] Step 7/8 : COPY . . [2021-02-23T23:14:10.245Z] bca2f99d35d6: Pull complete [2021-02-23T23:14:10.245Z] 93359f2a8cfa: Pull complete [2021-02-23T23:14:10.508Z] 7c6f9722023f: Pull complete [2021-02-23T23:14:11.015Z] ---> 3ee0d6cfadfa [2021-02-23T23:14:11.015Z] Step 8/8 : RUN go mod download [2021-02-23T23:14:11.287Z] ---> Running in 445e4116c9fb [2021-02-23T23:14:14.757Z] a35cf1a2eb13: Pull complete [2021-02-23T23:14:14.757Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-23T23:14:14.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-23T23:14:14.757Z] ---> a62c8e92a672 [2021-02-23T23:14:14.757Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:14:14.757Z] ---> Running in 8de20b31613c [2021-02-23T23:14:15.025Z] Removing intermediate container 8de20b31613c [2021-02-23T23:14:15.025Z] ---> bad3f7dd8c42 [2021-02-23T23:14:15.025Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:14:15.025Z] ---> Running in 6ec4be0c8645 [2021-02-23T23:14:16.427Z] Removing intermediate container 6ec4be0c8645 [2021-02-23T23:14:16.427Z] ---> f2a1f4297ef9 [2021-02-23T23:14:16.427Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T23:14:16.427Z] ---> Running in ac4fb039dcbc [2021-02-23T23:14:17.381Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T23:14:17.958Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T23:14:19.358Z] OK: 166 MiB in 39 packages [2021-02-23T23:14:19.358Z] Removing intermediate container ac4fb039dcbc [2021-02-23T23:14:19.358Z] ---> 7884f4781d58 [2021-02-23T23:14:19.358Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T23:14:19.625Z] ---> Running in aa0f9dadda31 [2021-02-23T23:14:19.625Z] Removing intermediate container aa0f9dadda31 [2021-02-23T23:14:19.625Z] ---> c592b7b96802 [2021-02-23T23:14:19.625Z] Step 7/8 : COPY . . [2021-02-23T23:14:21.020Z] ---> c13a6e1689fa [2021-02-23T23:14:21.020Z] Step 8/8 : RUN go mod download [2021-02-23T23:14:21.020Z] ---> Running in e750f4ec8a03 [2021-02-23T23:14:38.089Z] Removing intermediate container 445e4116c9fb [2021-02-23T23:14:38.089Z] ---> 9455301ba8f2 [2021-02-23T23:14:38.089Z] Successfully built 9455301ba8f2 [2021-02-23T23:14:38.089Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:14:38.434Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T23:14:38.434Z] . [Pipeline] withDockerContainer [2021-02-23T23:14:38.700Z] prd-ubuntu18.04-docker-arm64-4c-16g-27406 does not seem to be running inside a container [2021-02-23T23:14:38.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-23T23:14:40.313Z] $ docker top 7da20fc1a28bc6d3fea58edb183c69a12002ffbf8ed4d3728403aea9929c4124 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:14:41.382Z] + go version [2021-02-23T23:14:41.382Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-23T23:14:41.409Z] $ docker stop --time=1 7da20fc1a28bc6d3fea58edb183c69a12002ffbf8ed4d3728403aea9929c4124 [2021-02-23T23:14:43.085Z] Removing intermediate container e750f4ec8a03 [2021-02-23T23:14:43.086Z] ---> 42ec2115735f [2021-02-23T23:14:43.086Z] Successfully built 42ec2115735f [2021-02-23T23:14:43.086Z] Successfully tagged ci-base-image-x86_64:latest [2021-02-23T23:14:43.343Z] $ docker rm -f 7da20fc1a28bc6d3fea58edb183c69a12002ffbf8ed4d3728403aea9929c4124 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:14:44.126Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T23:14:44.126Z] . [Pipeline] withDockerContainer [2021-02-23T23:14:44.285Z] prd-centos7-docker-4c-2g-27407 does not seem to be running inside a container [2021-02-23T23:14:44.326Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T23:14:44.326Z] . [2021-02-23T23:14:44.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-23T23:14:45.278Z] $ docker top 2f8efb0953f7ce386386b0e7bc324dc6cb64a2831068ee3fb47f21a51fabefed -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-02-23T23:14:45.752Z] prd-ubuntu18.04-docker-arm64-4c-16g-27406 does not seem to be running inside a container [2021-02-23T23:14:45.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-23T23:14:47.339Z] $ docker top 41b54c0b70e2cbb1f7690079f6a0bd39773076276506747fb9a25fafdae9e1f8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-02-23T23:14:47.989Z] + go version [2021-02-23T23:14:47.989Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-23T23:14:48.006Z] $ docker stop --time=1 2f8efb0953f7ce386386b0e7bc324dc6cb64a2831068ee3fb47f21a51fabefed [2021-02-23T23:14:48.389Z] + make test [2021-02-23T23:14:48.389Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T23:14:49.345Z] $ docker rm -f 2f8efb0953f7ce386386b0e7bc324dc6cb64a2831068ee3fb47f21a51fabefed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:14:50.169Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T23:14:50.169Z] . [Pipeline] withDockerContainer [2021-02-23T23:14:50.269Z] prd-centos7-docker-4c-2g-27407 does not seem to be running inside a container [2021-02-23T23:14:50.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-23T23:14:51.040Z] $ docker top 3716a3e062b17b002ea795e649f6be7ad7b06c4f58b4aadd5c476b502c054da8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:14:51.554Z] + make test [2021-02-23T23:14:51.554Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T23:14:59.756Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T23:15:10.580Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T23:15:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T23:15:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T23:15:14.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T23:15:18.213Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 25.5% of statements [2021-02-23T23:15:49.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T23:15:49.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T23:15:49.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T23:15:50.472Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.065s coverage: 10.1% of statements [2021-02-23T23:15:50.472Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.057s coverage: 12.5% of statements [2021-02-23T23:15:50.472Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T23:15:50.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.070s coverage: 84.8% of statements [2021-02-23T23:15:50.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T23:15:50.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T23:15:50.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T23:15:50.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T23:15:50.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 49.2% of statements [2021-02-23T23:15:50.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T23:15:50.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.073s coverage: 81.3% of statements [2021-02-23T23:15:50.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.076s coverage: 24.8% of statements [2021-02-23T23:15:50.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.424s coverage: 83.5% of statements [2021-02-23T23:15:50.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.073s coverage: 5.3% of statements [2021-02-23T23:15:50.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T23:15:50.473Z] GO111MODULE=on go vet ./... [2021-02-23T23:15:57.148Z] gofmt -l . [2021-02-23T23:15:57.148Z] [ "`gofmt -l .`" = "" ] [2021-02-23T23:15:57.148Z] ./bin/test-attribution-txt.sh [2021-02-23T23:15:58.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.138s coverage: 25.5% of statements [2021-02-23T23:15:58.103Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T23:15:58.383Z] $ docker stop --time=1 3716a3e062b17b002ea795e649f6be7ad7b06c4f58b4aadd5c476b502c054da8 [2021-02-23T23:16:00.443Z] $ docker rm -f 3716a3e062b17b002ea795e649f6be7ad7b06c4f58b4aadd5c476b502c054da8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T23:16:01.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T23:16:01.576Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-23T23:16:03.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T23:16:03.475Z] + ls -al . [2021-02-23T23:16:03.475Z] total 184 [2021-02-23T23:16:03.475Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 23:15 . [2021-02-23T23:16:03.475Z] drwxrwxr-x. 4 jenkins jenkins 28 Feb 23 23:13 .. [2021-02-23T23:16:03.475Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 23:13 bin [2021-02-23T23:16:03.475Z] -rw-r--r--. 1 jenkins jenkins 101757 Feb 23 23:15 coverage.out [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 23:13 Dockerfile.build [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 23:13 .dockerignore [2021-02-23T23:16:03.475Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 23:13 example [2021-02-23T23:16:03.475Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 23 23:13 .git [2021-02-23T23:16:03.475Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 23:13 .github [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 23:13 .gitignore [2021-02-23T23:16:03.475Z] -rw-r--r--. 1 jenkins jenkins 516 Feb 23 23:15 go.mod [2021-02-23T23:16:03.475Z] -rw-r--r--. 1 jenkins jenkins 17254 Feb 23 23:15 go.sum [2021-02-23T23:16:03.475Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 23:13 internal [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 23:13 Jenkinsfile [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 23:13 LICENSE [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 23:13 Makefile [2021-02-23T23:16:03.475Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 23:13 openapi [2021-02-23T23:16:03.475Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 23:13 pkg [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 23:13 README.md [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 23:13 RELEASE-NOTES.txt [2021-02-23T23:16:03.475Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 23:13 snap [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 23 23:10 VERSION [2021-02-23T23:16:03.475Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 23:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:16:03.792Z] + 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=cae2b1391063dac375a5c1e8a3b4fadecdcac137 --label arch=amd64 --label version=0.0.0 . [2021-02-23T23:16:04.058Z] Sending build context to Docker daemon 2.505MB [2021-02-23T23:16:04.058Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:16:04.058Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T23:16:04.058Z] ---> 42ec2115735f [2021-02-23T23:16:04.058Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T23:16:04.636Z] ---> Running in 2f74f37fa8e0 [2021-02-23T23:16:04.899Z] Removing intermediate container 2f74f37fa8e0 [2021-02-23T23:16:04.899Z] ---> 0989576e7926 [2021-02-23T23:16:04.899Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T23:16:04.899Z] ---> Running in 4d57379ccca0 [2021-02-23T23:16:05.168Z] Removing intermediate container 4d57379ccca0 [2021-02-23T23:16:05.168Z] ---> 644456cf2871 [2021-02-23T23:16:05.168Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:16:05.168Z] ---> Running in c678f8571018 [2021-02-23T23:16:05.168Z] Removing intermediate container c678f8571018 [2021-02-23T23:16:05.168Z] ---> 987e629bfbd0 [2021-02-23T23:16:05.168Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:16:05.434Z] ---> Running in ff68cfdb2833 [2021-02-23T23:16:06.395Z] Removing intermediate container ff68cfdb2833 [2021-02-23T23:16:06.396Z] ---> fb63f180a53c [2021-02-23T23:16:06.396Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T23:16:06.396Z] ---> Running in a93e9a1e2940 [2021-02-23T23:16:06.982Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T23:16:07.934Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T23:16:08.511Z] OK: 166 MiB in 39 packages [2021-02-23T23:16:08.780Z] Removing intermediate container a93e9a1e2940 [2021-02-23T23:16:08.780Z] ---> 626c11fcb899 [2021-02-23T23:16:08.780Z] Step 8/24 : COPY . . [2021-02-23T23:16:10.182Z] ---> bd7c34e89e90 [2021-02-23T23:16:10.183Z] Step 9/24 : RUN ${MAKE} [2021-02-23T23:16:10.183Z] ---> Running in 04661827d690 [2021-02-23T23:16:10.447Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T23:16:20.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.115s coverage: 10.1% of statements [2021-02-23T23:16:20.174Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.125s coverage: 12.5% of statements [2021-02-23T23:16:20.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T23:16:20.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.151s coverage: 84.8% of statements [2021-02-23T23:16:20.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T23:16:20.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T23:16:20.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T23:16:20.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T23:16:20.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.195s coverage: 49.2% of statements [2021-02-23T23:16:20.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T23:16:20.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.149s coverage: 81.3% of statements [2021-02-23T23:16:20.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.206s coverage: 24.8% of statements [2021-02-23T23:16:20.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.887s coverage: 83.5% of statements [2021-02-23T23:16:20.175Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.154s coverage: 5.3% of statements [2021-02-23T23:16:20.175Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T23:16:20.451Z] GO111MODULE=on go vet ./... [2021-02-23T23:16:20.588Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T23:16:21.983Z] Removing intermediate container 04661827d690 [2021-02-23T23:16:21.983Z] ---> 4e60c4007513 [2021-02-23T23:16:21.983Z] Step 10/24 : FROM scratch [2021-02-23T23:16:21.983Z] ---> [2021-02-23T23:16:21.983Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:16:21.983Z] ---> Running in 07ee7e5d3ff0 [2021-02-23T23:16:22.245Z] Removing intermediate container 07ee7e5d3ff0 [2021-02-23T23:16:22.245Z] ---> 19e292c7e8a8 [2021-02-23T23:16:22.245Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T23:16:22.245Z] ---> Running in 6f5de66dc192 [2021-02-23T23:16:22.245Z] Removing intermediate container 6f5de66dc192 [2021-02-23T23:16:22.245Z] ---> 2f4ad04d8f59 [2021-02-23T23:16:22.245Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T23:16:22.510Z] ---> Running in 8847c955856a [2021-02-23T23:16:22.510Z] Removing intermediate container 8847c955856a [2021-02-23T23:16:22.510Z] ---> 9dc93cf388f3 [2021-02-23T23:16:22.510Z] Step 14/24 : WORKDIR / [2021-02-23T23:16:22.510Z] ---> Running in 0cbfd275d2a6 [2021-02-23T23:16:22.772Z] Removing intermediate container 0cbfd275d2a6 [2021-02-23T23:16:22.772Z] ---> 2f0893d1e269 [2021-02-23T23:16:22.772Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T23:16:23.348Z] ---> 6e0a30d4fbc5 [2021-02-23T23:16:23.348Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T23:16:23.348Z] ---> ae3012b3e26b [2021-02-23T23:16:23.348Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T23:16:23.611Z] ---> 94e197549653 [2021-02-23T23:16:23.611Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T23:16:23.873Z] ---> 6905ead0bbd7 [2021-02-23T23:16:23.873Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T23:16:24.135Z] ---> 314c027339e7 [2021-02-23T23:16:24.135Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T23:16:24.135Z] ---> Running in 3a6d300c7a24 [2021-02-23T23:16:24.397Z] Removing intermediate container 3a6d300c7a24 [2021-02-23T23:16:24.397Z] ---> 5e6c8e038249 [2021-02-23T23:16:24.397Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T23:16:24.397Z] ---> Running in 8e6210f9b0e5 [2021-02-23T23:16:24.659Z] Removing intermediate container 8e6210f9b0e5 [2021-02-23T23:16:24.659Z] ---> 2d9374d4ca01 [2021-02-23T23:16:24.659Z] Step 22/24 : LABEL arch=amd64 [2021-02-23T23:16:24.659Z] ---> Running in 1e826970d70b [2021-02-23T23:16:24.924Z] Removing intermediate container 1e826970d70b [2021-02-23T23:16:24.924Z] ---> a325aeb2dd6c [2021-02-23T23:16:24.924Z] Step 23/24 : LABEL git_sha=cae2b1391063dac375a5c1e8a3b4fadecdcac137 [2021-02-23T23:16:24.924Z] ---> Running in d8e458ba3791 [2021-02-23T23:16:24.924Z] Removing intermediate container d8e458ba3791 [2021-02-23T23:16:24.924Z] ---> 9d131f9ba8fb [2021-02-23T23:16:24.924Z] Step 24/24 : LABEL version=0.0.0 [2021-02-23T23:16:25.186Z] ---> Running in cf95a8b4f59b [2021-02-23T23:16:25.186Z] Removing intermediate container cf95a8b4f59b [2021-02-23T23:16:25.186Z] ---> ff951864254c [2021-02-23T23:16:25.186Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T23:16:25.186Z] Successfully built ff951864254c [2021-02-23T23:16:25.186Z] 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-02-23T23:16:26.213Z] ---> job-cost.sh [2021-02-23T23:16:26.213Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JRuy [2021-02-23T23:16:41.155Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-23T23:16:59.675Z] gofmt -l . [2021-02-23T23:16:59.675Z] [ "`gofmt -l .`" = "" ] [2021-02-23T23:16:59.675Z] ./bin/test-attribution-txt.sh [2021-02-23T23:16:59.675Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T23:16:59.708Z] $ docker stop --time=1 41b54c0b70e2cbb1f7690079f6a0bd39773076276506747fb9a25fafdae9e1f8 [2021-02-23T23:17:02.071Z] $ docker rm -f 41b54c0b70e2cbb1f7690079f6a0bd39773076276506747fb9a25fafdae9e1f8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T23:17:03.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T23:17:03.188Z] Warning: overwriting stash ‘coverage-report’ [2021-02-23T23:17:03.977Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:17:04.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T23:17:05.083Z] + ls -al . [2021-02-23T23:17:05.084Z] total 220 [2021-02-23T23:17:05.084Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 23:16 . [2021-02-23T23:17:05.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:13 .. [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 23:13 .dockerignore [2021-02-23T23:17:05.084Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 23:13 .git [2021-02-23T23:17:05.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:13 .github [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 23:13 .gitignore [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 23:13 Dockerfile.build [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 23:13 Jenkinsfile [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 23:13 LICENSE [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 23:13 Makefile [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 23:13 README.md [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 23:13 RELEASE-NOTES.txt [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 23 23:10 VERSION [2021-02-23T23:17:05.084Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:13 bin [2021-02-23T23:17:05.084Z] -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 23:16 coverage.out [2021-02-23T23:17:05.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:13 example [2021-02-23T23:17:05.084Z] -rw-r--r-- 1 jenkins jenkins 516 Feb 23 23:16 go.mod [2021-02-23T23:17:05.084Z] -rw-r--r-- 1 jenkins jenkins 17254 Feb 23 23:16 go.sum [2021-02-23T23:17:05.084Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 23:13 internal [2021-02-23T23:17:05.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:13 openapi [2021-02-23T23:17:05.084Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 23:13 pkg [2021-02-23T23:17:05.084Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:13 snap [2021-02-23T23:17:05.084Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 23:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:17:05.430Z] + 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=cae2b1391063dac375a5c1e8a3b4fadecdcac137 --label arch=arm64 --label version=0.0.0 . [2021-02-23T23:17:05.712Z] Sending build context to Docker daemon 2.511MB [2021-02-23T23:17:05.712Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:17:05.712Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T23:17:05.712Z] ---> 9455301ba8f2 [2021-02-23T23:17:05.712Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T23:17:06.306Z] ---> Running in 2d4c552a2043 [2021-02-23T23:17:06.578Z] Removing intermediate container 2d4c552a2043 [2021-02-23T23:17:06.578Z] ---> 4d63d2650a69 [2021-02-23T23:17:06.578Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T23:17:06.849Z] ---> Running in 42b04e2ec9df [2021-02-23T23:17:07.123Z] Removing intermediate container 42b04e2ec9df [2021-02-23T23:17:07.123Z] ---> b48f000c6e60 [2021-02-23T23:17:07.123Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:17:07.399Z] ---> Running in 4f3eda262ac9 [2021-02-23T23:17:07.672Z] Removing intermediate container 4f3eda262ac9 [2021-02-23T23:17:07.672Z] ---> b35ac6e2a938 [2021-02-23T23:17:07.672Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:17:07.944Z] ---> Running in fdca61fc5800 [2021-02-23T23:17:09.922Z] Removing intermediate container fdca61fc5800 [2021-02-23T23:17:09.922Z] ---> 86a332829968 [2021-02-23T23:17:09.922Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T23:17:10.206Z] ---> Running in b049264fa1e1 [2021-02-23T23:17:11.184Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T23:17:12.155Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T23:17:12.748Z] OK: 142 MiB in 39 packages [2021-02-23T23:17:13.350Z] lf-activate-venv(): INFO: Adding /tmp/venv-JRuy/bin to PATH [2021-02-23T23:17:13.350Z] INFO: No Stack... [2021-02-23T23:17:13.350Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T23:17:13.350Z] INFO: Archiving Costs [Pipeline] sh [2021-02-23T23:17:13.660Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-02-23T23:17:13.660Z] + cut -d, -f6 [Pipeline] lock [2021-02-23T23:17:13.734Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [2021-02-23T23:17:13.750Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] did not exist. Created. [2021-02-23T23:17:13.751Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-23T23:17:14.137Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-02-23T23:17:14.236Z] Removing intermediate container b049264fa1e1 [2021-02-23T23:17:14.236Z] ---> 89c4fe9b5934 [2021-02-23T23:17:14.236Z] Step 8/24 : COPY . . [2021-02-23T23:17:14.383Z] Stashed 1 file(s) [Pipeline] } [2021-02-23T23:17:14.390Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-23T23:17:15.223Z] ---> 9dad7bb87f7d [2021-02-23T23:17:15.223Z] Step 9/24 : RUN ${MAKE} [2021-02-23T23:17:15.223Z] ---> Running in 56ca47c3fcd8 [2021-02-23T23:17:16.670Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T23:17:43.482Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T23:17:44.098Z] Removing intermediate container 56ca47c3fcd8 [2021-02-23T23:17:44.098Z] ---> 828377e52481 [2021-02-23T23:17:44.098Z] Step 10/24 : FROM scratch [2021-02-23T23:17:44.098Z] ---> [2021-02-23T23:17:44.098Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:17:44.098Z] ---> Running in 00177b78e58a [2021-02-23T23:17:44.691Z] Removing intermediate container 00177b78e58a [2021-02-23T23:17:44.691Z] ---> b3cc490818b1 [2021-02-23T23:17:44.691Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T23:17:44.691Z] ---> Running in 50760518ed38 [2021-02-23T23:17:44.962Z] Removing intermediate container 50760518ed38 [2021-02-23T23:17:44.962Z] ---> 4de74b97f0d3 [2021-02-23T23:17:44.962Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T23:17:45.234Z] ---> Running in df7cc18b9f34 [2021-02-23T23:17:45.834Z] Removing intermediate container df7cc18b9f34 [2021-02-23T23:17:45.834Z] ---> 14d2be9f591c [2021-02-23T23:17:45.834Z] Step 14/24 : WORKDIR / [2021-02-23T23:17:45.834Z] ---> Running in bccc835c6e27 [2021-02-23T23:17:46.426Z] Removing intermediate container bccc835c6e27 [2021-02-23T23:17:46.426Z] ---> f841ac9e3a79 [2021-02-23T23:17:46.426Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T23:17:47.406Z] ---> 5123e4e4af56 [2021-02-23T23:17:47.406Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T23:17:47.999Z] ---> 310b224f2ef7 [2021-02-23T23:17:47.999Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T23:17:48.594Z] ---> d2f3b8d24cf0 [2021-02-23T23:17:48.594Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T23:17:49.572Z] ---> 161353d8c879 [2021-02-23T23:17:49.572Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T23:17:50.163Z] ---> 8fecfc89e378 [2021-02-23T23:17:50.163Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T23:17:50.434Z] ---> Running in cbb4e4d689a2 [2021-02-23T23:17:50.709Z] Removing intermediate container cbb4e4d689a2 [2021-02-23T23:17:50.709Z] ---> 9f5ba35b433f [2021-02-23T23:17:50.709Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T23:17:50.985Z] ---> Running in d3664d92e46a [2021-02-23T23:17:51.256Z] Removing intermediate container d3664d92e46a [2021-02-23T23:17:51.256Z] ---> 9af64812bd62 [2021-02-23T23:17:51.256Z] Step 22/24 : LABEL arch=arm64 [2021-02-23T23:17:51.528Z] ---> Running in f38efd31c948 [2021-02-23T23:17:51.799Z] Removing intermediate container f38efd31c948 [2021-02-23T23:17:51.799Z] ---> 9c60eb1ce453 [2021-02-23T23:17:51.799Z] Step 23/24 : LABEL git_sha=cae2b1391063dac375a5c1e8a3b4fadecdcac137 [2021-02-23T23:17:52.070Z] ---> Running in b72df426b6f4 [2021-02-23T23:17:52.343Z] Removing intermediate container b72df426b6f4 [2021-02-23T23:17:52.343Z] ---> 19ea63018bc4 [2021-02-23T23:17:52.343Z] Step 24/24 : LABEL version=0.0.0 [2021-02-23T23:17:52.616Z] ---> Running in 9f3a2c8ee735 [2021-02-23T23:17:52.886Z] Removing intermediate container 9f3a2c8ee735 [2021-02-23T23:17:52.886Z] ---> ea1a3adc1299 [2021-02-23T23:17:52.886Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T23:17:53.156Z] Successfully built ea1a3adc1299 [2021-02-23T23:17:53.156Z] 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-02-23T23:17:53.905Z] ---> job-cost.sh [2021-02-23T23:17:53.905Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KaMT [2021-02-23T23:18:32.895Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-23T23:20:39.677Z] lf-activate-venv(): INFO: Adding /tmp/venv-KaMT/bin to PATH [2021-02-23T23:20:39.677Z] INFO: No Stack... [2021-02-23T23:20:39.677Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-23T23:20:39.677Z] INFO: Archiving Costs [Pipeline] sh [2021-02-23T23:20:40.034Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-02-23T23:20:40.034Z] + cut -d, -f6 [Pipeline] lock [2021-02-23T23:20:40.143Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [2021-02-23T23:20:40.168Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] did not exist. Created. [2021-02-23T23:20:40.168Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-23T23:20:40.612Z] /w/workspace/device-sdk-go/4@tmp/durable-d562d942/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-d562d942/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-02-23T23:20:40.958Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-23T23:20:40.978Z] Warning: overwriting stash ‘stack-cost’ [2021-02-23T23:20:41.136Z] Stashed 1 file(s) [Pipeline] } [2021-02-23T23:20:41.149Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-792-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-23T23:20:42.292Z] provisioning config files... [2021-02-23T23:20:42.313Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config8090951201220802706tmp [Pipeline] { [Pipeline] sh [2021-02-23T23:20:43.829Z] + set +x [2021-02-23T23:20:43.829Z] + curl -s https://codecov.io/bash [2021-02-23T23:20:43.829Z] + bash -s -- [2021-02-23T23:20:44.263Z] [2021-02-23T23:20:44.263Z] _____ _ [2021-02-23T23:20:44.263Z] / ____| | | [2021-02-23T23:20:44.263Z] | | ___ __| | ___ ___ _____ __ [2021-02-23T23:20:44.263Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-23T23:20:44.263Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-23T23:20:44.263Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-23T23:20:44.263Z] Bash-20210129-7c25fce [2021-02-23T23:20:44.263Z] [2021-02-23T23:20:44.263Z] [2021-02-23T23:20:44.263Z] ==> git version 2.24.3 found [2021-02-23T23:20:44.263Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-02-23T23:20:44.263Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-23T23:20:44.263Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-23T23:20:44.263Z] ==> Jenkins CI detected. [2021-02-23T23:20:44.263Z] project root: . [2021-02-23T23:20:44.263Z] --> token set from env [2021-02-23T23:20:44.263Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-23T23:20:44.931Z] ==> Running gcov in . (disable via -X gcov) [2021-02-23T23:20:44.931Z] ==> Python coveragepy not found [2021-02-23T23:20:44.931Z] ==> Searching for coverage reports in: [2021-02-23T23:20:44.931Z] + . [2021-02-23T23:20:44.931Z] -> Found 1 reports [2021-02-23T23:20:44.931Z] ==> Detecting git/mercurial file structure [2021-02-23T23:20:44.931Z] ==> Reading reports [2021-02-23T23:20:44.931Z] + ./coverage.out bytes=101757 [2021-02-23T23:20:44.931Z] ==> Appending adjustments [2021-02-23T23:20:44.931Z] https://docs.codecov.io/docs/fixing-reports [2021-02-23T23:20:46.348Z] + Found adjustments [2021-02-23T23:20:46.348Z] ==> Gzipping contents [2021-02-23T23:20:46.915Z] 20K /tmp/codecov.wujTQ5.gz [2021-02-23T23:20:46.915Z] ==> Uploading reports [2021-02-23T23:20:46.915Z] url: https://codecov.io [2021-02-23T23:20:46.915Z] query: branch=PR-792&commit=cae2b1391063dac375a5c1e8a3b4fadecdcac137&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-792%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=792&job=&cmd_args= [2021-02-23T23:20:46.915Z] -> Pinging Codecov [2021-02-23T23:20:46.915Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-792&commit=cae2b1391063dac375a5c1e8a3b4fadecdcac137&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-792%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=792&job=&cmd_args= [2021-02-23T23:20:47.302Z] -> Uploading to [2021-02-23T23:20:47.302Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/cae2b1391063dac375a5c1e8a3b4fadecdcac137/97c45ee3-ce36-4c83-a1e6-ee0b384c39c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T232047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0617eb68437a548e0cb42ae3644cdb2ca0b3c89550bf50c03a3ab83c17aa153a [2021-02-23T23:20:47.613Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T23:20:47.613Z] Dload Upload Total Spent Left Speed [2021-02-23T23:20:48.278Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16477 0 0 100 16477 0 26612 --:--:-- --:--:-- --:--:-- 26661 [2021-02-23T23:20:48.278Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cae2b1391063dac375a5c1e8a3b4fadecdcac137 [Pipeline] } [2021-02-23T23:20:48.443Z] 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-02-23T23:20:51.783Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:20:52.453Z] ---> package-listing.sh [2021-02-23T23:20:52.453Z] ++ facter osfamily [2021-02-23T23:20:52.453Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-23T23:20:53.200Z] + OS_FAMILY=redhat [2021-02-23T23:20:53.200Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-792 [2021-02-23T23:20:53.200Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-23T23:20:53.200Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-23T23:20:53.200Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-23T23:20:53.200Z] + PACKAGES=/tmp/packages_start.txt [2021-02-23T23:20:53.200Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-792 ']' [2021-02-23T23:20:53.200Z] + PACKAGES=/tmp/packages_end.txt [2021-02-23T23:20:53.200Z] + case "${OS_FAMILY}" in [2021-02-23T23:20:53.200Z] + rpm -qa [2021-02-23T23:20:53.200Z] + sort [2021-02-23T23:21:03.866Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-23T23:21:03.866Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-23T23:21:03.866Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-23T23:21:03.866Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-792 ']' [2021-02-23T23:21:03.866Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-792/archives/ [2021-02-23T23:21:03.866Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-792/archives/ [Pipeline] echo [2021-02-23T23:21:03.887Z] 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-792/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-23T23:21:04.307Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:21:05.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T23:21:05.884Z] [2021-02-23T23:21:05.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:21:06.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T23:21:06.786Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-23T23:21:06.786Z] df20fa9351a1: Pulling fs layer [2021-02-23T23:21:06.786Z] 36b3adc4ff6f: Pulling fs layer [2021-02-23T23:21:06.786Z] 8ad3a11d3b57: Pulling fs layer [2021-02-23T23:21:06.786Z] 46f8f816bc3b: Pulling fs layer [2021-02-23T23:21:06.786Z] 93b61091891f: Pulling fs layer [2021-02-23T23:21:06.786Z] 93b9cdb0e59b: Pulling fs layer [2021-02-23T23:21:06.786Z] 5e14af77c1be: Pulling fs layer [2021-02-23T23:21:06.786Z] 01666e4c0597: Pulling fs layer [2021-02-23T23:21:06.786Z] aa168da1d23b: Pulling fs layer [2021-02-23T23:21:06.786Z] 46f8f816bc3b: Waiting [2021-02-23T23:21:06.786Z] 93b61091891f: Waiting [2021-02-23T23:21:06.786Z] 93b9cdb0e59b: Waiting [2021-02-23T23:21:06.786Z] 5e14af77c1be: Waiting [2021-02-23T23:21:06.786Z] 01666e4c0597: Waiting [2021-02-23T23:21:06.786Z] aa168da1d23b: Waiting [2021-02-23T23:21:06.786Z] 36b3adc4ff6f: Verifying Checksum [2021-02-23T23:21:06.786Z] 36b3adc4ff6f: Download complete [2021-02-23T23:21:06.786Z] 46f8f816bc3b: Verifying Checksum [2021-02-23T23:21:06.786Z] 46f8f816bc3b: Download complete [2021-02-23T23:21:07.120Z] df20fa9351a1: Verifying Checksum [2021-02-23T23:21:07.120Z] df20fa9351a1: Download complete [2021-02-23T23:21:07.120Z] 93b9cdb0e59b: Verifying Checksum [2021-02-23T23:21:07.120Z] 93b9cdb0e59b: Download complete [2021-02-23T23:21:07.120Z] 5e14af77c1be: Verifying Checksum [2021-02-23T23:21:07.120Z] 5e14af77c1be: Download complete [2021-02-23T23:21:07.120Z] 01666e4c0597: Verifying Checksum [2021-02-23T23:21:07.120Z] 01666e4c0597: Download complete [2021-02-23T23:21:07.515Z] 93b61091891f: Verifying Checksum [2021-02-23T23:21:07.515Z] 93b61091891f: Download complete [2021-02-23T23:21:08.652Z] 8ad3a11d3b57: Verifying Checksum [2021-02-23T23:21:08.652Z] 8ad3a11d3b57: Download complete [2021-02-23T23:21:08.653Z] df20fa9351a1: Pull complete [2021-02-23T23:21:10.371Z] 36b3adc4ff6f: Pull complete [2021-02-23T23:21:12.702Z] 8ad3a11d3b57: Pull complete [2021-02-23T23:21:12.702Z] 46f8f816bc3b: Pull complete [2021-02-23T23:21:14.449Z] 93b61091891f: Pull complete [2021-02-23T23:21:15.258Z] 93b9cdb0e59b: Pull complete [2021-02-23T23:21:15.258Z] 5e14af77c1be: Pull complete [2021-02-23T23:21:17.279Z] 01666e4c0597: Pull complete [2021-02-23T23:21:26.929Z] aa168da1d23b: Verifying Checksum [2021-02-23T23:21:26.929Z] aa168da1d23b: Download complete [2021-02-23T23:21:50.038Z] aa168da1d23b: Pull complete [2021-02-23T23:21:50.038Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-23T23:21:50.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T23:21:50.038Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-23T23:21:51.440Z] prd-centos7-docker-4c-2g-27403 does not seem to be running inside a container [2021-02-23T23:21:51.825Z] $ 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-792/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-792 -v /w/workspace/dgexfoundry_device-sdk-go_PR-792:/w/workspace/dgexfoundry_device-sdk-go_PR-792:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-792@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-23T23:21:58.428Z] $ docker top 5c8048e0c18d9f4405dec08769da42c0d76e306f2121902dde81cf8d8bea6c25 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:22:00.137Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-23T23:22:01.087Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-23T23:22:02.506Z] + ls /var/log/sa-host [2021-02-23T23:22:02.506Z] + sadf -c /var/log/sa-host/sa23 [2021-02-23T23:22:02.506Z] file_magic: OK [2021-02-23T23:22:02.506Z] HZ: Using current value: 100 [2021-02-23T23:22:02.506Z] file_header: OK [2021-02-23T23:22:02.506Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-23T23:22:02.506Z] Statistics: [2021-02-23T23:22:02.506Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-23T23:22:02.506Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-23T23:22:03.076Z] provisioning config files... [2021-02-23T23:22:03.114Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-792@tmp/config6499592212845439430tmp [Pipeline] { [Pipeline] echo [2021-02-23T23:22:03.268Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:22:04.296Z] ---> create-netrc.sh [Pipeline] } [2021-02-23T23:22:04.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-23T23:22:04.471Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:22:05.265Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-23T23:22:05.387Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:22:06.208Z] ---> sudo-logs.sh [2021-02-23T23:22:06.208Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-23T23:22:06.309Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:22:07.123Z] ---> job-cost.sh [2021-02-23T23:22:07.123Z] lf-activate-venv: SKIPPING [2021-02-23T23:22:07.123Z] DEBUG: total: 0.20999999344348907 [2021-02-23T23:22:07.123Z] INFO: Retrieving Stack Cost... [2021-02-23T23:22:08.507Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T23:22:09.448Z] INFO: Archiving Costs [Pipeline] echo [2021-02-23T23:22:09.466Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:22:11.003Z] ---> logs-deploy.sh [2021-02-23T23:22:11.003Z] lf-activate-venv: SKIPPING [2021-02-23T23:22:11.003Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-792/4 [2021-02-23T23:22:11.003Z] INFO: archiving workspace using pattern(s): [2021-02-23T23:22:14.736Z] Archives upload complete. [2021-02-23T23:22:14.736Z] INFO: archiving logs to Nexus