Pull request #868 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 219c7518a31b5f569417646e0f2f0291fbee0f15+0004bfda3add5d207eecfa44332d420db602e0f7 (e6ab23763c547712a13deb83fc44d0743528ee02) 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-33278 in /w/workspace/dgexfoundry_device-sdk-go_PR-868 [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-868 # 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 Merging remotes/origin/master commit 0004bfda3add5d207eecfa44332d420db602e0f7 into PR head commit 219c7518a31b5f569417646e0f2f0291fbee0f15 Merge succeeded, producing 229ed817099d8650948204a1cc16d7e092cf3239 Checking out Revision 229ed817099d8650948204a1cc16d7e092cf3239 (PR-868) 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/868/head:refs/remotes/origin/PR-868 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 219c7518a31b5f569417646e0f2f0291fbee0f15 # 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 0004bfda3add5d207eecfa44332d420db602e0f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 229ed817099d8650948204a1cc16d7e092cf3239 # timeout=10 Commit message: "Merge commit '0004bfda3add5d207eecfa44332d420db602e0f7' into HEAD" > git rev-list --no-walk 219c7518a31b5f569417646e0f2f0291fbee0f15 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-08T08:13:36.710Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-08T08:13:36.966Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-08T08:13:37.144Z] ========================================================= [2021-04-08T08:13:37.144Z] EdgeX Global Pipelines Version Info [2021-04-08T08:13:37.144Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:13:38.581Z] ------------------- [2021-04-08T08:13:38.581Z] stable info: [2021-04-08T08:13:38.581Z] ------------------- [2021-04-08T08:13:38.581Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-08T08:13:38.581Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-08T08:13:38.581Z] Message: update stable to v1.0.186 [2021-04-08T08:13:39.530Z] ------------------- [2021-04-08T08:13:39.530Z] experimental info: [2021-04-08T08:13:39.530Z] ------------------- [2021-04-08T08:13:39.531Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-08T08:13:39.531Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-08T08:13:39.531Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-08T08:13:39.780Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-08T08:13:39.963Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-08T08:13:40.049Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-08T08:13:40.167Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-08T08:13:40.248Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-08T08:13:40.364Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-08T08:13:40.451Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-08T08:13:40.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-08T08:13:40.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-08T08:13:40.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-08T08:13:40.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-08T08:13:40.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-08T08:13:41.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-08T08:13:41.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-08T08:13:41.265Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-08T08:13:41.364Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-08T08:13:41.450Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-08T08:13:41.534Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-08T08:13:41.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-08T08:13:41.706Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-08T08:13:41.792Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-08T08:13:41.880Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-08T08:13:41.983Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-08T08:13:42.089Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-08T08:13:42.170Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-08T08:13:42.263Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-08T08:13:42.343Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-868 [Pipeline] echo [2021-04-08T08:13:42.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-868 [Pipeline] echo [2021-04-08T08:13:42.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-868 [Pipeline] echo [2021-04-08T08:13:42.640Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 229ed817099d8650948204a1cc16d7e092cf3239 [Pipeline] echo [2021-04-08T08:13:42.744Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 229ed81 [Pipeline] echo [2021-04-08T08:13:42.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-08T08:13:43.046Z] provisioning config files... [2021-04-08T08:13:43.077Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp/config1125340959075246902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:13:43.438Z] ---> docker-login.sh [2021-04-08T08:13:43.438Z] nexus3.edgexfoundry.org:10001 [2021-04-08T08:13:43.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:13:43.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:13:43.966Z] Configure a credential helper to remove this warning. See [2021-04-08T08:13:43.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:13:43.966Z] [2021-04-08T08:13:43.966Z] Login Succeeded [2021-04-08T08:13:43.966Z] nexus3.edgexfoundry.org:10002 [2021-04-08T08:13:43.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:13:43.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:13:43.966Z] Configure a credential helper to remove this warning. See [2021-04-08T08:13:43.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:13:43.966Z] [2021-04-08T08:13:43.966Z] Login Succeeded [2021-04-08T08:13:43.966Z] nexus3.edgexfoundry.org:10003 [2021-04-08T08:13:44.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:13:44.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:13:44.229Z] Configure a credential helper to remove this warning. See [2021-04-08T08:13:44.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:13:44.229Z] [2021-04-08T08:13:44.229Z] Login Succeeded [2021-04-08T08:13:44.229Z] nexus3.edgexfoundry.org:10004 [2021-04-08T08:13:44.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:13:44.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:13:44.493Z] Configure a credential helper to remove this warning. See [2021-04-08T08:13:44.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:13:44.493Z] [2021-04-08T08:13:44.493Z] Login Succeeded [2021-04-08T08:13:44.493Z] docker.io [2021-04-08T08:13:44.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:13:44.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:13:44.757Z] Configure a credential helper to remove this warning. See [2021-04-08T08:13:44.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:13:44.757Z] [2021-04-08T08:13:44.757Z] Login Succeeded [2021-04-08T08:13:44.757Z] ---> docker-login.sh ends [Pipeline] } [2021-04-08T08:13:44.767Z] 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-08T08:13:45.635Z] + git log --format=format:%s -1 229ed817099d8650948204a1cc16d7e092cf3239 [Pipeline] echo [2021-04-08T08:13:45.700Z] GIT_COMMIT: 229ed817099d8650948204a1cc16d7e092cf3239, Commit Message: Merge commit '0004bfda3add5d207eecfa44332d420db602e0f7' into HEAD [Pipeline] echo [2021-04-08T08:13:45.746Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:13:46.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-08T08:13:46.347Z] [2021-04-08T08:13:46.347Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:13:46.697Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-08T08:13:46.697Z] latest: Pulling from edgex-devops/git-semver [2021-04-08T08:13:46.697Z] 31603596830f: Pulling fs layer [2021-04-08T08:13:46.697Z] 2a8b12db71e7: Pulling fs layer [2021-04-08T08:13:46.697Z] 6ca5941a6612: Pulling fs layer [2021-04-08T08:13:46.697Z] ecc8261a40a4: Pulling fs layer [2021-04-08T08:13:46.697Z] ecc8261a40a4: Waiting [2021-04-08T08:13:46.697Z] 2a8b12db71e7: Verifying Checksum [2021-04-08T08:13:46.697Z] 2a8b12db71e7: Download complete [2021-04-08T08:13:46.697Z] 31603596830f: Download complete [2021-04-08T08:13:46.963Z] ecc8261a40a4: Verifying Checksum [2021-04-08T08:13:46.964Z] ecc8261a40a4: Download complete [2021-04-08T08:13:46.964Z] 6ca5941a6612: Download complete [2021-04-08T08:13:47.226Z] 31603596830f: Pull complete [2021-04-08T08:13:47.488Z] 2a8b12db71e7: Pull complete [2021-04-08T08:13:48.437Z] 6ca5941a6612: Pull complete [2021-04-08T08:13:48.700Z] ecc8261a40a4: Pull complete [2021-04-08T08:13:48.700Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-08T08:13:48.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-08T08:13:48.700Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-08T08:13:48.815Z] prd-centos7-docker-4c-2g-33278 does not seem to be running inside a container [2021-04-08T08:13:48.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-868 -v /w/workspace/dgexfoundry_device-sdk-go_PR-868:/w/workspace/dgexfoundry_device-sdk-go_PR-868:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-08T08:13:51.023Z] $ docker top 1baf6bbd41ec40aa3333085c6aa4b4cbb4a11f6431f50b28a57c7aaa7b76499d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-08T08:13:51.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-08T08:13:51.317Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-08T08:13:51.550Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-08T08:13:51.554Z] $ docker exec 1baf6bbd41ec40aa3333085c6aa4b4cbb4a11f6431f50b28a57c7aaa7b76499d ssh-agent [2021-04-08T08:13:51.722Z] SSH_AUTH_SOCK=/tmp/ssh-nxddULDhQlWG/agent.11 [2021-04-08T08:13:51.722Z] SSH_AGENT_PID=16 [2021-04-08T08:13:51.731Z] Running ssh-add (command line suppressed) [2021-04-08T08:13:51.851Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp/private_key_4918103695521551188.key (/w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp/private_key_4918103695521551188.key) [2021-04-08T08:13:51.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-08T08:13:52.240Z] + git tag --points-at HEAD [Pipeline] } [2021-04-08T08:13:52.262Z] $ docker exec --env ******** --env ******** 1baf6bbd41ec40aa3333085c6aa4b4cbb4a11f6431f50b28a57c7aaa7b76499d ssh-agent -k [2021-04-08T08:13:52.379Z] unset SSH_AUTH_SOCK; [2021-04-08T08:13:52.379Z] unset SSH_AGENT_PID; [2021-04-08T08:13:52.379Z] echo Agent pid 16 killed; [2021-04-08T08:13:52.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-08T08:13:52.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-08T08:13:52.588Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-08T08:13:52.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-08T08:13:52.754Z] $ docker exec 1baf6bbd41ec40aa3333085c6aa4b4cbb4a11f6431f50b28a57c7aaa7b76499d ssh-agent [2021-04-08T08:13:52.925Z] SSH_AUTH_SOCK=/tmp/ssh-lcyKYc39JA4L/agent.44 [2021-04-08T08:13:52.925Z] SSH_AGENT_PID=49 [2021-04-08T08:13:52.932Z] Running ssh-add (command line suppressed) [2021-04-08T08:13:53.050Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp/private_key_1836637506366975989.key (/w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp/private_key_1836637506366975989.key) [2021-04-08T08:13:53.122Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-08T08:13:53.456Z] + git semver init [2021-04-08T08:13:53.456Z] # -> Open(): unable to determine branch for HEAD [2021-04-08T08:13:53.456Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-868/.git [2021-04-08T08:13:53.456Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-868 [2021-04-08T08:13:53.456Z] # $SEMVER_REMOTE_NAME = origin [2021-04-08T08:13:53.456Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-08T08:13:53.456Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-08T08:13:53.456Z] # $SEMVER_BRANCH = PR-868 [2021-04-08T08:13:53.456Z] # $SEMVER_TEMP = /tmp/semver-976483260 [2021-04-08T08:13:53.456Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-08T08:13:54.402Z] # '/tmp/semver-976483260' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-868/.semver' [2021-04-08T08:13:54.402Z] # -> Force: false [2021-04-08T08:13:54.402Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-868/.semver [Pipeline] } [2021-04-08T08:13:54.413Z] $ docker exec --env ******** --env ******** 1baf6bbd41ec40aa3333085c6aa4b4cbb4a11f6431f50b28a57c7aaa7b76499d ssh-agent -k [2021-04-08T08:13:54.535Z] unset SSH_AUTH_SOCK; [2021-04-08T08:13:54.536Z] unset SSH_AGENT_PID; [2021-04-08T08:13:54.536Z] echo Agent pid 49 killed; [2021-04-08T08:13:54.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-08T08:13:55.036Z] + git semver [Pipeline] } [2021-04-08T08:13:55.054Z] $ docker stop --time=1 1baf6bbd41ec40aa3333085c6aa4b4cbb4a11f6431f50b28a57c7aaa7b76499d [2021-04-08T08:13:56.738Z] $ docker rm -f 1baf6bbd41ec40aa3333085c6aa4b4cbb4a11f6431f50b28a57c7aaa7b76499d [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-08T08:13:57.253Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-08T08:13:57.645Z] Stashed 1 file(s) [Pipeline] echo [2021-04-08T08:13:57.648Z] [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-08T08:14:13.125Z] Still waiting to schedule task [2021-04-08T08:14:13.125Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-08T08:14:13.128Z] Still waiting to schedule task [2021-04-08T08:14:13.128Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-32989’ is offline [2021-04-08T08:16:33.133Z] Running on prd-centos7-docker-4c-2g-33282 in /w/workspace/dgexfoundry_device-sdk-go_PR-868 [Pipeline] { [Pipeline] ws [2021-04-08T08:16:33.186Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-08T08:16:35.543Z] using credential edgex-jenkins-ssh [2021-04-08T08:16:35.621Z] Cloning the remote Git repository [2021-04-08T08:16:35.431Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-08T08:16:35.515Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-08T08:16:35.586Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-08T08:16:35.586Z] > git --version # timeout=10 [2021-04-08T08:16:35.592Z] > git --version # 'git version 2.24.3' [2021-04-08T08:16:35.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-08T08:16:35.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-08T08:16:37.035Z] Merging remotes/origin/master commit 0004bfda3add5d207eecfa44332d420db602e0f7 into PR head commit 219c7518a31b5f569417646e0f2f0291fbee0f15 [2021-04-08T08:16:37.143Z] Merge succeeded, producing fd904b45c7d03cb309332d7073bb3afb2372a2b7 [2021-04-08T08:16:37.143Z] Checking out Revision fd904b45c7d03cb309332d7073bb3afb2372a2b7 (PR-868) [2021-04-08T08:16:36.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-08T08:16:36.498Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-08T08:16:36.513Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-08T08:16:36.527Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-08T08:16:36.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-08T08:16:36.533Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/868/head:refs/remotes/origin/PR-868 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-08T08:16:36.941Z] > git config core.sparsecheckout # timeout=10 [2021-04-08T08:16:36.947Z] > git checkout -f 219c7518a31b5f569417646e0f2f0291fbee0f15 # timeout=10 [2021-04-08T08:16:36.994Z] > git remote # timeout=10 [2021-04-08T08:16:37.001Z] > git config --get remote.origin.url # timeout=10 [2021-04-08T08:16:37.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-08T08:16:37.011Z] > git merge 0004bfda3add5d207eecfa44332d420db602e0f7 # timeout=10 [2021-04-08T08:16:37.040Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-08T08:16:37.052Z] > git config core.sparsecheckout # timeout=10 [2021-04-08T08:16:37.058Z] > git checkout -f fd904b45c7d03cb309332d7073bb3afb2372a2b7 # timeout=10 [2021-04-08T08:16:40.828Z] Commit message: "Merge commit '0004bfda3add5d207eecfa44332d420db602e0f7' into HEAD" [2021-04-08T08:16:40.832Z] > git rev-list --no-walk 219c7518a31b5f569417646e0f2f0291fbee0f15 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-08T08:16:42.006Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-08T08:16:42.329Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-08T08:16:42.640Z] + sudo service docker restart [2021-04-08T08:16:42.640Z] + true [2021-04-08T08:16:42.640Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-08T08:16:44.119Z] provisioning config files... [2021-04-08T08:16:44.152Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5575474058586276474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:16:44.517Z] ---> docker-login.sh [2021-04-08T08:16:44.517Z] nexus3.edgexfoundry.org:10001 [2021-04-08T08:16:44.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:16:44.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:16:44.784Z] Configure a credential helper to remove this warning. See [2021-04-08T08:16:44.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:16:44.784Z] [2021-04-08T08:16:44.784Z] Login Succeeded [2021-04-08T08:16:44.784Z] nexus3.edgexfoundry.org:10002 [2021-04-08T08:16:45.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:16:45.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:16:45.047Z] Configure a credential helper to remove this warning. See [2021-04-08T08:16:45.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:16:45.047Z] [2021-04-08T08:16:45.047Z] Login Succeeded [2021-04-08T08:16:45.047Z] nexus3.edgexfoundry.org:10003 [2021-04-08T08:16:45.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:16:45.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:16:45.310Z] Configure a credential helper to remove this warning. See [2021-04-08T08:16:45.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:16:45.310Z] [2021-04-08T08:16:45.310Z] Login Succeeded [2021-04-08T08:16:45.310Z] nexus3.edgexfoundry.org:10004 [2021-04-08T08:16:45.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:16:45.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:16:45.573Z] Configure a credential helper to remove this warning. See [2021-04-08T08:16:45.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:16:45.573Z] [2021-04-08T08:16:45.573Z] Login Succeeded [2021-04-08T08:16:45.573Z] docker.io [2021-04-08T08:16:45.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:16:45.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:16:45.835Z] Configure a credential helper to remove this warning. See [2021-04-08T08:16:45.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:16:45.835Z] [2021-04-08T08:16:45.835Z] Login Succeeded [2021-04-08T08:16:45.835Z] ---> docker-login.sh ends [Pipeline] } [2021-04-08T08:16:45.845Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-08T08:16:46.269Z] ========================================================= [2021-04-08T08:16:46.270Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-08T08:16:46.270Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:16:46.610Z] + 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-08T08:16:46.872Z] Sending build context to Docker daemon 2.397MB [2021-04-08T08:16:46.872Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-08T08:16:46.872Z] Step 2/8 : FROM ${BASE} [2021-04-08T08:16:46.872Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-08T08:16:46.872Z] 188c0c94c7c5: Pulling fs layer [2021-04-08T08:16:46.872Z] 0ef7d3d256c8: Pulling fs layer [2021-04-08T08:16:46.872Z] de9db76c5a1d: Pulling fs layer [2021-04-08T08:16:46.872Z] bca2f99d35d6: Pulling fs layer [2021-04-08T08:16:46.872Z] 93359f2a8cfa: Pulling fs layer [2021-04-08T08:16:46.872Z] 7c6f9722023f: Pulling fs layer [2021-04-08T08:16:46.872Z] a35cf1a2eb13: Pulling fs layer [2021-04-08T08:16:46.872Z] 93359f2a8cfa: Waiting [2021-04-08T08:16:46.872Z] 7c6f9722023f: Waiting [2021-04-08T08:16:46.872Z] a35cf1a2eb13: Waiting [2021-04-08T08:16:46.872Z] bca2f99d35d6: Waiting [2021-04-08T08:16:46.872Z] de9db76c5a1d: Verifying Checksum [2021-04-08T08:16:46.872Z] de9db76c5a1d: Download complete [2021-04-08T08:16:46.872Z] 0ef7d3d256c8: Verifying Checksum [2021-04-08T08:16:46.872Z] 0ef7d3d256c8: Download complete [2021-04-08T08:16:46.872Z] 93359f2a8cfa: Verifying Checksum [2021-04-08T08:16:46.872Z] 93359f2a8cfa: Download complete [2021-04-08T08:16:46.872Z] 7c6f9722023f: Verifying Checksum [2021-04-08T08:16:46.872Z] 7c6f9722023f: Download complete [2021-04-08T08:16:46.872Z] 188c0c94c7c5: Download complete [2021-04-08T08:16:47.136Z] 188c0c94c7c5: Pull complete [2021-04-08T08:16:47.397Z] 0ef7d3d256c8: Pull complete [2021-04-08T08:16:47.660Z] de9db76c5a1d: Pull complete [2021-04-08T08:16:49.055Z] a35cf1a2eb13: Verifying Checksum [2021-04-08T08:16:49.055Z] a35cf1a2eb13: Download complete [2021-04-08T08:16:49.318Z] bca2f99d35d6: Verifying Checksum [2021-04-08T08:16:49.318Z] bca2f99d35d6: Download complete [2021-04-08T08:16:53.709Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33281 in /w/workspace/dgexfoundry_device-sdk-go_PR-868 [Pipeline] { [Pipeline] ws [2021-04-08T08:16:53.763Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-08T08:16:54.649Z] bca2f99d35d6: Pull complete [2021-04-08T08:16:55.245Z] 93359f2a8cfa: Pull complete [2021-04-08T08:16:55.245Z] 7c6f9722023f: Pull complete [2021-04-08T08:16:58.952Z] using credential edgex-jenkins-ssh [2021-04-08T08:16:59.034Z] Cloning the remote Git repository [2021-04-08T08:16:59.102Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-08T08:16:59.227Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-08T08:16:59.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-08T08:16:59.319Z] > git --version # timeout=10 [2021-04-08T08:16:59.349Z] > git --version # 'git version 2.17.1' [2021-04-08T08:16:59.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-08T08:16:59.425Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-08T08:17:00.565Z] a35cf1a2eb13: Pull complete [2021-04-08T08:17:00.565Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-08T08:17:00.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-08T08:17:00.565Z] ---> a62c8e92a672 [2021-04-08T08:17:00.565Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-08T08:17:00.565Z] ---> Running in 7b6ddbc1aebe [2021-04-08T08:17:00.831Z] Removing intermediate container 7b6ddbc1aebe [2021-04-08T08:17:00.831Z] ---> 068a950066e9 [2021-04-08T08:17:00.831Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-08T08:17:00.831Z] ---> Running in 88929caad31e [2021-04-08T08:17:00.828Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-08T08:17:00.849Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-08T08:17:00.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-08T08:17:00.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-08T08:17:00.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-08T08:17:00.927Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/868/head:refs/remotes/origin/PR-868 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-08T08:17:01.663Z] Merging remotes/origin/master commit 0004bfda3add5d207eecfa44332d420db602e0f7 into PR head commit 219c7518a31b5f569417646e0f2f0291fbee0f15 [2021-04-08T08:17:01.788Z] Removing intermediate container 88929caad31e [2021-04-08T08:17:01.789Z] ---> d4690663ab41 [2021-04-08T08:17:01.789Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-08T08:17:01.941Z] Merge succeeded, producing 2cc9e48442c6f418835ea05d6518309cc5073702 [2021-04-08T08:17:01.941Z] Checking out Revision 2cc9e48442c6f418835ea05d6518309cc5073702 (PR-868) [2021-04-08T08:17:02.051Z] ---> Running in 99808b048301 [2021-04-08T08:17:02.315Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-08T08:17:01.682Z] > git config core.sparsecheckout # timeout=10 [2021-04-08T08:17:01.697Z] > git checkout -f 219c7518a31b5f569417646e0f2f0291fbee0f15 # timeout=10 [2021-04-08T08:17:01.801Z] > git remote # timeout=10 [2021-04-08T08:17:01.820Z] > git config --get remote.origin.url # timeout=10 [2021-04-08T08:17:01.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-08T08:17:01.848Z] > git merge 0004bfda3add5d207eecfa44332d420db602e0f7 # timeout=10 [2021-04-08T08:17:01.925Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-08T08:17:01.945Z] > git config core.sparsecheckout # timeout=10 [2021-04-08T08:17:01.964Z] > git checkout -f 2cc9e48442c6f418835ea05d6518309cc5073702 # timeout=10 [2021-04-08T08:17:02.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-08T08:17:03.465Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-08T08:17:03.465Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-08T08:17:03.727Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-08T08:17:03.727Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-08T08:17:03.727Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-08T08:17:03.990Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-08T08:17:03.990Z] Executing busybox-1.31.1-r19.trigger [2021-04-08T08:17:03.990Z] OK: 167 MiB in 45 packages [2021-04-08T08:17:04.568Z] Removing intermediate container 99808b048301 [2021-04-08T08:17:04.568Z] ---> 9698a338a5fb [2021-04-08T08:17:04.568Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-08T08:17:04.568Z] ---> Running in 6b105cf2f61a [2021-04-08T08:17:04.831Z] Removing intermediate container 6b105cf2f61a [2021-04-08T08:17:04.831Z] ---> fabc423eb0b2 [2021-04-08T08:17:04.831Z] Step 7/8 : COPY . . [2021-04-08T08:17:06.231Z] ---> bb459c812883 [2021-04-08T08:17:06.231Z] Step 8/8 : RUN go mod download [2021-04-08T08:17:06.231Z] ---> Running in f3d7d32bf9dc [2021-04-08T08:17:06.303Z] Commit message: "Merge commit '0004bfda3add5d207eecfa44332d420db602e0f7' into HEAD" [2021-04-08T08:17:06.308Z] > git rev-list --no-walk 219c7518a31b5f569417646e0f2f0291fbee0f15 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-08T08:17:07.853Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-08T08:17:08.256Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-08T08:17:08.600Z] + sudo service docker restart [2021-04-08T08:17:08.600Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-08T08:17:11.390Z] provisioning config files... [2021-04-08T08:17:11.429Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4707287134740484678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:17:11.842Z] ---> docker-login.sh [2021-04-08T08:17:11.842Z] nexus3.edgexfoundry.org:10001 [2021-04-08T08:17:12.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:17:13.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:17:13.052Z] Configure a credential helper to remove this warning. See [2021-04-08T08:17:13.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:17:13.052Z] [2021-04-08T08:17:13.052Z] Login Succeeded [2021-04-08T08:17:13.052Z] nexus3.edgexfoundry.org:10002 [2021-04-08T08:17:13.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:17:13.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:17:13.599Z] Configure a credential helper to remove this warning. See [2021-04-08T08:17:13.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:17:13.599Z] [2021-04-08T08:17:13.599Z] Login Succeeded [2021-04-08T08:17:13.599Z] nexus3.edgexfoundry.org:10003 [2021-04-08T08:17:13.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:17:14.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:17:14.148Z] Configure a credential helper to remove this warning. See [2021-04-08T08:17:14.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:17:14.148Z] [2021-04-08T08:17:14.148Z] Login Succeeded [2021-04-08T08:17:14.148Z] nexus3.edgexfoundry.org:10004 [2021-04-08T08:17:14.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:17:14.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:17:14.692Z] Configure a credential helper to remove this warning. See [2021-04-08T08:17:14.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:17:14.692Z] [2021-04-08T08:17:14.692Z] Login Succeeded [2021-04-08T08:17:14.692Z] docker.io [2021-04-08T08:17:14.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-08T08:17:15.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-08T08:17:15.239Z] Configure a credential helper to remove this warning. See [2021-04-08T08:17:15.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-08T08:17:15.239Z] [2021-04-08T08:17:15.239Z] Login Succeeded [2021-04-08T08:17:15.239Z] ---> docker-login.sh ends [Pipeline] } [2021-04-08T08:17:15.257Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-08T08:17:15.712Z] ========================================================= [2021-04-08T08:17:15.713Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-08T08:17:15.713Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:17:16.089Z] + 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-08T08:17:16.361Z] Sending build context to Docker daemon 2.409MB [2021-04-08T08:17:16.644Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-08T08:17:16.644Z] Step 2/8 : FROM ${BASE} [2021-04-08T08:17:16.644Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-08T08:17:16.644Z] 5f621e34cdf4: Pulling fs layer [2021-04-08T08:17:16.644Z] a4357932f1b6: Pulling fs layer [2021-04-08T08:17:16.644Z] 18c013af1878: Pulling fs layer [2021-04-08T08:17:16.644Z] 00ac8860ef70: Pulling fs layer [2021-04-08T08:17:16.644Z] 63d7cb157983: Pulling fs layer [2021-04-08T08:17:16.644Z] b116817d02f9: Pulling fs layer [2021-04-08T08:17:16.644Z] 745a02a5169b: Pulling fs layer [2021-04-08T08:17:16.644Z] 00ac8860ef70: Waiting [2021-04-08T08:17:16.644Z] 63d7cb157983: Waiting [2021-04-08T08:17:16.644Z] b116817d02f9: Waiting [2021-04-08T08:17:16.644Z] 745a02a5169b: Waiting [2021-04-08T08:17:16.644Z] 18c013af1878: Download complete [2021-04-08T08:17:16.644Z] a4357932f1b6: Verifying Checksum [2021-04-08T08:17:16.644Z] a4357932f1b6: Download complete [2021-04-08T08:17:16.644Z] 63d7cb157983: Verifying Checksum [2021-04-08T08:17:16.644Z] 63d7cb157983: Download complete [2021-04-08T08:17:16.644Z] b116817d02f9: Verifying Checksum [2021-04-08T08:17:16.644Z] b116817d02f9: Download complete [2021-04-08T08:17:16.644Z] 5f621e34cdf4: Verifying Checksum [2021-04-08T08:17:16.644Z] 5f621e34cdf4: Download complete [2021-04-08T08:17:17.239Z] 5f621e34cdf4: Pull complete [2021-04-08T08:17:17.838Z] a4357932f1b6: Pull complete [2021-04-08T08:17:18.112Z] 18c013af1878: Pull complete [2021-04-08T08:17:19.090Z] 745a02a5169b: Verifying Checksum [2021-04-08T08:17:19.090Z] 745a02a5169b: Download complete [2021-04-08T08:17:20.519Z] 00ac8860ef70: Download complete [2021-04-08T08:17:28.265Z] Removing intermediate container f3d7d32bf9dc [2021-04-08T08:17:28.265Z] ---> 0e53b60e88d5 [2021-04-08T08:17:28.265Z] Successfully built 0e53b60e88d5 [2021-04-08T08:17:28.265Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:17:28.588Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-08T08:17:28.588Z] . [Pipeline] withDockerContainer [2021-04-08T08:17:28.716Z] prd-centos7-docker-4c-2g-33282 does not seem to be running inside a container [2021-04-08T08:17:28.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-04-08T08:17:29.643Z] $ docker top 591986e6dba53f120140add98b363ded30d0eed52177eb117ec52ae4f28ed871 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-08T08:17:30.152Z] + go version [2021-04-08T08:17:30.152Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-08T08:17:30.168Z] $ docker stop --time=1 591986e6dba53f120140add98b363ded30d0eed52177eb117ec52ae4f28ed871 [2021-04-08T08:17:30.686Z] 00ac8860ef70: Pull complete [2021-04-08T08:17:30.686Z] 63d7cb157983: Pull complete [2021-04-08T08:17:31.284Z] b116817d02f9: Pull complete [2021-04-08T08:17:31.515Z] $ docker rm -f 591986e6dba53f120140add98b363ded30d0eed52177eb117ec52ae4f28ed871 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:17:32.369Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-08T08:17:32.369Z] . [Pipeline] withDockerContainer [2021-04-08T08:17:32.512Z] prd-centos7-docker-4c-2g-33282 does not seem to be running inside a container [2021-04-08T08:17:32.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-x86_64 cat [2021-04-08T08:17:33.133Z] $ docker top e09ada2dd7faba9ece26fe50063e033455b2b358adf9efe12f4616be4b6c15a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-08T08:17:33.638Z] + make test [2021-04-08T08:17:33.638Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-08T08:17:35.597Z] 745a02a5169b: Pull complete [2021-04-08T08:17:35.597Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-08T08:17:35.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-08T08:17:35.597Z] ---> b7e6874047d6 [2021-04-08T08:17:35.597Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-08T08:17:38.217Z] ---> Running in 960b667e38ee [2021-04-08T08:17:38.832Z] Removing intermediate container 960b667e38ee [2021-04-08T08:17:38.832Z] ---> 56300051591f [2021-04-08T08:17:38.832Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-08T08:17:38.832Z] ---> Running in 062d3c07270b [2021-04-08T08:17:41.458Z] Removing intermediate container 062d3c07270b [2021-04-08T08:17:41.458Z] ---> 692c8a1b6dd1 [2021-04-08T08:17:41.458Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-08T08:17:41.458Z] ---> Running in 90def68cdaca [2021-04-08T08:17:41.854Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-08T08:17:42.444Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-08T08:17:43.875Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-08T08:17:45.303Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-08T08:17:45.303Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-08T08:17:45.303Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-08T08:17:45.303Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-08T08:17:45.573Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-08T08:17:45.847Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-08T08:17:45.847Z] Executing busybox-1.31.1-r19.trigger [2021-04-08T08:17:45.847Z] OK: 144 MiB in 45 packages [2021-04-08T08:17:47.277Z] Removing intermediate container 90def68cdaca [2021-04-08T08:17:47.277Z] ---> de37c98a06f9 [2021-04-08T08:17:47.277Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-08T08:17:47.551Z] ---> Running in 14b75e39258c [2021-04-08T08:17:48.145Z] Removing intermediate container 14b75e39258c [2021-04-08T08:17:48.146Z] ---> dffe8089db66 [2021-04-08T08:17:48.146Z] Step 7/8 : COPY . . [2021-04-08T08:17:49.124Z] ---> 1808d10c8f6d [2021-04-08T08:17:49.124Z] Step 8/8 : RUN go mod download [2021-04-08T08:17:49.398Z] ---> Running in a03bae9b4e8b [2021-04-08T08:18:00.094Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-08T08:18:00.094Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-08T08:18:00.094Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-08T08:18:00.094Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-08T08:18:00.094Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-08T08:18:04.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 28.1% of statements [2021-04-08T08:18:04.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements [2021-04-08T08:18:04.632Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.104s coverage: 7.8% of statements [2021-04-08T08:18:04.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-08T08:18:04.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-08T08:18:04.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-08T08:18:04.632Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 32.5% of statements [2021-04-08T08:18:04.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-08T08:18:04.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-08T08:18:04.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-08T08:18:05.223Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 57.1% of statements [2021-04-08T08:18:05.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.200s coverage: 6.6% of statements [2021-04-08T08:18:05.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-08T08:18:05.802Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-08T08:18:06.073Z] GO111MODULE=on go vet ./... [2021-04-08T08:18:16.205Z] Removing intermediate container a03bae9b4e8b [2021-04-08T08:18:16.205Z] ---> d6db308b9f2f [2021-04-08T08:18:16.205Z] Successfully built d6db308b9f2f [2021-04-08T08:18:16.205Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:18:16.542Z] + docker inspect -f . ci-base-image-arm64 [2021-04-08T08:18:16.542Z] . [Pipeline] withDockerContainer [2021-04-08T08:18:16.775Z] prd-ubuntu18.04-docker-arm64-4c-16g-33281 does not seem to be running inside a container [2021-04-08T08:18:16.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2021-04-08T08:18:18.333Z] $ docker top d3f593de8df065f2c63483da7d92db4f11835dc0e697a5216f5439c1bcd119e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-08T08:18:19.336Z] + go version [2021-04-08T08:18:19.336Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-08T08:18:19.359Z] $ docker stop --time=1 d3f593de8df065f2c63483da7d92db4f11835dc0e697a5216f5439c1bcd119e3 [2021-04-08T08:18:21.230Z] $ docker rm -f d3f593de8df065f2c63483da7d92db4f11835dc0e697a5216f5439c1bcd119e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:18:22.253Z] + docker inspect -f . ci-base-image-arm64 [2021-04-08T08:18:22.253Z] . [Pipeline] withDockerContainer [2021-04-08T08:18:22.513Z] prd-ubuntu18.04-docker-arm64-4c-16g-33281 does not seem to be running inside a container [2021-04-08T08:18:22.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2021-04-08T08:18:24.088Z] $ docker top 5c4322d3b8732343169d155bc5cb217f5b6aa89f352fdc2843617dcd09a6285f -eo pid,comm [2021-04-08T08:18:24.345Z] gofmt -l . [2021-04-08T08:18:24.345Z] [ "`gofmt -l .`" = "" ] [2021-04-08T08:18:24.345Z] ./bin/test-attribution-txt.sh [2021-04-08T08:18:24.345Z] ./bin/test-go-mod-tidy.sh [Pipeline] { [Pipeline] } [2021-04-08T08:18:24.465Z] $ docker stop --time=1 e09ada2dd7faba9ece26fe50063e033455b2b358adf9efe12f4616be4b6c15a8 [2021-04-08T08:18:27.268Z] $ docker rm -f e09ada2dd7faba9ece26fe50063e033455b2b358adf9efe12f4616be4b6c15a8 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-04-08T08:18:27.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-08T08:18:28.372Z] + make test [2021-04-08T08:18:28.372Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-08T08:18:28.419Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-08T08:18:31.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-08T08:18:31.437Z] + ls -al . [2021-04-08T08:18:31.437Z] total 188 [2021-04-08T08:18:31.437Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 8 08:18 . [2021-04-08T08:18:31.437Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 8 08:16 .. [2021-04-08T08:18:31.437Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 8 08:16 bin [2021-04-08T08:18:31.437Z] -rw-r--r--. 1 jenkins jenkins 99749 Apr 8 08:18 coverage.out [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 8 08:16 Dockerfile.build [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 8 08:16 .dockerignore [2021-04-08T08:18:31.437Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 8 08:16 example [2021-04-08T08:18:31.437Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 8 08:16 .git [2021-04-08T08:18:31.437Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 8 08:16 .github [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 8 08:16 .gitignore [2021-04-08T08:18:31.437Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 8 08:18 go.mod [2021-04-08T08:18:31.437Z] -rw-r--r--. 1 jenkins jenkins 20726 Apr 8 08:18 go.sum [2021-04-08T08:18:31.437Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 8 08:16 internal [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 8 08:16 Jenkinsfile [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 8 08:16 LICENSE [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 8 08:16 Makefile [2021-04-08T08:18:31.437Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 8 08:16 openapi [2021-04-08T08:18:31.437Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 8 08:16 pkg [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 8 08:16 README.md [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 8 08:16 RELEASE-NOTES.txt [2021-04-08T08:18:31.437Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 8 08:16 snap [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 8 08:13 VERSION [2021-04-08T08:18:31.437Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 8 08:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:18:31.746Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=229ed817099d8650948204a1cc16d7e092cf3239 --label arch=amd64 --label version=0.0.0 . [2021-04-08T08:18:32.010Z] Sending build context to Docker daemon 2.497MB [2021-04-08T08:18:32.010Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-08T08:18:32.010Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-08T08:18:32.010Z] ---> 0e53b60e88d5 [2021-04-08T08:18:32.010Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-08T08:18:32.588Z] ---> Running in 84ec2997d2e8 [2021-04-08T08:18:32.855Z] Removing intermediate container 84ec2997d2e8 [2021-04-08T08:18:32.855Z] ---> a372e526b0c6 [2021-04-08T08:18:32.855Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-08T08:18:32.855Z] ---> Running in 445d15bfdf9c [2021-04-08T08:18:32.855Z] Removing intermediate container 445d15bfdf9c [2021-04-08T08:18:32.855Z] ---> cefce3f51841 [2021-04-08T08:18:32.855Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-08T08:18:33.119Z] ---> Running in 77bec6d15f67 [2021-04-08T08:18:34.077Z] Removing intermediate container 77bec6d15f67 [2021-04-08T08:18:34.077Z] ---> 170f5c58142a [2021-04-08T08:18:34.077Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-08T08:18:34.077Z] ---> Running in 3f8fda2ba5b0 [2021-04-08T08:18:34.652Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-08T08:18:35.599Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-08T08:18:36.174Z] OK: 167 MiB in 45 packages [2021-04-08T08:18:36.748Z] Removing intermediate container 3f8fda2ba5b0 [2021-04-08T08:18:36.748Z] ---> c9ae3947e689 [2021-04-08T08:18:36.748Z] Step 7/23 : COPY . . [2021-04-08T08:18:37.707Z] ---> cc779b1cd41c [2021-04-08T08:18:37.707Z] Step 8/23 : RUN go mod download [2021-04-08T08:18:37.707Z] ---> Running in 3fe39d947f5a [2021-04-08T08:18:38.680Z] Removing intermediate container 3fe39d947f5a [2021-04-08T08:18:38.680Z] ---> 4c5f79943155 [2021-04-08T08:18:38.680Z] Step 9/23 : RUN make build [2021-04-08T08:18:38.680Z] ---> Running in 33dc25ba175d [2021-04-08T08:18:39.265Z] 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-08T08:18:50.602Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-08T08:18:51.601Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-08T08:18:51.601Z] Removing intermediate container 33dc25ba175d [2021-04-08T08:18:51.601Z] ---> dcd052008394 [2021-04-08T08:18:51.601Z] Step 10/23 : FROM alpine:3.12 [2021-04-08T08:18:52.184Z] 3.12: Pulling from library/alpine [2021-04-08T08:18:52.185Z] 532819f3e44c: Pulling fs layer [2021-04-08T08:18:52.448Z] 532819f3e44c: Verifying Checksum [2021-04-08T08:18:52.448Z] 532819f3e44c: Download complete [2021-04-08T08:18:52.710Z] 532819f3e44c: Pull complete [2021-04-08T08:18:52.710Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-08T08:18:52.710Z] Status: Downloaded newer image for alpine:3.12 [2021-04-08T08:18:52.710Z] ---> 7230e588e954 [2021-04-08T08:18:52.710Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-08T08:18:52.985Z] ---> Running in 886b8d0c5a30 [2021-04-08T08:18:52.985Z] Removing intermediate container 886b8d0c5a30 [2021-04-08T08:18:52.985Z] ---> 52e95fd3ff1d [2021-04-08T08:18:52.985Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-08T08:18:52.985Z] ---> Running in a73f99dc3547 [2021-04-08T08:18:53.950Z] Removing intermediate container a73f99dc3547 [2021-04-08T08:18:53.950Z] ---> 739e51804076 [2021-04-08T08:18:53.950Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-08T08:18:53.950Z] ---> Running in 2044d8a31a22 [2021-04-08T08:18:54.524Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-08T08:18:55.471Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-08T08:18:56.044Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-08T08:18:56.308Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-08T08:18:56.308Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-08T08:18:56.571Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-08T08:18:56.836Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-08T08:18:56.836Z] Executing busybox-1.31.1-r20.trigger [2021-04-08T08:18:56.836Z] OK: 8 MiB in 19 packages [2021-04-08T08:18:57.414Z] Removing intermediate container 2044d8a31a22 [2021-04-08T08:18:57.414Z] ---> 775c15c283ba [2021-04-08T08:18:57.414Z] Step 14/23 : WORKDIR / [2021-04-08T08:18:57.414Z] ---> Running in 0428f94248fe [2021-04-08T08:18:57.676Z] Removing intermediate container 0428f94248fe [2021-04-08T08:18:57.676Z] ---> f5bd981df67e [2021-04-08T08:18:57.676Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-08T08:18:57.943Z] ---> e17d17399cee [2021-04-08T08:18:57.943Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-08T08:18:58.520Z] ---> 6194e7e019b6 [2021-04-08T08:18:58.520Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-08T08:18:58.784Z] ---> 1c3e5ea0f425 [2021-04-08T08:18:58.784Z] Step 18/23 : EXPOSE 49990 [2021-04-08T08:18:58.784Z] ---> Running in 5861854f9264 [2021-04-08T08:18:59.048Z] Removing intermediate container 5861854f9264 [2021-04-08T08:18:59.048Z] ---> a409e08acfea [2021-04-08T08:18:59.048Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-08T08:18:59.048Z] ---> Running in 762711c2245d [2021-04-08T08:18:59.311Z] Removing intermediate container 762711c2245d [2021-04-08T08:18:59.311Z] ---> 8dfde4749adc [2021-04-08T08:18:59.311Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-08T08:18:59.311Z] ---> Running in 6929a91d9d59 [2021-04-08T08:18:59.573Z] Removing intermediate container 6929a91d9d59 [2021-04-08T08:18:59.573Z] ---> 23878b6e9447 [2021-04-08T08:18:59.573Z] Step 21/23 : LABEL arch=amd64 [2021-04-08T08:18:59.573Z] ---> Running in 9d2e1d6759ae [2021-04-08T08:18:59.573Z] Removing intermediate container 9d2e1d6759ae [2021-04-08T08:18:59.573Z] ---> 8149f53677c8 [2021-04-08T08:18:59.573Z] Step 22/23 : LABEL git_sha=229ed817099d8650948204a1cc16d7e092cf3239 [2021-04-08T08:18:59.835Z] ---> Running in 65edb2197cbe [2021-04-08T08:18:59.835Z] Removing intermediate container 65edb2197cbe [2021-04-08T08:18:59.835Z] ---> 7442b6b53610 [2021-04-08T08:18:59.835Z] Step 23/23 : LABEL version=0.0.0 [2021-04-08T08:19:00.097Z] ---> Running in 6388c9cf3fe6 [2021-04-08T08:19:00.097Z] Removing intermediate container 6388c9cf3fe6 [2021-04-08T08:19:00.097Z] ---> 733bfae4398e [2021-04-08T08:19:00.097Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-08T08:19:00.097Z] Successfully built 733bfae4398e [2021-04-08T08:19:00.097Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:19:01.388Z] ---> job-cost.sh [2021-04-08T08:19:01.388Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pGIT [2021-04-08T08:19:16.508Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-08T08:19:43.148Z] lf-activate-venv(): INFO: Adding /tmp/venv-pGIT/bin to PATH [2021-04-08T08:19:43.148Z] INFO: No Stack... [2021-04-08T08:19:44.100Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-08T08:19:44.676Z] INFO: Archiving Costs [Pipeline] sh [2021-04-08T08:19:44.986Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-08T08:19:44.986Z] + cut -d, -f6 [Pipeline] lock [2021-04-08T08:19:45.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-868-2-stack-cost] [2021-04-08T08:19:45.129Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-868-2-stack-cost] did not exist. Created. [2021-04-08T08:19:45.130Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-868-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-08T08:19:45.553Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-08T08:19:45.723Z] Stashed 1 file(s) [Pipeline] } [2021-04-08T08:19:45.734Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-868-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-08T08:19:47.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-08T08:19:47.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-08T08:19:47.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-08T08:19:47.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-08T08:19:47.193Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-08T08:19:49.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.156s coverage: 28.1% of statements [2021-04-08T08:19:50.135Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.228s coverage: 78.9% of statements [2021-04-08T08:19:50.135Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.182s coverage: 7.8% of statements [2021-04-08T08:19:50.135Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-08T08:19:50.135Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-08T08:19:50.135Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-08T08:19:52.131Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.254s coverage: 32.5% of statements [2021-04-08T08:19:52.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-08T08:19:52.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-08T08:19:52.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-08T08:19:55.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.295s coverage: 57.1% of statements [2021-04-08T08:19:55.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.242s coverage: 6.6% of statements [2021-04-08T08:19:56.152Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.147s coverage: 5.0% of statements [2021-04-08T08:19:56.152Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-08T08:19:56.747Z] GO111MODULE=on go vet ./... [2021-04-08T08:20:43.743Z] gofmt -l . [2021-04-08T08:20:43.743Z] [ "`gofmt -l .`" = "" ] [2021-04-08T08:20:43.743Z] ./bin/test-attribution-txt.sh [2021-04-08T08:20:43.743Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-08T08:20:43.766Z] $ docker stop --time=1 5c4322d3b8732343169d155bc5cb217f5b6aa89f352fdc2843617dcd09a6285f [2021-04-08T08:20:46.066Z] $ docker rm -f 5c4322d3b8732343169d155bc5cb217f5b6aa89f352fdc2843617dcd09a6285f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-08T08:20:47.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-08T08:20:47.301Z] Warning: overwriting stash ‘coverage-report’ [2021-04-08T08:20:48.184Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-08T08:20:48.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-08T08:20:49.260Z] + ls -al . [2021-04-08T08:20:49.260Z] total 224 [2021-04-08T08:20:49.260Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 08:20 . [2021-04-08T08:20:49.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 08:16 .. [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 08:17 .dockerignore [2021-04-08T08:20:49.260Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 08:17 .git [2021-04-08T08:20:49.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 08:17 .github [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 8 08:17 .gitignore [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 8 08:17 Dockerfile.build [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 8 08:17 Jenkinsfile [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 08:17 LICENSE [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 8 08:17 Makefile [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 8 08:17 README.md [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 8 08:17 RELEASE-NOTES.txt [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 08:13 VERSION [2021-04-08T08:20:49.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 08:17 bin [2021-04-08T08:20:49.260Z] -rw-r--r-- 1 jenkins jenkins 99750 Apr 8 08:19 coverage.out [2021-04-08T08:20:49.260Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 08:17 example [2021-04-08T08:20:49.260Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 8 08:20 go.mod [2021-04-08T08:20:49.260Z] -rw-r--r-- 1 jenkins jenkins 20726 Apr 8 08:20 go.sum [2021-04-08T08:20:49.260Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 8 08:17 internal [2021-04-08T08:20:49.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 08:17 openapi [2021-04-08T08:20:49.260Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 08:17 pkg [2021-04-08T08:20:49.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 08:17 snap [2021-04-08T08:20:49.260Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 08:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:20:49.696Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=229ed817099d8650948204a1cc16d7e092cf3239 --label arch=arm64 --label version=0.0.0 . [2021-04-08T08:20:50.314Z] Sending build context to Docker daemon 2.509MB [2021-04-08T08:20:50.314Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-08T08:20:50.314Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-08T08:20:50.314Z] ---> d6db308b9f2f [2021-04-08T08:20:50.314Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-08T08:20:50.622Z] ---> Running in d5fc19f5eecd [2021-04-08T08:20:50.915Z] Removing intermediate container d5fc19f5eecd [2021-04-08T08:20:50.915Z] ---> 3fa37e582c05 [2021-04-08T08:20:50.915Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-08T08:20:51.193Z] ---> Running in 7115455e8a65 [2021-04-08T08:20:51.468Z] Removing intermediate container 7115455e8a65 [2021-04-08T08:20:51.468Z] ---> 5ad457f11214 [2021-04-08T08:20:51.468Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-08T08:20:51.742Z] ---> Running in f499f1770769 [2021-04-08T08:20:53.718Z] Removing intermediate container f499f1770769 [2021-04-08T08:20:53.718Z] ---> c66e651ab6c9 [2021-04-08T08:20:53.718Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-08T08:20:53.994Z] ---> Running in 687aff7c43eb [2021-04-08T08:20:54.975Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-08T08:20:55.949Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-08T08:20:56.545Z] OK: 144 MiB in 45 packages [2021-04-08T08:20:57.529Z] Removing intermediate container 687aff7c43eb [2021-04-08T08:20:57.529Z] ---> 86a2f85faef9 [2021-04-08T08:20:57.529Z] Step 7/23 : COPY . . [2021-04-08T08:20:58.964Z] ---> 50c36108d603 [2021-04-08T08:20:58.964Z] Step 8/23 : RUN go mod download [2021-04-08T08:20:58.964Z] ---> Running in d2da50df2a1a [2021-04-08T08:21:01.581Z] Removing intermediate container d2da50df2a1a [2021-04-08T08:21:01.581Z] ---> 7043ac190a76 [2021-04-08T08:21:01.581Z] Step 9/23 : RUN make build [2021-04-08T08:21:01.581Z] ---> Running in ee60d29f90b6 [2021-04-08T08:21:02.562Z] 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-08T08:21:34.953Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-08T08:21:36.939Z] Removing intermediate container ee60d29f90b6 [2021-04-08T08:21:36.939Z] ---> 0ab53f831494 [2021-04-08T08:21:36.939Z] Step 10/23 : FROM alpine:3.12 [2021-04-08T08:21:37.533Z] 3.12: Pulling from library/alpine [2021-04-08T08:21:37.533Z] 9a219e8acc52: Pulling fs layer [2021-04-08T08:21:37.805Z] 9a219e8acc52: Verifying Checksum [2021-04-08T08:21:38.403Z] 9a219e8acc52: Pull complete [2021-04-08T08:21:38.403Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-08T08:21:38.403Z] Status: Downloaded newer image for alpine:3.12 [2021-04-08T08:21:38.403Z] ---> d75e27dfc0a0 [2021-04-08T08:21:38.403Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-08T08:21:38.677Z] ---> Running in 9edd1b989508 [2021-04-08T08:21:38.951Z] Removing intermediate container 9edd1b989508 [2021-04-08T08:21:38.951Z] ---> 741909273688 [2021-04-08T08:21:38.951Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-08T08:21:39.237Z] ---> Running in 806f803f8ebf [2021-04-08T08:21:41.222Z] Removing intermediate container 806f803f8ebf [2021-04-08T08:21:41.222Z] ---> a218b80e7c19 [2021-04-08T08:21:41.222Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-08T08:21:41.222Z] ---> Running in ba5998ef4a0b [2021-04-08T08:21:42.199Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-08T08:21:43.169Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-08T08:21:43.760Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-08T08:21:43.760Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-08T08:21:43.760Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-08T08:21:44.030Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-08T08:21:44.300Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-08T08:21:44.300Z] Executing busybox-1.31.1-r20.trigger [2021-04-08T08:21:44.300Z] OK: 8 MiB in 19 packages [2021-04-08T08:21:45.275Z] Removing intermediate container ba5998ef4a0b [2021-04-08T08:21:45.275Z] ---> 77ff3964b1cc [2021-04-08T08:21:45.275Z] Step 14/23 : WORKDIR / [2021-04-08T08:21:45.548Z] ---> Running in 70bc5fba019a [2021-04-08T08:21:46.146Z] Removing intermediate container 70bc5fba019a [2021-04-08T08:21:46.146Z] ---> 6775c07c5bdb [2021-04-08T08:21:46.146Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-08T08:21:46.737Z] ---> 9eb77d5dac8f [2021-04-08T08:21:46.737Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-08T08:21:47.711Z] ---> adc88b7c6fb0 [2021-04-08T08:21:47.711Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-08T08:21:48.684Z] ---> 4b34e3ec4289 [2021-04-08T08:21:48.684Z] Step 18/23 : EXPOSE 49990 [2021-04-08T08:21:48.684Z] ---> Running in a0645fa6a6c1 [2021-04-08T08:21:48.956Z] Removing intermediate container a0645fa6a6c1 [2021-04-08T08:21:48.956Z] ---> e9587bfa809c [2021-04-08T08:21:48.956Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-08T08:21:49.227Z] ---> Running in d6e8b3eb0ea1 [2021-04-08T08:21:49.501Z] Removing intermediate container d6e8b3eb0ea1 [2021-04-08T08:21:49.501Z] ---> 3bacfaf9100e [2021-04-08T08:21:49.501Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-08T08:21:49.775Z] ---> Running in a593e4eb9677 [2021-04-08T08:21:50.369Z] Removing intermediate container a593e4eb9677 [2021-04-08T08:21:50.369Z] ---> 12e3d0e4f82b [2021-04-08T08:21:50.369Z] Step 21/23 : LABEL arch=arm64 [2021-04-08T08:21:50.369Z] ---> Running in a446fe19a065 [2021-04-08T08:21:50.645Z] Removing intermediate container a446fe19a065 [2021-04-08T08:21:50.645Z] ---> 89831303749d [2021-04-08T08:21:50.645Z] Step 22/23 : LABEL git_sha=229ed817099d8650948204a1cc16d7e092cf3239 [2021-04-08T08:21:50.918Z] ---> Running in a1b2c7635e73 [2021-04-08T08:21:51.188Z] Removing intermediate container a1b2c7635e73 [2021-04-08T08:21:51.188Z] ---> 6ee114ae36ce [2021-04-08T08:21:51.188Z] Step 23/23 : LABEL version=0.0.0 [2021-04-08T08:21:51.462Z] ---> Running in 7954f58e577c [2021-04-08T08:21:52.056Z] Removing intermediate container 7954f58e577c [2021-04-08T08:21:52.056Z] ---> 04babcc137ef [2021-04-08T08:21:52.056Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-08T08:21:52.056Z] Successfully built 04babcc137ef [2021-04-08T08:21:52.056Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:21:52.945Z] ---> job-cost.sh [2021-04-08T08:21:52.945Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GFwz [2021-04-08T08:22:31.902Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-08T08:24:08.644Z] lf-activate-venv(): INFO: Adding /tmp/venv-GFwz/bin to PATH [2021-04-08T08:24:08.644Z] INFO: No Stack... [2021-04-08T08:24:08.644Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-08T08:24:08.644Z] INFO: Archiving Costs [Pipeline] sh [2021-04-08T08:24:08.982Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-08T08:24:08.983Z] + cut -d, -f6 [Pipeline] lock [2021-04-08T08:24:09.132Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-868-2-stack-cost] [2021-04-08T08:24:09.145Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-868-2-stack-cost] did not exist. Created. [2021-04-08T08:24:09.145Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-868-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-08T08:24:09.587Z] /w/workspace/device-sdk-go/2@tmp/durable-73599239/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-73599239/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-08T08:24:09.936Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-08T08:24:09.958Z] Warning: overwriting stash ‘stack-cost’ [2021-04-08T08:24:10.120Z] Stashed 1 file(s) [Pipeline] } [2021-04-08T08:24:10.133Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-868-2-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-08T08:24:11.316Z] provisioning config files... [2021-04-08T08:24:11.326Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp/config973254545729269118tmp [Pipeline] { [Pipeline] sh [2021-04-08T08:24:11.712Z] + set +x [2021-04-08T08:24:11.712Z] + curl -s https://codecov.io/bash [2021-04-08T08:24:11.712Z] + bash -s -- [2021-04-08T08:24:11.975Z] [2021-04-08T08:24:11.975Z] _____ _ [2021-04-08T08:24:11.975Z] / ____| | | [2021-04-08T08:24:11.975Z] | | ___ __| | ___ ___ _____ __ [2021-04-08T08:24:11.975Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-08T08:24:11.975Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-08T08:24:11.975Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-08T08:24:11.975Z] Bash-20210309-2b87ace [2021-04-08T08:24:11.975Z] [2021-04-08T08:24:11.975Z] [2021-04-08T08:24:11.975Z] ==> git version 2.24.3 found [2021-04-08T08:24:11.975Z] ==> 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-08T08:24:11.975Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-08T08:24:11.975Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-08T08:24:11.975Z] ==> Jenkins CI detected. [2021-04-08T08:24:11.975Z] project root: . [2021-04-08T08:24:11.975Z] --> token set from env [2021-04-08T08:24:11.975Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-08T08:24:11.975Z] ==> Running gcov in . (disable via -X gcov) [2021-04-08T08:24:11.975Z] ==> Python coveragepy not found [2021-04-08T08:24:11.975Z] ==> Searching for coverage reports in: [2021-04-08T08:24:11.975Z] + . [2021-04-08T08:24:11.975Z] -> Found 1 reports [2021-04-08T08:24:11.975Z] ==> Detecting git/mercurial file structure [2021-04-08T08:24:11.975Z] ==> Reading reports [2021-04-08T08:24:11.975Z] + ./coverage.out bytes=99750 [2021-04-08T08:24:11.975Z] ==> Appending adjustments [2021-04-08T08:24:11.975Z] https://docs.codecov.io/docs/fixing-reports [2021-04-08T08:24:12.237Z] + Found adjustments [2021-04-08T08:24:12.237Z] ==> Gzipping contents [2021-04-08T08:24:12.237Z] 16K /tmp/codecov.D6Pi0D.gz [2021-04-08T08:24:12.237Z] ==> Uploading reports [2021-04-08T08:24:12.237Z] url: https://codecov.io [2021-04-08T08:24:12.237Z] query: branch=PR-868&commit=229ed817099d8650948204a1cc16d7e092cf3239&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-868%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=868&job=&cmd_args= [2021-04-08T08:24:12.237Z] -> Pinging Codecov [2021-04-08T08:24:12.237Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-868&commit=229ed817099d8650948204a1cc16d7e092cf3239&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-868%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=868&job=&cmd_args= [2021-04-08T08:24:12.813Z] -> Uploading to [2021-04-08T08:24:12.813Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-08/7E55EF52A471D76F132DFD9A03CDDE97/229ed817099d8650948204a1cc16d7e092cf3239/5b906dbc-989c-4d67-8fae-1fb93612baa7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210408T082412Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=50beecceda6223a83ce5405003ad7e0deb4162a27a5100f5b2d952f82434b1ea [2021-04-08T08:24:12.813Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-08T08:24:12.813Z] Dload Upload Total Spent Left Speed [2021-04-08T08:24:13.392Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13476 0 0 100 13476 0 25168 --:--:-- --:--:-- --:--:-- 25188 [2021-04-08T08:24:13.392Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/229ed817099d8650948204a1cc16d7e092cf3239 [Pipeline] } [2021-04-08T08:24:13.402Z] 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-08T08:24:15.634Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:24:16.202Z] ---> package-listing.sh [2021-04-08T08:24:16.202Z] ++ facter osfamily [2021-04-08T08:24:16.202Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-08T08:24:16.202Z] + OS_FAMILY=redhat [2021-04-08T08:24:16.202Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-868 [2021-04-08T08:24:16.202Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-08T08:24:16.202Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-08T08:24:16.202Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-08T08:24:16.202Z] + PACKAGES=/tmp/packages_start.txt [2021-04-08T08:24:16.202Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-868 ']' [2021-04-08T08:24:16.202Z] + PACKAGES=/tmp/packages_end.txt [2021-04-08T08:24:16.202Z] + case "${OS_FAMILY}" in [2021-04-08T08:24:16.202Z] + rpm -qa [2021-04-08T08:24:16.202Z] + sort [2021-04-08T08:24:21.531Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-08T08:24:21.531Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-08T08:24:21.531Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-08T08:24:21.531Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-868 ']' [2021-04-08T08:24:21.531Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-868/archives/ [2021-04-08T08:24:21.531Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-868/archives/ [Pipeline] echo [2021-04-08T08:24:21.546Z] 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-868/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-08T08:24:21.842Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:24:22.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-08T08:24:22.154Z] [2021-04-08T08:24:22.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-08T08:24:22.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-08T08:24:22.507Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-08T08:24:22.507Z] df20fa9351a1: Pulling fs layer [2021-04-08T08:24:22.507Z] 36b3adc4ff6f: Pulling fs layer [2021-04-08T08:24:22.507Z] 8ad3a11d3b57: Pulling fs layer [2021-04-08T08:24:22.507Z] 46f8f816bc3b: Pulling fs layer [2021-04-08T08:24:22.507Z] 93b61091891f: Pulling fs layer [2021-04-08T08:24:22.507Z] 93b9cdb0e59b: Pulling fs layer [2021-04-08T08:24:22.507Z] 5e14af77c1be: Pulling fs layer [2021-04-08T08:24:22.507Z] 01666e4c0597: Pulling fs layer [2021-04-08T08:24:22.507Z] aa168da1d23b: Pulling fs layer [2021-04-08T08:24:22.507Z] 46f8f816bc3b: Waiting [2021-04-08T08:24:22.507Z] 93b61091891f: Waiting [2021-04-08T08:24:22.507Z] 93b9cdb0e59b: Waiting [2021-04-08T08:24:22.507Z] 5e14af77c1be: Waiting [2021-04-08T08:24:22.507Z] 01666e4c0597: Waiting [2021-04-08T08:24:22.507Z] aa168da1d23b: Waiting [2021-04-08T08:24:22.507Z] 36b3adc4ff6f: Download complete [2021-04-08T08:24:22.507Z] 46f8f816bc3b: Verifying Checksum [2021-04-08T08:24:22.507Z] 46f8f816bc3b: Download complete [2021-04-08T08:24:22.771Z] df20fa9351a1: Verifying Checksum [2021-04-08T08:24:22.771Z] df20fa9351a1: Download complete [2021-04-08T08:24:22.771Z] 93b9cdb0e59b: Verifying Checksum [2021-04-08T08:24:22.771Z] 93b9cdb0e59b: Download complete [2021-04-08T08:24:22.771Z] 93b61091891f: Verifying Checksum [2021-04-08T08:24:22.771Z] 93b61091891f: Download complete [2021-04-08T08:24:22.771Z] 01666e4c0597: Verifying Checksum [2021-04-08T08:24:22.771Z] 01666e4c0597: Download complete [2021-04-08T08:24:22.771Z] 5e14af77c1be: Verifying Checksum [2021-04-08T08:24:22.771Z] 5e14af77c1be: Download complete [2021-04-08T08:24:23.034Z] df20fa9351a1: Pull complete [2021-04-08T08:24:23.299Z] 8ad3a11d3b57: Verifying Checksum [2021-04-08T08:24:23.299Z] 8ad3a11d3b57: Download complete [2021-04-08T08:24:23.299Z] 36b3adc4ff6f: Pull complete [2021-04-08T08:24:24.264Z] 8ad3a11d3b57: Pull complete [2021-04-08T08:24:24.264Z] 46f8f816bc3b: Pull complete [2021-04-08T08:24:25.677Z] aa168da1d23b: Verifying Checksum [2021-04-08T08:24:25.677Z] aa168da1d23b: Download complete [2021-04-08T08:24:25.677Z] 93b61091891f: Pull complete [2021-04-08T08:24:25.677Z] 93b9cdb0e59b: Pull complete [2021-04-08T08:24:25.940Z] 5e14af77c1be: Pull complete [2021-04-08T08:24:26.206Z] 01666e4c0597: Pull complete [2021-04-08T08:24:32.843Z] aa168da1d23b: Pull complete [2021-04-08T08:24:32.843Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-08T08:24:32.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-08T08:24:32.843Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-08T08:24:33.066Z] prd-centos7-docker-4c-2g-33278 does not seem to be running inside a container [2021-04-08T08:24:33.116Z] $ 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-868/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-868 -v /w/workspace/dgexfoundry_device-sdk-go_PR-868:/w/workspace/dgexfoundry_device-sdk-go_PR-868:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-08T08:24:36.480Z] $ docker top 215f2aef49948b74b085b2ab7a4930b4081b966279641d46df13cbdc08179594 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-08T08:24:37.006Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-08T08:24:37.308Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-08T08:24:37.611Z] + ls /var/log/sa-host [2021-04-08T08:24:37.611Z] + sadf -c /var/log/sa-host/sa08 [2021-04-08T08:24:37.611Z] file_magic: OK [2021-04-08T08:24:37.611Z] HZ: Using current value: 100 [2021-04-08T08:24:37.611Z] file_header: OK [2021-04-08T08:24:37.611Z] 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-08T08:24:37.611Z] Statistics: [2021-04-08T08:24:37.611Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-08T08:24:37.611Z] File successfully converted to sysstat format version 12.2.1 [2021-04-08T08:24:37.611Z] + sadf -c /var/log/sa-host/sa23 [2021-04-08T08:24:37.611Z] file_magic: OK [2021-04-08T08:24:37.611Z] HZ: Using current value: 100 [2021-04-08T08:24:37.611Z] file_header: OK [2021-04-08T08:24:37.611Z] 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-08T08:24:37.611Z] Statistics: [2021-04-08T08:24:37.611Z] Hnuu...uuuununununu... [2021-04-08T08:24:37.611Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-08T08:24:37.825Z] provisioning config files... [2021-04-08T08:24:37.841Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-868@tmp/config2300201907067471060tmp [Pipeline] { [Pipeline] echo [2021-04-08T08:24:37.927Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:24:38.227Z] ---> create-netrc.sh [Pipeline] } [2021-04-08T08:24:38.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-08T08:24:38.322Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:24:38.621Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-08T08:24:38.632Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:24:38.933Z] ---> sudo-logs.sh [2021-04-08T08:24:38.933Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-08T08:24:38.998Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:24:39.297Z] ---> job-cost.sh [2021-04-08T08:24:39.297Z] lf-activate-venv: SKIPPING [2021-04-08T08:24:39.297Z] DEBUG: total: 0.20999999344348907 [2021-04-08T08:24:39.297Z] INFO: Retrieving Stack Cost... [2021-04-08T08:24:40.246Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-08T08:24:40.821Z] INFO: Archiving Costs [Pipeline] echo [2021-04-08T08:24:40.837Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-08T08:24:41.139Z] ---> logs-deploy.sh [2021-04-08T08:24:41.139Z] lf-activate-venv: SKIPPING [2021-04-08T08:24:41.139Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-868/2 [2021-04-08T08:24:41.139Z] INFO: archiving workspace using pattern(s): [2021-04-08T08:24:43.066Z] Archives upload complete. [2021-04-08T08:24:43.066Z] INFO: archiving logs to Nexus