Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+94ba728ffe67abe485aa5fd1bea1962d855b8f3c (925dd07d720016b3934a0c99cf4fb967555fcc35) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-147 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing c7245e1f238ffc000a074cf31df94e3033b17301 Checking out Revision c7245e1f238ffc000a074cf31df94e3033b17301 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7245e1f238ffc000a074cf31df94e3033b17301 # timeout=10 Commit message: "Merge commit '94ba728ffe67abe485aa5fd1bea1962d855b8f3c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-14T22:42:43.278Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-14T22:42:43.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-14T22:42:43.419Z] ========================================================= [2021-04-14T22:42:43.419Z] EdgeX Global Pipelines Version Info [2021-04-14T22:42:43.419Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6abee6880ef9cc85b5e1bf8d6d780bdf2b3b9757 # timeout=10 [2021-04-14T22:42:46.874Z] ------------------- [2021-04-14T22:42:46.874Z] stable info: [2021-04-14T22:42:46.874Z] ------------------- [2021-04-14T22:42:46.874Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-14T22:42:46.874Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-14T22:42:46.874Z] Message: update stable to v1.0.186 [2021-04-14T22:42:49.090Z] ------------------- [2021-04-14T22:42:49.090Z] experimental info: [2021-04-14T22:42:49.090Z] ------------------- [2021-04-14T22:42:49.090Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-14T22:42:49.090Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-14T22:42:49.090Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-14T22:42:49.289Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-14T22:42:49.315Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-14T22:42:49.352Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-14T22:42:49.375Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-14T22:42:49.398Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-14T22:42:49.421Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-14T22:42:49.446Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-14T22:42:49.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-14T22:42:49.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-14T22:42:49.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-14T22:42:49.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-14T22:42:49.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-04-14T22:42:49.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-14T22:42:49.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-14T22:42:49.692Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-14T22:42:49.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T22:42:49.745Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T22:42:49.769Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-14T22:42:49.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-14T22:42:49.830Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-14T22:42:49.868Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-14T22:42:49.891Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-14T22:42:49.912Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-14T22:42:49.948Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-14T22:42:49.971Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-14T22:42:49.993Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-14T22:42:50.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-04-14T22:42:50.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-04-14T22:42:50.097Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-04-14T22:42:50.120Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7245e1f238ffc000a074cf31df94e3033b17301 [Pipeline] echo [2021-04-14T22:42:50.149Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7245e1 [Pipeline] echo [2021-04-14T22:42:50.171Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T22:42:50.277Z] provisioning config files... [2021-04-14T22:42:50.361Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config1021580198619927249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:42:50.970Z] ---> docker-login.sh [2021-04-14T22:42:50.970Z] nexus3.edgexfoundry.org:10001 [2021-04-14T22:42:52.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:42:52.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:42:52.669Z] Configure a credential helper to remove this warning. See [2021-04-14T22:42:52.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:42:52.669Z] [2021-04-14T22:42:52.669Z] Login Succeeded [2021-04-14T22:42:52.669Z] nexus3.edgexfoundry.org:10002 [2021-04-14T22:42:53.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:42:53.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:42:53.342Z] Configure a credential helper to remove this warning. See [2021-04-14T22:42:53.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:42:53.342Z] [2021-04-14T22:42:53.342Z] Login Succeeded [2021-04-14T22:42:53.342Z] nexus3.edgexfoundry.org:10003 [2021-04-14T22:42:53.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:42:53.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:42:53.658Z] Configure a credential helper to remove this warning. See [2021-04-14T22:42:53.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:42:53.658Z] [2021-04-14T22:42:53.658Z] Login Succeeded [2021-04-14T22:42:53.658Z] nexus3.edgexfoundry.org:10004 [2021-04-14T22:42:54.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:42:54.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:42:54.614Z] Configure a credential helper to remove this warning. See [2021-04-14T22:42:54.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:42:54.614Z] [2021-04-14T22:42:54.614Z] Login Succeeded [2021-04-14T22:42:54.614Z] docker.io [2021-04-14T22:42:55.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:42:55.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:42:55.498Z] Configure a credential helper to remove this warning. See [2021-04-14T22:42:55.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:42:55.498Z] [2021-04-14T22:42:55.498Z] Login Succeeded [2021-04-14T22:42:55.498Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T22:42:55.584Z] 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-14T22:42:56.197Z] + git log --format=format:%s -1 c7245e1f238ffc000a074cf31df94e3033b17301 [Pipeline] echo [2021-04-14T22:42:56.469Z] GIT_COMMIT: c7245e1f238ffc000a074cf31df94e3033b17301, Commit Message: Merge commit '94ba728ffe67abe485aa5fd1bea1962d855b8f3c' into HEAD [Pipeline] echo [2021-04-14T22:42:56.482Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:42:57.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T22:42:57.846Z] [2021-04-14T22:42:57.846Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:42:58.260Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T22:42:58.260Z] latest: Pulling from edgex-devops/git-semver [2021-04-14T22:42:58.260Z] 31603596830f: Pulling fs layer [2021-04-14T22:42:58.260Z] 2a8b12db71e7: Pulling fs layer [2021-04-14T22:42:58.260Z] 6ca5941a6612: Pulling fs layer [2021-04-14T22:42:58.260Z] ecc8261a40a4: Pulling fs layer [2021-04-14T22:42:58.260Z] ecc8261a40a4: Waiting [2021-04-14T22:42:58.610Z] 2a8b12db71e7: Verifying Checksum [2021-04-14T22:42:58.610Z] 2a8b12db71e7: Download complete [2021-04-14T22:42:58.927Z] 31603596830f: Download complete [2021-04-14T22:42:59.805Z] ecc8261a40a4: Verifying Checksum [2021-04-14T22:42:59.805Z] ecc8261a40a4: Download complete [2021-04-14T22:43:00.081Z] 6ca5941a6612: Verifying Checksum [2021-04-14T22:43:00.081Z] 6ca5941a6612: Download complete [2021-04-14T22:43:00.717Z] 31603596830f: Pull complete [2021-04-14T22:43:00.717Z] 2a8b12db71e7: Pull complete [2021-04-14T22:43:03.131Z] 6ca5941a6612: Pull complete [2021-04-14T22:43:04.144Z] ecc8261a40a4: Pull complete [2021-04-14T22:43:04.144Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-14T22:43:04.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-14T22:43:04.144Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-14T22:43:04.465Z] prd-centos7-docker-4c-2g-147 does not seem to be running inside a container [2021-04-14T22:43:04.763Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-14T22:43:07.272Z] $ docker top 4b8dda8926d0c5cde58b1762b32b27ef953eba65737c05107d14e987eb0047da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-14T22:43:07.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T22:43:07.614Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T22:43:08.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T22:43:08.058Z] $ docker exec 4b8dda8926d0c5cde58b1762b32b27ef953eba65737c05107d14e987eb0047da ssh-agent [2021-04-14T22:43:08.654Z] SSH_AUTH_SOCK=/tmp/ssh-BeW9nSyq0iap/agent.11 [2021-04-14T22:43:08.654Z] SSH_AGENT_PID=16 [2021-04-14T22:43:08.683Z] Running ssh-add (command line suppressed) [2021-04-14T22:43:09.025Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4887677766469185514.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4887677766469185514.key) [2021-04-14T22:43:09.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T22:43:09.885Z] + git tag --points-at HEAD [Pipeline] } [2021-04-14T22:43:09.938Z] $ docker exec --env ******** --env ******** 4b8dda8926d0c5cde58b1762b32b27ef953eba65737c05107d14e987eb0047da ssh-agent -k [2021-04-14T22:43:10.708Z] unset SSH_AUTH_SOCK; [2021-04-14T22:43:10.709Z] unset SSH_AGENT_PID; [2021-04-14T22:43:10.709Z] echo Agent pid 16 killed; [2021-04-14T22:43:10.918Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-14T22:43:10.959Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-14T22:43:10.959Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-14T22:43:11.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-14T22:43:11.506Z] $ docker exec 4b8dda8926d0c5cde58b1762b32b27ef953eba65737c05107d14e987eb0047da ssh-agent [2021-04-14T22:43:11.802Z] SSH_AUTH_SOCK=/tmp/ssh-ptXaGBJXsoRh/agent.44 [2021-04-14T22:43:11.802Z] SSH_AGENT_PID=50 [2021-04-14T22:43:11.815Z] Running ssh-add (command line suppressed) [2021-04-14T22:43:12.016Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1181390130646367094.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1181390130646367094.key) [2021-04-14T22:43:12.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-14T22:43:12.516Z] + git semver init [2021-04-14T22:43:12.516Z] # -> Open(): unable to determine branch for HEAD [2021-04-14T22:43:12.516Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-04-14T22:43:12.516Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-14T22:43:12.516Z] # $SEMVER_REMOTE_NAME = origin [2021-04-14T22:43:12.516Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-14T22:43:12.516Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-14T22:43:12.516Z] # $SEMVER_BRANCH = PR-725 [2021-04-14T22:43:12.516Z] # $SEMVER_TEMP = /tmp/semver-322591117 [2021-04-14T22:43:12.516Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-14T22:43:14.041Z] # '/tmp/semver-322591117' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-04-14T22:43:14.042Z] # -> Force: false [2021-04-14T22:43:14.042Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-04-14T22:43:14.082Z] $ docker exec --env ******** --env ******** 4b8dda8926d0c5cde58b1762b32b27ef953eba65737c05107d14e987eb0047da ssh-agent -k [2021-04-14T22:43:14.586Z] unset SSH_AUTH_SOCK; [2021-04-14T22:43:14.586Z] unset SSH_AGENT_PID; [2021-04-14T22:43:14.586Z] echo Agent pid 50 killed; [2021-04-14T22:43:14.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-14T22:43:15.555Z] + git semver [Pipeline] } [2021-04-14T22:43:15.586Z] $ docker stop --time=1 4b8dda8926d0c5cde58b1762b32b27ef953eba65737c05107d14e987eb0047da [2021-04-14T22:43:17.349Z] $ docker rm -f 4b8dda8926d0c5cde58b1762b32b27ef953eba65737c05107d14e987eb0047da [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T22:43:18.189Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-14T22:43:19.195Z] Stashed 1 file(s) [Pipeline] echo [2021-04-14T22:43:19.198Z] [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-14T22:43:34.368Z] Still waiting to schedule task [2021-04-14T22:43:34.368Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-14T22:43:34.370Z] Still waiting to schedule task [2021-04-14T22:43:34.370Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-14T22:45:19.105Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-148 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-14T22:45:19.122Z] Running in /w/workspace/device-sdk-go/34 [Pipeline] { [Pipeline] checkout [2021-04-14T22:45:24.538Z] using credential edgex-jenkins-ssh [2021-04-14T22:45:24.557Z] Cloning the remote Git repository [2021-04-14T22:45:24.664Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T22:45:25.002Z] > git init /w/workspace/device-sdk-go/34 # timeout=10 [2021-04-14T22:45:25.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T22:45:25.086Z] > git --version # timeout=10 [2021-04-14T22:45:25.113Z] > git --version # 'git version 2.17.1' [2021-04-14T22:45:25.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T22:45:25.169Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T22:45:26.504Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T22:45:26.525Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T22:45:26.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T22:45:26.590Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T22:45:26.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T22:45:26.602Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-14T22:45:27.282Z] Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-14T22:45:27.690Z] Merge succeeded, producing cabb5b00245d41cf65f7548205953e0a6ca6cef6 [2021-04-14T22:45:27.691Z] Checking out Revision cabb5b00245d41cf65f7548205953e0a6ca6cef6 (PR-725) [2021-04-14T22:45:27.310Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T22:45:27.324Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-14T22:45:27.434Z] > git remote # timeout=10 [2021-04-14T22:45:27.449Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T22:45:27.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T22:45:27.485Z] > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 [2021-04-14T22:45:27.680Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T22:45:27.706Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T22:45:27.722Z] > git checkout -f cabb5b00245d41cf65f7548205953e0a6ca6cef6 # timeout=10 [2021-04-14T22:45:31.932Z] Commit message: "Merge commit '94ba728ffe67abe485aa5fd1bea1962d855b8f3c' into HEAD" [2021-04-14T22:45:31.960Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T22:45:31.948Z] > git rev-list --no-walk 6abee6880ef9cc85b5e1bf8d6d780bdf2b3b9757 # timeout=10 [2021-04-14T22:45:33.462Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-14T22:45:33.867Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T22:45:34.209Z] + sudo+ service dockertrue restart [2021-04-14T22:45:34.210Z] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T22:45:36.869Z] provisioning config files... [2021-04-14T22:45:36.909Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/34@tmp/config6884339887041154771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:45:37.285Z] ---> docker-login.sh [2021-04-14T22:45:37.286Z] nexus3.edgexfoundry.org:10001 [2021-04-14T22:45:38.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:45:38.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:45:38.544Z] Configure a credential helper to remove this warning. See [2021-04-14T22:45:38.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:45:38.544Z] [2021-04-14T22:45:38.544Z] Login Succeeded [2021-04-14T22:45:38.544Z] nexus3.edgexfoundry.org:10002 [2021-04-14T22:45:38.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:45:39.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:45:39.091Z] Configure a credential helper to remove this warning. See [2021-04-14T22:45:39.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:45:39.091Z] [2021-04-14T22:45:39.091Z] Login Succeeded [2021-04-14T22:45:39.091Z] nexus3.edgexfoundry.org:10003 [2021-04-14T22:45:39.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:45:39.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:45:39.636Z] Configure a credential helper to remove this warning. See [2021-04-14T22:45:39.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:45:39.636Z] [2021-04-14T22:45:39.636Z] Login Succeeded [2021-04-14T22:45:39.636Z] nexus3.edgexfoundry.org:10004 [2021-04-14T22:45:39.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:45:40.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:45:40.183Z] Configure a credential helper to remove this warning. See [2021-04-14T22:45:40.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:45:40.183Z] [2021-04-14T22:45:40.183Z] Login Succeeded [2021-04-14T22:45:40.183Z] docker.io [2021-04-14T22:45:40.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:45:41.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:45:41.051Z] Configure a credential helper to remove this warning. See [2021-04-14T22:45:41.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:45:41.051Z] [2021-04-14T22:45:41.051Z] Login Succeeded [2021-04-14T22:45:41.051Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T22:45:41.070Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-14T22:45:41.383Z] ========================================================= [2021-04-14T22:45:41.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-14T22:45:41.384Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:45:41.731Z] + 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-14T22:45:42.014Z] Sending build context to Docker daemon 2.41MB [2021-04-14T22:45:42.292Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T22:45:42.292Z] Step 2/8 : FROM ${BASE} [2021-04-14T22:45:42.292Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-14T22:45:42.292Z] 5f621e34cdf4: Pulling fs layer [2021-04-14T22:45:42.292Z] a4357932f1b6: Pulling fs layer [2021-04-14T22:45:42.292Z] 18c013af1878: Pulling fs layer [2021-04-14T22:45:42.292Z] 00ac8860ef70: Pulling fs layer [2021-04-14T22:45:42.292Z] 63d7cb157983: Pulling fs layer [2021-04-14T22:45:42.292Z] b116817d02f9: Pulling fs layer [2021-04-14T22:45:42.292Z] 745a02a5169b: Pulling fs layer [2021-04-14T22:45:42.292Z] 00ac8860ef70: Waiting [2021-04-14T22:45:42.292Z] 63d7cb157983: Waiting [2021-04-14T22:45:42.292Z] b116817d02f9: Waiting [2021-04-14T22:45:42.292Z] 745a02a5169b: Waiting [2021-04-14T22:45:42.292Z] 18c013af1878: Verifying Checksum [2021-04-14T22:45:42.292Z] 18c013af1878: Download complete [2021-04-14T22:45:42.292Z] a4357932f1b6: Verifying Checksum [2021-04-14T22:45:42.292Z] a4357932f1b6: Download complete [2021-04-14T22:45:42.292Z] 63d7cb157983: Verifying Checksum [2021-04-14T22:45:42.292Z] 63d7cb157983: Download complete [2021-04-14T22:45:42.292Z] b116817d02f9: Verifying Checksum [2021-04-14T22:45:42.292Z] b116817d02f9: Download complete [2021-04-14T22:45:42.292Z] 5f621e34cdf4: Verifying Checksum [2021-04-14T22:45:42.292Z] 5f621e34cdf4: Download complete [2021-04-14T22:45:43.278Z] 5f621e34cdf4: Pull complete [2021-04-14T22:45:43.562Z] a4357932f1b6: Pull complete [2021-04-14T22:45:44.161Z] 18c013af1878: Pull complete [2021-04-14T22:45:44.441Z] 745a02a5169b: Verifying Checksum [2021-04-14T22:45:44.441Z] 745a02a5169b: Download complete [2021-04-14T22:45:45.870Z] 00ac8860ef70: Verifying Checksum [2021-04-14T22:45:45.870Z] 00ac8860ef70: Download complete [2021-04-14T22:45:54.995Z] Running on prd-centos7-docker-4c-2g-149 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-14T22:45:55.011Z] Running in /w/workspace/device-sdk-go/34 [Pipeline] { [Pipeline] checkout [2021-04-14T22:45:57.668Z] using credential edgex-jenkins-ssh [2021-04-14T22:45:57.683Z] Cloning the remote Git repository [2021-04-14T22:45:58.279Z] 00ac8860ef70: Pull complete [2021-04-14T22:45:58.279Z] 63d7cb157983: Pull complete [2021-04-14T22:45:58.279Z] b116817d02f9: Pull complete [2021-04-14T22:45:57.594Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T22:45:57.665Z] > git init /w/workspace/device-sdk-go/34 # timeout=10 [2021-04-14T22:45:57.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T22:45:57.739Z] > git --version # timeout=10 [2021-04-14T22:45:57.747Z] > git --version # 'git version 2.24.3' [2021-04-14T22:45:57.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T22:45:57.800Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T22:45:59.152Z] Merging remotes/origin/master commit 94ba728ffe67abe485aa5fd1bea1962d855b8f3c into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-14T22:45:59.383Z] Merge succeeded, producing a541efcb0e924abb300870cd31e7b0e46af52c2a [2021-04-14T22:45:59.383Z] Checking out Revision a541efcb0e924abb300870cd31e7b0e46af52c2a (PR-725) [2021-04-14T22:45:58.611Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T22:45:58.620Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-14T22:45:58.634Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-14T22:45:58.651Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-14T22:45:58.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T22:45:58.657Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-14T22:45:59.160Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T22:45:59.168Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-14T22:45:59.244Z] > git remote # timeout=10 [2021-04-14T22:45:59.250Z] > git config --get remote.origin.url # timeout=10 [2021-04-14T22:45:59.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-14T22:45:59.260Z] > git merge 94ba728ffe67abe485aa5fd1bea1962d855b8f3c # timeout=10 [2021-04-14T22:45:59.377Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-14T22:45:59.387Z] > git config core.sparsecheckout # timeout=10 [2021-04-14T22:45:59.413Z] > git checkout -f a541efcb0e924abb300870cd31e7b0e46af52c2a # timeout=10 [2021-04-14T22:46:00.901Z] 745a02a5169b: Pull complete [2021-04-14T22:46:00.901Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-14T22:46:00.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-14T22:46:00.901Z] ---> b7e6874047d6 [2021-04-14T22:46:00.901Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T22:46:03.071Z] Commit message: "Merge commit '94ba728ffe67abe485aa5fd1bea1962d855b8f3c' into HEAD" [2021-04-14T22:46:03.083Z] First time build. Skipping changelog. [2021-04-14T22:46:03.076Z] > git rev-list --no-walk 6abee6880ef9cc85b5e1bf8d6d780bdf2b3b9757 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T22:46:03.527Z] ---> Running in b07fea5fee5c [2021-04-14T22:46:04.155Z] Removing intermediate container b07fea5fee5c [2021-04-14T22:46:04.155Z] ---> 3bcb63c7cf3c [2021-04-14T22:46:04.155Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T22:46:04.155Z] ---> Running in 64ec1f444535 [2021-04-14T22:46:04.240Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-14T22:46:04.572Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-14T22:46:04.867Z] + sudo service docker restart [2021-04-14T22:46:04.867Z] + true [2021-04-14T22:46:04.867Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-14T22:46:06.296Z] provisioning config files... [2021-04-14T22:46:06.326Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/34@tmp/config3488381770954676411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:46:06.671Z] ---> docker-login.sh [2021-04-14T22:46:06.671Z] nexus3.edgexfoundry.org:10001 [2021-04-14T22:46:06.781Z] Removing intermediate container 64ec1f444535 [2021-04-14T22:46:06.781Z] ---> b505dcd39604 [2021-04-14T22:46:06.781Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T22:46:06.781Z] ---> Running in e657cfbad92a [2021-04-14T22:46:06.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:46:06.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:46:06.934Z] Configure a credential helper to remove this warning. See [2021-04-14T22:46:06.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:46:06.934Z] [2021-04-14T22:46:06.934Z] Login Succeeded [2021-04-14T22:46:06.934Z] nexus3.edgexfoundry.org:10002 [2021-04-14T22:46:07.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:46:07.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:46:07.195Z] Configure a credential helper to remove this warning. See [2021-04-14T22:46:07.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:46:07.195Z] [2021-04-14T22:46:07.195Z] Login Succeeded [2021-04-14T22:46:07.195Z] nexus3.edgexfoundry.org:10003 [2021-04-14T22:46:07.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:46:07.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:46:07.457Z] Configure a credential helper to remove this warning. See [2021-04-14T22:46:07.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:46:07.457Z] [2021-04-14T22:46:07.457Z] Login Succeeded [2021-04-14T22:46:07.457Z] nexus3.edgexfoundry.org:10004 [2021-04-14T22:46:07.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:46:07.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:46:07.457Z] Configure a credential helper to remove this warning. See [2021-04-14T22:46:07.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:46:07.457Z] [2021-04-14T22:46:07.457Z] Login Succeeded [2021-04-14T22:46:07.457Z] docker.io [2021-04-14T22:46:07.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-14T22:46:07.761Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T22:46:07.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-14T22:46:07.981Z] Configure a credential helper to remove this warning. See [2021-04-14T22:46:07.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-14T22:46:07.981Z] [2021-04-14T22:46:07.981Z] Login Succeeded [2021-04-14T22:46:07.981Z] ---> docker-login.sh ends [Pipeline] } [2021-04-14T22:46:07.990Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-14T22:46:08.160Z] ========================================================= [2021-04-14T22:46:08.160Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-14T22:46:08.160Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:46:08.354Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T22:46:08.467Z] + 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-14T22:46:08.467Z] Sending build context to Docker daemon 2.412MB [2021-04-14T22:46:08.467Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T22:46:08.467Z] Step 2/8 : FROM ${BASE} [2021-04-14T22:46:08.745Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-14T22:46:08.745Z] 188c0c94c7c5: Pulling fs layer [2021-04-14T22:46:08.745Z] 0ef7d3d256c8: Pulling fs layer [2021-04-14T22:46:08.745Z] de9db76c5a1d: Pulling fs layer [2021-04-14T22:46:08.745Z] bca2f99d35d6: Pulling fs layer [2021-04-14T22:46:08.745Z] 93359f2a8cfa: Pulling fs layer [2021-04-14T22:46:08.745Z] 7c6f9722023f: Pulling fs layer [2021-04-14T22:46:08.745Z] a35cf1a2eb13: Pulling fs layer [2021-04-14T22:46:08.745Z] 93359f2a8cfa: Waiting [2021-04-14T22:46:08.745Z] 7c6f9722023f: Waiting [2021-04-14T22:46:08.745Z] a35cf1a2eb13: Waiting [2021-04-14T22:46:08.745Z] bca2f99d35d6: Waiting [2021-04-14T22:46:08.745Z] de9db76c5a1d: Download complete [2021-04-14T22:46:08.745Z] 93359f2a8cfa: Verifying Checksum [2021-04-14T22:46:08.745Z] 93359f2a8cfa: Download complete [2021-04-14T22:46:08.745Z] 188c0c94c7c5: Verifying Checksum [2021-04-14T22:46:08.745Z] 188c0c94c7c5: Download complete [2021-04-14T22:46:08.745Z] 7c6f9722023f: Verifying Checksum [2021-04-14T22:46:08.745Z] 7c6f9722023f: Download complete [2021-04-14T22:46:09.013Z] 188c0c94c7c5: Pull complete [2021-04-14T22:46:09.276Z] 0ef7d3d256c8: Pull complete [2021-04-14T22:46:09.276Z] de9db76c5a1d: Pull complete [2021-04-14T22:46:09.329Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T22:46:09.329Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T22:46:09.919Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-14T22:46:09.919Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T22:46:09.919Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T22:46:10.191Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-14T22:46:10.462Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T22:46:10.462Z] OK: 144 MiB in 45 packages [2021-04-14T22:46:10.675Z] a35cf1a2eb13: Verifying Checksum [2021-04-14T22:46:10.675Z] a35cf1a2eb13: Download complete [2021-04-14T22:46:11.249Z] bca2f99d35d6: Download complete [2021-04-14T22:46:11.896Z] Removing intermediate container e657cfbad92a [2021-04-14T22:46:11.896Z] ---> 79ae85b69396 [2021-04-14T22:46:11.896Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T22:46:11.896Z] ---> Running in d548a6d4a9e9 [2021-04-14T22:46:12.492Z] Removing intermediate container d548a6d4a9e9 [2021-04-14T22:46:12.492Z] ---> d958ad485baa [2021-04-14T22:46:12.492Z] Step 7/8 : COPY . . [2021-04-14T22:46:13.472Z] ---> ca43cc50114e [2021-04-14T22:46:13.472Z] Step 8/8 : RUN go mod download [2021-04-14T22:46:13.748Z] ---> Running in c6183381c9dc [2021-04-14T22:46:16.590Z] bca2f99d35d6: Pull complete [2021-04-14T22:46:16.591Z] 93359f2a8cfa: Pull complete [2021-04-14T22:46:16.591Z] 7c6f9722023f: Pull complete [2021-04-14T22:46:23.203Z] a35cf1a2eb13: Pull complete [2021-04-14T22:46:23.203Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-14T22:46:23.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-14T22:46:23.467Z] ---> a62c8e92a672 [2021-04-14T22:46:23.467Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T22:46:23.467Z] ---> Running in 51386951bae7 [2021-04-14T22:46:23.744Z] Removing intermediate container 51386951bae7 [2021-04-14T22:46:23.744Z] ---> 51c9453606ce [2021-04-14T22:46:23.744Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T22:46:23.744Z] ---> Running in 4c6ca34bf63d [2021-04-14T22:46:25.139Z] Removing intermediate container 4c6ca34bf63d [2021-04-14T22:46:25.139Z] ---> 7caf1d4ce2ee [2021-04-14T22:46:25.139Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-14T22:46:25.139Z] ---> Running in 603a876a9e8c [2021-04-14T22:46:25.716Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T22:46:26.293Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T22:46:26.868Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-14T22:46:26.868Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-14T22:46:27.131Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-14T22:46:27.131Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-14T22:46:27.131Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-14T22:46:27.393Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-14T22:46:27.393Z] Executing busybox-1.31.1-r19.trigger [2021-04-14T22:46:27.393Z] OK: 167 MiB in 45 packages [2021-04-14T22:46:28.359Z] Removing intermediate container 603a876a9e8c [2021-04-14T22:46:28.359Z] ---> ff7783b4d647 [2021-04-14T22:46:28.359Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-14T22:46:28.359Z] ---> Running in fb519fea4ff7 [2021-04-14T22:46:28.359Z] Removing intermediate container fb519fea4ff7 [2021-04-14T22:46:28.359Z] ---> 8df936a11790 [2021-04-14T22:46:28.359Z] Step 7/8 : COPY . . [2021-04-14T22:46:29.754Z] ---> b487aac87410 [2021-04-14T22:46:29.754Z] Step 8/8 : RUN go mod download [2021-04-14T22:46:29.754Z] ---> Running in 647e94e35d97 [2021-04-14T22:46:40.553Z] Removing intermediate container c6183381c9dc [2021-04-14T22:46:40.553Z] ---> 73d7dd60d00c [2021-04-14T22:46:40.553Z] Successfully built 73d7dd60d00c [2021-04-14T22:46:40.553Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:46:40.890Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T22:46:40.890Z] . [Pipeline] withDockerContainer [2021-04-14T22:46:41.121Z] prd-ubuntu18.04-docker-arm64-4c-16g-148 does not seem to be running inside a container [2021-04-14T22:46:41.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-14T22:46:42.661Z] $ docker top bfc5aee8e23dbea68b5d85534e49d84f2dd4bd25f5563972ee495299ab7b402b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T22:46:43.613Z] + go version [2021-04-14T22:46:43.613Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-14T22:46:43.641Z] $ docker stop --time=1 bfc5aee8e23dbea68b5d85534e49d84f2dd4bd25f5563972ee495299ab7b402b [2021-04-14T22:46:45.601Z] $ docker rm -f bfc5aee8e23dbea68b5d85534e49d84f2dd4bd25f5563972ee495299ab7b402b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:46:46.276Z] + docker inspect -f . ci-base-image-arm64 [2021-04-14T22:46:46.276Z] . [Pipeline] withDockerContainer [2021-04-14T22:46:46.541Z] prd-ubuntu18.04-docker-arm64-4c-16g-148 does not seem to be running inside a container [2021-04-14T22:46:46.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-14T22:46:48.092Z] $ docker top 0b873e65b56b8e03be878923b48867931b5bd035276be849bb23d727af8d1ad7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T22:46:48.994Z] + make test [2021-04-14T22:46:48.994Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-14T22:46:51.779Z] Removing intermediate container 647e94e35d97 [2021-04-14T22:46:51.779Z] ---> 967f20453c84 [2021-04-14T22:46:51.779Z] Successfully built 967f20453c84 [2021-04-14T22:46:51.779Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:46:52.096Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T22:46:52.096Z] . [Pipeline] withDockerContainer [2021-04-14T22:46:52.222Z] prd-centos7-docker-4c-2g-149 does not seem to be running inside a container [2021-04-14T22:46:52.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-14T22:46:53.662Z] $ docker top 4b4a82ff6cc8684bea7eca5136ec85cd9cafce0672db62b44a6bd4734a4a69c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T22:46:54.163Z] + go version [2021-04-14T22:46:54.164Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-14T22:46:54.180Z] $ docker stop --time=1 4b4a82ff6cc8684bea7eca5136ec85cd9cafce0672db62b44a6bd4734a4a69c2 [2021-04-14T22:46:55.593Z] $ docker rm -f 4b4a82ff6cc8684bea7eca5136ec85cd9cafce0672db62b44a6bd4734a4a69c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:46:56.114Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-14T22:46:56.114Z] . [Pipeline] withDockerContainer [2021-04-14T22:46:56.218Z] prd-centos7-docker-4c-2g-149 does not seem to be running inside a container [2021-04-14T22:46:56.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-14T22:46:56.970Z] $ docker top 804ab352b041bab440204b16fc710e2349b16c420cc11e0696e8213104d46496 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T22:46:57.382Z] + make test [2021-04-14T22:46:57.382Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-14T22:47:05.573Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T22:47:11.182Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-14T22:47:24.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T22:47:24.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T22:47:24.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T22:47:24.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T22:47:24.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T22:47:27.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 28.1% of statements [2021-04-14T22:47:27.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2021-04-14T22:47:27.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.077s coverage: 7.8% of statements [2021-04-14T22:47:27.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T22:47:27.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T22:47:27.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-14T22:47:27.989Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 32.5% of statements [2021-04-14T22:47:27.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T22:47:27.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T22:47:27.989Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T22:47:28.574Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 57.1% of statements [2021-04-14T22:47:29.156Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.174s coverage: 6.6% of statements [2021-04-14T22:47:29.419Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 5.0% of statements [2021-04-14T22:47:29.419Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T22:47:29.419Z] GO111MODULE=on go vet ./... [2021-04-14T22:47:44.473Z] gofmt -l . [2021-04-14T22:47:44.473Z] [ "`gofmt -l .`" = "" ] [2021-04-14T22:47:44.473Z] ./bin/test-attribution-txt.sh [2021-04-14T22:47:45.049Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T22:47:45.336Z] $ docker stop --time=1 804ab352b041bab440204b16fc710e2349b16c420cc11e0696e8213104d46496 [2021-04-14T22:47:47.068Z] $ docker rm -f 804ab352b041bab440204b16fc710e2349b16c420cc11e0696e8213104d46496 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-14T22:47:47.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-14T22:47:48.110Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-14T22:47:50.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T22:47:50.787Z] + ls -al . [2021-04-14T22:47:50.787Z] total 188 [2021-04-14T22:47:50.787Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 14 22:47 . [2021-04-14T22:47:50.787Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 14 22:45 .. [2021-04-14T22:47:50.787Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 14 22:45 bin [2021-04-14T22:47:50.787Z] -rw-r--r--. 1 jenkins jenkins 99750 Apr 14 22:47 coverage.out [2021-04-14T22:47:50.787Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 14 22:45 Dockerfile.build [2021-04-14T22:47:50.788Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 14 22:45 .dockerignore [2021-04-14T22:47:50.788Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 14 22:45 example [2021-04-14T22:47:50.788Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 14 22:46 .git [2021-04-14T22:47:50.788Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 14 22:45 .github [2021-04-14T22:47:50.788Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 14 22:45 .gitignore [2021-04-14T22:47:50.788Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 14 22:47 go.mod [2021-04-14T22:47:50.788Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 14 22:47 go.sum [2021-04-14T22:47:50.788Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 14 22:45 internal [2021-04-14T22:47:50.788Z] -rw-rw-r--. 1 jenkins jenkins 894 Apr 14 22:45 Jenkinsfile [2021-04-14T22:47:50.788Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 14 22:45 LICENSE [2021-04-14T22:47:50.788Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 14 22:45 Makefile [2021-04-14T22:47:50.788Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 14 22:45 openapi [2021-04-14T22:47:50.788Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 14 22:45 pkg [2021-04-14T22:47:50.788Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 14 22:45 README.md [2021-04-14T22:47:50.788Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 14 22:45 RELEASE-NOTES.txt [2021-04-14T22:47:50.788Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 14 22:45 snap [2021-04-14T22:47:50.788Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 14 22:43 VERSION [2021-04-14T22:47:50.788Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 14 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:47:51.095Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c7245e1f238ffc000a074cf31df94e3033b17301 --label arch=amd64 --label version=0.0.0 . [2021-04-14T22:47:51.361Z] Sending build context to Docker daemon 2.512MB [2021-04-14T22:47:51.361Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T22:47:51.361Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T22:47:51.361Z] ---> 967f20453c84 [2021-04-14T22:47:51.361Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T22:47:51.937Z] ---> Running in 72cf8f7156bc [2021-04-14T22:47:52.204Z] Removing intermediate container 72cf8f7156bc [2021-04-14T22:47:52.204Z] ---> c4ebb36f06bb [2021-04-14T22:47:52.204Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T22:47:52.204Z] ---> Running in 7270a80ef386 [2021-04-14T22:47:52.472Z] Removing intermediate container 7270a80ef386 [2021-04-14T22:47:52.472Z] ---> 0c8467d91baf [2021-04-14T22:47:52.472Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T22:47:52.472Z] ---> Running in 9fc4c87bf43f [2021-04-14T22:47:54.398Z] Removing intermediate container 9fc4c87bf43f [2021-04-14T22:47:54.399Z] ---> 654eb7985ccb [2021-04-14T22:47:54.399Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T22:47:54.399Z] ---> Running in 46b338ee33d1 [2021-04-14T22:47:54.399Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T22:47:55.346Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T22:47:55.609Z] OK: 167 MiB in 45 packages [2021-04-14T22:47:55.872Z] Removing intermediate container 46b338ee33d1 [2021-04-14T22:47:55.872Z] ---> 4ee263b5cd8e [2021-04-14T22:47:55.872Z] Step 7/23 : COPY . . [2021-04-14T22:47:57.272Z] ---> 0cb05d0f55e1 [2021-04-14T22:47:57.272Z] Step 8/23 : RUN go mod download [2021-04-14T22:47:57.272Z] ---> Running in fd3cbcbb7561 [2021-04-14T22:47:58.218Z] Removing intermediate container fd3cbcbb7561 [2021-04-14T22:47:58.218Z] ---> 94898b8e8486 [2021-04-14T22:47:58.218Z] Step 9/23 : RUN make build [2021-04-14T22:47:58.218Z] ---> Running in 2b44fc474bad [2021-04-14T22:47:58.491Z] 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-14T22:48:07.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-14T22:48:07.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-14T22:48:07.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-14T22:48:07.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-14T22:48:07.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-14T22:48:08.617Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T22:48:10.462Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 28.1% of statements [2021-04-14T22:48:10.740Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.189s coverage: 78.9% of statements [2021-04-14T22:48:10.740Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.142s coverage: 7.8% of statements [2021-04-14T22:48:10.740Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-14T22:48:10.740Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-14T22:48:10.740Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-14T22:48:11.174Z] Removing intermediate container 2b44fc474bad [2021-04-14T22:48:11.174Z] ---> af3a2af91d4d [2021-04-14T22:48:11.174Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T22:48:11.438Z] 3.12: Pulling from library/alpine [2021-04-14T22:48:11.438Z] 339de151aab4: Pulling fs layer [2021-04-14T22:48:11.701Z] 339de151aab4: Verifying Checksum [2021-04-14T22:48:11.701Z] 339de151aab4: Download complete [2021-04-14T22:48:11.966Z] 339de151aab4: Pull complete [2021-04-14T22:48:11.966Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-14T22:48:11.966Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T22:48:11.966Z] ---> 13621d1b12d4 [2021-04-14T22:48:11.966Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T22:48:11.966Z] ---> Running in 7170dbd1a226 [2021-04-14T22:48:12.230Z] Removing intermediate container 7170dbd1a226 [2021-04-14T22:48:12.230Z] ---> 8e848de8d00f [2021-04-14T22:48:12.230Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T22:48:12.230Z] ---> Running in 65c0e3afb41e [2021-04-14T22:48:12.736Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.245s coverage: 32.5% of statements [2021-04-14T22:48:12.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-14T22:48:12.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-14T22:48:12.737Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-14T22:48:13.179Z] Removing intermediate container 65c0e3afb41e [2021-04-14T22:48:13.179Z] ---> 39ff75d613a6 [2021-04-14T22:48:13.179Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T22:48:13.179Z] ---> Running in 31039d5e945b [2021-04-14T22:48:13.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-14T22:48:14.388Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-14T22:48:14.651Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T22:48:14.651Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T22:48:14.914Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T22:48:15.489Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T22:48:15.753Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T22:48:15.753Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T22:48:15.753Z] OK: 8 MiB in 19 packages [2021-04-14T22:48:16.328Z] Removing intermediate container 31039d5e945b [2021-04-14T22:48:16.328Z] ---> d0dc391ccb64 [2021-04-14T22:48:16.328Z] Step 14/23 : WORKDIR / [2021-04-14T22:48:16.328Z] ---> Running in 7ebad2ad8052 [2021-04-14T22:48:16.590Z] Removing intermediate container 7ebad2ad8052 [2021-04-14T22:48:16.590Z] ---> 5efc6f9d17b3 [2021-04-14T22:48:16.590Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T22:48:16.853Z] ---> 55fe2b848efe [2021-04-14T22:48:16.853Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T22:48:17.061Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.324s coverage: 57.1% of statements [2021-04-14T22:48:17.062Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.129s coverage: 6.6% of statements [2021-04-14T22:48:17.062Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements [2021-04-14T22:48:17.062Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-14T22:48:17.062Z] GO111MODULE=on go vet ./... [2021-04-14T22:48:17.428Z] ---> 9c67a10131bb [2021-04-14T22:48:17.428Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T22:48:17.690Z] ---> 02c42db3007f [2021-04-14T22:48:17.690Z] Step 18/23 : EXPOSE 49990 [2021-04-14T22:48:17.690Z] ---> Running in a673b58a914a [2021-04-14T22:48:17.690Z] Removing intermediate container a673b58a914a [2021-04-14T22:48:17.690Z] ---> ebd7a8278fcb [2021-04-14T22:48:17.690Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T22:48:17.953Z] ---> Running in 4f37a48a822f [2021-04-14T22:48:17.953Z] Removing intermediate container 4f37a48a822f [2021-04-14T22:48:17.953Z] ---> e18c4e0d29f6 [2021-04-14T22:48:17.953Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T22:48:18.215Z] ---> Running in 5d26311761b8 [2021-04-14T22:48:18.215Z] Removing intermediate container 5d26311761b8 [2021-04-14T22:48:18.215Z] ---> 1397f2dab4b3 [2021-04-14T22:48:18.215Z] Step 21/23 : LABEL arch=amd64 [2021-04-14T22:48:18.215Z] ---> Running in 07d983cd1ae8 [2021-04-14T22:48:18.477Z] Removing intermediate container 07d983cd1ae8 [2021-04-14T22:48:18.477Z] ---> 00c1852fae86 [2021-04-14T22:48:18.477Z] Step 22/23 : LABEL git_sha=c7245e1f238ffc000a074cf31df94e3033b17301 [2021-04-14T22:48:18.477Z] ---> Running in f83f24d385f2 [2021-04-14T22:48:18.741Z] Removing intermediate container f83f24d385f2 [2021-04-14T22:48:18.741Z] ---> d80f25a3aac3 [2021-04-14T22:48:18.741Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T22:48:18.741Z] ---> Running in 8d2a1a646a24 [2021-04-14T22:48:19.003Z] Removing intermediate container 8d2a1a646a24 [2021-04-14T22:48:19.003Z] ---> 92cd2b6f3ae0 [2021-04-14T22:48:19.003Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-14T22:48:19.003Z] Successfully built 92cd2b6f3ae0 [2021-04-14T22:48:19.003Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:48:19.653Z] ---> job-cost.sh [2021-04-14T22:48:19.653Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Y8PA [2021-04-14T22:48:34.597Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T22:49:04.144Z] gofmt -l . [2021-04-14T22:49:04.144Z] [ "`gofmt -l .`" = "" ] [2021-04-14T22:49:04.144Z] ./bin/test-attribution-txt.sh [2021-04-14T22:49:04.144Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-14T22:49:04.175Z] $ docker stop --time=1 0b873e65b56b8e03be878923b48867931b5bd035276be849bb23d727af8d1ad7 [2021-04-14T22:49:06.468Z] $ docker rm -f 0b873e65b56b8e03be878923b48867931b5bd035276be849bb23d727af8d1ad7 [2021-04-14T22:49:06.796Z] lf-activate-venv(): INFO: Adding /tmp/venv-Y8PA/bin to PATH [2021-04-14T22:49:06.796Z] INFO: No Stack... [2021-04-14T22:49:06.796Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T22:49:06.796Z] INFO: Archiving Costs [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2021-04-14T22:49:07.533Z] + cat /w/workspace/device-sdk-go/34/archives/cost.csv [2021-04-14T22:49:07.534Z] + cut -d, -f6 [2021-04-14T22:49:07.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-14T22:49:07.635Z] Warning: overwriting stash ‘coverage-report’ [Pipeline] lock [2021-04-14T22:49:07.647Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-34-stack-cost] [2021-04-14T22:49:07.662Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-34-stack-cost] did not exist. Created. [2021-04-14T22:49:07.663Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-14T22:49:08.006Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-14T22:49:08.149Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T22:49:08.167Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-34-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-14T22:49:08.603Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-14T22:49:09.126Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-14T22:49:09.551Z] + ls -al . [2021-04-14T22:49:09.551Z] total 224 [2021-04-14T22:49:09.551Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 14 22:49 . [2021-04-14T22:49:09.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 22:45 .. [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 14 22:45 .dockerignore [2021-04-14T22:49:09.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 14 22:45 .git [2021-04-14T22:49:09.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 22:45 .github [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 14 22:45 .gitignore [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 14 22:45 Dockerfile.build [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 894 Apr 14 22:45 Jenkinsfile [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 14 22:45 LICENSE [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 14 22:45 Makefile [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 14 22:45 README.md [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 14 22:45 RELEASE-NOTES.txt [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 14 22:43 VERSION [2021-04-14T22:49:09.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 14 22:45 bin [2021-04-14T22:49:09.551Z] -rw-r--r-- 1 jenkins jenkins 99751 Apr 14 22:48 coverage.out [2021-04-14T22:49:09.551Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 22:45 example [2021-04-14T22:49:09.551Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 14 22:49 go.mod [2021-04-14T22:49:09.551Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 14 22:49 go.sum [2021-04-14T22:49:09.551Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 14 22:45 internal [2021-04-14T22:49:09.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 22:45 openapi [2021-04-14T22:49:09.551Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 14 22:45 pkg [2021-04-14T22:49:09.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 14 22:45 snap [2021-04-14T22:49:09.551Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 14 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:49:09.921Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c7245e1f238ffc000a074cf31df94e3033b17301 --label arch=arm64 --label version=0.0.0 . [2021-04-14T22:49:10.531Z] Sending build context to Docker daemon 2.511MB [2021-04-14T22:49:10.531Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-14T22:49:10.531Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-14T22:49:10.531Z] ---> 73d7dd60d00c [2021-04-14T22:49:10.531Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-14T22:49:10.814Z] ---> Running in c08f3b5e4cfb [2021-04-14T22:49:11.089Z] Removing intermediate container c08f3b5e4cfb [2021-04-14T22:49:11.089Z] ---> b2fb7f4abe70 [2021-04-14T22:49:11.089Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T22:49:11.407Z] ---> Running in dc5e1570b3c9 [2021-04-14T22:49:11.678Z] Removing intermediate container dc5e1570b3c9 [2021-04-14T22:49:11.679Z] ---> a706c8af8cca [2021-04-14T22:49:11.679Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T22:49:11.952Z] ---> Running in e8125b7519a4 [2021-04-14T22:49:13.925Z] Removing intermediate container e8125b7519a4 [2021-04-14T22:49:13.925Z] ---> 4af3695cc02d [2021-04-14T22:49:13.925Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-14T22:49:13.925Z] ---> Running in 89468eb21db8 [2021-04-14T22:49:15.367Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T22:49:15.638Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T22:49:16.614Z] OK: 144 MiB in 45 packages [2021-04-14T22:49:17.604Z] Removing intermediate container 89468eb21db8 [2021-04-14T22:49:17.604Z] ---> 6175ffd8262f [2021-04-14T22:49:17.604Z] Step 7/23 : COPY . . [2021-04-14T22:49:19.033Z] ---> 3b63c39ddbef [2021-04-14T22:49:19.033Z] Step 8/23 : RUN go mod download [2021-04-14T22:49:19.033Z] ---> Running in 3177be0ffe12 [2021-04-14T22:49:21.649Z] Removing intermediate container 3177be0ffe12 [2021-04-14T22:49:21.649Z] ---> faac0a122f24 [2021-04-14T22:49:21.649Z] Step 9/23 : RUN make build [2021-04-14T22:49:21.649Z] ---> Running in 49af2723e341 [2021-04-14T22:49:22.626Z] 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-14T22:49:54.976Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-14T22:49:56.947Z] Removing intermediate container 49af2723e341 [2021-04-14T22:49:56.947Z] ---> 576d01098649 [2021-04-14T22:49:56.947Z] Step 10/23 : FROM alpine:3.12 [2021-04-14T22:49:57.220Z] 3.12: Pulling from library/alpine [2021-04-14T22:49:57.220Z] d2f70382dc9a: Pulling fs layer [2021-04-14T22:49:57.507Z] d2f70382dc9a: Verifying Checksum [2021-04-14T22:49:57.507Z] d2f70382dc9a: Download complete [2021-04-14T22:49:58.105Z] d2f70382dc9a: Pull complete [2021-04-14T22:49:58.105Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-14T22:49:58.105Z] Status: Downloaded newer image for alpine:3.12 [2021-04-14T22:49:58.105Z] ---> 9852663dfa18 [2021-04-14T22:49:58.105Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-14T22:49:58.378Z] ---> Running in 724de3d7a5fe [2021-04-14T22:49:58.972Z] Removing intermediate container 724de3d7a5fe [2021-04-14T22:49:58.972Z] ---> 48fd11c02fe0 [2021-04-14T22:49:58.972Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-14T22:49:58.972Z] ---> Running in 4b0b8236ab03 [2021-04-14T22:50:00.946Z] Removing intermediate container 4b0b8236ab03 [2021-04-14T22:50:00.946Z] ---> 6d1e5818f850 [2021-04-14T22:50:00.946Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-14T22:50:01.221Z] ---> Running in 8b79699a28b5 [2021-04-14T22:50:02.203Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-14T22:50:02.794Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-14T22:50:03.398Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-14T22:50:03.674Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-14T22:50:03.674Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-14T22:50:03.943Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-14T22:50:03.943Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-14T22:50:04.215Z] Executing busybox-1.31.1-r20.trigger [2021-04-14T22:50:04.215Z] OK: 8 MiB in 19 packages [2021-04-14T22:50:05.185Z] Removing intermediate container 8b79699a28b5 [2021-04-14T22:50:05.185Z] ---> c68ed06c7551 [2021-04-14T22:50:05.185Z] Step 14/23 : WORKDIR / [2021-04-14T22:50:05.456Z] ---> Running in 62bb4e0d0158 [2021-04-14T22:50:06.050Z] Removing intermediate container 62bb4e0d0158 [2021-04-14T22:50:06.050Z] ---> 888fffae9642 [2021-04-14T22:50:06.050Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-14T22:50:06.648Z] ---> 8ad13a29e6bc [2021-04-14T22:50:06.648Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-14T22:50:08.081Z] ---> c533185dd368 [2021-04-14T22:50:08.081Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-14T22:50:08.678Z] ---> f26bd6cd100f [2021-04-14T22:50:08.678Z] Step 18/23 : EXPOSE 49990 [2021-04-14T22:50:08.678Z] ---> Running in 13d8ab7a6826 [2021-04-14T22:50:09.276Z] Removing intermediate container 13d8ab7a6826 [2021-04-14T22:50:09.276Z] ---> 01af3952d209 [2021-04-14T22:50:09.276Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-14T22:50:09.276Z] ---> Running in f8d83c23ee4a [2021-04-14T22:50:09.548Z] Removing intermediate container f8d83c23ee4a [2021-04-14T22:50:09.548Z] ---> 424772488d8f [2021-04-14T22:50:09.548Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-14T22:50:09.820Z] ---> Running in dd57013e42e6 [2021-04-14T22:50:10.091Z] Removing intermediate container dd57013e42e6 [2021-04-14T22:50:10.091Z] ---> ce5c31d5ad93 [2021-04-14T22:50:10.091Z] Step 21/23 : LABEL arch=arm64 [2021-04-14T22:50:10.362Z] ---> Running in fa4e974775ef [2021-04-14T22:50:10.632Z] Removing intermediate container fa4e974775ef [2021-04-14T22:50:10.632Z] ---> 0714fed5cc0e [2021-04-14T22:50:10.632Z] Step 22/23 : LABEL git_sha=c7245e1f238ffc000a074cf31df94e3033b17301 [2021-04-14T22:50:10.904Z] ---> Running in be537dcf8fc9 [2021-04-14T22:50:11.175Z] Removing intermediate container be537dcf8fc9 [2021-04-14T22:50:11.175Z] ---> d55534ececaf [2021-04-14T22:50:11.175Z] Step 23/23 : LABEL version=0.0.0 [2021-04-14T22:50:11.446Z] ---> Running in 6273037dccb0 [2021-04-14T22:50:11.715Z] Removing intermediate container 6273037dccb0 [2021-04-14T22:50:11.715Z] ---> 3cfd0fb56bb3 [2021-04-14T22:50:11.715Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-14T22:50:11.715Z] Successfully built 3cfd0fb56bb3 [2021-04-14T22:50:11.715Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:50:12.230Z] ---> job-cost.sh [2021-04-14T22:50:12.230Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-r4Ku [2021-04-14T22:50:51.176Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-14T22:52:27.932Z] lf-activate-venv(): INFO: Adding /tmp/venv-r4Ku/bin to PATH [2021-04-14T22:52:27.932Z] INFO: No Stack... [2021-04-14T22:52:27.932Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-14T22:52:27.932Z] INFO: Archiving Costs [Pipeline] sh [2021-04-14T22:52:28.275Z] + cat /w/workspace/device-sdk-go/34/archives/cost.csv [2021-04-14T22:52:28.275Z] + cut -d, -f6 [Pipeline] lock [2021-04-14T22:52:28.398Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-34-stack-cost] [2021-04-14T22:52:28.407Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-34-stack-cost] did not exist. Created. [2021-04-14T22:52:28.407Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-14T22:52:28.804Z] /w/workspace/device-sdk-go/34@tmp/durable-2c5a1426/script.sh: 1: /w/workspace/device-sdk-go/34@tmp/durable-2c5a1426/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-14T22:52:29.152Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-14T22:52:29.188Z] Warning: overwriting stash ‘stack-cost’ [2021-04-14T22:52:29.343Z] Stashed 1 file(s) [Pipeline] } [2021-04-14T22:52:29.360Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-34-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-14T22:52:30.177Z] provisioning config files... [2021-04-14T22:52:30.194Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config6532518785801573412tmp [Pipeline] { [Pipeline] sh [2021-04-14T22:52:30.646Z] + set +x [2021-04-14T22:52:30.646Z] + curl -s https://codecov.io/bash [2021-04-14T22:52:30.646Z] + bash -s -- [2021-04-14T22:52:30.941Z] [2021-04-14T22:52:30.941Z] _____ _ [2021-04-14T22:52:30.941Z] / ____| | | [2021-04-14T22:52:30.941Z] | | ___ __| | ___ ___ _____ __ [2021-04-14T22:52:30.941Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-14T22:52:30.941Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-14T22:52:30.941Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-14T22:52:30.941Z] Bash-1.0.1 [2021-04-14T22:52:30.941Z] [2021-04-14T22:52:30.941Z] [2021-04-14T22:52:30.941Z] ==> git version 2.24.3 found [2021-04-14T22:52:30.941Z] ==> 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-14T22:52:30.941Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-14T22:52:30.941Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-14T22:52:30.941Z] ==> Jenkins CI detected. [2021-04-14T22:52:30.941Z] project root: . [2021-04-14T22:52:30.941Z] --> token set from env [2021-04-14T22:52:31.265Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-14T22:52:31.265Z] ==> Running gcov in . (disable via -X gcov) [2021-04-14T22:52:31.265Z] ==> Python coveragepy not found [2021-04-14T22:52:31.265Z] ==> Searching for coverage reports in: [2021-04-14T22:52:31.265Z] + . [2021-04-14T22:52:31.265Z] -> Found 1 reports [2021-04-14T22:52:31.265Z] ==> Detecting git/mercurial file structure [2021-04-14T22:52:31.265Z] ==> Reading reports [2021-04-14T22:52:31.265Z] + ./coverage.out bytes=99751 [2021-04-14T22:52:31.597Z] ==> Appending adjustments [2021-04-14T22:52:31.597Z] https://docs.codecov.io/docs/fixing-reports [2021-04-14T22:52:32.292Z] + Found adjustments [2021-04-14T22:52:32.626Z] ==> Gzipping contents [2021-04-14T22:52:32.626Z] 16K /tmp/codecov.0VQr7n.gz [2021-04-14T22:52:32.626Z] ==> Uploading reports [2021-04-14T22:52:32.626Z] url: https://codecov.io [2021-04-14T22:52:32.626Z] query: branch=PR-725&commit=c7245e1f238ffc000a074cf31df94e3033b17301&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-14T22:52:32.626Z] -> Pinging Codecov [2021-04-14T22:52:32.626Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-725&commit=c7245e1f238ffc000a074cf31df94e3033b17301&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-14T22:52:33.284Z] -> Uploading to [2021-04-14T22:52:33.284Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-14/7E55EF52A471D76F132DFD9A03CDDE97/c7245e1f238ffc000a074cf31df94e3033b17301/154e1098-0aec-4709-adb9-3193925c1938.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210414%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210414T225232Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=143e10c20c442c0959cf97f788308447059fcf156544f04d09ef487af50b7927 [2021-04-14T22:52:33.284Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-14T22:52:33.284Z] Dload Upload Total Spent Left Speed [2021-04-14T22:52:33.551Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13475 0 0 100 13475 0 26960 --:--:-- --:--:-- --:--:-- 27004 [2021-04-14T22:52:33.551Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c7245e1f238ffc000a074cf31df94e3033b17301 [Pipeline] } [2021-04-14T22:52:33.564Z] 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-14T22:52:34.836Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:52:36.006Z] ---> package-listing.sh [2021-04-14T22:52:36.007Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-14T22:52:36.007Z] ++ facter osfamily [2021-04-14T22:52:36.291Z] + OS_FAMILY=redhat [2021-04-14T22:52:36.291Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-14T22:52:36.291Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-14T22:52:36.291Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-14T22:52:36.291Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-14T22:52:36.291Z] + PACKAGES=/tmp/packages_start.txt [2021-04-14T22:52:36.291Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-14T22:52:36.291Z] + PACKAGES=/tmp/packages_end.txt [2021-04-14T22:52:36.291Z] + case "${OS_FAMILY}" in [2021-04-14T22:52:36.291Z] + rpm -qa [2021-04-14T22:52:36.291Z] + sort [2021-04-14T22:52:43.257Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-14T22:52:43.257Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-14T22:52:43.257Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-14T22:52:43.257Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-14T22:52:43.257Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-04-14T22:52:43.257Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-04-14T22:52:43.312Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-14T22:52:43.781Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:52:44.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T22:52:44.840Z] [2021-04-14T22:52:44.840Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-14T22:52:45.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T22:52:46.008Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-14T22:52:46.008Z] df20fa9351a1: Pulling fs layer [2021-04-14T22:52:46.008Z] 36b3adc4ff6f: Pulling fs layer [2021-04-14T22:52:46.008Z] 8ad3a11d3b57: Pulling fs layer [2021-04-14T22:52:46.008Z] 46f8f816bc3b: Pulling fs layer [2021-04-14T22:52:46.008Z] 93b61091891f: Pulling fs layer [2021-04-14T22:52:46.008Z] 93b9cdb0e59b: Pulling fs layer [2021-04-14T22:52:46.008Z] 5e14af77c1be: Pulling fs layer [2021-04-14T22:52:46.008Z] 01666e4c0597: Pulling fs layer [2021-04-14T22:52:46.008Z] aa168da1d23b: Pulling fs layer [2021-04-14T22:52:46.008Z] 01666e4c0597: Waiting [2021-04-14T22:52:46.008Z] aa168da1d23b: Waiting [2021-04-14T22:52:46.008Z] 93b61091891f: Waiting [2021-04-14T22:52:46.008Z] 93b9cdb0e59b: Waiting [2021-04-14T22:52:46.008Z] 5e14af77c1be: Waiting [2021-04-14T22:52:46.008Z] 46f8f816bc3b: Waiting [2021-04-14T22:52:46.008Z] 36b3adc4ff6f: Verifying Checksum [2021-04-14T22:52:46.008Z] 36b3adc4ff6f: Download complete [2021-04-14T22:52:46.325Z] 46f8f816bc3b: Verifying Checksum [2021-04-14T22:52:46.325Z] 46f8f816bc3b: Download complete [2021-04-14T22:52:46.325Z] df20fa9351a1: Verifying Checksum [2021-04-14T22:52:46.325Z] df20fa9351a1: Download complete [2021-04-14T22:52:46.325Z] 93b9cdb0e59b: Verifying Checksum [2021-04-14T22:52:46.325Z] 93b9cdb0e59b: Download complete [2021-04-14T22:52:46.325Z] 5e14af77c1be: Verifying Checksum [2021-04-14T22:52:46.325Z] 5e14af77c1be: Download complete [2021-04-14T22:52:46.649Z] 01666e4c0597: Verifying Checksum [2021-04-14T22:52:46.649Z] 01666e4c0597: Download complete [2021-04-14T22:52:46.955Z] 93b61091891f: Verifying Checksum [2021-04-14T22:52:46.955Z] 93b61091891f: Download complete [2021-04-14T22:52:47.260Z] 8ad3a11d3b57: Verifying Checksum [2021-04-14T22:52:47.260Z] 8ad3a11d3b57: Download complete [2021-04-14T22:52:47.560Z] df20fa9351a1: Pull complete [2021-04-14T22:52:48.304Z] 36b3adc4ff6f: Pull complete [2021-04-14T22:52:52.048Z] 8ad3a11d3b57: Pull complete [2021-04-14T22:52:52.048Z] 46f8f816bc3b: Pull complete [2021-04-14T22:52:52.856Z] 93b61091891f: Pull complete [2021-04-14T22:52:53.149Z] 93b9cdb0e59b: Pull complete [2021-04-14T22:52:53.810Z] 5e14af77c1be: Pull complete [2021-04-14T22:52:53.810Z] 01666e4c0597: Pull complete [2021-04-14T22:52:54.450Z] aa168da1d23b: Verifying Checksum [2021-04-14T22:52:54.450Z] aa168da1d23b: Download complete [2021-04-14T22:53:17.793Z] aa168da1d23b: Pull complete [2021-04-14T22:53:17.793Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-14T22:53:17.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-14T22:53:17.793Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-14T22:53:18.269Z] prd-centos7-docker-4c-2g-147 does not seem to be running inside a container [2021-04-14T22:53:18.389Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-14T22:53:21.247Z] $ docker top 370b622fdd9e985881cbe515a0c563f5229cb4548059ef0f9734ea2c91f97b0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-14T22:53:22.338Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-14T22:53:23.075Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-14T22:53:23.806Z] + ls /var/log/sa-host [2021-04-14T22:53:23.806Z] + sadf -c /var/log/sa-host/sa14 [2021-04-14T22:53:23.806Z] file_magic: OK [2021-04-14T22:53:23.806Z] HZ: Using current value: 100 [2021-04-14T22:53:23.806Z] file_header: OK [2021-04-14T22:53:23.806Z] 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-14T22:53:23.806Z] Statistics: [2021-04-14T22:53:23.806Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-14T22:53:23.806Z] File successfully converted to sysstat format version 12.2.1 [2021-04-14T22:53:23.806Z] + sadf -c /var/log/sa-host/sa23 [2021-04-14T22:53:23.806Z] file_magic: OK [2021-04-14T22:53:23.806Z] HZ: Using current value: 100 [2021-04-14T22:53:23.806Z] file_header: OK [2021-04-14T22:53:23.806Z] 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-14T22:53:23.806Z] Statistics: [2021-04-14T22:53:23.806Z] Hnuu...uuuununununu... [2021-04-14T22:53:23.806Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-14T22:53:24.481Z] provisioning config files... [2021-04-14T22:53:24.518Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config925910662122813400tmp [Pipeline] { [Pipeline] echo [2021-04-14T22:53:24.558Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:53:25.772Z] ---> create-netrc.sh [Pipeline] } [2021-04-14T22:53:25.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-14T22:53:25.812Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:53:26.548Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-14T22:53:26.589Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:53:28.083Z] ---> sudo-logs.sh [2021-04-14T22:53:28.083Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-14T22:53:28.135Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:53:28.584Z] ---> job-cost.sh [2021-04-14T22:53:28.863Z] lf-activate-venv: SKIPPING [2021-04-14T22:53:28.863Z] DEBUG: total: 0.20999999344348907 [2021-04-14T22:53:28.863Z] INFO: Retrieving Stack Cost... [2021-04-14T22:53:29.923Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-14T22:53:30.613Z] INFO: Archiving Costs [Pipeline] echo [2021-04-14T22:53:30.641Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-14T22:53:31.102Z] ---> logs-deploy.sh [2021-04-14T22:53:31.102Z] lf-activate-venv: SKIPPING [2021-04-14T22:53:31.102Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/34 [2021-04-14T22:53:31.102Z] INFO: archiving workspace using pattern(s): [2021-04-14T22:53:33.870Z] Archives upload complete. [2021-04-14T22:53:33.870Z] INFO: archiving logs to Nexus [2021-04-14T22:53:36.003Z] ---> uname -a: [2021-04-14T22:53:36.003Z] Linux prd-centos7-docker-4c-2g-147.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-04-14T22:53:36.003Z] [2021-04-14T22:53:36.003Z]