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+119be5743e00329d34d55769b1b512288156e580 (5f834cfbaae7e2bdeeac2f677db7172b19906922) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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-32744 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 > 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 Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 2805920d8a105f762ab7e3ca530d3ad86fef2266 Checking out Revision 2805920d8a105f762ab7e3ca530d3ad86fef2266 (PR-725) > 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 119be5743e00329d34d55769b1b512288156e580 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2805920d8a105f762ab7e3ca530d3ad86fef2266 # timeout=10 Commit message: "Merge commit '119be5743e00329d34d55769b1b512288156e580' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 4e76fde7b9fbf2caef34e8ed10f4a065f598efcd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-05T02:43:01.863Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-05T02:43:02.163Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-05T02:43:02.291Z] ========================================================= [2021-04-05T02:43:02.291Z] EdgeX Global Pipelines Version Info [2021-04-05T02:43:02.291Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:43:05.719Z] ------------------- [2021-04-05T02:43:05.719Z] stable info: [2021-04-05T02:43:05.719Z] ------------------- [2021-04-05T02:43:05.719Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-05T02:43:05.719Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-05T02:43:05.719Z] Message: update stable to v1.0.186 [2021-04-05T02:43:06.886Z] ------------------- [2021-04-05T02:43:06.886Z] experimental info: [2021-04-05T02:43:06.886Z] ------------------- [2021-04-05T02:43:06.886Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-05T02:43:06.886Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-05T02:43:06.886Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-05T02:43:07.320Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-05T02:43:07.443Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-05T02:43:07.541Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-05T02:43:07.644Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-05T02:43:07.740Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-05T02:43:07.839Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-05T02:43:07.932Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-05T02:43:08.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-05T02:43:08.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-05T02:43:08.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-05T02:43:08.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-05T02:43:08.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-04-05T02:43:08.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-05T02:43:08.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-05T02:43:08.767Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-05T02:43:08.858Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-05T02:43:08.966Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-05T02:43:09.070Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-05T02:43:09.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-05T02:43:09.268Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-05T02:43:09.393Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-05T02:43:09.491Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-05T02:43:09.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-05T02:43:09.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-05T02:43:09.799Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-05T02:43:09.888Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-05T02:43:09.982Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-04-05T02:43:10.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-04-05T02:43:10.216Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-04-05T02:43:10.320Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2805920d8a105f762ab7e3ca530d3ad86fef2266 [Pipeline] echo [2021-04-05T02:43:10.427Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2805920 [Pipeline] echo [2021-04-05T02:43:10.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-05T02:43:10.720Z] provisioning config files... [2021-04-05T02:43:10.770Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config119667450604446330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:43:11.367Z] ---> docker-login.sh [2021-04-05T02:43:11.367Z] nexus3.edgexfoundry.org:10001 [2021-04-05T02:43:12.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:43:12.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:43:12.708Z] Configure a credential helper to remove this warning. See [2021-04-05T02:43:12.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:43:12.708Z] [2021-04-05T02:43:12.708Z] Login Succeeded [2021-04-05T02:43:12.708Z] nexus3.edgexfoundry.org:10002 [2021-04-05T02:43:13.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:43:13.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:43:13.347Z] Configure a credential helper to remove this warning. See [2021-04-05T02:43:13.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:43:13.347Z] [2021-04-05T02:43:13.347Z] Login Succeeded [2021-04-05T02:43:13.347Z] nexus3.edgexfoundry.org:10003 [2021-04-05T02:43:14.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:43:14.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:43:14.061Z] Configure a credential helper to remove this warning. See [2021-04-05T02:43:14.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:43:14.061Z] [2021-04-05T02:43:14.061Z] Login Succeeded [2021-04-05T02:43:14.061Z] nexus3.edgexfoundry.org:10004 [2021-04-05T02:43:14.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:43:15.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:43:15.117Z] Configure a credential helper to remove this warning. See [2021-04-05T02:43:15.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:43:15.117Z] [2021-04-05T02:43:15.117Z] Login Succeeded [2021-04-05T02:43:15.117Z] docker.io [2021-04-05T02:43:15.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:43:16.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:43:16.432Z] Configure a credential helper to remove this warning. See [2021-04-05T02:43:16.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:43:16.432Z] [2021-04-05T02:43:16.432Z] Login Succeeded [2021-04-05T02:43:16.432Z] ---> docker-login.sh ends [Pipeline] } [2021-04-05T02:43:16.448Z] 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-04-05T02:43:17.477Z] + git log --format=format:%s -1 2805920d8a105f762ab7e3ca530d3ad86fef2266 [Pipeline] echo [2021-04-05T02:43:17.678Z] GIT_COMMIT: 2805920d8a105f762ab7e3ca530d3ad86fef2266, Commit Message: Merge commit '119be5743e00329d34d55769b1b512288156e580' into HEAD [Pipeline] echo [2021-04-05T02:43:17.727Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:43:20.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-05T02:43:20.360Z] [2021-04-05T02:43:20.360Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:43:20.902Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-05T02:43:21.189Z] latest: Pulling from edgex-devops/git-semver [2021-04-05T02:43:21.189Z] 31603596830f: Pulling fs layer [2021-04-05T02:43:21.189Z] 2a8b12db71e7: Pulling fs layer [2021-04-05T02:43:21.189Z] 6ca5941a6612: Pulling fs layer [2021-04-05T02:43:21.189Z] ecc8261a40a4: Pulling fs layer [2021-04-05T02:43:21.189Z] ecc8261a40a4: Waiting [2021-04-05T02:43:21.189Z] 2a8b12db71e7: Verifying Checksum [2021-04-05T02:43:21.189Z] 2a8b12db71e7: Download complete [2021-04-05T02:43:22.115Z] 31603596830f: Download complete [2021-04-05T02:43:22.821Z] ecc8261a40a4: Verifying Checksum [2021-04-05T02:43:22.821Z] ecc8261a40a4: Download complete [2021-04-05T02:43:22.821Z] 31603596830f: Pull complete [2021-04-05T02:43:22.821Z] 6ca5941a6612: Verifying Checksum [2021-04-05T02:43:22.821Z] 6ca5941a6612: Download complete [2021-04-05T02:43:22.821Z] 2a8b12db71e7: Pull complete [2021-04-05T02:43:25.674Z] 6ca5941a6612: Pull complete [2021-04-05T02:43:26.803Z] ecc8261a40a4: Pull complete [2021-04-05T02:43:26.803Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-05T02:43:26.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-05T02:43:26.803Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-05T02:43:27.300Z] prd-centos7-docker-4c-2g-32744 does not seem to be running inside a container [2021-04-05T02:43:27.376Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-05T02:43:29.479Z] $ docker top ab1844832e4f470c085b1c7edf0566661dcf4ae7b3ffb3e9afdfbdf0a4a6bf46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-05T02:43:29.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-05T02:43:29.882Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-05T02:43:30.469Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-05T02:43:30.469Z] $ docker exec ab1844832e4f470c085b1c7edf0566661dcf4ae7b3ffb3e9afdfbdf0a4a6bf46 ssh-agent [2021-04-05T02:43:31.359Z] SSH_AUTH_SOCK=/tmp/ssh-EY6X6UsiYop1/agent.12 [2021-04-05T02:43:31.359Z] SSH_AGENT_PID=17 [2021-04-05T02:43:31.380Z] Running ssh-add (command line suppressed) [2021-04-05T02:43:31.743Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7907336979418083210.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_7907336979418083210.key) [2021-04-05T02:43:32.169Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-05T02:43:32.827Z] + git tag --points-at HEAD [Pipeline] } [2021-04-05T02:43:33.172Z] $ docker exec --env ******** --env ******** ab1844832e4f470c085b1c7edf0566661dcf4ae7b3ffb3e9afdfbdf0a4a6bf46 ssh-agent -k [2021-04-05T02:43:33.855Z] unset SSH_AUTH_SOCK; [2021-04-05T02:43:33.856Z] unset SSH_AGENT_PID; [2021-04-05T02:43:33.856Z] echo Agent pid 17 killed; [2021-04-05T02:43:34.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-05T02:43:34.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-05T02:43:34.343Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-05T02:43:34.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-05T02:43:34.856Z] $ docker exec ab1844832e4f470c085b1c7edf0566661dcf4ae7b3ffb3e9afdfbdf0a4a6bf46 ssh-agent [2021-04-05T02:43:35.161Z] SSH_AUTH_SOCK=/tmp/ssh-3tg9caIwM08S/agent.46 [2021-04-05T02:43:35.161Z] SSH_AGENT_PID=52 [2021-04-05T02:43:35.172Z] Running ssh-add (command line suppressed) [2021-04-05T02:43:35.458Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4412526625245282485.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4412526625245282485.key) [2021-04-05T02:43:35.572Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-05T02:43:36.917Z] + git semver init [2021-04-05T02:43:36.917Z] # -> Open(): unable to determine branch for HEAD [2021-04-05T02:43:36.917Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-04-05T02:43:36.917Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-05T02:43:36.917Z] # $SEMVER_REMOTE_NAME = origin [2021-04-05T02:43:36.917Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-05T02:43:36.917Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-05T02:43:36.917Z] # $SEMVER_BRANCH = PR-725 [2021-04-05T02:43:36.917Z] # $SEMVER_TEMP = /tmp/semver-402699430 [2021-04-05T02:43:36.917Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-05T02:43:38.914Z] # '/tmp/semver-402699430' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-04-05T02:43:38.914Z] # -> Force: false [2021-04-05T02:43:38.914Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-04-05T02:43:38.930Z] $ docker exec --env ******** --env ******** ab1844832e4f470c085b1c7edf0566661dcf4ae7b3ffb3e9afdfbdf0a4a6bf46 ssh-agent -k [2021-04-05T02:43:39.763Z] unset SSH_AUTH_SOCK; [2021-04-05T02:43:39.764Z] unset SSH_AGENT_PID; [2021-04-05T02:43:39.764Z] echo Agent pid 52 killed; [2021-04-05T02:43:40.133Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-05T02:43:41.216Z] + git semver [Pipeline] } [2021-04-05T02:43:41.550Z] $ docker stop --time=1 ab1844832e4f470c085b1c7edf0566661dcf4ae7b3ffb3e9afdfbdf0a4a6bf46 [2021-04-05T02:43:43.919Z] $ docker rm -f ab1844832e4f470c085b1c7edf0566661dcf4ae7b3ffb3e9afdfbdf0a4a6bf46 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-05T02:43:44.868Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-05T02:43:46.119Z] Stashed 1 file(s) [Pipeline] echo [2021-04-05T02:43:46.122Z] [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-04-05T02:44:01.741Z] Still waiting to schedule task [2021-04-05T02:44:01.741Z] ‘prd-centos7-blackbox-4c-2g-32647’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-32745’ is offline [2021-04-05T02:44:01.744Z] Still waiting to schedule task [2021-04-05T02:44:01.744Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-05T02:45:53.081Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32746 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-05T02:45:53.137Z] Running in /w/workspace/device-sdk-go/29 [Pipeline] { [Pipeline] checkout [2021-04-05T02:45:58.113Z] using credential edgex-jenkins-ssh [2021-04-05T02:45:58.201Z] Cloning the remote Git repository [2021-04-05T02:45:58.280Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-05T02:45:58.394Z] > git init /w/workspace/device-sdk-go/29 # timeout=10 [2021-04-05T02:45:58.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-05T02:45:58.497Z] > git --version # timeout=10 [2021-04-05T02:45:58.524Z] > git --version # 'git version 2.17.1' [2021-04-05T02:45:58.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-05T02:45:58.572Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-05T02:46:00.616Z] Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-05T02:45:59.915Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-05T02:45:59.935Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-05T02:45:59.962Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-05T02:46:00.016Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-05T02:46:00.017Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-05T02:46:00.029Z] > 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-04-05T02:46:00.638Z] > git config core.sparsecheckout # timeout=10 [2021-04-05T02:46:00.655Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-05T02:46:01.021Z] Merge succeeded, producing 1883484de715b2c6fee4baee56ff64dbac921d8f [2021-04-05T02:46:01.022Z] Checking out Revision 1883484de715b2c6fee4baee56ff64dbac921d8f (PR-725) [2021-04-05T02:46:00.765Z] > git remote # timeout=10 [2021-04-05T02:46:00.787Z] > git config --get remote.origin.url # timeout=10 [2021-04-05T02:46:00.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-05T02:46:00.812Z] > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 [2021-04-05T02:46:01.006Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-05T02:46:01.030Z] > git config core.sparsecheckout # timeout=10 [2021-04-05T02:46:01.042Z] > git checkout -f 1883484de715b2c6fee4baee56ff64dbac921d8f # timeout=10 [2021-04-05T02:46:05.410Z] Commit message: "Merge commit '119be5743e00329d34d55769b1b512288156e580' into HEAD" [2021-04-05T02:46:05.433Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-05T02:46:05.418Z] > git rev-list --no-walk 4e76fde7b9fbf2caef34e8ed10f4a065f598efcd # timeout=10 [2021-04-05T02:46:07.333Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-05T02:46:07.763Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-05T02:46:08.109Z] + + truesudo [2021-04-05T02:46:08.109Z] service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-05T02:46:10.818Z] provisioning config files... [2021-04-05T02:46:10.861Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/29@tmp/config5188881127210794706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:46:11.292Z] ---> docker-login.sh [2021-04-05T02:46:11.292Z] nexus3.edgexfoundry.org:10001 [2021-04-05T02:46:12.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:12.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:12.564Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:12.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:12.564Z] [2021-04-05T02:46:12.564Z] Login Succeeded [2021-04-05T02:46:12.564Z] nexus3.edgexfoundry.org:10002 [2021-04-05T02:46:13.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:13.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:13.163Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:13.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:13.163Z] [2021-04-05T02:46:13.163Z] Login Succeeded [2021-04-05T02:46:13.163Z] nexus3.edgexfoundry.org:10003 [2021-04-05T02:46:13.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:13.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:13.760Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:13.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:13.760Z] [2021-04-05T02:46:13.760Z] Login Succeeded [2021-04-05T02:46:13.760Z] nexus3.edgexfoundry.org:10004 [2021-04-05T02:46:14.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:14.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:14.309Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:14.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:14.309Z] [2021-04-05T02:46:14.309Z] Login Succeeded [2021-04-05T02:46:14.309Z] docker.io [2021-04-05T02:46:14.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:15.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:15.183Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:15.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:15.184Z] [2021-04-05T02:46:15.184Z] Login Succeeded [2021-04-05T02:46:15.184Z] ---> docker-login.sh ends [Pipeline] } [2021-04-05T02:46:15.201Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-05T02:46:15.654Z] ========================================================= [2021-04-05T02:46:15.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-05T02:46:15.654Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:46:16.037Z] + 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-04-05T02:46:16.316Z] Sending build context to Docker daemon 2.356MB [2021-04-05T02:46:16.593Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-05T02:46:16.593Z] Step 2/8 : FROM ${BASE} [2021-04-05T02:46:16.593Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-05T02:46:16.593Z] 5f621e34cdf4: Pulling fs layer [2021-04-05T02:46:16.593Z] a4357932f1b6: Pulling fs layer [2021-04-05T02:46:16.593Z] 18c013af1878: Pulling fs layer [2021-04-05T02:46:16.593Z] 00ac8860ef70: Pulling fs layer [2021-04-05T02:46:16.593Z] 63d7cb157983: Pulling fs layer [2021-04-05T02:46:16.593Z] b116817d02f9: Pulling fs layer [2021-04-05T02:46:16.593Z] 745a02a5169b: Pulling fs layer [2021-04-05T02:46:16.593Z] 00ac8860ef70: Waiting [2021-04-05T02:46:16.593Z] b116817d02f9: Waiting [2021-04-05T02:46:16.593Z] 63d7cb157983: Waiting [2021-04-05T02:46:16.593Z] 745a02a5169b: Waiting [2021-04-05T02:46:16.593Z] 18c013af1878: Download complete [2021-04-05T02:46:16.593Z] a4357932f1b6: Verifying Checksum [2021-04-05T02:46:16.593Z] a4357932f1b6: Download complete [2021-04-05T02:46:16.593Z] 63d7cb157983: Verifying Checksum [2021-04-05T02:46:16.593Z] 63d7cb157983: Download complete [2021-04-05T02:46:16.593Z] 5f621e34cdf4: Download complete [2021-04-05T02:46:16.593Z] b116817d02f9: Verifying Checksum [2021-04-05T02:46:16.593Z] b116817d02f9: Download complete [2021-04-05T02:46:16.620Z] Running on prd-centos7-docker-4c-2g-32747 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-05T02:46:16.676Z] Running in /w/workspace/device-sdk-go/29 [Pipeline] { [Pipeline] checkout [2021-04-05T02:46:17.572Z] 5f621e34cdf4: Pull complete [2021-04-05T02:46:17.854Z] a4357932f1b6: Pull complete [2021-04-05T02:46:18.469Z] 18c013af1878: Pull complete [2021-04-05T02:46:18.968Z] using credential edgex-jenkins-ssh [2021-04-05T02:46:19.025Z] Cloning the remote Git repository [2021-04-05T02:46:19.456Z] 745a02a5169b: Verifying Checksum [2021-04-05T02:46:19.456Z] 745a02a5169b: Download complete [2021-04-05T02:46:18.670Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-05T02:46:18.744Z] > git init /w/workspace/device-sdk-go/29 # timeout=10 [2021-04-05T02:46:18.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-05T02:46:18.812Z] > git --version # timeout=10 [2021-04-05T02:46:18.820Z] > git --version # 'git version 2.24.3' [2021-04-05T02:46:18.821Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-05T02:46:18.849Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-05T02:46:19.658Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-05T02:46:19.667Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-05T02:46:19.681Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-05T02:46:19.698Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-05T02:46:19.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-05T02:46:20.440Z] 00ac8860ef70: Verifying Checksum [2021-04-05T02:46:20.441Z] 00ac8860ef70: Download complete [2021-04-05T02:46:20.511Z] Merging remotes/origin/master commit 119be5743e00329d34d55769b1b512288156e580 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-05T02:46:20.697Z] Merge succeeded, producing aba7f7f44f64d95b54fe367e79efdba89e3c5806 [2021-04-05T02:46:20.698Z] Checking out Revision aba7f7f44f64d95b54fe367e79efdba89e3c5806 (PR-725) [2021-04-05T02:46:19.706Z] > 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-04-05T02:46:20.231Z] > git config core.sparsecheckout # timeout=10 [2021-04-05T02:46:20.238Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-05T02:46:20.297Z] > git remote # timeout=10 [2021-04-05T02:46:20.305Z] > git config --get remote.origin.url # timeout=10 [2021-04-05T02:46:20.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-05T02:46:20.323Z] > git merge 119be5743e00329d34d55769b1b512288156e580 # timeout=10 [2021-04-05T02:46:20.417Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-05T02:46:20.428Z] > git config core.sparsecheckout # timeout=10 [2021-04-05T02:46:20.434Z] > git checkout -f aba7f7f44f64d95b54fe367e79efdba89e3c5806 # timeout=10 [2021-04-05T02:46:24.140Z] Commit message: "Merge commit '119be5743e00329d34d55769b1b512288156e580' into HEAD" [2021-04-05T02:46:24.151Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-05T02:46:24.135Z] > git rev-list --no-walk 4e76fde7b9fbf2caef34e8ed10f4a065f598efcd # timeout=10 [2021-04-05T02:46:25.277Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-05T02:46:25.600Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-05T02:46:25.897Z] + true [2021-04-05T02:46:25.897Z] + sudo service docker restart [2021-04-05T02:46:25.897Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-05T02:46:26.938Z] provisioning config files... [2021-04-05T02:46:26.967Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/29@tmp/config1223912955860497008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:46:27.335Z] ---> docker-login.sh [2021-04-05T02:46:27.335Z] nexus3.edgexfoundry.org:10001 [2021-04-05T02:46:27.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:27.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:27.602Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:27.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:27.602Z] [2021-04-05T02:46:27.602Z] Login Succeeded [2021-04-05T02:46:27.602Z] nexus3.edgexfoundry.org:10002 [2021-04-05T02:46:27.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:27.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:27.870Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:27.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:27.870Z] [2021-04-05T02:46:27.870Z] Login Succeeded [2021-04-05T02:46:27.870Z] nexus3.edgexfoundry.org:10003 [2021-04-05T02:46:28.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:28.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:28.140Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:28.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:28.140Z] [2021-04-05T02:46:28.140Z] Login Succeeded [2021-04-05T02:46:28.140Z] nexus3.edgexfoundry.org:10004 [2021-04-05T02:46:28.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:28.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:28.409Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:28.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:28.409Z] [2021-04-05T02:46:28.409Z] Login Succeeded [2021-04-05T02:46:28.409Z] docker.io [2021-04-05T02:46:28.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-05T02:46:28.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-05T02:46:28.679Z] Configure a credential helper to remove this warning. See [2021-04-05T02:46:28.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-05T02:46:28.679Z] [2021-04-05T02:46:28.679Z] Login Succeeded [2021-04-05T02:46:28.679Z] ---> docker-login.sh ends [Pipeline] } [2021-04-05T02:46:28.695Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-05T02:46:29.041Z] ========================================================= [2021-04-05T02:46:29.041Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-05T02:46:29.041Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:46:29.427Z] + 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-04-05T02:46:29.427Z] Sending build context to Docker daemon 2.36MB [2021-04-05T02:46:29.427Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-05T02:46:29.427Z] Step 2/8 : FROM ${BASE} [2021-04-05T02:46:29.719Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-05T02:46:29.719Z] 188c0c94c7c5: Pulling fs layer [2021-04-05T02:46:29.719Z] 0ef7d3d256c8: Pulling fs layer [2021-04-05T02:46:29.719Z] de9db76c5a1d: Pulling fs layer [2021-04-05T02:46:29.719Z] bca2f99d35d6: Pulling fs layer [2021-04-05T02:46:29.719Z] 93359f2a8cfa: Pulling fs layer [2021-04-05T02:46:29.719Z] 7c6f9722023f: Pulling fs layer [2021-04-05T02:46:29.719Z] a35cf1a2eb13: Pulling fs layer [2021-04-05T02:46:29.719Z] 93359f2a8cfa: Waiting [2021-04-05T02:46:29.719Z] 7c6f9722023f: Waiting [2021-04-05T02:46:29.719Z] a35cf1a2eb13: Waiting [2021-04-05T02:46:29.719Z] bca2f99d35d6: Waiting [2021-04-05T02:46:29.719Z] de9db76c5a1d: Verifying Checksum [2021-04-05T02:46:29.719Z] de9db76c5a1d: Download complete [2021-04-05T02:46:29.719Z] 0ef7d3d256c8: Verifying Checksum [2021-04-05T02:46:29.719Z] 0ef7d3d256c8: Download complete [2021-04-05T02:46:29.719Z] 93359f2a8cfa: Verifying Checksum [2021-04-05T02:46:29.719Z] 93359f2a8cfa: Download complete [2021-04-05T02:46:29.719Z] 7c6f9722023f: Verifying Checksum [2021-04-05T02:46:29.719Z] 7c6f9722023f: Download complete [2021-04-05T02:46:29.719Z] 188c0c94c7c5: Verifying Checksum [2021-04-05T02:46:29.719Z] 188c0c94c7c5: Download complete [2021-04-05T02:46:29.998Z] 188c0c94c7c5: Pull complete [2021-04-05T02:46:30.269Z] 0ef7d3d256c8: Pull complete [2021-04-05T02:46:30.538Z] de9db76c5a1d: Pull complete [2021-04-05T02:46:30.642Z] 00ac8860ef70: Pull complete [2021-04-05T02:46:30.642Z] 63d7cb157983: Pull complete [2021-04-05T02:46:31.238Z] b116817d02f9: Pull complete [2021-04-05T02:46:31.938Z] a35cf1a2eb13: Verifying Checksum [2021-04-05T02:46:31.938Z] a35cf1a2eb13: Download complete [2021-04-05T02:46:32.200Z] bca2f99d35d6: Verifying Checksum [2021-04-05T02:46:32.200Z] bca2f99d35d6: Download complete [2021-04-05T02:46:34.662Z] 745a02a5169b: Pull complete [2021-04-05T02:46:34.936Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-05T02:46:34.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-05T02:46:34.936Z] ---> b7e6874047d6 [2021-04-05T02:46:34.936Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-05T02:46:37.553Z] bca2f99d35d6: Pull complete [2021-04-05T02:46:37.553Z] 93359f2a8cfa: Pull complete [2021-04-05T02:46:37.567Z] ---> Running in 66bc436a5774 [2021-04-05T02:46:37.822Z] 7c6f9722023f: Pull complete [2021-04-05T02:46:38.179Z] Removing intermediate container 66bc436a5774 [2021-04-05T02:46:38.179Z] ---> 377e62927be1 [2021-04-05T02:46:38.179Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-05T02:46:38.179Z] ---> Running in 82338c2056db [2021-04-05T02:46:40.852Z] Removing intermediate container 82338c2056db [2021-04-05T02:46:40.852Z] ---> a3c891bdabac [2021-04-05T02:46:40.852Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-05T02:46:40.852Z] ---> Running in 3980e08ee397 [2021-04-05T02:46:41.831Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-05T02:46:42.811Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-05T02:46:43.407Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-05T02:46:43.407Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-05T02:46:43.407Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-05T02:46:43.681Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-05T02:46:43.681Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-05T02:46:43.681Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-05T02:46:43.955Z] Executing busybox-1.31.1-r19.trigger [2021-04-05T02:46:43.955Z] OK: 144 MiB in 45 packages [2021-04-05T02:46:44.485Z] a35cf1a2eb13: Pull complete [2021-04-05T02:46:44.485Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-05T02:46:44.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-05T02:46:44.485Z] ---> a62c8e92a672 [2021-04-05T02:46:44.485Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-05T02:46:44.750Z] ---> Running in 59f753a4cabf [2021-04-05T02:46:45.019Z] Removing intermediate container 59f753a4cabf [2021-04-05T02:46:45.019Z] ---> 134bc3a035cc [2021-04-05T02:46:45.019Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-05T02:46:45.019Z] ---> Running in 5aae5876e489 [2021-04-05T02:46:45.400Z] Removing intermediate container 3980e08ee397 [2021-04-05T02:46:45.400Z] ---> a627dff79d0e [2021-04-05T02:46:45.400Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-05T02:46:45.400Z] ---> Running in 7c2102f5b6f3 [2021-04-05T02:46:45.967Z] Removing intermediate container 5aae5876e489 [2021-04-05T02:46:45.967Z] ---> b465293ac9fc [2021-04-05T02:46:45.967Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-05T02:46:45.967Z] ---> Running in a4666763215c [2021-04-05T02:46:46.014Z] Removing intermediate container 7c2102f5b6f3 [2021-04-05T02:46:46.014Z] ---> 70409a3bff5f [2021-04-05T02:46:46.014Z] Step 7/8 : COPY . . [2021-04-05T02:46:46.926Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-05T02:46:46.994Z] ---> 152603e652d2 [2021-04-05T02:46:46.994Z] Step 8/8 : RUN go mod download [2021-04-05T02:46:47.279Z] ---> Running in bf6ac2dab312 [2021-04-05T02:46:48.352Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-05T02:46:48.939Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-05T02:46:48.939Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-05T02:46:49.207Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-05T02:46:49.207Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-05T02:46:49.207Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-05T02:46:49.479Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-05T02:46:49.480Z] Executing busybox-1.31.1-r19.trigger [2021-04-05T02:46:49.480Z] OK: 167 MiB in 45 packages [2021-04-05T02:46:50.067Z] Removing intermediate container a4666763215c [2021-04-05T02:46:50.067Z] ---> 920b5a63d9d2 [2021-04-05T02:46:50.067Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-05T02:46:50.067Z] ---> Running in cabbda8ab810 [2021-04-05T02:46:50.330Z] Removing intermediate container cabbda8ab810 [2021-04-05T02:46:50.330Z] ---> 86aada67675c [2021-04-05T02:46:50.330Z] Step 7/8 : COPY . . [2021-04-05T02:46:51.276Z] ---> 6a68160b840e [2021-04-05T02:46:51.276Z] Step 8/8 : RUN go mod download [2021-04-05T02:46:51.539Z] ---> Running in 47b1501bc057 [2021-04-05T02:47:13.568Z] Removing intermediate container 47b1501bc057 [2021-04-05T02:47:13.568Z] ---> 24e759222f9f [2021-04-05T02:47:13.568Z] Successfully built 24e759222f9f [2021-04-05T02:47:13.568Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:47:13.882Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-05T02:47:13.882Z] . [Pipeline] withDockerContainer [2021-04-05T02:47:14.084Z] prd-centos7-docker-4c-2g-32747 does not seem to be running inside a container [2021-04-05T02:47:14.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-05T02:47:14.978Z] $ docker top 7cecdb878a78be22acffeb2ee6c7329c94dbb431592a0b59b11b796eaf9f7a82 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-05T02:47:15.488Z] + go version [2021-04-05T02:47:15.488Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-05T02:47:15.495Z] $ docker stop --time=1 7cecdb878a78be22acffeb2ee6c7329c94dbb431592a0b59b11b796eaf9f7a82 [2021-04-05T02:47:16.845Z] $ docker rm -f 7cecdb878a78be22acffeb2ee6c7329c94dbb431592a0b59b11b796eaf9f7a82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:47:17.780Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-05T02:47:17.780Z] . [Pipeline] withDockerContainer [2021-04-05T02:47:17.879Z] prd-centos7-docker-4c-2g-32747 does not seem to be running inside a container [2021-04-05T02:47:17.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-05T02:47:18.530Z] $ docker top 1e6ce76e0505bf1fd85284cb5b9b2e49bb3fcb8eaa3618ba26d75ca654784300 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-05T02:47:19.017Z] + make test [2021-04-05T02:47:19.017Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-05T02:47:19.667Z] Removing intermediate container bf6ac2dab312 [2021-04-05T02:47:19.667Z] ---> fc4a2eaf5ab9 [2021-04-05T02:47:19.667Z] Successfully built fc4a2eaf5ab9 [2021-04-05T02:47:19.667Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:47:20.006Z] + docker inspect -f . ci-base-image-arm64 [2021-04-05T02:47:20.006Z] . [Pipeline] withDockerContainer [2021-04-05T02:47:20.417Z] prd-ubuntu18.04-docker-arm64-4c-16g-32746 does not seem to be running inside a container [2021-04-05T02:47:20.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-05T02:47:22.102Z] $ docker top 528ae2b6226affde6dce294c0c9ea456369f2f6e75e3ec582288873de2c50a87 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-05T02:47:23.198Z] + go version [2021-04-05T02:47:23.198Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-05T02:47:23.223Z] $ docker stop --time=1 528ae2b6226affde6dce294c0c9ea456369f2f6e75e3ec582288873de2c50a87 [2021-04-05T02:47:25.139Z] $ docker rm -f 528ae2b6226affde6dce294c0c9ea456369f2f6e75e3ec582288873de2c50a87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2021-04-05T02:47:25.723Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:47:26.183Z] + docker inspect -f . ci-base-image-arm64 [2021-04-05T02:47:26.183Z] . [Pipeline] withDockerContainer [2021-04-05T02:47:26.448Z] prd-ubuntu18.04-docker-arm64-4c-16g-32746 does not seem to be running inside a container [2021-04-05T02:47:26.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/29 -v /w/workspace/device-sdk-go/29:/w/workspace/device-sdk-go/29:rw,z -v /w/workspace/device-sdk-go/29@tmp:/w/workspace/device-sdk-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-05T02:47:28.034Z] $ docker top eee0fc269142cef7459a284d2473ee336aa31a20d268b0d9e63b096023eec48e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-05T02:47:29.066Z] + make test [2021-04-05T02:47:29.066Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-05T02:47:43.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-05T02:47:43.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-05T02:47:43.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-05T02:47:43.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-05T02:47:43.963Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-05T02:47:48.220Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.083s coverage: 28.1% of statements [2021-04-05T02:47:48.220Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 81.2% of statements [2021-04-05T02:47:49.183Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.059s coverage: 7.8% of statements [2021-04-05T02:47:49.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-05T02:47:49.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-05T02:47:49.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-05T02:47:49.183Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.5% of statements [2021-04-05T02:47:49.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-05T02:47:49.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-05T02:47:49.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-05T02:47:49.183Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 57.3% of statements [2021-04-05T02:47:49.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.153s coverage: 6.6% of statements [2021-04-05T02:47:49.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-04-05T02:47:49.759Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-05T02:47:50.024Z] GO111MODULE=on go vet ./... [2021-04-05T02:47:51.288Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-05T02:48:05.076Z] gofmt -l . [2021-04-05T02:48:05.076Z] [ "`gofmt -l .`" = "" ] [2021-04-05T02:48:05.076Z] ./bin/test-attribution-txt.sh [2021-04-05T02:48:05.659Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-05T02:48:05.957Z] $ docker stop --time=1 1e6ce76e0505bf1fd85284cb5b9b2e49bb3fcb8eaa3618ba26d75ca654784300 [2021-04-05T02:48:07.514Z] $ docker rm -f 1e6ce76e0505bf1fd85284cb5b9b2e49bb3fcb8eaa3618ba26d75ca654784300 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-05T02:48:08.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-05T02:48:08.656Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-05T02:48:11.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-05T02:48:11.903Z] + ls -al . [2021-04-05T02:48:11.903Z] total 188 [2021-04-05T02:48:11.903Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 5 02:48 . [2021-04-05T02:48:11.903Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 5 02:46 .. [2021-04-05T02:48:11.903Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 5 02:46 bin [2021-04-05T02:48:11.903Z] -rw-r--r--. 1 jenkins jenkins 101239 Apr 5 02:47 coverage.out [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 5 02:46 Dockerfile.build [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 5 02:46 .dockerignore [2021-04-05T02:48:11.903Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 5 02:46 example [2021-04-05T02:48:11.903Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 5 02:46 .git [2021-04-05T02:48:11.903Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 5 02:46 .github [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 5 02:46 .gitignore [2021-04-05T02:48:11.903Z] -rw-r--r--. 1 jenkins jenkins 537 Apr 5 02:48 go.mod [2021-04-05T02:48:11.903Z] -rw-r--r--. 1 jenkins jenkins 20946 Apr 5 02:48 go.sum [2021-04-05T02:48:11.903Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 5 02:46 internal [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 894 Apr 5 02:46 Jenkinsfile [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 5 02:46 LICENSE [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 5 02:46 Makefile [2021-04-05T02:48:11.903Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 5 02:46 openapi [2021-04-05T02:48:11.903Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 5 02:46 pkg [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 5 02:46 README.md [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 5 02:46 RELEASE-NOTES.txt [2021-04-05T02:48:11.903Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 5 02:46 snap [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 5 02:43 VERSION [2021-04-05T02:48:11.903Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 5 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:48:12.205Z] + 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=2805920d8a105f762ab7e3ca530d3ad86fef2266 --label arch=amd64 --label version=0.0.0 . [2021-04-05T02:48:12.467Z] Sending build context to Docker daemon 2.462MB [2021-04-05T02:48:12.467Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-05T02:48:12.467Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-05T02:48:12.467Z] ---> 24e759222f9f [2021-04-05T02:48:12.467Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-05T02:48:13.862Z] ---> Running in 5eede2052033 [2021-04-05T02:48:13.862Z] Removing intermediate container 5eede2052033 [2021-04-05T02:48:13.862Z] ---> c5e40ed48d48 [2021-04-05T02:48:13.862Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-05T02:48:13.862Z] ---> Running in d85012933696 [2021-04-05T02:48:14.124Z] Removing intermediate container d85012933696 [2021-04-05T02:48:14.124Z] ---> a8b9362c74a9 [2021-04-05T02:48:14.124Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-05T02:48:14.124Z] ---> Running in 00a6279cc5a5 [2021-04-05T02:48:15.075Z] Removing intermediate container 00a6279cc5a5 [2021-04-05T02:48:15.075Z] ---> 7130c88875a0 [2021-04-05T02:48:15.075Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-05T02:48:15.075Z] ---> Running in 08e7818d96dd [2021-04-05T02:48:15.649Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-05T02:48:16.221Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-05T02:48:16.794Z] OK: 167 MiB in 45 packages [2021-04-05T02:48:17.055Z] Removing intermediate container 08e7818d96dd [2021-04-05T02:48:17.055Z] ---> ccf35294c152 [2021-04-05T02:48:17.055Z] Step 7/23 : COPY . . [2021-04-05T02:48:18.005Z] ---> 7cdd6ab87323 [2021-04-05T02:48:18.005Z] Step 8/23 : RUN go mod download [2021-04-05T02:48:18.005Z] ---> Running in 1cabbe53b010 [2021-04-05T02:48:18.962Z] Removing intermediate container 1cabbe53b010 [2021-04-05T02:48:18.962Z] ---> 1e0463f33667 [2021-04-05T02:48:18.962Z] Step 9/23 : RUN make build [2021-04-05T02:48:18.962Z] ---> Running in 2fffc74abc49 [2021-04-05T02:48:19.538Z] CGO_ENABLED=1 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-04-05T02:48:29.614Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-05T02:48:31.542Z] Removing intermediate container 2fffc74abc49 [2021-04-05T02:48:31.542Z] ---> 576e8d9e855a [2021-04-05T02:48:31.542Z] Step 10/23 : FROM alpine:3.12 [2021-04-05T02:48:32.114Z] 3.12: Pulling from library/alpine [2021-04-05T02:48:32.114Z] 532819f3e44c: Pulling fs layer [2021-04-05T02:48:32.378Z] 532819f3e44c: Download complete [2021-04-05T02:48:32.641Z] 532819f3e44c: Pull complete [2021-04-05T02:48:32.641Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-05T02:48:32.641Z] Status: Downloaded newer image for alpine:3.12 [2021-04-05T02:48:32.641Z] ---> 7230e588e954 [2021-04-05T02:48:32.641Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-05T02:48:32.641Z] ---> Running in e5036ab22fda [2021-04-05T02:48:32.904Z] Removing intermediate container e5036ab22fda [2021-04-05T02:48:32.904Z] ---> 320db9043415 [2021-04-05T02:48:32.904Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-05T02:48:32.905Z] ---> Running in a4fa4fc05b9c [2021-04-05T02:48:33.857Z] Removing intermediate container a4fa4fc05b9c [2021-04-05T02:48:33.857Z] ---> f57ea1dda186 [2021-04-05T02:48:33.857Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-05T02:48:34.119Z] ---> Running in cf0cfc7d570d [2021-04-05T02:48:34.380Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-05T02:48:34.955Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-05T02:48:35.526Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-05T02:48:35.526Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-05T02:48:35.526Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-05T02:48:36.099Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-05T02:48:36.099Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-05T02:48:36.099Z] Executing busybox-1.31.1-r20.trigger [2021-04-05T02:48:36.099Z] OK: 8 MiB in 19 packages [2021-04-05T02:48:36.673Z] Removing intermediate container cf0cfc7d570d [2021-04-05T02:48:36.673Z] ---> 5304a19ebb9f [2021-04-05T02:48:36.673Z] Step 14/23 : WORKDIR / [2021-04-05T02:48:36.673Z] ---> Running in cbf0d5ebb701 [2021-04-05T02:48:36.936Z] Removing intermediate container cbf0d5ebb701 [2021-04-05T02:48:36.936Z] ---> 41e821f4f9fc [2021-04-05T02:48:36.936Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-05T02:48:36.936Z] ---> 62335cc824c3 [2021-04-05T02:48:36.936Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-05T02:48:37.880Z] ---> 9e2f8cb4f9cd [2021-04-05T02:48:37.880Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-05T02:48:37.880Z] ---> 380493ddea96 [2021-04-05T02:48:37.880Z] Step 18/23 : EXPOSE 49990 [2021-04-05T02:48:37.880Z] ---> Running in 9e89d1c5fd17 [2021-04-05T02:48:38.141Z] Removing intermediate container 9e89d1c5fd17 [2021-04-05T02:48:38.141Z] ---> c1272adcb76c [2021-04-05T02:48:38.141Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-05T02:48:38.141Z] ---> Running in 31b11753d9df [2021-04-05T02:48:38.402Z] Removing intermediate container 31b11753d9df [2021-04-05T02:48:38.402Z] ---> 1ee9d11cff98 [2021-04-05T02:48:38.402Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-05T02:48:38.402Z] ---> Running in 40db1f01ac23 [2021-04-05T02:48:38.663Z] Removing intermediate container 40db1f01ac23 [2021-04-05T02:48:38.664Z] ---> df7375acc664 [2021-04-05T02:48:38.664Z] Step 21/23 : LABEL arch=amd64 [2021-04-05T02:48:38.664Z] ---> Running in 12a9b6411413 [2021-04-05T02:48:38.664Z] Removing intermediate container 12a9b6411413 [2021-04-05T02:48:38.664Z] ---> 23890cdf7b4a [2021-04-05T02:48:38.664Z] Step 22/23 : LABEL git_sha=2805920d8a105f762ab7e3ca530d3ad86fef2266 [2021-04-05T02:48:38.925Z] ---> Running in fc90d3c5100a [2021-04-05T02:48:38.925Z] Removing intermediate container fc90d3c5100a [2021-04-05T02:48:38.925Z] ---> 857026637601 [2021-04-05T02:48:38.925Z] Step 23/23 : LABEL version=0.0.0 [2021-04-05T02:48:38.925Z] ---> Running in d047e637f54d [2021-04-05T02:48:39.186Z] Removing intermediate container d047e637f54d [2021-04-05T02:48:39.186Z] ---> 0d6fd4f05afe [2021-04-05T02:48:39.186Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-05T02:48:39.186Z] Successfully built 0d6fd4f05afe [2021-04-05T02:48:39.186Z] 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-04-05T02:48:40.439Z] ---> job-cost.sh [2021-04-05T02:48:40.439Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cwVd [2021-04-05T02:48:47.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-05T02:48:47.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-05T02:48:47.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-05T02:48:47.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-05T02:48:47.884Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-05T02:48:49.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.205s coverage: 28.1% of statements [2021-04-05T02:48:51.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.165s coverage: 81.2% of statements [2021-04-05T02:48:51.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.159s coverage: 7.8% of statements [2021-04-05T02:48:51.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-05T02:48:51.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-05T02:48:51.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-05T02:48:52.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.264s coverage: 32.5% of statements [2021-04-05T02:48:52.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-05T02:48:52.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-05T02:48:52.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-05T02:48:55.461Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-05T02:48:56.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.303s coverage: 57.3% of statements [2021-04-05T02:48:56.828Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.141s coverage: 6.6% of statements [2021-04-05T02:48:57.424Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-04-05T02:48:57.424Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-05T02:48:57.698Z] GO111MODULE=on go vet ./... [2021-04-05T02:49:22.120Z] lf-activate-venv(): INFO: Adding /tmp/venv-cwVd/bin to PATH [2021-04-05T02:49:22.120Z] INFO: No Stack... [2021-04-05T02:49:22.120Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-05T02:49:22.692Z] INFO: Archiving Costs [Pipeline] sh [2021-04-05T02:49:23.004Z] + cat /w/workspace/device-sdk-go/29/archives/cost.csv [2021-04-05T02:49:23.004Z] + cut -d, -f6 [Pipeline] lock [2021-04-05T02:49:23.089Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-29-stack-cost] [2021-04-05T02:49:23.096Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-29-stack-cost] did not exist. Created. [2021-04-05T02:49:23.097Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-05T02:49:23.494Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-05T02:49:23.653Z] Stashed 1 file(s) [Pipeline] } [2021-04-05T02:49:23.667Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-29-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-05T02:49:44.972Z] gofmt -l . [2021-04-05T02:49:44.972Z] [ "`gofmt -l .`" = "" ] [2021-04-05T02:49:44.972Z] ./bin/test-attribution-txt.sh [2021-04-05T02:49:44.972Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-05T02:49:44.991Z] $ docker stop --time=1 eee0fc269142cef7459a284d2473ee336aa31a20d268b0d9e63b096023eec48e [2021-04-05T02:49:47.229Z] $ docker rm -f eee0fc269142cef7459a284d2473ee336aa31a20d268b0d9e63b096023eec48e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-05T02:49:48.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-05T02:49:48.374Z] Warning: overwriting stash ‘coverage-report’ [2021-04-05T02:49:49.189Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-05T02:49:49.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-05T02:49:50.160Z] + ls -al . [2021-04-05T02:49:50.160Z] total 224 [2021-04-05T02:49:50.160Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 02:49 . [2021-04-05T02:49:50.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 02:45 .. [2021-04-05T02:49:50.160Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 5 02:46 .dockerignore [2021-04-05T02:49:50.160Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 02:46 .git [2021-04-05T02:49:50.160Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 02:46 .github [2021-04-05T02:49:50.160Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 5 02:46 .gitignore [2021-04-05T02:49:50.160Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 5 02:46 Dockerfile.build [2021-04-05T02:49:50.160Z] -rw-rw-r-- 1 jenkins jenkins 894 Apr 5 02:46 Jenkinsfile [2021-04-05T02:49:50.160Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 5 02:46 LICENSE [2021-04-05T02:49:50.160Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 5 02:46 Makefile [2021-04-05T02:49:50.160Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 5 02:46 README.md [2021-04-05T02:49:50.160Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 5 02:46 RELEASE-NOTES.txt [2021-04-05T02:49:50.160Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 5 02:43 VERSION [2021-04-05T02:49:50.160Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 02:46 bin [2021-04-05T02:49:50.160Z] -rw-r--r-- 1 jenkins jenkins 101239 Apr 5 02:48 coverage.out [2021-04-05T02:49:50.160Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 5 02:46 example [2021-04-05T02:49:50.161Z] -rw-r--r-- 1 jenkins jenkins 537 Apr 5 02:49 go.mod [2021-04-05T02:49:50.161Z] -rw-r--r-- 1 jenkins jenkins 20946 Apr 5 02:49 go.sum [2021-04-05T02:49:50.161Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 5 02:46 internal [2021-04-05T02:49:50.161Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 02:46 openapi [2021-04-05T02:49:50.161Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 5 02:46 pkg [2021-04-05T02:49:50.161Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 02:46 snap [2021-04-05T02:49:50.161Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 5 02:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:49:50.498Z] + 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=2805920d8a105f762ab7e3ca530d3ad86fef2266 --label arch=arm64 --label version=0.0.0 . [2021-04-05T02:49:50.787Z] Sending build context to Docker daemon 2.458MB [2021-04-05T02:49:50.787Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-05T02:49:50.787Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-05T02:49:50.787Z] ---> fc4a2eaf5ab9 [2021-04-05T02:49:50.787Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-05T02:49:51.057Z] ---> Running in dfd9c7604281 [2021-04-05T02:49:51.652Z] Removing intermediate container dfd9c7604281 [2021-04-05T02:49:51.652Z] ---> b047d4f302b5 [2021-04-05T02:49:51.652Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-05T02:49:51.652Z] ---> Running in 3083cc01f923 [2021-04-05T02:49:52.246Z] Removing intermediate container 3083cc01f923 [2021-04-05T02:49:52.246Z] ---> 4cafa9689c51 [2021-04-05T02:49:52.246Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-05T02:49:52.526Z] ---> Running in d3c22adde75f [2021-04-05T02:49:54.506Z] Removing intermediate container d3c22adde75f [2021-04-05T02:49:54.506Z] ---> 6332fa24dd8c [2021-04-05T02:49:54.506Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-05T02:49:54.506Z] ---> Running in e8218fc33fc2 [2021-04-05T02:49:55.940Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-05T02:49:56.211Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-05T02:49:57.184Z] OK: 144 MiB in 45 packages [2021-04-05T02:49:58.173Z] Removing intermediate container e8218fc33fc2 [2021-04-05T02:49:58.173Z] ---> 7307c9a33515 [2021-04-05T02:49:58.173Z] Step 7/23 : COPY . . [2021-04-05T02:49:59.611Z] ---> 97dad7b9d20a [2021-04-05T02:49:59.611Z] Step 8/23 : RUN go mod download [2021-04-05T02:49:59.611Z] ---> Running in a518ce713ff1 [2021-04-05T02:50:02.229Z] Removing intermediate container a518ce713ff1 [2021-04-05T02:50:02.229Z] ---> 08da2c065360 [2021-04-05T02:50:02.229Z] Step 9/23 : RUN make build [2021-04-05T02:50:02.229Z] ---> Running in e3bd0ebf7710 [2021-04-05T02:50:03.208Z] CGO_ENABLED=1 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-04-05T02:50:35.590Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-05T02:50:38.978Z] Removing intermediate container e3bd0ebf7710 [2021-04-05T02:50:38.978Z] ---> 9fc9da56ffe9 [2021-04-05T02:50:38.978Z] Step 10/23 : FROM alpine:3.12 [2021-04-05T02:50:38.978Z] 3.12: Pulling from library/alpine [2021-04-05T02:50:39.249Z] 9a219e8acc52: Pulling fs layer [2021-04-05T02:50:39.522Z] 9a219e8acc52: Verifying Checksum [2021-04-05T02:50:39.522Z] 9a219e8acc52: Download complete [2021-04-05T02:50:40.124Z] 9a219e8acc52: Pull complete [2021-04-05T02:50:40.124Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-05T02:50:40.124Z] Status: Downloaded newer image for alpine:3.12 [2021-04-05T02:50:40.124Z] ---> d75e27dfc0a0 [2021-04-05T02:50:40.124Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-05T02:50:40.396Z] ---> Running in 3e90cc03cb0e [2021-04-05T02:50:40.668Z] Removing intermediate container 3e90cc03cb0e [2021-04-05T02:50:40.668Z] ---> dffe8abe135f [2021-04-05T02:50:40.668Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-05T02:50:40.941Z] ---> Running in 6db98d7809c4 [2021-04-05T02:50:42.918Z] Removing intermediate container 6db98d7809c4 [2021-04-05T02:50:42.918Z] ---> cbec70206536 [2021-04-05T02:50:42.918Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-05T02:50:43.297Z] ---> Running in e09068711a5d [2021-04-05T02:50:44.275Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-05T02:50:45.249Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-05T02:50:45.841Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-05T02:50:45.841Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-05T02:50:45.841Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-05T02:50:46.113Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-05T02:50:46.113Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-05T02:50:46.113Z] Executing busybox-1.31.1-r20.trigger [2021-04-05T02:50:46.386Z] OK: 8 MiB in 19 packages [2021-04-05T02:50:47.363Z] Removing intermediate container e09068711a5d [2021-04-05T02:50:47.363Z] ---> fc0031ee9125 [2021-04-05T02:50:47.363Z] Step 14/23 : WORKDIR / [2021-04-05T02:50:47.636Z] ---> Running in 137212da13a4 [2021-04-05T02:50:48.228Z] Removing intermediate container 137212da13a4 [2021-04-05T02:50:48.228Z] ---> 1463f9784983 [2021-04-05T02:50:48.228Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-05T02:50:48.826Z] ---> 30184b0065d6 [2021-04-05T02:50:48.826Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-05T02:50:50.259Z] ---> 96d24021a713 [2021-04-05T02:50:50.259Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-05T02:50:50.857Z] ---> 232c0a47ef4c [2021-04-05T02:50:50.857Z] Step 18/23 : EXPOSE 49990 [2021-04-05T02:50:51.129Z] ---> Running in 8b6834bf17e6 [2021-04-05T02:50:51.400Z] Removing intermediate container 8b6834bf17e6 [2021-04-05T02:50:51.400Z] ---> 5bb6de19a496 [2021-04-05T02:50:51.400Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-05T02:50:51.679Z] ---> Running in bd409ffce60a [2021-04-05T02:50:51.952Z] Removing intermediate container bd409ffce60a [2021-04-05T02:50:51.952Z] ---> a2d12d7f4e95 [2021-04-05T02:50:51.952Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-05T02:50:52.223Z] ---> Running in 929f01b1992c [2021-04-05T02:50:52.501Z] Removing intermediate container 929f01b1992c [2021-04-05T02:50:52.501Z] ---> 7d0f0b4dfdc3 [2021-04-05T02:50:52.501Z] Step 21/23 : LABEL arch=arm64 [2021-04-05T02:50:52.773Z] ---> Running in 464540f9879c [2021-04-05T02:50:53.048Z] Removing intermediate container 464540f9879c [2021-04-05T02:50:53.048Z] ---> 4ae102d9e946 [2021-04-05T02:50:53.048Z] Step 22/23 : LABEL git_sha=2805920d8a105f762ab7e3ca530d3ad86fef2266 [2021-04-05T02:50:53.323Z] ---> Running in 61e91416af12 [2021-04-05T02:50:53.916Z] Removing intermediate container 61e91416af12 [2021-04-05T02:50:53.916Z] ---> 722ba6facd53 [2021-04-05T02:50:53.916Z] Step 23/23 : LABEL version=0.0.0 [2021-04-05T02:50:53.916Z] ---> Running in a154da9338c7 [2021-04-05T02:50:54.189Z] Removing intermediate container a154da9338c7 [2021-04-05T02:50:54.189Z] ---> 6049a5ddff4d [2021-04-05T02:50:54.189Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-05T02:50:54.461Z] Successfully built 6049a5ddff4d [2021-04-05T02:50:54.461Z] 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-04-05T02:50:55.341Z] ---> job-cost.sh [2021-04-05T02:50:55.341Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cL6A [2021-04-05T02:51:34.295Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-05T02:53:11.088Z] lf-activate-venv(): INFO: Adding /tmp/venv-cL6A/bin to PATH [2021-04-05T02:53:11.088Z] INFO: No Stack... [2021-04-05T02:53:11.088Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-05T02:53:11.088Z] INFO: Archiving Costs [Pipeline] sh [2021-04-05T02:53:11.430Z] + cut -d, -f6 [2021-04-05T02:53:11.430Z] + cat /w/workspace/device-sdk-go/29/archives/cost.csv [Pipeline] lock [2021-04-05T02:53:11.546Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-29-stack-cost] [2021-04-05T02:53:11.555Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-29-stack-cost] did not exist. Created. [2021-04-05T02:53:11.555Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-05T02:53:12.005Z] /w/workspace/device-sdk-go/29@tmp/durable-e0d6992f/script.sh: 1: /w/workspace/device-sdk-go/29@tmp/durable-e0d6992f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-05T02:53:12.353Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-05T02:53:12.420Z] Warning: overwriting stash ‘stack-cost’ [2021-04-05T02:53:12.588Z] Stashed 1 file(s) [Pipeline] } [2021-04-05T02:53:12.600Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-29-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-04-05T02:53:13.991Z] provisioning config files... [2021-04-05T02:53:14.009Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1563518196939370014tmp [Pipeline] { [Pipeline] sh [2021-04-05T02:53:14.468Z] + set +x [2021-04-05T02:53:14.468Z] + curl -s https://codecov.io/bash [2021-04-05T02:53:14.468Z] + bash -s -- [2021-04-05T02:53:14.884Z] [2021-04-05T02:53:14.884Z] _____ _ [2021-04-05T02:53:14.884Z] / ____| | | [2021-04-05T02:53:14.884Z] | | ___ __| | ___ ___ _____ __ [2021-04-05T02:53:14.884Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-05T02:53:14.884Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-05T02:53:14.884Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-05T02:53:14.884Z] Bash-20210309-2b87ace [2021-04-05T02:53:14.884Z] [2021-04-05T02:53:14.884Z] [2021-04-05T02:53:14.884Z] ==> git version 2.24.3 found [2021-04-05T02:53:14.884Z] ==> 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-04-05T02:53:14.884Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-05T02:53:14.884Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-05T02:53:14.884Z] ==> Jenkins CI detected. [2021-04-05T02:53:14.884Z] project root: . [2021-04-05T02:53:14.884Z] --> token set from env [2021-04-05T02:53:15.181Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-05T02:53:15.181Z] ==> Running gcov in . (disable via -X gcov) [2021-04-05T02:53:15.181Z] ==> Python coveragepy not found [2021-04-05T02:53:15.181Z] ==> Searching for coverage reports in: [2021-04-05T02:53:15.181Z] + . [2021-04-05T02:53:15.181Z] -> Found 1 reports [2021-04-05T02:53:15.181Z] ==> Detecting git/mercurial file structure [2021-04-05T02:53:15.181Z] ==> Reading reports [2021-04-05T02:53:15.470Z] + ./coverage.out bytes=101239 [2021-04-05T02:53:15.470Z] ==> Appending adjustments [2021-04-05T02:53:15.470Z] https://docs.codecov.io/docs/fixing-reports [2021-04-05T02:53:15.775Z] + Found adjustments [2021-04-05T02:53:15.775Z] ==> Gzipping contents [2021-04-05T02:53:15.775Z] 16K /tmp/codecov.KvzXuG.gz [2021-04-05T02:53:15.775Z] ==> Uploading reports [2021-04-05T02:53:15.775Z] url: https://codecov.io [2021-04-05T02:53:15.775Z] query: branch=PR-725&commit=2805920d8a105f762ab7e3ca530d3ad86fef2266&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-05T02:53:15.775Z] -> Pinging Codecov [2021-04-05T02:53:15.775Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=2805920d8a105f762ab7e3ca530d3ad86fef2266&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-05T02:53:16.066Z] -> Uploading to [2021-04-05T02:53:16.066Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-05/7E55EF52A471D76F132DFD9A03CDDE97/2805920d8a105f762ab7e3ca530d3ad86fef2266/e2abd5b1-9b63-4a93-be1e-f3d9a4ab6ec5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210405T025315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=969307a554adadad91156bc14949af3a83d9288207ef792a1e20a14032f3fc71 [2021-04-05T02:53:16.066Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-05T02:53:16.066Z] Dload Upload Total Spent Left Speed [2021-04-05T02:53:16.780Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13716 0 0 100 13716 0 22249 --:--:-- --:--:-- --:--:-- 22230 100 13716 0 0 100 13716 0 22236 --:--:-- --:--:-- --:--:-- 22230 [2021-04-05T02:53:16.780Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2805920d8a105f762ab7e3ca530d3ad86fef2266 [Pipeline] } [2021-04-05T02:53:16.821Z] 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-04-05T02:53:19.607Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:53:20.789Z] ---> package-listing.sh [2021-04-05T02:53:20.789Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-05T02:53:20.789Z] ++ facter osfamily [2021-04-05T02:53:21.082Z] + OS_FAMILY=redhat [2021-04-05T02:53:21.082Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-05T02:53:21.082Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-05T02:53:21.082Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-05T02:53:21.082Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-05T02:53:21.082Z] + PACKAGES=/tmp/packages_start.txt [2021-04-05T02:53:21.082Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-05T02:53:21.082Z] + PACKAGES=/tmp/packages_end.txt [2021-04-05T02:53:21.082Z] + case "${OS_FAMILY}" in [2021-04-05T02:53:21.082Z] + rpm -qa [2021-04-05T02:53:21.082Z] + sort [2021-04-05T02:53:31.674Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-05T02:53:31.674Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-05T02:53:31.674Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-05T02:53:31.674Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-05T02:53:31.674Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-04-05T02:53:31.674Z] + 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-04-05T02:53:31.740Z] 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-04-05T02:53:32.228Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:53:33.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-05T02:53:33.255Z] [2021-04-05T02:53:33.255Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-05T02:53:33.952Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-05T02:53:34.660Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-05T02:53:34.660Z] df20fa9351a1: Pulling fs layer [2021-04-05T02:53:34.660Z] 36b3adc4ff6f: Pulling fs layer [2021-04-05T02:53:34.660Z] 8ad3a11d3b57: Pulling fs layer [2021-04-05T02:53:34.660Z] 46f8f816bc3b: Pulling fs layer [2021-04-05T02:53:34.660Z] 93b61091891f: Pulling fs layer [2021-04-05T02:53:34.660Z] 93b9cdb0e59b: Pulling fs layer [2021-04-05T02:53:34.660Z] 5e14af77c1be: Pulling fs layer [2021-04-05T02:53:34.660Z] 01666e4c0597: Pulling fs layer [2021-04-05T02:53:34.660Z] aa168da1d23b: Pulling fs layer [2021-04-05T02:53:34.660Z] 46f8f816bc3b: Waiting [2021-04-05T02:53:34.660Z] 93b61091891f: Waiting [2021-04-05T02:53:34.661Z] 93b9cdb0e59b: Waiting [2021-04-05T02:53:34.661Z] 5e14af77c1be: Waiting [2021-04-05T02:53:34.661Z] 01666e4c0597: Waiting [2021-04-05T02:53:34.661Z] aa168da1d23b: Waiting [2021-04-05T02:53:34.957Z] 36b3adc4ff6f: Verifying Checksum [2021-04-05T02:53:34.957Z] 36b3adc4ff6f: Download complete [2021-04-05T02:53:35.436Z] 46f8f816bc3b: Verifying Checksum [2021-04-05T02:53:35.436Z] 46f8f816bc3b: Download complete [2021-04-05T02:53:35.787Z] df20fa9351a1: Verifying Checksum [2021-04-05T02:53:35.787Z] df20fa9351a1: Download complete [2021-04-05T02:53:36.141Z] 93b9cdb0e59b: Verifying Checksum [2021-04-05T02:53:36.141Z] 93b9cdb0e59b: Download complete [2021-04-05T02:53:36.141Z] 5e14af77c1be: Verifying Checksum [2021-04-05T02:53:36.141Z] 5e14af77c1be: Download complete [2021-04-05T02:53:36.141Z] 93b61091891f: Verifying Checksum [2021-04-05T02:53:36.141Z] 93b61091891f: Download complete [2021-04-05T02:53:36.141Z] 01666e4c0597: Verifying Checksum [2021-04-05T02:53:36.141Z] 01666e4c0597: Download complete [2021-04-05T02:53:37.372Z] df20fa9351a1: Pull complete [2021-04-05T02:53:37.372Z] 36b3adc4ff6f: Pull complete [2021-04-05T02:53:38.082Z] 8ad3a11d3b57: Verifying Checksum [2021-04-05T02:53:38.082Z] 8ad3a11d3b57: Download complete [2021-04-05T02:53:39.808Z] 8ad3a11d3b57: Pull complete [2021-04-05T02:53:40.095Z] 46f8f816bc3b: Pull complete [2021-04-05T02:53:41.270Z] 93b61091891f: Pull complete [2021-04-05T02:53:41.605Z] 93b9cdb0e59b: Pull complete [2021-04-05T02:53:42.314Z] 5e14af77c1be: Pull complete [2021-04-05T02:53:43.018Z] 01666e4c0597: Pull complete [2021-04-05T02:53:48.166Z] aa168da1d23b: Verifying Checksum [2021-04-05T02:53:48.166Z] aa168da1d23b: Download complete [2021-04-05T02:54:11.336Z] aa168da1d23b: Pull complete [2021-04-05T02:54:11.336Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-05T02:54:11.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-05T02:54:11.336Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-05T02:54:12.318Z] prd-centos7-docker-4c-2g-32744 does not seem to be running inside a container [2021-04-05T02:54:12.492Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-05T02:54:15.535Z] $ docker top b278cfbafae911d6359c02c28fd2e0f1faa6e3a223082db5ba46a66b7a5b45b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-05T02:54:17.779Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-05T02:54:18.538Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-05T02:54:19.322Z] + ls /var/log/sa-host [2021-04-05T02:54:19.322Z] + sadf -c /var/log/sa-host/sa05 [2021-04-05T02:54:19.322Z] file_magic: OK [2021-04-05T02:54:19.322Z] HZ: Using current value: 100 [2021-04-05T02:54:19.322Z] file_header: OK [2021-04-05T02:54:19.322Z] 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-04-05T02:54:19.322Z] Statistics: [2021-04-05T02:54:19.322Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-05T02:54:19.322Z] File successfully converted to sysstat format version 12.2.1 [2021-04-05T02:54:19.322Z] + sadf -c /var/log/sa-host/sa23 [2021-04-05T02:54:19.322Z] file_magic: OK [2021-04-05T02:54:19.322Z] HZ: Using current value: 100 [2021-04-05T02:54:19.322Z] file_header: OK [2021-04-05T02:54:19.322Z] 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-04-05T02:54:19.322Z] Statistics: [2021-04-05T02:54:19.322Z] Hnuu...uuuununununu... [2021-04-05T02:54:19.322Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-05T02:54:19.926Z] provisioning config files... [2021-04-05T02:54:19.993Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config555146257025992539tmp [Pipeline] { [Pipeline] echo [2021-04-05T02:54:20.103Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:54:21.047Z] ---> create-netrc.sh [Pipeline] } [2021-04-05T02:54:21.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-05T02:54:21.215Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:54:22.218Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-05T02:54:22.238Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:54:22.976Z] ---> sudo-logs.sh [2021-04-05T02:54:22.976Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-05T02:54:23.118Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:54:23.582Z] ---> job-cost.sh [2021-04-05T02:54:24.039Z] lf-activate-venv: SKIPPING [2021-04-05T02:54:24.039Z] DEBUG: total: 0.20999999344348907 [2021-04-05T02:54:24.039Z] INFO: Retrieving Stack Cost... [2021-04-05T02:54:25.299Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-05T02:54:25.567Z] INFO: Archiving Costs [Pipeline] echo [2021-04-05T02:54:25.586Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-05T02:54:26.457Z] ---> logs-deploy.sh [2021-04-05T02:54:26.457Z] lf-activate-venv: SKIPPING [2021-04-05T02:54:26.457Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/29 [2021-04-05T02:54:26.457Z] INFO: archiving workspace using pattern(s): [2021-04-05T02:54:30.096Z] Archives upload complete. [2021-04-05T02:54:30.096Z] INFO: archiving logs to Nexus [2021-04-05T02:54:31.878Z] ---> uname -a: [2021-04-05T02:54:31.878Z] Linux prd-centos7-docker-4c-2g-32744.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-05T02:54:31.878Z] [2021-04-05T02:54:31.878Z] [2021-04-05T02:54:31.878Z] ---> lscpu: [2021-04-05T02:54:31.878Z] Architecture: x86_64 [2021-04-05T02:54:31.878Z] CPU op-mode(s): 32-bit, 64-bit [2021-04-05T02:54:31.878Z] Byte Order: Little Endian [2021-04-05T02:54:31.878Z] Address sizes: 40 bits physical, 48 bits virtual [2021-04-05T02:54:31.878Z] CPU(s): 4 [2021-04-05T02:54:31.878Z] On-line CPU(s) list: 0-3 [2021-04-05T02:54:31.878Z] Thread(s) per core: 1 [2021-04-05T02:54:31.878Z] Core(s) per socket: 1 [2021-04-05T02:54:31.878Z] Socket(s): 4 [2021-04-05T02:54:31.878Z] NUMA node(s): 1 [2021-04-05T02:54:31.878Z] Vendor ID: GenuineIntel [2021-04-05T02:54:31.878Z] CPU family: 6 [2021-04-05T02:54:31.878Z] Model: 44 [2021-04-05T02:54:31.878Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-04-05T02:54:31.878Z] Stepping: 1 [2021-04-05T02:54:31.878Z] CPU MHz: 2933.438 [2021-04-05T02:54:31.878Z] BogoMIPS: 5866.87 [2021-04-05T02:54:31.878Z] Virtualization: VT-x [2021-04-05T02:54:31.878Z] Hypervisor vendor: KVM [2021-04-05T02:54:31.878Z] Virtualization type: full [2021-04-05T02:54:31.878Z] L1d cache: 128 KiB [2021-04-05T02:54:31.878Z] L1i cache: 128 KiB [2021-04-05T02:54:31.878Z] L2 cache: 16 MiB [2021-04-05T02:54:31.878Z] L3 cache: 64 MiB [2021-04-05T02:54:31.878Z] NUMA node0 CPU(s): 0-3 [2021-04-05T02:54:31.878Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-04-05T02:54:31.878Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-04-05T02:54:31.878Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-04-05T02:54:31.878Z] Vulnerability Meltdown: Mitigation; PTI [2021-04-05T02:54:31.878Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-04-05T02:54:31.878Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-04-05T02:54:31.878Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-04-05T02:54:31.878Z] Vulnerability Srbds: Not affected [2021-04-05T02:54:31.878Z] Vulnerability Tsx async abort: Not affected [2021-04-05T02:54:31.878Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-04-05T02:54:31.878Z] [2021-04-05T02:54:31.878Z] [2021-04-05T02:54:31.878Z] ---> nproc: [2021-04-05T02:54:31.878Z] 4 [2021-04-05T02:54:31.878Z] [2021-04-05T02:54:31.878Z] [2021-04-05T02:54:31.878Z] ---> df -h: [2021-04-05T02:54:31.878Z] Filesystem Size Used Available Use% Mounted on [2021-04-05T02:54:31.878Z] overlay 50.0G 7.3G 42.7G 15% / [2021-04-05T02:54:31.878Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-04-05T02:54:31.878Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-04-05T02:54:31.878Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-04-05T02:54:31.878Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-04-05T02:54:31.878Z] [2021-04-05T02:54:31.878Z]