Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (3ad48624c76653ca02f946c002e13fdc41971a03) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29448 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 Checking out Revision d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 (PR-725) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 # timeout=10 Commit message: "Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk ab68eead14817aa3b04c05b34ba690b95e77e74b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-11T02:42:00.795Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-11T02:42:01.109Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-11T02:42:01.238Z] ========================================================= [2021-03-11T02:42:01.238Z] EdgeX Global Pipelines Version Info [2021-03-11T02:42:01.238Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:42:03.418Z] ------------------- [2021-03-11T02:42:03.418Z] stable info: [2021-03-11T02:42:03.418Z] ------------------- [2021-03-11T02:42:03.418Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-11T02:42:03.418Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-11T02:42:03.418Z] Message: update stable to v1.0.184 [2021-03-11T02:42:04.420Z] ------------------- [2021-03-11T02:42:04.420Z] experimental info: [2021-03-11T02:42:04.420Z] ------------------- [2021-03-11T02:42:04.420Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-11T02:42:04.420Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-11T02:42:04.420Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-11T02:42:04.780Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-11T02:42:04.902Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-11T02:42:05.025Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-11T02:42:05.131Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-11T02:42:05.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-11T02:42:05.380Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-11T02:42:05.497Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-11T02:42:05.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-11T02:42:05.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-11T02:42:05.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-11T02:42:05.956Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-11T02:42:06.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-03-11T02:42:06.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-11T02:42:06.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-11T02:42:06.442Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-11T02:42:06.550Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-11T02:42:06.687Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-11T02:42:06.834Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-11T02:42:06.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-11T02:42:07.028Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-11T02:42:07.142Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-11T02:42:07.244Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-11T02:42:07.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-11T02:42:07.434Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-11T02:42:07.528Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-11T02:42:07.627Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-11T02:42:07.723Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-03-11T02:42:07.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-03-11T02:42:07.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-03-11T02:42:08.015Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 [Pipeline] echo [2021-03-11T02:42:08.117Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3bf9c3 [Pipeline] echo [2021-03-11T02:42:08.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-11T02:42:08.391Z] provisioning config files... [2021-03-11T02:42:08.430Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8253963835100734762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:42:08.909Z] ---> docker-login.sh [2021-03-11T02:42:08.909Z] nexus3.edgexfoundry.org:10001 [2021-03-11T02:42:09.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:42:09.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:42:09.465Z] Configure a credential helper to remove this warning. See [2021-03-11T02:42:09.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:42:09.465Z] [2021-03-11T02:42:09.465Z] Login Succeeded [2021-03-11T02:42:09.465Z] nexus3.edgexfoundry.org:10002 [2021-03-11T02:42:09.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:42:09.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:42:09.465Z] Configure a credential helper to remove this warning. See [2021-03-11T02:42:09.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:42:09.466Z] [2021-03-11T02:42:09.466Z] Login Succeeded [2021-03-11T02:42:09.466Z] nexus3.edgexfoundry.org:10003 [2021-03-11T02:42:09.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:42:09.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:42:09.745Z] Configure a credential helper to remove this warning. See [2021-03-11T02:42:09.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:42:09.745Z] [2021-03-11T02:42:09.745Z] Login Succeeded [2021-03-11T02:42:09.745Z] nexus3.edgexfoundry.org:10004 [2021-03-11T02:42:09.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:42:10.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:42:10.036Z] Configure a credential helper to remove this warning. See [2021-03-11T02:42:10.036Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:42:10.036Z] [2021-03-11T02:42:10.036Z] Login Succeeded [2021-03-11T02:42:10.036Z] docker.io [2021-03-11T02:42:10.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:42:10.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:42:10.332Z] Configure a credential helper to remove this warning. See [2021-03-11T02:42:10.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:42:10.332Z] [2021-03-11T02:42:10.332Z] Login Succeeded [2021-03-11T02:42:10.332Z] ---> docker-login.sh ends [Pipeline] } [2021-03-11T02:42:10.361Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-11T02:42:11.430Z] + git log --format=format:%s -1 d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 [Pipeline] echo [2021-03-11T02:42:11.617Z] GIT_COMMIT: d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114, Commit Message: Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD [Pipeline] echo [2021-03-11T02:42:11.664Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:42:12.844Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-11T02:42:12.844Z] [2021-03-11T02:42:12.844Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:42:13.464Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-11T02:42:13.464Z] latest: Pulling from edgex-devops/git-semver [2021-03-11T02:42:13.464Z] 31603596830f: Pulling fs layer [2021-03-11T02:42:13.464Z] 2a8b12db71e7: Pulling fs layer [2021-03-11T02:42:13.464Z] 6ca5941a6612: Pulling fs layer [2021-03-11T02:42:13.464Z] ecc8261a40a4: Pulling fs layer [2021-03-11T02:42:13.464Z] ecc8261a40a4: Waiting [2021-03-11T02:42:13.464Z] 2a8b12db71e7: Verifying Checksum [2021-03-11T02:42:13.464Z] 2a8b12db71e7: Download complete [2021-03-11T02:42:13.763Z] 31603596830f: Verifying Checksum [2021-03-11T02:42:13.763Z] 31603596830f: Download complete [2021-03-11T02:42:14.063Z] ecc8261a40a4: Verifying Checksum [2021-03-11T02:42:14.063Z] ecc8261a40a4: Download complete [2021-03-11T02:42:14.063Z] 6ca5941a6612: Verifying Checksum [2021-03-11T02:42:14.063Z] 6ca5941a6612: Download complete [2021-03-11T02:42:14.360Z] 31603596830f: Pull complete [2021-03-11T02:42:14.360Z] 2a8b12db71e7: Pull complete [2021-03-11T02:42:15.397Z] 6ca5941a6612: Pull complete [2021-03-11T02:42:15.397Z] ecc8261a40a4: Pull complete [2021-03-11T02:42:15.397Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-11T02:42:15.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-11T02:42:15.397Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-11T02:42:15.606Z] prd-centos7-docker-4c-2g-29448 does not seem to be running inside a container [2021-03-11T02:42:15.830Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-11T02:42:18.133Z] $ docker top b290b9d9c71c5a92a5c4dac2db0a572334eefcaa4ccdb05a76ffd4b22baf7927 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-11T02:42:18.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-11T02:42:18.588Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-11T02:42:18.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-11T02:42:18.879Z] $ docker exec b290b9d9c71c5a92a5c4dac2db0a572334eefcaa4ccdb05a76ffd4b22baf7927 ssh-agent [2021-03-11T02:42:19.076Z] SSH_AUTH_SOCK=/tmp/ssh-4SAfCeUmfao5/agent.11 [2021-03-11T02:42:19.076Z] SSH_AGENT_PID=16 [2021-03-11T02:42:19.098Z] Running ssh-add (command line suppressed) [2021-03-11T02:42:19.232Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4470598254285627658.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4470598254285627658.key) [2021-03-11T02:42:19.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-11T02:42:19.701Z] + git tag --points-at HEAD [Pipeline] } [2021-03-11T02:42:19.914Z] $ docker exec --env ******** --env ******** b290b9d9c71c5a92a5c4dac2db0a572334eefcaa4ccdb05a76ffd4b22baf7927 ssh-agent -k [2021-03-11T02:42:20.030Z] unset SSH_AUTH_SOCK; [2021-03-11T02:42:20.030Z] unset SSH_AGENT_PID; [2021-03-11T02:42:20.030Z] echo Agent pid 16 killed; [2021-03-11T02:42:20.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-11T02:42:20.437Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-11T02:42:20.437Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-11T02:42:20.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-11T02:42:20.638Z] $ docker exec b290b9d9c71c5a92a5c4dac2db0a572334eefcaa4ccdb05a76ffd4b22baf7927 ssh-agent [2021-03-11T02:42:20.814Z] SSH_AUTH_SOCK=/tmp/ssh-hzB3fIrEojUU/agent.46 [2021-03-11T02:42:20.814Z] SSH_AGENT_PID=51 [2021-03-11T02:42:20.873Z] Running ssh-add (command line suppressed) [2021-03-11T02:42:20.998Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5886890588236728945.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5886890588236728945.key) [2021-03-11T02:42:21.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-11T02:42:21.524Z] + git semver init [2021-03-11T02:42:21.524Z] # -> Open(): unable to determine branch for HEAD [2021-03-11T02:42:21.524Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-03-11T02:42:21.524Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-11T02:42:21.524Z] # $SEMVER_REMOTE_NAME = origin [2021-03-11T02:42:21.524Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-11T02:42:21.524Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-11T02:42:21.524Z] # $SEMVER_BRANCH = PR-725 [2021-03-11T02:42:21.524Z] # $SEMVER_TEMP = /tmp/semver-815204291 [2021-03-11T02:42:21.524Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-11T02:42:22.128Z] # '/tmp/semver-815204291' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-03-11T02:42:22.128Z] # -> Force: false [2021-03-11T02:42:22.128Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-03-11T02:42:22.151Z] $ docker exec --env ******** --env ******** b290b9d9c71c5a92a5c4dac2db0a572334eefcaa4ccdb05a76ffd4b22baf7927 ssh-agent -k [2021-03-11T02:42:22.267Z] unset SSH_AUTH_SOCK; [2021-03-11T02:42:22.268Z] unset SSH_AGENT_PID; [2021-03-11T02:42:22.268Z] echo Agent pid 51 killed; [2021-03-11T02:42:22.328Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-11T02:42:22.875Z] + git semver [Pipeline] } [2021-03-11T02:42:22.946Z] $ docker stop --time=1 b290b9d9c71c5a92a5c4dac2db0a572334eefcaa4ccdb05a76ffd4b22baf7927 [2021-03-11T02:42:24.514Z] $ docker rm -f b290b9d9c71c5a92a5c4dac2db0a572334eefcaa4ccdb05a76ffd4b22baf7927 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-11T02:42:25.134Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-11T02:42:26.049Z] Stashed 1 file(s) [Pipeline] echo [2021-03-11T02:42:26.052Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-03-11T02:42:41.596Z] Still waiting to schedule task [2021-03-11T02:42:41.597Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-11T02:42:41.599Z] Still waiting to schedule task [2021-03-11T02:42:41.599Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-11T02:44:34.619Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29449 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-11T02:44:34.682Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2021-03-11T02:44:39.267Z] using credential edgex-jenkins-ssh [2021-03-11T02:44:39.345Z] Cloning the remote Git repository [2021-03-11T02:44:39.400Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T02:44:39.526Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2021-03-11T02:44:39.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T02:44:39.594Z] > git --version # timeout=10 [2021-03-11T02:44:39.611Z] > git --version # 'git version 2.17.1' [2021-03-11T02:44:39.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T02:44:39.677Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T02:44:40.695Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-11T02:44:40.720Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T02:44:40.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-11T02:44:40.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T02:44:40.789Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T02:44:40.802Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-11T02:44:41.379Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-11T02:44:41.756Z] Merge succeeded, producing ec76503cb649650358a6a53129fdb862f176ac39 [2021-03-11T02:44:41.756Z] Checking out Revision ec76503cb649650358a6a53129fdb862f176ac39 (PR-725) [2021-03-11T02:44:41.397Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T02:44:41.412Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-11T02:44:41.525Z] > git remote # timeout=10 [2021-03-11T02:44:41.543Z] > git config --get remote.origin.url # timeout=10 [2021-03-11T02:44:41.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T02:44:41.567Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-11T02:44:41.739Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-11T02:44:41.763Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T02:44:41.786Z] > git checkout -f ec76503cb649650358a6a53129fdb862f176ac39 # timeout=10 [2021-03-11T02:44:46.134Z] Commit message: "Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD" [2021-03-11T02:44:46.159Z] First time build. Skipping changelog. [2021-03-11T02:44:46.143Z] > git rev-list --no-walk ab68eead14817aa3b04c05b34ba690b95e77e74b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-11T02:44:47.778Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-11T02:44:48.197Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-11T02:44:48.541Z] + + true [2021-03-11T02:44:48.541Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-11T02:44:51.325Z] provisioning config files... [2021-03-11T02:44:51.374Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/18@tmp/config2164427959092113740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:44:51.817Z] ---> docker-login.sh [2021-03-11T02:44:51.817Z] nexus3.edgexfoundry.org:10001 [2021-03-11T02:44:52.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:44:53.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:44:53.073Z] Configure a credential helper to remove this warning. See [2021-03-11T02:44:53.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:44:53.073Z] [2021-03-11T02:44:53.073Z] Login Succeeded [2021-03-11T02:44:53.073Z] nexus3.edgexfoundry.org:10002 [2021-03-11T02:44:53.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:44:53.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:44:53.627Z] Configure a credential helper to remove this warning. See [2021-03-11T02:44:53.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:44:53.627Z] [2021-03-11T02:44:53.627Z] Login Succeeded [2021-03-11T02:44:53.627Z] nexus3.edgexfoundry.org:10003 [2021-03-11T02:44:53.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:44:54.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:44:54.176Z] Configure a credential helper to remove this warning. See [2021-03-11T02:44:54.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:44:54.176Z] [2021-03-11T02:44:54.176Z] Login Succeeded [2021-03-11T02:44:54.176Z] nexus3.edgexfoundry.org:10004 [2021-03-11T02:44:54.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:44:54.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:44:54.449Z] Configure a credential helper to remove this warning. See [2021-03-11T02:44:54.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:44:54.449Z] [2021-03-11T02:44:54.449Z] Login Succeeded [2021-03-11T02:44:54.449Z] docker.io [2021-03-11T02:44:55.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:44:55.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:44:55.319Z] Configure a credential helper to remove this warning. See [2021-03-11T02:44:55.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:44:55.319Z] [2021-03-11T02:44:55.319Z] Login Succeeded [2021-03-11T02:44:55.319Z] ---> docker-login.sh ends [Pipeline] } [2021-03-11T02:44:55.338Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-11T02:44:55.872Z] ========================================================= [2021-03-11T02:44:55.872Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-11T02:44:55.872Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:44:56.292Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-11T02:44:56.566Z] Sending build context to Docker daemon 2.266MB [2021-03-11T02:44:56.566Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-11T02:44:56.566Z] Step 2/8 : FROM ${BASE} [2021-03-11T02:44:56.841Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-11T02:44:56.841Z] 5f621e34cdf4: Pulling fs layer [2021-03-11T02:44:56.841Z] a4357932f1b6: Pulling fs layer [2021-03-11T02:44:56.841Z] 18c013af1878: Pulling fs layer [2021-03-11T02:44:56.841Z] 00ac8860ef70: Pulling fs layer [2021-03-11T02:44:56.841Z] 63d7cb157983: Pulling fs layer [2021-03-11T02:44:56.841Z] b116817d02f9: Pulling fs layer [2021-03-11T02:44:56.841Z] 745a02a5169b: Pulling fs layer [2021-03-11T02:44:56.841Z] 63d7cb157983: Waiting [2021-03-11T02:44:56.841Z] b116817d02f9: Waiting [2021-03-11T02:44:56.841Z] 745a02a5169b: Waiting [2021-03-11T02:44:56.841Z] 00ac8860ef70: Waiting [2021-03-11T02:44:56.841Z] 18c013af1878: Verifying Checksum [2021-03-11T02:44:56.841Z] 18c013af1878: Download complete [2021-03-11T02:44:56.841Z] a4357932f1b6: Verifying Checksum [2021-03-11T02:44:56.841Z] a4357932f1b6: Download complete [2021-03-11T02:44:56.841Z] 63d7cb157983: Verifying Checksum [2021-03-11T02:44:56.841Z] 63d7cb157983: Download complete [2021-03-11T02:44:56.841Z] 5f621e34cdf4: Download complete [2021-03-11T02:44:56.841Z] b116817d02f9: Verifying Checksum [2021-03-11T02:44:56.841Z] b116817d02f9: Download complete [2021-03-11T02:44:57.447Z] 5f621e34cdf4: Pull complete [2021-03-11T02:44:58.049Z] a4357932f1b6: Pull complete [2021-03-11T02:44:58.330Z] 18c013af1878: Pull complete [2021-03-11T02:44:59.765Z] 745a02a5169b: Verifying Checksum [2021-03-11T02:44:59.765Z] 745a02a5169b: Download complete [2021-03-11T02:45:00.751Z] 00ac8860ef70: Verifying Checksum [2021-03-11T02:45:00.751Z] 00ac8860ef70: Download complete [2021-03-11T02:45:10.922Z] 00ac8860ef70: Pull complete [2021-03-11T02:45:10.922Z] 63d7cb157983: Pull complete [2021-03-11T02:45:10.922Z] b116817d02f9: Pull complete [2021-03-11T02:45:13.728Z] Running on prd-centos7-docker-4c-2g-29450 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-11T02:45:13.790Z] Running in /w/workspace/device-sdk-go/18 [Pipeline] { [Pipeline] checkout [2021-03-11T02:45:14.333Z] 745a02a5169b: Pull complete [2021-03-11T02:45:14.333Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-11T02:45:14.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-11T02:45:14.333Z] ---> b7e6874047d6 [2021-03-11T02:45:14.333Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T02:45:16.347Z] using credential edgex-jenkins-ssh [2021-03-11T02:45:16.409Z] Cloning the remote Git repository [2021-03-11T02:45:15.959Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T02:45:16.035Z] > git init /w/workspace/device-sdk-go/18 # timeout=10 [2021-03-11T02:45:16.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T02:45:16.110Z] > git --version # timeout=10 [2021-03-11T02:45:16.120Z] > git --version # 'git version 2.24.3' [2021-03-11T02:45:16.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T02:45:16.155Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T02:45:17.786Z] ---> Running in 605bbcd882d1 [2021-03-11T02:45:17.786Z] Removing intermediate container 605bbcd882d1 [2021-03-11T02:45:17.786Z] ---> 0551c62c9a0a [2021-03-11T02:45:17.786Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-11T02:45:17.786Z] ---> Running in 75fbb5bb9f29 [2021-03-11T02:45:17.809Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-11T02:45:17.998Z] Merge succeeded, producing 7d0c4d9c359b1c8b28c5e89a493daeb061952ff3 [2021-03-11T02:45:17.999Z] Checking out Revision 7d0c4d9c359b1c8b28c5e89a493daeb061952ff3 (PR-725) [2021-03-11T02:45:16.886Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-11T02:45:16.894Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-11T02:45:16.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-11T02:45:16.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-11T02:45:16.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T02:45:16.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-11T02:45:17.447Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T02:45:17.455Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-11T02:45:17.521Z] > git remote # timeout=10 [2021-03-11T02:45:17.527Z] > git config --get remote.origin.url # timeout=10 [2021-03-11T02:45:17.537Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-11T02:45:17.541Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-11T02:45:17.632Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-11T02:45:17.649Z] > git config core.sparsecheckout # timeout=10 [2021-03-11T02:45:17.665Z] > git checkout -f 7d0c4d9c359b1c8b28c5e89a493daeb061952ff3 # timeout=10 [2021-03-11T02:45:19.770Z] Removing intermediate container 75fbb5bb9f29 [2021-03-11T02:45:19.770Z] ---> df03a08d8024 [2021-03-11T02:45:19.770Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-11T02:45:20.045Z] ---> Running in 00d250dba85b [2021-03-11T02:45:21.028Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-11T02:45:21.575Z] Commit message: "Merge commit '3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828' into HEAD" [2021-03-11T02:45:21.586Z] First time build. Skipping changelog. [2021-03-11T02:45:21.620Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-11T02:45:21.523Z] > git rev-list --no-walk ab68eead14817aa3b04c05b34ba690b95e77e74b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-03-11T02:45:22.212Z] OK: 142 MiB in 39 packages [Pipeline] sh [2021-03-11T02:45:22.826Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-11T02:45:23.161Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-11T02:45:23.461Z] + sudo service docker restart [2021-03-11T02:45:23.461Z] + true [2021-03-11T02:45:23.461Z] Redirecting to /bin/systemctl restart docker.service [2021-03-11T02:45:23.641Z] Removing intermediate container 00d250dba85b [2021-03-11T02:45:23.641Z] ---> 5e203a9b6a10 [2021-03-11T02:45:23.641Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-11T02:45:23.641Z] ---> Running in 04f4ff506062 [2021-03-11T02:45:23.915Z] Removing intermediate container 04f4ff506062 [2021-03-11T02:45:23.915Z] ---> 9b8fc04e204b [2021-03-11T02:45:23.915Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-11T02:45:24.480Z] provisioning config files... [2021-03-11T02:45:24.507Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/18@tmp/config1799203905257442173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:45:24.878Z] ---> docker-login.sh [2021-03-11T02:45:24.878Z] nexus3.edgexfoundry.org:10001 [2021-03-11T02:45:25.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:45:25.346Z] ---> 1b2543450703 [2021-03-11T02:45:25.346Z] Step 8/8 : RUN go mod download [2021-03-11T02:45:25.346Z] ---> Running in a2387fb83475 [2021-03-11T02:45:25.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:45:25.414Z] Configure a credential helper to remove this warning. See [2021-03-11T02:45:25.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:45:25.414Z] [2021-03-11T02:45:25.414Z] Login Succeeded [2021-03-11T02:45:25.414Z] nexus3.edgexfoundry.org:10002 [2021-03-11T02:45:25.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:45:25.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:45:25.414Z] Configure a credential helper to remove this warning. See [2021-03-11T02:45:25.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:45:25.414Z] [2021-03-11T02:45:25.414Z] Login Succeeded [2021-03-11T02:45:25.414Z] nexus3.edgexfoundry.org:10003 [2021-03-11T02:45:25.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:45:25.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:45:25.681Z] Configure a credential helper to remove this warning. See [2021-03-11T02:45:25.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:45:25.681Z] [2021-03-11T02:45:25.681Z] Login Succeeded [2021-03-11T02:45:25.681Z] nexus3.edgexfoundry.org:10004 [2021-03-11T02:45:25.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:45:25.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:45:25.944Z] Configure a credential helper to remove this warning. See [2021-03-11T02:45:25.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:45:25.944Z] [2021-03-11T02:45:25.944Z] Login Succeeded [2021-03-11T02:45:25.944Z] docker.io [2021-03-11T02:45:25.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-11T02:45:26.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-11T02:45:26.210Z] Configure a credential helper to remove this warning. See [2021-03-11T02:45:26.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-11T02:45:26.210Z] [2021-03-11T02:45:26.210Z] Login Succeeded [2021-03-11T02:45:26.210Z] ---> docker-login.sh ends [Pipeline] } [2021-03-11T02:45:26.221Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-11T02:45:26.555Z] ========================================================= [2021-03-11T02:45:26.555Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-11T02:45:26.555Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:45:26.906Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-11T02:45:26.907Z] Sending build context to Docker daemon 2.267MB [2021-03-11T02:45:26.907Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-11T02:45:26.907Z] Step 2/8 : FROM ${BASE} [2021-03-11T02:45:27.171Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-11T02:45:27.171Z] 188c0c94c7c5: Pulling fs layer [2021-03-11T02:45:27.171Z] 0ef7d3d256c8: Pulling fs layer [2021-03-11T02:45:27.171Z] de9db76c5a1d: Pulling fs layer [2021-03-11T02:45:27.171Z] bca2f99d35d6: Pulling fs layer [2021-03-11T02:45:27.171Z] 93359f2a8cfa: Pulling fs layer [2021-03-11T02:45:27.171Z] 7c6f9722023f: Pulling fs layer [2021-03-11T02:45:27.171Z] a35cf1a2eb13: Pulling fs layer [2021-03-11T02:45:27.171Z] 93359f2a8cfa: Waiting [2021-03-11T02:45:27.171Z] 7c6f9722023f: Waiting [2021-03-11T02:45:27.171Z] bca2f99d35d6: Waiting [2021-03-11T02:45:27.171Z] a35cf1a2eb13: Waiting [2021-03-11T02:45:27.171Z] de9db76c5a1d: Verifying Checksum [2021-03-11T02:45:27.171Z] de9db76c5a1d: Download complete [2021-03-11T02:45:27.171Z] 0ef7d3d256c8: Verifying Checksum [2021-03-11T02:45:27.171Z] 0ef7d3d256c8: Download complete [2021-03-11T02:45:27.171Z] 93359f2a8cfa: Verifying Checksum [2021-03-11T02:45:27.171Z] 93359f2a8cfa: Download complete [2021-03-11T02:45:27.171Z] 188c0c94c7c5: Verifying Checksum [2021-03-11T02:45:27.171Z] 7c6f9722023f: Verifying Checksum [2021-03-11T02:45:27.171Z] 7c6f9722023f: Download complete [2021-03-11T02:45:27.434Z] 188c0c94c7c5: Pull complete [2021-03-11T02:45:27.722Z] 0ef7d3d256c8: Pull complete [2021-03-11T02:45:27.983Z] de9db76c5a1d: Pull complete [2021-03-11T02:45:29.392Z] a35cf1a2eb13: Verifying Checksum [2021-03-11T02:45:29.392Z] a35cf1a2eb13: Download complete [2021-03-11T02:45:29.970Z] bca2f99d35d6: Verifying Checksum [2021-03-11T02:45:29.970Z] bca2f99d35d6: Download complete [2021-03-11T02:45:36.604Z] bca2f99d35d6: Pull complete [2021-03-11T02:45:36.604Z] 93359f2a8cfa: Pull complete [2021-03-11T02:45:36.604Z] 7c6f9722023f: Pull complete [2021-03-11T02:45:41.938Z] a35cf1a2eb13: Pull complete [2021-03-11T02:45:41.938Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-11T02:45:41.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-11T02:45:41.938Z] ---> a62c8e92a672 [2021-03-11T02:45:41.938Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T02:45:41.938Z] ---> Running in 67980c1759cf [2021-03-11T02:45:41.938Z] Removing intermediate container 67980c1759cf [2021-03-11T02:45:41.938Z] ---> 13a3b4d584ce [2021-03-11T02:45:41.938Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-11T02:45:41.938Z] ---> Running in ed5522410e33 [2021-03-11T02:45:43.347Z] Removing intermediate container ed5522410e33 [2021-03-11T02:45:43.347Z] ---> dbe699f0db1c [2021-03-11T02:45:43.347Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-11T02:45:43.347Z] ---> Running in 7c612dd33efa [2021-03-11T02:45:44.300Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-11T02:45:44.564Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-11T02:45:45.142Z] OK: 166 MiB in 39 packages [2021-03-11T02:45:45.407Z] Removing intermediate container 7c612dd33efa [2021-03-11T02:45:45.407Z] ---> b24f076353a8 [2021-03-11T02:45:45.407Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-11T02:45:45.672Z] ---> Running in e5b2b3102249 [2021-03-11T02:45:45.672Z] Removing intermediate container e5b2b3102249 [2021-03-11T02:45:45.672Z] ---> 43fbe19889e0 [2021-03-11T02:45:45.672Z] Step 7/8 : COPY . . [2021-03-11T02:45:47.068Z] ---> d366e9acf1bd [2021-03-11T02:45:47.068Z] Step 8/8 : RUN go mod download [2021-03-11T02:45:47.068Z] ---> Running in af038cb2d825 [2021-03-11T02:45:52.129Z] Removing intermediate container a2387fb83475 [2021-03-11T02:45:52.129Z] ---> 131225b7bdf4 [2021-03-11T02:45:52.129Z] Successfully built 131225b7bdf4 [2021-03-11T02:45:52.129Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:45:52.475Z] + docker inspect -f . ci-base-image-arm64 [2021-03-11T02:45:52.475Z] . [Pipeline] withDockerContainer [2021-03-11T02:45:52.751Z] prd-ubuntu18.04-docker-arm64-4c-16g-29449 does not seem to be running inside a container [2021-03-11T02:45:52.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-11T02:45:54.398Z] $ docker top 715898ce5d5806a7f0138591db6ef89b4d8aa695a86786762d662636a123a2b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T02:45:55.388Z] + go version [2021-03-11T02:45:55.388Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-11T02:45:55.418Z] $ docker stop --time=1 715898ce5d5806a7f0138591db6ef89b4d8aa695a86786762d662636a123a2b5 [2021-03-11T02:45:57.257Z] $ docker rm -f 715898ce5d5806a7f0138591db6ef89b4d8aa695a86786762d662636a123a2b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:45:58.284Z] + docker inspect -f . ci-base-image-arm64 [2021-03-11T02:45:58.284Z] . [Pipeline] withDockerContainer [2021-03-11T02:45:58.523Z] prd-ubuntu18.04-docker-arm64-4c-16g-29449 does not seem to be running inside a container [2021-03-11T02:45:58.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-11T02:46:00.095Z] $ docker top 3ce89f9dad52163b1fb73bf0dacf40b97c995e12ff6156fb2d6a1f2499cf55ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T02:46:01.222Z] + make test [2021-03-11T02:46:01.222Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-11T02:46:09.147Z] Removing intermediate container af038cb2d825 [2021-03-11T02:46:09.147Z] ---> f2e109226564 [2021-03-11T02:46:09.147Z] Successfully built f2e109226564 [2021-03-11T02:46:09.147Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:46:09.491Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-11T02:46:09.491Z] . [Pipeline] withDockerContainer [2021-03-11T02:46:09.633Z] prd-centos7-docker-4c-2g-29450 does not seem to be running inside a container [2021-03-11T02:46:09.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-11T02:46:10.620Z] $ docker top 8d41329b167a3a8d99748ebd4415b1aeb1ed1aab4095f57430049b0b6348c34e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T02:46:11.352Z] + go version [2021-03-11T02:46:11.352Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-11T02:46:11.371Z] $ docker stop --time=1 8d41329b167a3a8d99748ebd4415b1aeb1ed1aab4095f57430049b0b6348c34e [2021-03-11T02:46:12.761Z] $ docker rm -f 8d41329b167a3a8d99748ebd4415b1aeb1ed1aab4095f57430049b0b6348c34e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:46:13.596Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-11T02:46:13.596Z] . [Pipeline] withDockerContainer [2021-03-11T02:46:13.711Z] prd-centos7-docker-4c-2g-29450 does not seem to be running inside a container [2021-03-11T02:46:13.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/18 -v /w/workspace/device-sdk-go/18:/w/workspace/device-sdk-go/18:rw,z -v /w/workspace/device-sdk-go/18@tmp:/w/workspace/device-sdk-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-11T02:46:14.428Z] $ docker top f464c864a4f5422007ad4c715aa6aa31ddddec5d7f69c5588f6b31a017277ebc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T02:46:14.956Z] + make test [2021-03-11T02:46:14.956Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-11T02:46:23.162Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-11T02:46:23.432Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-11T02:46:38.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-11T02:46:38.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-11T02:46:38.286Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-11T02:46:40.888Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 25.5% of statements [2021-03-11T02:47:10.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-11T02:47:10.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-11T02:47:10.457Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-11T02:47:10.457Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.107s coverage: 25.5% of statements [2021-03-11T02:47:13.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.071s coverage: 10.5% of statements [2021-03-11T02:47:13.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.072s coverage: 12.5% of statements [2021-03-11T02:47:13.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-11T02:47:13.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.067s coverage: 84.8% of statements [2021-03-11T02:47:13.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-11T02:47:13.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-11T02:47:13.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-11T02:47:13.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 47.6% of statements [2021-03-11T02:47:13.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-11T02:47:13.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.081s coverage: 81.3% of statements [2021-03-11T02:47:13.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.066s coverage: 24.8% of statements [2021-03-11T02:47:13.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.167s coverage: 6.4% of statements [2021-03-11T02:47:13.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.2% of statements [2021-03-11T02:47:13.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-11T02:47:13.099Z] GO111MODULE=on go vet ./... [2021-03-11T02:47:21.380Z] gofmt -l . [2021-03-11T02:47:21.380Z] [ "`gofmt -l .`" = "" ] [2021-03-11T02:47:21.380Z] ./bin/test-attribution-txt.sh [2021-03-11T02:47:22.340Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-11T02:47:22.623Z] $ docker stop --time=1 f464c864a4f5422007ad4c715aa6aa31ddddec5d7f69c5588f6b31a017277ebc [2021-03-11T02:47:24.737Z] $ docker rm -f f464c864a4f5422007ad4c715aa6aa31ddddec5d7f69c5588f6b31a017277ebc [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-11T02:47:25.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-11T02:47:25.992Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-11T02:47:29.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-11T02:47:29.342Z] + ls -al . [2021-03-11T02:47:29.342Z] total 184 [2021-03-11T02:47:29.342Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 11 02:47 . [2021-03-11T02:47:29.342Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 11 02:45 .. [2021-03-11T02:47:29.342Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 11 02:45 bin [2021-03-11T02:47:29.342Z] -rw-r--r--. 1 jenkins jenkins 102298 Mar 11 02:47 coverage.out [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 11 02:45 Dockerfile.build [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 11 02:45 .dockerignore [2021-03-11T02:47:29.342Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 11 02:45 example [2021-03-11T02:47:29.342Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 11 02:45 .git [2021-03-11T02:47:29.342Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 11 02:45 .github [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 11 02:45 .gitignore [2021-03-11T02:47:29.342Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 11 02:47 go.mod [2021-03-11T02:47:29.342Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 11 02:47 go.sum [2021-03-11T02:47:29.342Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 11 02:45 internal [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 894 Mar 11 02:45 Jenkinsfile [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 11 02:45 LICENSE [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 11 02:45 Makefile [2021-03-11T02:47:29.342Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 11 02:45 openapi [2021-03-11T02:47:29.342Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 11 02:45 pkg [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 11 02:45 README.md [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 11 02:45 RELEASE-NOTES.txt [2021-03-11T02:47:29.342Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 11 02:45 snap [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 11 02:42 VERSION [2021-03-11T02:47:29.342Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 11 02:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:47:29.680Z] + docker build -t 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=d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 --label arch=amd64 --label version=0.0.0 . [2021-03-11T02:47:29.944Z] Sending build context to Docker daemon 2.37MB [2021-03-11T02:47:29.944Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-11T02:47:29.944Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-11T02:47:29.944Z] ---> f2e109226564 [2021-03-11T02:47:29.944Z] Step 3/24 : ARG MAKE='make build' [2021-03-11T02:47:30.520Z] ---> Running in 8b67a16d67e3 [2021-03-11T02:47:30.520Z] Removing intermediate container 8b67a16d67e3 [2021-03-11T02:47:30.520Z] ---> 761496135e8b [2021-03-11T02:47:30.520Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-11T02:47:30.785Z] ---> Running in eaeb597a082c [2021-03-11T02:47:31.049Z] Removing intermediate container eaeb597a082c [2021-03-11T02:47:31.049Z] ---> 9b97cec047d9 [2021-03-11T02:47:31.049Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T02:47:31.049Z] ---> Running in bd27d4cf6923 [2021-03-11T02:47:31.049Z] Removing intermediate container bd27d4cf6923 [2021-03-11T02:47:31.049Z] ---> a65b53588dfb [2021-03-11T02:47:31.049Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-11T02:47:31.313Z] ---> Running in 196850cb03a0 [2021-03-11T02:47:32.284Z] Removing intermediate container 196850cb03a0 [2021-03-11T02:47:32.284Z] ---> aef4676ce90c [2021-03-11T02:47:32.284Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-11T02:47:32.548Z] ---> Running in 16f1ee1d631f [2021-03-11T02:47:32.813Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-11T02:47:33.761Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-11T02:47:34.024Z] OK: 166 MiB in 39 packages [2021-03-11T02:47:34.287Z] Removing intermediate container 16f1ee1d631f [2021-03-11T02:47:34.287Z] ---> 46a93cb8354b [2021-03-11T02:47:34.287Z] Step 8/24 : COPY . . [2021-03-11T02:47:35.689Z] ---> c6bb3ea4de87 [2021-03-11T02:47:35.689Z] Step 9/24 : RUN ${MAKE} [2021-03-11T02:47:35.689Z] ---> Running in 03c9b239baf4 [2021-03-11T02:47:35.965Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-11T02:47:37.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.111s coverage: 10.5% of statements [2021-03-11T02:47:37.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.115s coverage: 12.5% of statements [2021-03-11T02:47:37.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-11T02:47:37.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.149s coverage: 84.8% of statements [2021-03-11T02:47:37.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-11T02:47:37.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-11T02:47:37.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-11T02:47:37.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.204s coverage: 47.6% of statements [2021-03-11T02:47:37.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-11T02:47:37.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.159s coverage: 81.3% of statements [2021-03-11T02:47:37.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.172s coverage: 24.8% of statements [2021-03-11T02:47:37.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.816s coverage: 6.4% of statements [2021-03-11T02:47:37.271Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.2% of statements [2021-03-11T02:47:37.271Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-11T02:47:37.271Z] GO111MODULE=on go vet ./... [2021-03-11T02:47:46.089Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-11T02:47:48.032Z] Removing intermediate container 03c9b239baf4 [2021-03-11T02:47:48.032Z] ---> 2e73aa3ed214 [2021-03-11T02:47:48.032Z] Step 10/24 : FROM scratch [2021-03-11T02:47:48.032Z] ---> [2021-03-11T02:47:48.032Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T02:47:48.032Z] ---> Running in 592e5258d3c6 [2021-03-11T02:47:48.032Z] Removing intermediate container 592e5258d3c6 [2021-03-11T02:47:48.032Z] ---> d9cdbfea49b8 [2021-03-11T02:47:48.032Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-11T02:47:48.032Z] ---> Running in ee2a4448f386 [2021-03-11T02:47:48.032Z] Removing intermediate container ee2a4448f386 [2021-03-11T02:47:48.032Z] ---> 8711f6b4f833 [2021-03-11T02:47:48.032Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-11T02:47:48.295Z] ---> Running in 6f7e906f7446 [2021-03-11T02:47:48.295Z] Removing intermediate container 6f7e906f7446 [2021-03-11T02:47:48.295Z] ---> 95dc19a33dcc [2021-03-11T02:47:48.295Z] Step 14/24 : WORKDIR / [2021-03-11T02:47:48.558Z] ---> Running in db1a13cc9930 [2021-03-11T02:47:48.558Z] Removing intermediate container db1a13cc9930 [2021-03-11T02:47:48.558Z] ---> ca38611a880f [2021-03-11T02:47:48.558Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-11T02:47:49.161Z] ---> ca5bd3fa070e [2021-03-11T02:47:49.161Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-11T02:47:49.433Z] ---> e7321f420c82 [2021-03-11T02:47:49.433Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-11T02:47:49.696Z] ---> 24236c686d54 [2021-03-11T02:47:49.696Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-11T02:47:49.959Z] ---> 960779bad343 [2021-03-11T02:47:49.959Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-11T02:47:50.223Z] ---> 6941b06e7e45 [2021-03-11T02:47:50.223Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-11T02:47:50.223Z] ---> Running in 14d4c1c20de0 [2021-03-11T02:47:50.486Z] Removing intermediate container 14d4c1c20de0 [2021-03-11T02:47:50.486Z] ---> fc9198339bd4 [2021-03-11T02:47:50.486Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-11T02:47:50.486Z] ---> Running in e2e9bf764d63 [2021-03-11T02:47:50.486Z] Removing intermediate container e2e9bf764d63 [2021-03-11T02:47:50.486Z] ---> 6d610b8daf72 [2021-03-11T02:47:50.486Z] Step 22/24 : LABEL arch=amd64 [2021-03-11T02:47:50.749Z] ---> Running in 9dae9ceec239 [2021-03-11T02:47:50.749Z] Removing intermediate container 9dae9ceec239 [2021-03-11T02:47:50.749Z] ---> 4791e2d0130d [2021-03-11T02:47:50.749Z] Step 23/24 : LABEL git_sha=d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 [2021-03-11T02:47:51.017Z] ---> Running in 785dd1714a5a [2021-03-11T02:47:51.017Z] Removing intermediate container 785dd1714a5a [2021-03-11T02:47:51.017Z] ---> cb095062905c [2021-03-11T02:47:51.017Z] Step 24/24 : LABEL version=0.0.0 [2021-03-11T02:47:51.017Z] ---> Running in 09457347145e [2021-03-11T02:47:51.281Z] Removing intermediate container 09457347145e [2021-03-11T02:47:51.281Z] ---> b8dcbb8392df [2021-03-11T02:47:51.281Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-11T02:47:51.281Z] Successfully built b8dcbb8392df [2021-03-11T02:47:51.281Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:47:52.410Z] ---> job-cost.sh [2021-03-11T02:47:52.410Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DXbC [2021-03-11T02:48:07.362Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-11T02:48:16.421Z] gofmt -l . [2021-03-11T02:48:16.421Z] [ "`gofmt -l .`" = "" ] [2021-03-11T02:48:16.421Z] ./bin/test-attribution-txt.sh [2021-03-11T02:48:16.421Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-11T02:48:16.458Z] $ docker stop --time=1 3ce89f9dad52163b1fb73bf0dacf40b97c995e12ff6156fb2d6a1f2499cf55ae [2021-03-11T02:48:18.639Z] $ docker rm -f 3ce89f9dad52163b1fb73bf0dacf40b97c995e12ff6156fb2d6a1f2499cf55ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-11T02:48:19.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-11T02:48:19.806Z] Warning: overwriting stash ‘coverage-report’ [2021-03-11T02:48:20.594Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-11T02:48:21.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-11T02:48:21.658Z] + ls -al . [2021-03-11T02:48:21.658Z] total 220 [2021-03-11T02:48:21.658Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 02:48 . [2021-03-11T02:48:21.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 02:44 .. [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 02:44 .dockerignore [2021-03-11T02:48:21.658Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 02:44 .git [2021-03-11T02:48:21.658Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 02:44 .github [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 11 02:44 .gitignore [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 11 02:44 Dockerfile.build [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 894 Mar 11 02:44 Jenkinsfile [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 02:44 LICENSE [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 11 02:44 Makefile [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 11 02:44 README.md [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 11 02:44 RELEASE-NOTES.txt [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 02:42 VERSION [2021-03-11T02:48:21.658Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 02:44 bin [2021-03-11T02:48:21.658Z] -rw-r--r-- 1 jenkins jenkins 102298 Mar 11 02:47 coverage.out [2021-03-11T02:48:21.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 02:44 example [2021-03-11T02:48:21.658Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 11 02:48 go.mod [2021-03-11T02:48:21.658Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 11 02:48 go.sum [2021-03-11T02:48:21.658Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 11 02:44 internal [2021-03-11T02:48:21.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 02:44 openapi [2021-03-11T02:48:21.658Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 11 02:44 pkg [2021-03-11T02:48:21.658Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 02:44 snap [2021-03-11T02:48:21.658Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:48:21.994Z] + docker build -t 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=d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 --label arch=arm64 --label version=0.0.0 . [2021-03-11T02:48:22.265Z] Sending build context to Docker daemon 2.369MB [2021-03-11T02:48:22.265Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-11T02:48:22.265Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-11T02:48:22.265Z] ---> 131225b7bdf4 [2021-03-11T02:48:22.265Z] Step 3/24 : ARG MAKE='make build' [2021-03-11T02:48:22.858Z] ---> Running in 1eb7de434b33 [2021-03-11T02:48:23.129Z] Removing intermediate container 1eb7de434b33 [2021-03-11T02:48:23.129Z] ---> 7cf916853cb6 [2021-03-11T02:48:23.129Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-11T02:48:23.402Z] ---> Running in 62a967e3291d [2021-03-11T02:48:24.006Z] Removing intermediate container 62a967e3291d [2021-03-11T02:48:24.006Z] ---> 3363163e7777 [2021-03-11T02:48:24.006Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T02:48:24.006Z] ---> Running in d8de01e53623 [2021-03-11T02:48:24.601Z] Removing intermediate container d8de01e53623 [2021-03-11T02:48:24.601Z] ---> e6de98dfade4 [2021-03-11T02:48:24.601Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-11T02:48:24.601Z] ---> Running in b0776f244280 [2021-03-11T02:48:26.575Z] Removing intermediate container b0776f244280 [2021-03-11T02:48:26.575Z] ---> 1745545c8af8 [2021-03-11T02:48:26.575Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-11T02:48:26.853Z] ---> Running in f8668c01f521 [2021-03-11T02:48:27.832Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-11T02:48:28.424Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-11T02:48:29.422Z] OK: 142 MiB in 39 packages [2021-03-11T02:48:30.398Z] Removing intermediate container f8668c01f521 [2021-03-11T02:48:30.398Z] ---> faeb16775c3d [2021-03-11T02:48:30.398Z] Step 8/24 : COPY . . [2021-03-11T02:48:31.833Z] ---> e9ca240541ae [2021-03-11T02:48:31.833Z] Step 9/24 : RUN ${MAKE} [2021-03-11T02:48:31.833Z] ---> Running in 835f1c1de68e [2021-03-11T02:48:32.812Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-11T02:48:39.554Z] lf-activate-venv(): INFO: Adding /tmp/venv-DXbC/bin to PATH [2021-03-11T02:48:39.554Z] INFO: No Stack... [2021-03-11T02:48:39.554Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-11T02:48:39.554Z] INFO: Archiving Costs [Pipeline] sh [2021-03-11T02:48:39.863Z] + cat /w/workspace/device-sdk-go/18/archives/cost.csv [2021-03-11T02:48:39.863Z] + cut -d, -f6 [Pipeline] lock [2021-03-11T02:48:39.943Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-18-stack-cost] [2021-03-11T02:48:39.952Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-18-stack-cost] did not exist. Created. [2021-03-11T02:48:39.952Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-11T02:48:40.384Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-11T02:48:40.591Z] Stashed 1 file(s) [Pipeline] } [2021-03-11T02:48:40.607Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-18-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-11T02:48:59.648Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-11T02:49:01.079Z] Removing intermediate container 835f1c1de68e [2021-03-11T02:49:01.079Z] ---> 7906dd02148d [2021-03-11T02:49:01.079Z] Step 10/24 : FROM scratch [2021-03-11T02:49:01.079Z] ---> [2021-03-11T02:49:01.079Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-11T02:49:01.079Z] ---> Running in 073640ac33ea [2021-03-11T02:49:01.678Z] Removing intermediate container 073640ac33ea [2021-03-11T02:49:01.678Z] ---> 0c5c1ae60c62 [2021-03-11T02:49:01.678Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-11T02:49:01.678Z] ---> Running in 3450d03abada [2021-03-11T02:49:02.279Z] Removing intermediate container 3450d03abada [2021-03-11T02:49:02.279Z] ---> 295e2cde94d8 [2021-03-11T02:49:02.279Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-11T02:49:02.279Z] ---> Running in 36a4f929021b [2021-03-11T02:49:02.873Z] Removing intermediate container 36a4f929021b [2021-03-11T02:49:02.873Z] ---> 49ec50d49c95 [2021-03-11T02:49:02.873Z] Step 14/24 : WORKDIR / [2021-03-11T02:49:02.873Z] ---> Running in 552f867a6b8f [2021-03-11T02:49:03.468Z] Removing intermediate container 552f867a6b8f [2021-03-11T02:49:03.468Z] ---> 703249b776f8 [2021-03-11T02:49:03.468Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-11T02:49:04.443Z] ---> 5a8b9f9d5be6 [2021-03-11T02:49:04.443Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-11T02:49:05.047Z] ---> 616e2bc3bc5b [2021-03-11T02:49:05.047Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-11T02:49:06.026Z] ---> 55a461820c91 [2021-03-11T02:49:06.026Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-11T02:49:06.621Z] ---> e2c84485db22 [2021-03-11T02:49:06.621Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-11T02:49:07.216Z] ---> f66a5930d348 [2021-03-11T02:49:07.216Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-11T02:49:07.490Z] ---> Running in 1af3fce23891 [2021-03-11T02:49:08.087Z] Removing intermediate container 1af3fce23891 [2021-03-11T02:49:08.087Z] ---> 9016567990bb [2021-03-11T02:49:08.087Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-11T02:49:08.087Z] ---> Running in 8e3f646de1b6 [2021-03-11T02:49:08.361Z] Removing intermediate container 8e3f646de1b6 [2021-03-11T02:49:08.361Z] ---> 587ada952d6b [2021-03-11T02:49:08.361Z] Step 22/24 : LABEL arch=arm64 [2021-03-11T02:49:08.638Z] ---> Running in a1193f3f7624 [2021-03-11T02:49:09.231Z] Removing intermediate container a1193f3f7624 [2021-03-11T02:49:09.231Z] ---> d26f05340527 [2021-03-11T02:49:09.231Z] Step 23/24 : LABEL git_sha=d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 [2021-03-11T02:49:09.231Z] ---> Running in 5d7acfcfa710 [2021-03-11T02:49:09.507Z] Removing intermediate container 5d7acfcfa710 [2021-03-11T02:49:09.507Z] ---> b72d70cbf55e [2021-03-11T02:49:09.507Z] Step 24/24 : LABEL version=0.0.0 [2021-03-11T02:49:09.783Z] ---> Running in dc5b7a6b4103 [2021-03-11T02:49:10.059Z] Removing intermediate container dc5b7a6b4103 [2021-03-11T02:49:10.059Z] ---> dfab1d967b30 [2021-03-11T02:49:10.059Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-11T02:49:10.331Z] Successfully built dfab1d967b30 [2021-03-11T02:49:10.331Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:49:11.385Z] ---> job-cost.sh [2021-03-11T02:49:11.385Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xJDf [2021-03-11T02:49:50.354Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-11T02:51:27.115Z] lf-activate-venv(): INFO: Adding /tmp/venv-xJDf/bin to PATH [2021-03-11T02:51:27.115Z] INFO: No Stack... [2021-03-11T02:51:27.115Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-11T02:51:27.115Z] INFO: Archiving Costs [Pipeline] sh [2021-03-11T02:51:27.466Z] + cat /w/workspace/device-sdk-go/18/archives/cost.csv [2021-03-11T02:51:27.466Z] + cut -d, -f6 [Pipeline] lock [2021-03-11T02:51:27.586Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-18-stack-cost] [2021-03-11T02:51:27.596Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-18-stack-cost] did not exist. Created. [2021-03-11T02:51:27.597Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-11T02:51:28.056Z] /w/workspace/device-sdk-go/18@tmp/durable-3f4e4464/script.sh: 1: /w/workspace/device-sdk-go/18@tmp/durable-3f4e4464/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-11T02:51:28.403Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-11T02:51:28.476Z] Warning: overwriting stash ‘stack-cost’ [2021-03-11T02:51:28.631Z] Stashed 1 file(s) [Pipeline] } [2021-03-11T02:51:28.640Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-18-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-11T02:51:30.200Z] provisioning config files... [2021-03-11T02:51:30.212Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7442367705685622864tmp [Pipeline] { [Pipeline] sh [2021-03-11T02:51:30.640Z] + set +x [2021-03-11T02:51:30.641Z] + curl -s https://codecov.io/bash [2021-03-11T02:51:30.641Z] + bash -s -- [2021-03-11T02:51:30.931Z] [2021-03-11T02:51:30.931Z] _____ _ [2021-03-11T02:51:30.931Z] / ____| | | [2021-03-11T02:51:30.931Z] | | ___ __| | ___ ___ _____ __ [2021-03-11T02:51:30.931Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-11T02:51:30.931Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-11T02:51:30.931Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-11T02:51:30.931Z] Bash-20210309-2b87ace [2021-03-11T02:51:30.931Z] [2021-03-11T02:51:30.931Z] [2021-03-11T02:51:30.931Z] ==> git version 2.24.3 found [2021-03-11T02:51:30.931Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-03-11T02:51:30.931Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-11T02:51:30.931Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-11T02:51:30.931Z] ==> Jenkins CI detected. [2021-03-11T02:51:30.931Z] project root: . [2021-03-11T02:51:30.931Z] --> token set from env [2021-03-11T02:51:30.931Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-11T02:51:30.931Z] ==> Running gcov in . (disable via -X gcov) [2021-03-11T02:51:30.931Z] ==> Python coveragepy not found [2021-03-11T02:51:30.931Z] ==> Searching for coverage reports in: [2021-03-11T02:51:30.931Z] + . [2021-03-11T02:51:30.931Z] -> Found 1 reports [2021-03-11T02:51:30.931Z] ==> Detecting git/mercurial file structure [2021-03-11T02:51:30.931Z] ==> Reading reports [2021-03-11T02:51:30.931Z] + ./coverage.out bytes=102298 [2021-03-11T02:51:30.931Z] ==> Appending adjustments [2021-03-11T02:51:30.931Z] https://docs.codecov.io/docs/fixing-reports [2021-03-11T02:51:31.207Z] + Found adjustments [2021-03-11T02:51:31.207Z] ==> Gzipping contents [2021-03-11T02:51:31.471Z] 16K /tmp/codecov.Ck0gRS.gz [2021-03-11T02:51:31.471Z] ==> Uploading reports [2021-03-11T02:51:31.471Z] url: https://codecov.io [2021-03-11T02:51:31.471Z] query: branch=PR-725&commit=d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-11T02:51:31.471Z] -> Pinging Codecov [2021-03-11T02:51:31.471Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-11T02:51:32.046Z] -> Uploading to [2021-03-11T02:51:32.046Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-11/7E55EF52A471D76F132DFD9A03CDDE97/d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114/e1d66f31-3d1e-4d38-bfce-28941d7c3df7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210311T025131Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cf6c1118401e58c8903624ad2c17fa4bd1fcd90c5e0013932d2a4356b0b13d0a [2021-03-11T02:51:32.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-11T02:51:32.046Z] Dload Upload Total Spent Left Speed [2021-03-11T02:51:32.308Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15234 0 0 100 15234 0 29777 --:--:-- --:--:-- --:--:-- 29812 [2021-03-11T02:51:32.308Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d3bf9c36920b917ddbb5b6097c4ac0b3e90eb114 [Pipeline] } [2021-03-11T02:51:32.319Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:51:34.932Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:51:35.247Z] ---> package-listing.sh [2021-03-11T02:51:35.247Z] ++ facter osfamily [2021-03-11T02:51:35.247Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-11T02:51:35.247Z] + OS_FAMILY=redhat [2021-03-11T02:51:35.247Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-11T02:51:35.247Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-11T02:51:35.247Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-11T02:51:35.247Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-11T02:51:35.247Z] + PACKAGES=/tmp/packages_start.txt [2021-03-11T02:51:35.247Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-11T02:51:35.247Z] + PACKAGES=/tmp/packages_end.txt [2021-03-11T02:51:35.247Z] + case "${OS_FAMILY}" in [2021-03-11T02:51:35.247Z] + rpm -qa [2021-03-11T02:51:35.247Z] + sort [2021-03-11T02:51:40.573Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-11T02:51:40.573Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-11T02:51:40.573Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-11T02:51:40.573Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-11T02:51:40.573Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-03-11T02:51:40.573Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-03-11T02:51:40.593Z] 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-11T02:51:40.890Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:51:41.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-11T02:51:41.201Z] [2021-03-11T02:51:41.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-11T02:51:41.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-11T02:51:41.558Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-11T02:51:41.558Z] df20fa9351a1: Pulling fs layer [2021-03-11T02:51:41.558Z] 36b3adc4ff6f: Pulling fs layer [2021-03-11T02:51:41.558Z] 8ad3a11d3b57: Pulling fs layer [2021-03-11T02:51:41.558Z] 46f8f816bc3b: Pulling fs layer [2021-03-11T02:51:41.558Z] 93b61091891f: Pulling fs layer [2021-03-11T02:51:41.558Z] 93b9cdb0e59b: Pulling fs layer [2021-03-11T02:51:41.558Z] 5e14af77c1be: Pulling fs layer [2021-03-11T02:51:41.558Z] 01666e4c0597: Pulling fs layer [2021-03-11T02:51:41.558Z] aa168da1d23b: Pulling fs layer [2021-03-11T02:51:41.558Z] 93b9cdb0e59b: Waiting [2021-03-11T02:51:41.558Z] 5e14af77c1be: Waiting [2021-03-11T02:51:41.558Z] 01666e4c0597: Waiting [2021-03-11T02:51:41.558Z] aa168da1d23b: Waiting [2021-03-11T02:51:41.558Z] 46f8f816bc3b: Waiting [2021-03-11T02:51:41.558Z] 93b61091891f: Waiting [2021-03-11T02:51:41.558Z] 36b3adc4ff6f: Download complete [2021-03-11T02:51:41.834Z] 46f8f816bc3b: Verifying Checksum [2021-03-11T02:51:41.834Z] 46f8f816bc3b: Download complete [2021-03-11T02:51:41.834Z] df20fa9351a1: Verifying Checksum [2021-03-11T02:51:41.834Z] 93b61091891f: Verifying Checksum [2021-03-11T02:51:41.834Z] 93b61091891f: Download complete [2021-03-11T02:51:41.834Z] 93b9cdb0e59b: Verifying Checksum [2021-03-11T02:51:41.834Z] 93b9cdb0e59b: Download complete [2021-03-11T02:51:41.834Z] 01666e4c0597: Verifying Checksum [2021-03-11T02:51:41.834Z] 01666e4c0597: Download complete [2021-03-11T02:51:41.834Z] 5e14af77c1be: Verifying Checksum [2021-03-11T02:51:41.834Z] 5e14af77c1be: Download complete [2021-03-11T02:51:42.098Z] df20fa9351a1: Pull complete [2021-03-11T02:51:42.362Z] 36b3adc4ff6f: Pull complete [2021-03-11T02:51:42.941Z] 8ad3a11d3b57: Verifying Checksum [2021-03-11T02:51:42.941Z] 8ad3a11d3b57: Download complete [2021-03-11T02:51:43.522Z] 8ad3a11d3b57: Pull complete [2021-03-11T02:51:43.522Z] 46f8f816bc3b: Pull complete [2021-03-11T02:51:44.115Z] 93b61091891f: Pull complete [2021-03-11T02:51:44.384Z] 93b9cdb0e59b: Pull complete [2021-03-11T02:51:44.649Z] aa168da1d23b: Verifying Checksum [2021-03-11T02:51:44.649Z] aa168da1d23b: Download complete [2021-03-11T02:51:44.649Z] 5e14af77c1be: Pull complete [2021-03-11T02:51:44.649Z] 01666e4c0597: Pull complete [2021-03-11T02:51:52.970Z] aa168da1d23b: Pull complete [2021-03-11T02:51:52.970Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-11T02:51:52.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-11T02:51:52.970Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-11T02:51:53.115Z] prd-centos7-docker-4c-2g-29448 does not seem to be running inside a container [2021-03-11T02:51:53.168Z] $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-11T02:51:56.450Z] $ docker top f3c97d2b98f9f347c8f9065d0174fe144420d87dfb685108be559461344ef215 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-11T02:51:57.036Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-11T02:51:57.339Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-11T02:51:57.648Z] + ls /var/log/sa-host [2021-03-11T02:51:57.648Z] + sadf -c /var/log/sa-host/sa11 [2021-03-11T02:51:57.648Z] file_magic: OK [2021-03-11T02:51:57.648Z] HZ: Using current value: 100 [2021-03-11T02:51:57.648Z] file_header: OK [2021-03-11T02:51:57.648Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-11T02:51:57.648Z] Statistics: [2021-03-11T02:51:57.648Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-11T02:51:57.648Z] File successfully converted to sysstat format version 12.2.1 [2021-03-11T02:51:57.648Z] + sadf -c /var/log/sa-host/sa23 [2021-03-11T02:51:57.648Z] file_magic: OK [2021-03-11T02:51:57.648Z] HZ: Using current value: 100 [2021-03-11T02:51:57.648Z] file_header: OK [2021-03-11T02:51:57.648Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-03-11T02:51:57.648Z] Statistics: [2021-03-11T02:51:57.648Z] Hnuu...uuuununununu... [2021-03-11T02:51:57.648Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-11T02:51:58.324Z] provisioning config files... [2021-03-11T02:51:58.341Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8031904299812585306tmp [Pipeline] { [Pipeline] echo [2021-03-11T02:51:58.418Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:51:58.716Z] ---> create-netrc.sh [Pipeline] } [2021-03-11T02:51:58.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-11T02:51:58.816Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:51:59.115Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-11T02:51:59.127Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:51:59.422Z] ---> sudo-logs.sh [2021-03-11T02:51:59.423Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-11T02:51:59.487Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:51:59.784Z] ---> job-cost.sh [2021-03-11T02:51:59.784Z] lf-activate-venv: SKIPPING [2021-03-11T02:51:59.784Z] DEBUG: total: 0.20999999344348907 [2021-03-11T02:51:59.784Z] INFO: Retrieving Stack Cost... [2021-03-11T02:52:00.730Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-11T02:52:01.301Z] INFO: Archiving Costs [Pipeline] echo [2021-03-11T02:52:01.314Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-11T02:52:01.606Z] ---> logs-deploy.sh [2021-03-11T02:52:01.606Z] lf-activate-venv: SKIPPING [2021-03-11T02:52:01.606Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/18 [2021-03-11T02:52:01.606Z] INFO: archiving workspace using pattern(s): [2021-03-11T02:52:03.528Z] Archives upload complete. [2021-03-11T02:52:03.528Z] INFO: archiving logs to Nexus