Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f1f8d07c7547b0631bee6ef379e1f335d995aecd+8659f99871c0873da8324f2f6a625b509cb242d1 (2acace68558a236fe6245f8f76ce3887067d5490) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-582 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [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-881 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd Merge succeeded, producing d0a83b780265e8f475c3514d228360d0b089da8f Checking out Revision d0a83b780265e8f475c3514d228360d0b089da8f (PR-881) > 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/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # 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 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0a83b780265e8f475c3514d228360d0b089da8f # timeout=10 Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" > git rev-list --no-walk f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-17T22:41:36.183Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-17T22:41:36.293Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-17T22:41:36.328Z] ========================================================= [2021-04-17T22:41:36.328Z] EdgeX Global Pipelines Version Info [2021-04-17T22:41:36.328Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:41:37.877Z] ------------------- [2021-04-17T22:41:37.877Z] stable info: [2021-04-17T22:41:37.877Z] ------------------- [2021-04-17T22:41:37.877Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-17T22:41:37.877Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-17T22:41:37.877Z] Message: update stable to v1.0.186 [2021-04-17T22:41:38.826Z] ------------------- [2021-04-17T22:41:38.826Z] experimental info: [2021-04-17T22:41:38.826Z] ------------------- [2021-04-17T22:41:38.826Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-17T22:41:38.826Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-17T22:41:38.826Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-17T22:41:38.956Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-17T22:41:38.980Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-17T22:41:39.003Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-17T22:41:39.026Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-17T22:41:39.051Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-17T22:41:39.077Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-17T22:41:39.101Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-17T22:41:39.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-17T22:41:39.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-17T22:41:39.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-17T22:41:39.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-17T22:41:39.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-17T22:41:39.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-17T22:41:39.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-17T22:41:39.322Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-17T22:41:39.352Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-17T22:41:39.386Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-17T22:41:39.416Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-17T22:41:39.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-17T22:41:39.475Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-17T22:41:39.533Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-17T22:41:39.565Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-17T22:41:39.597Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-17T22:41:39.626Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-17T22:41:39.650Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-17T22:41:39.693Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-17T22:41:39.715Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-881 [Pipeline] echo [2021-04-17T22:41:39.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-881 [Pipeline] echo [2021-04-17T22:41:39.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-881 [Pipeline] echo [2021-04-17T22:41:39.791Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0a83b780265e8f475c3514d228360d0b089da8f [Pipeline] echo [2021-04-17T22:41:39.819Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0a83b7 [Pipeline] echo [2021-04-17T22:41:39.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-17T22:41:39.923Z] provisioning config files... [2021-04-17T22:41:39.954Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config1468251747105663919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:41:40.272Z] ---> docker-login.sh [2021-04-17T22:41:40.273Z] nexus3.edgexfoundry.org:10001 [2021-04-17T22:41:40.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:41:40.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:41:40.800Z] Configure a credential helper to remove this warning. See [2021-04-17T22:41:40.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:41:40.800Z] [2021-04-17T22:41:40.800Z] Login Succeeded [2021-04-17T22:41:40.800Z] nexus3.edgexfoundry.org:10002 [2021-04-17T22:41:41.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:41:41.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:41:41.063Z] Configure a credential helper to remove this warning. See [2021-04-17T22:41:41.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:41:41.063Z] [2021-04-17T22:41:41.063Z] Login Succeeded [2021-04-17T22:41:41.063Z] nexus3.edgexfoundry.org:10003 [2021-04-17T22:41:41.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:41:41.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:41:41.325Z] Configure a credential helper to remove this warning. See [2021-04-17T22:41:41.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:41:41.325Z] [2021-04-17T22:41:41.325Z] Login Succeeded [2021-04-17T22:41:41.325Z] nexus3.edgexfoundry.org:10004 [2021-04-17T22:41:41.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:41:41.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:41:41.325Z] Configure a credential helper to remove this warning. See [2021-04-17T22:41:41.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:41:41.326Z] [2021-04-17T22:41:41.326Z] Login Succeeded [2021-04-17T22:41:41.326Z] docker.io [2021-04-17T22:41:41.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:41:41.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:41:41.849Z] Configure a credential helper to remove this warning. See [2021-04-17T22:41:41.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:41:41.849Z] [2021-04-17T22:41:41.850Z] Login Succeeded [2021-04-17T22:41:41.850Z] ---> docker-login.sh ends [Pipeline] } [2021-04-17T22:41:41.859Z] 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-17T22:41:42.332Z] + git log --format=format:%s -1 d0a83b780265e8f475c3514d228360d0b089da8f [Pipeline] echo [2021-04-17T22:41:42.417Z] GIT_COMMIT: d0a83b780265e8f475c3514d228360d0b089da8f, Commit Message: Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD [Pipeline] echo [2021-04-17T22:41:42.432Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:41:43.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-17T22:41:43.350Z] [2021-04-17T22:41:43.350Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:41:43.665Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-17T22:41:43.665Z] latest: Pulling from edgex-devops/git-semver [2021-04-17T22:41:43.665Z] 31603596830f: Pulling fs layer [2021-04-17T22:41:43.665Z] 2a8b12db71e7: Pulling fs layer [2021-04-17T22:41:43.665Z] 6ca5941a6612: Pulling fs layer [2021-04-17T22:41:43.665Z] ecc8261a40a4: Pulling fs layer [2021-04-17T22:41:43.665Z] ecc8261a40a4: Waiting [2021-04-17T22:41:43.665Z] 2a8b12db71e7: Download complete [2021-04-17T22:41:43.665Z] 31603596830f: Verifying Checksum [2021-04-17T22:41:43.665Z] 31603596830f: Download complete [2021-04-17T22:41:43.933Z] ecc8261a40a4: Verifying Checksum [2021-04-17T22:41:43.933Z] ecc8261a40a4: Download complete [2021-04-17T22:41:43.933Z] 6ca5941a6612: Verifying Checksum [2021-04-17T22:41:43.933Z] 6ca5941a6612: Download complete [2021-04-17T22:41:44.197Z] 31603596830f: Pull complete [2021-04-17T22:41:44.198Z] 2a8b12db71e7: Pull complete [2021-04-17T22:41:45.149Z] 6ca5941a6612: Pull complete [2021-04-17T22:41:46.096Z] ecc8261a40a4: Pull complete [2021-04-17T22:41:46.096Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-17T22:41:46.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-17T22:41:46.096Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-17T22:41:46.220Z] prd-centos7-docker-4c-2g-582 does not seem to be running inside a container [2021-04-17T22:41:46.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-881 -v /w/workspace/dgexfoundry_device-sdk-go_PR-881:/w/workspace/dgexfoundry_device-sdk-go_PR-881:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-17T22:41:48.319Z] $ docker top 09ecebe160e3d31ced5095f92ccd4b97e753df5438c9225a5f74780b3524d7e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-17T22:41:48.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-17T22:41:48.457Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-17T22:41:48.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-17T22:41:48.677Z] $ docker exec 09ecebe160e3d31ced5095f92ccd4b97e753df5438c9225a5f74780b3524d7e3 ssh-agent [2021-04-17T22:41:48.844Z] SSH_AUTH_SOCK=/tmp/ssh-IDdd7sOurQiA/agent.11 [2021-04-17T22:41:48.844Z] SSH_AGENT_PID=17 [2021-04-17T22:41:48.853Z] Running ssh-add (command line suppressed) [2021-04-17T22:41:48.970Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_4362656286545546854.key (/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_4362656286545546854.key) [2021-04-17T22:41:49.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-17T22:41:49.320Z] + git tag --points-at HEAD [Pipeline] } [2021-04-17T22:41:49.342Z] $ docker exec --env ******** --env ******** 09ecebe160e3d31ced5095f92ccd4b97e753df5438c9225a5f74780b3524d7e3 ssh-agent -k [2021-04-17T22:41:49.456Z] unset SSH_AUTH_SOCK; [2021-04-17T22:41:49.456Z] unset SSH_AGENT_PID; [2021-04-17T22:41:49.456Z] echo Agent pid 17 killed; [2021-04-17T22:41:49.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-17T22:41:49.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-17T22:41:49.546Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-17T22:41:49.716Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-17T22:41:49.721Z] $ docker exec 09ecebe160e3d31ced5095f92ccd4b97e753df5438c9225a5f74780b3524d7e3 ssh-agent [2021-04-17T22:41:49.890Z] SSH_AUTH_SOCK=/tmp/ssh-JMtPSWoiZdYH/agent.46 [2021-04-17T22:41:49.890Z] SSH_AGENT_PID=52 [2021-04-17T22:41:49.897Z] Running ssh-add (command line suppressed) [2021-04-17T22:41:50.020Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_7749046868599783404.key (/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_7749046868599783404.key) [2021-04-17T22:41:50.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-17T22:41:50.396Z] + git semver init [2021-04-17T22:41:50.396Z] # -> Open(): unable to determine branch for HEAD [2021-04-17T22:41:50.396Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-881/.git [2021-04-17T22:41:50.396Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-881 [2021-04-17T22:41:50.396Z] # $SEMVER_REMOTE_NAME = origin [2021-04-17T22:41:50.396Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-17T22:41:50.396Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-17T22:41:50.396Z] # $SEMVER_BRANCH = PR-881 [2021-04-17T22:41:50.396Z] # $SEMVER_TEMP = /tmp/semver-312356309 [2021-04-17T22:41:50.396Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-17T22:41:51.346Z] # '/tmp/semver-312356309' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-881/.semver' [2021-04-17T22:41:51.346Z] # -> Force: false [2021-04-17T22:41:51.346Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-881/.semver [Pipeline] } [2021-04-17T22:41:51.359Z] $ docker exec --env ******** --env ******** 09ecebe160e3d31ced5095f92ccd4b97e753df5438c9225a5f74780b3524d7e3 ssh-agent -k [2021-04-17T22:41:51.471Z] unset SSH_AUTH_SOCK; [2021-04-17T22:41:51.472Z] unset SSH_AGENT_PID; [2021-04-17T22:41:51.472Z] echo Agent pid 52 killed; [2021-04-17T22:41:51.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-17T22:41:51.852Z] + git semver [Pipeline] } [2021-04-17T22:41:51.873Z] $ docker stop --time=1 09ecebe160e3d31ced5095f92ccd4b97e753df5438c9225a5f74780b3524d7e3 [2021-04-17T22:41:53.349Z] $ docker rm -f 09ecebe160e3d31ced5095f92ccd4b97e753df5438c9225a5f74780b3524d7e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-17T22:41:53.732Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-17T22:41:54.031Z] Stashed 1 file(s) [Pipeline] echo [2021-04-17T22:41:54.034Z] [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-17T22:42:09.203Z] Still waiting to schedule task [2021-04-17T22:42:09.203Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-583’ is offline; ‘prd-centos7-docker-4c-2g-584’ is offline [2021-04-17T22:42:09.205Z] Still waiting to schedule task [2021-04-17T22:42:09.206Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-17T22:43:52.567Z] Running on prd-centos7-docker-4c-2g-588 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [Pipeline] { [Pipeline] ws [2021-04-17T22:43:52.594Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-17T22:43:55.143Z] using credential edgex-jenkins-ssh [2021-04-17T22:43:55.160Z] Cloning the remote Git repository [2021-04-17T22:43:55.130Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:43:55.252Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-17T22:43:55.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:43:55.315Z] > git --version # timeout=10 [2021-04-17T22:43:55.320Z] > git --version # 'git version 2.24.3' [2021-04-17T22:43:55.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:43:55.348Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:43:56.588Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-17T22:43:56.698Z] Merge succeeded, producing b8275fcc3e10b728dd91761df0d52afa6501b3f8 [2021-04-17T22:43:56.698Z] Checking out Revision b8275fcc3e10b728dd91761df0d52afa6501b3f8 (PR-881) [2021-04-17T22:43:56.182Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:43:56.188Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:43:56.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:43:56.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:43:56.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:43:56.215Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-17T22:43:56.597Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:43:56.604Z] > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [2021-04-17T22:43:56.645Z] > git remote # timeout=10 [2021-04-17T22:43:56.650Z] > git config --get remote.origin.url # timeout=10 [2021-04-17T22:43:56.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:43:56.663Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-17T22:43:56.691Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-17T22:43:56.701Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:43:56.707Z] > git checkout -f b8275fcc3e10b728dd91761df0d52afa6501b3f8 # timeout=10 [2021-04-17T22:44:00.280Z] Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" [2021-04-17T22:44:00.282Z] > git rev-list --no-walk f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:44:01.335Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:44:01.664Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:44:01.964Z] + sudo service docker restart [2021-04-17T22:44:01.964Z] + true [2021-04-17T22:44:01.964Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-17T22:44:02.945Z] provisioning config files... [2021-04-17T22:44:02.994Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8153601506935748127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:44:03.333Z] ---> docker-login.sh [2021-04-17T22:44:03.334Z] nexus3.edgexfoundry.org:10001 [2021-04-17T22:44:03.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:03.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:03.600Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:03.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:03.600Z] [2021-04-17T22:44:03.600Z] Login Succeeded [2021-04-17T22:44:03.600Z] nexus3.edgexfoundry.org:10002 [2021-04-17T22:44:03.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:03.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:03.863Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:03.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:03.863Z] [2021-04-17T22:44:03.863Z] Login Succeeded [2021-04-17T22:44:03.863Z] nexus3.edgexfoundry.org:10003 [2021-04-17T22:44:03.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:04.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:04.130Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:04.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:04.130Z] [2021-04-17T22:44:04.130Z] Login Succeeded [2021-04-17T22:44:04.130Z] nexus3.edgexfoundry.org:10004 [2021-04-17T22:44:04.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:04.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:04.130Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:04.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:04.130Z] [2021-04-17T22:44:04.130Z] Login Succeeded [2021-04-17T22:44:04.130Z] docker.io [2021-04-17T22:44:04.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:04.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:04.654Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:04.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:04.654Z] [2021-04-17T22:44:04.654Z] Login Succeeded [2021-04-17T22:44:04.654Z] ---> docker-login.sh ends [Pipeline] } [2021-04-17T22:44:04.664Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-17T22:44:04.843Z] ========================================================= [2021-04-17T22:44:04.843Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-17T22:44:04.843Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:44:05.154Z] + 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-17T22:44:05.154Z] Sending build context to Docker daemon 2.442MB [2021-04-17T22:44:05.154Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:44:05.154Z] Step 2/8 : FROM ${BASE} [2021-04-17T22:44:05.423Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-17T22:44:05.423Z] 188c0c94c7c5: Pulling fs layer [2021-04-17T22:44:05.423Z] 0ef7d3d256c8: Pulling fs layer [2021-04-17T22:44:05.423Z] de9db76c5a1d: Pulling fs layer [2021-04-17T22:44:05.423Z] bca2f99d35d6: Pulling fs layer [2021-04-17T22:44:05.423Z] 93359f2a8cfa: Pulling fs layer [2021-04-17T22:44:05.423Z] 7c6f9722023f: Pulling fs layer [2021-04-17T22:44:05.423Z] a35cf1a2eb13: Pulling fs layer [2021-04-17T22:44:05.423Z] bca2f99d35d6: Waiting [2021-04-17T22:44:05.423Z] 7c6f9722023f: Waiting [2021-04-17T22:44:05.423Z] 93359f2a8cfa: Waiting [2021-04-17T22:44:05.423Z] a35cf1a2eb13: Waiting [2021-04-17T22:44:05.423Z] de9db76c5a1d: Verifying Checksum [2021-04-17T22:44:05.423Z] de9db76c5a1d: Download complete [2021-04-17T22:44:05.423Z] 0ef7d3d256c8: Verifying Checksum [2021-04-17T22:44:05.423Z] 0ef7d3d256c8: Download complete [2021-04-17T22:44:05.423Z] 93359f2a8cfa: Download complete [2021-04-17T22:44:05.423Z] 188c0c94c7c5: Verifying Checksum [2021-04-17T22:44:05.423Z] 188c0c94c7c5: Download complete [2021-04-17T22:44:05.423Z] 7c6f9722023f: Verifying Checksum [2021-04-17T22:44:05.423Z] 7c6f9722023f: Download complete [2021-04-17T22:44:05.695Z] 188c0c94c7c5: Pull complete [2021-04-17T22:44:05.695Z] 0ef7d3d256c8: Pull complete [2021-04-17T22:44:05.957Z] de9db76c5a1d: Pull complete [2021-04-17T22:44:06.413Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-586 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [Pipeline] { [Pipeline] ws [2021-04-17T22:44:06.434Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-04-17T22:44:07.361Z] a35cf1a2eb13: Verifying Checksum [2021-04-17T22:44:07.361Z] a35cf1a2eb13: Download complete [2021-04-17T22:44:07.945Z] bca2f99d35d6: Download complete [2021-04-17T22:44:12.762Z] using credential edgex-jenkins-ssh [2021-04-17T22:44:12.781Z] Cloning the remote Git repository [2021-04-17T22:44:12.857Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:44:13.269Z] bca2f99d35d6: Pull complete [2021-04-17T22:44:13.270Z] 93359f2a8cfa: Pull complete [2021-04-17T22:44:13.270Z] 7c6f9722023f: Pull complete [2021-04-17T22:44:12.968Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-04-17T22:44:13.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:44:13.071Z] > git --version # timeout=10 [2021-04-17T22:44:13.093Z] > git --version # 'git version 2.17.1' [2021-04-17T22:44:13.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:44:13.171Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:44:15.019Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-17T22:44:15.330Z] Merge succeeded, producing 496c69fe6fd7aa288b8d27d89444ae22f6e038e4 [2021-04-17T22:44:15.331Z] Checking out Revision 496c69fe6fd7aa288b8d27d89444ae22f6e038e4 (PR-881) [2021-04-17T22:44:14.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:44:14.478Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-17T22:44:14.508Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-17T22:44:14.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-17T22:44:14.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:44:14.560Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-17T22:44:15.047Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:44:15.064Z] > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [2021-04-17T22:44:15.168Z] > git remote # timeout=10 [2021-04-17T22:44:15.191Z] > git config --get remote.origin.url # timeout=10 [2021-04-17T22:44:15.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-17T22:44:15.227Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-17T22:44:15.309Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-17T22:44:15.346Z] > git config core.sparsecheckout # timeout=10 [2021-04-17T22:44:15.360Z] > git checkout -f 496c69fe6fd7aa288b8d27d89444ae22f6e038e4 # timeout=10 [2021-04-17T22:44:19.633Z] Commit message: "Merge commit '8659f99871c0873da8324f2f6a625b509cb242d1' into HEAD" [2021-04-17T22:44:19.647Z] > git rev-list --no-walk f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:44:21.091Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:44:21.447Z] a35cf1a2eb13: Pull complete [2021-04-17T22:44:21.447Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-17T22:44:21.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-17T22:44:21.447Z] ---> a62c8e92a672 [2021-04-17T22:44:21.447Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:44:21.447Z] ---> Running in 47cfc85e0ce6 [2021-04-17T22:44:21.447Z] Removing intermediate container 47cfc85e0ce6 [2021-04-17T22:44:21.447Z] ---> d58088306005 [2021-04-17T22:44:21.447Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:44:21.447Z] ---> Running in 853f55aa8733 [2021-04-17T22:44:21.499Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-17T22:44:21.835Z] + sudo service docker restart [2021-04-17T22:44:21.835Z] + true [2021-04-17T22:44:22.403Z] Removing intermediate container 853f55aa8733 [2021-04-17T22:44:22.403Z] ---> f676682336c1 [2021-04-17T22:44:22.403Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-17T22:44:22.403Z] ---> Running in 0e97d2b90355 [2021-04-17T22:44:22.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-17T22:44:23.566Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-17T22:44:24.142Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-17T22:44:24.142Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-17T22:44:24.142Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-17T22:44:24.404Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-17T22:44:24.404Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-17T22:44:24.404Z] (6/6) Installing zeromq-dev (4.3.3-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-17T22:44:24.526Z] provisioning config files... [2021-04-17T22:44:24.566Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config952228328438006420tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:44:24.666Z] Executing busybox-1.31.1-r19.trigger [2021-04-17T22:44:24.666Z] OK: 167 MiB in 45 packages [2021-04-17T22:44:24.939Z] ---> docker-login.sh [2021-04-17T22:44:24.939Z] nexus3.edgexfoundry.org:10001 [2021-04-17T22:44:25.247Z] Removing intermediate container 0e97d2b90355 [2021-04-17T22:44:25.248Z] ---> de20f78d3d19 [2021-04-17T22:44:25.248Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-17T22:44:25.510Z] ---> Running in daad24e1b4de [2021-04-17T22:44:25.510Z] Removing intermediate container daad24e1b4de [2021-04-17T22:44:25.510Z] ---> 755eaf2c9ebb [2021-04-17T22:44:25.510Z] Step 7/8 : COPY . . [2021-04-17T22:44:25.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:26.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:26.197Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:26.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:26.197Z] [2021-04-17T22:44:26.197Z] Login Succeeded [2021-04-17T22:44:26.470Z] nexus3.edgexfoundry.org:10002 [2021-04-17T22:44:26.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:26.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:26.742Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:26.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:26.742Z] [2021-04-17T22:44:26.742Z] Login Succeeded [2021-04-17T22:44:26.905Z] ---> 0eb759fd8edb [2021-04-17T22:44:26.905Z] Step 8/8 : RUN go mod download [2021-04-17T22:44:26.905Z] ---> Running in 41ef242f64c0 [2021-04-17T22:44:27.019Z] nexus3.edgexfoundry.org:10003 [2021-04-17T22:44:27.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:27.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:27.292Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:27.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:27.292Z] [2021-04-17T22:44:27.292Z] Login Succeeded [2021-04-17T22:44:27.566Z] nexus3.edgexfoundry.org:10004 [2021-04-17T22:44:27.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:27.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:27.862Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:27.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:27.862Z] [2021-04-17T22:44:27.862Z] Login Succeeded [2021-04-17T22:44:27.862Z] docker.io [2021-04-17T22:44:28.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-17T22:44:28.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-17T22:44:28.738Z] Configure a credential helper to remove this warning. See [2021-04-17T22:44:28.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-17T22:44:28.738Z] [2021-04-17T22:44:28.738Z] Login Succeeded [2021-04-17T22:44:28.738Z] ---> docker-login.sh ends [Pipeline] } [2021-04-17T22:44:28.756Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-17T22:44:29.079Z] ========================================================= [2021-04-17T22:44:29.079Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-17T22:44:29.079Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:44:29.431Z] + 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-17T22:44:29.717Z] Sending build context to Docker daemon 2.444MB [2021-04-17T22:44:29.998Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:44:29.998Z] Step 2/8 : FROM ${BASE} [2021-04-17T22:44:29.998Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-17T22:44:29.998Z] 5f621e34cdf4: Pulling fs layer [2021-04-17T22:44:29.998Z] a4357932f1b6: Pulling fs layer [2021-04-17T22:44:29.998Z] 18c013af1878: Pulling fs layer [2021-04-17T22:44:29.998Z] 00ac8860ef70: Pulling fs layer [2021-04-17T22:44:29.998Z] 63d7cb157983: Pulling fs layer [2021-04-17T22:44:29.998Z] b116817d02f9: Pulling fs layer [2021-04-17T22:44:29.998Z] 745a02a5169b: Pulling fs layer [2021-04-17T22:44:29.998Z] 63d7cb157983: Waiting [2021-04-17T22:44:29.998Z] b116817d02f9: Waiting [2021-04-17T22:44:29.998Z] 00ac8860ef70: Waiting [2021-04-17T22:44:29.998Z] 745a02a5169b: Waiting [2021-04-17T22:44:29.998Z] 18c013af1878: Verifying Checksum [2021-04-17T22:44:29.998Z] 18c013af1878: Download complete [2021-04-17T22:44:29.998Z] a4357932f1b6: Download complete [2021-04-17T22:44:29.998Z] 63d7cb157983: Verifying Checksum [2021-04-17T22:44:29.998Z] 63d7cb157983: Download complete [2021-04-17T22:44:29.998Z] b116817d02f9: Verifying Checksum [2021-04-17T22:44:29.998Z] b116817d02f9: Download complete [2021-04-17T22:44:29.998Z] 5f621e34cdf4: Download complete [2021-04-17T22:44:30.604Z] 5f621e34cdf4: Pull complete [2021-04-17T22:44:31.605Z] a4357932f1b6: Pull complete [2021-04-17T22:44:31.881Z] 18c013af1878: Pull complete [2021-04-17T22:44:32.155Z] 745a02a5169b: Verifying Checksum [2021-04-17T22:44:32.155Z] 745a02a5169b: Download complete [2021-04-17T22:44:33.592Z] 00ac8860ef70: Download complete [2021-04-17T22:44:43.776Z] 00ac8860ef70: Pull complete [2021-04-17T22:44:43.776Z] 63d7cb157983: Pull complete [2021-04-17T22:44:43.776Z] b116817d02f9: Pull complete [2021-04-17T22:44:48.231Z] 745a02a5169b: Pull complete [2021-04-17T22:44:48.231Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-17T22:44:48.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-17T22:44:48.231Z] ---> b7e6874047d6 [2021-04-17T22:44:48.231Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:44:50.863Z] ---> Running in bbd294e488f6 [2021-04-17T22:44:50.863Z] Removing intermediate container bbd294e488f6 [2021-04-17T22:44:50.863Z] ---> 769451c60d15 [2021-04-17T22:44:50.863Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:44:51.136Z] ---> Running in 1b0fd65d079b [2021-04-17T22:44:53.531Z] Removing intermediate container 41ef242f64c0 [2021-04-17T22:44:53.531Z] ---> 720ab7705956 [2021-04-17T22:44:53.531Z] Successfully built 720ab7705956 [2021-04-17T22:44:53.531Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:44:53.769Z] Removing intermediate container 1b0fd65d079b [2021-04-17T22:44:53.769Z] ---> 86d872b8c6d7 [2021-04-17T22:44:53.769Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-17T22:44:53.769Z] ---> Running in 30930e9744f1 [2021-04-17T22:44:53.840Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-17T22:44:53.840Z] . [Pipeline] withDockerContainer [2021-04-17T22:44:53.951Z] prd-centos7-docker-4c-2g-588 does not seem to be running inside a container [2021-04-17T22:44:54.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-17T22:44:54.749Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-17T22:44:54.753Z] $ docker top f01d805f09c48b097d19b25c3427184f2b152744c25a14ce5ff5b8a552426606 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:44:55.194Z] + go version [2021-04-17T22:44:55.194Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-17T22:44:55.207Z] $ docker stop --time=1 f01d805f09c48b097d19b25c3427184f2b152744c25a14ce5ff5b8a552426606 [2021-04-17T22:44:55.364Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-17T22:44:56.339Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-17T22:44:56.339Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-17T22:44:56.339Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-17T22:44:56.339Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-17T22:44:56.538Z] $ docker rm -f f01d805f09c48b097d19b25c3427184f2b152744c25a14ce5ff5b8a552426606 [2021-04-17T22:44:56.611Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-17T22:44:56.611Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-17T22:44:56.611Z] Executing busybox-1.31.1-r19.trigger [2021-04-17T22:44:56.611Z] OK: 144 MiB in 45 packages [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:44:57.020Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-17T22:44:57.020Z] . [Pipeline] withDockerContainer [2021-04-17T22:44:57.109Z] prd-centos7-docker-4c-2g-588 does not seem to be running inside a container [2021-04-17T22:44:57.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-17T22:44:57.715Z] $ docker top 3e99385c3037dc6067e3adfd5ede5fae9fa537995ddc2adc3e27f86023c6ac88 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:44:58.048Z] Removing intermediate container 30930e9744f1 [2021-04-17T22:44:58.049Z] ---> 2c660307a2ca [2021-04-17T22:44:58.049Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-17T22:44:58.049Z] ---> Running in d4819f3ccb18 [2021-04-17T22:44:58.123Z] + make test [2021-04-17T22:44:58.123Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-17T22:44:58.645Z] Removing intermediate container d4819f3ccb18 [2021-04-17T22:44:58.645Z] ---> 2b5422d3794f [2021-04-17T22:44:58.645Z] Step 7/8 : COPY . . [2021-04-17T22:45:00.093Z] ---> 40fa8d1d4423 [2021-04-17T22:45:00.093Z] Step 8/8 : RUN go mod download [2021-04-17T22:45:00.093Z] ---> Running in 27d12aa33f9a [2021-04-17T22:45:06.343Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-17T22:45:24.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-17T22:45:24.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-17T22:45:24.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-17T22:45:24.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-17T22:45:24.591Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-17T22:45:26.912Z] Removing intermediate container 27d12aa33f9a [2021-04-17T22:45:26.913Z] ---> b17f129e84db [2021-04-17T22:45:26.913Z] Successfully built b17f129e84db [2021-04-17T22:45:26.913Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:45:27.254Z] + docker inspect -f . ci-base-image-arm64 [2021-04-17T22:45:27.254Z] . [Pipeline] withDockerContainer [2021-04-17T22:45:27.541Z] prd-ubuntu18.04-docker-arm64-4c-16g-586 does not seem to be running inside a container [2021-04-17T22:45:27.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-17T22:45:28.853Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 28.1% of statements [2021-04-17T22:45:28.853Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.110s coverage: 78.9% of statements [2021-04-17T22:45:29.049Z] $ docker top cf506d5f0dd5ca08cad8c5df9356ea791ecdbd7bb84c17f6c894f1ab4371ee05 -eo pid,comm [Pipeline] { [2021-04-17T22:45:29.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.075s coverage: 7.8% of statements [2021-04-17T22:45:29.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-17T22:45:29.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-17T22:45:29.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-17T22:45:29.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.0% of statements [2021-04-17T22:45:29.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-17T22:45:29.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-17T22:45:29.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-17T22:45:29.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 57.1% of statements [2021-04-17T22:45:29.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.147s coverage: 6.6% of statements [2021-04-17T22:45:29.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements [2021-04-17T22:45:29.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-17T22:45:29.998Z] GO111MODULE=on go vet ./... [Pipeline] sh [2021-04-17T22:45:30.650Z] + go version [2021-04-17T22:45:30.650Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-17T22:45:30.677Z] $ docker stop --time=1 cf506d5f0dd5ca08cad8c5df9356ea791ecdbd7bb84c17f6c894f1ab4371ee05 [2021-04-17T22:45:32.707Z] $ docker rm -f cf506d5f0dd5ca08cad8c5df9356ea791ecdbd7bb84c17f6c894f1ab4371ee05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:45:33.413Z] + docker inspect -f . ci-base-image-arm64 [2021-04-17T22:45:33.413Z] . [Pipeline] withDockerContainer [2021-04-17T22:45:33.674Z] prd-ubuntu18.04-docker-arm64-4c-16g-586 does not seem to be running inside a container [2021-04-17T22:45:33.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-17T22:45:35.317Z] $ docker top 69005a117f837f050c210767a51942f84e2e713fe6a6ef9bb941ef8bf6d4c2fa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:45:36.288Z] + make test [2021-04-17T22:45:36.288Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-17T22:45:45.385Z] gofmt -l . [2021-04-17T22:45:45.385Z] [ "`gofmt -l .`" = "" ] [2021-04-17T22:45:45.385Z] ./bin/test-attribution-txt.sh [2021-04-17T22:45:45.385Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-17T22:45:45.413Z] $ docker stop --time=1 3e99385c3037dc6067e3adfd5ede5fae9fa537995ddc2adc3e27f86023c6ac88 [2021-04-17T22:45:47.683Z] $ docker rm -f 3e99385c3037dc6067e3adfd5ede5fae9fa537995ddc2adc3e27f86023c6ac88 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-17T22:45:48.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-17T22:45:48.644Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-17T22:45:51.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-17T22:45:51.383Z] + ls -al . [2021-04-17T22:45:51.383Z] total 188 [2021-04-17T22:45:51.383Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 17 22:45 . [2021-04-17T22:45:51.383Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 17 22:43 .. [2021-04-17T22:45:51.383Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 17 22:43 bin [2021-04-17T22:45:51.383Z] -rw-r--r--. 1 jenkins jenkins 100116 Apr 17 22:45 coverage.out [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 17 22:43 Dockerfile.build [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 17 22:43 .dockerignore [2021-04-17T22:45:51.383Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 17 22:43 example [2021-04-17T22:45:51.383Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 17 22:44 .git [2021-04-17T22:45:51.383Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 17 22:43 .github [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 17 22:43 .gitignore [2021-04-17T22:45:51.383Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 17 22:45 go.mod [2021-04-17T22:45:51.383Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 17 22:45 go.sum [2021-04-17T22:45:51.383Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 17 22:43 internal [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 17 22:43 Jenkinsfile [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 17 22:43 LICENSE [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 17 22:43 Makefile [2021-04-17T22:45:51.383Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 17 22:43 openapi [2021-04-17T22:45:51.383Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 17 22:43 pkg [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 17 22:43 README.md [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 17 22:43 RELEASE-NOTES.txt [2021-04-17T22:45:51.383Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 17 22:43 snap [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 17 22:41 VERSION [2021-04-17T22:45:51.383Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 17 22:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:45:51.708Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d0a83b780265e8f475c3514d228360d0b089da8f --label arch=amd64 --label version=0.0.0 . [2021-04-17T22:45:51.972Z] Sending build context to Docker daemon 2.543MB [2021-04-17T22:45:51.972Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:45:51.972Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-17T22:45:51.972Z] ---> 720ab7705956 [2021-04-17T22:45:51.972Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-17T22:45:52.236Z] ---> Running in 7f63b62f0589 [2021-04-17T22:45:52.498Z] Removing intermediate container 7f63b62f0589 [2021-04-17T22:45:52.499Z] ---> 4a169763223f [2021-04-17T22:45:52.499Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:45:52.499Z] ---> Running in 93ea43fe9d3d [2021-04-17T22:45:52.762Z] Removing intermediate container 93ea43fe9d3d [2021-04-17T22:45:52.762Z] ---> 2b645e99f081 [2021-04-17T22:45:52.762Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:45:52.762Z] ---> Running in 42597e975960 [2021-04-17T22:45:53.727Z] Removing intermediate container 42597e975960 [2021-04-17T22:45:53.727Z] ---> 3c61008521c1 [2021-04-17T22:45:53.727Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-17T22:45:53.727Z] ---> Running in d9b260ea3f8d [2021-04-17T22:45:54.301Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-17T22:45:54.878Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-17T22:45:55.457Z] OK: 167 MiB in 45 packages [2021-04-17T22:45:55.719Z] Removing intermediate container d9b260ea3f8d [2021-04-17T22:45:55.719Z] ---> 20d1a2098900 [2021-04-17T22:45:55.719Z] Step 7/23 : COPY . . [2021-04-17T22:45:56.665Z] ---> d455066b9ddc [2021-04-17T22:45:56.665Z] Step 8/23 : RUN go mod download [2021-04-17T22:45:56.928Z] ---> Running in 1c1930c73511 [2021-04-17T22:45:57.879Z] Removing intermediate container 1c1930c73511 [2021-04-17T22:45:57.879Z] ---> 77a7a8911dcb [2021-04-17T22:45:57.879Z] Step 9/23 : RUN make build [2021-04-17T22:45:57.879Z] ---> Running in 3b26c586112b [2021-04-17T22:45:58.457Z] 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-17T22:45:58.494Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-17T22:46:08.562Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-17T22:46:09.967Z] Removing intermediate container 3b26c586112b [2021-04-17T22:46:09.967Z] ---> 55b7e2b0fd80 [2021-04-17T22:46:09.967Z] Step 10/23 : FROM alpine:3.12 [2021-04-17T22:46:10.547Z] 3.12: Pulling from library/alpine [2021-04-17T22:46:10.547Z] 339de151aab4: Pulling fs layer [2021-04-17T22:46:10.811Z] 339de151aab4: Verifying Checksum [2021-04-17T22:46:10.811Z] 339de151aab4: Download complete [2021-04-17T22:46:10.811Z] 339de151aab4: Pull complete [2021-04-17T22:46:11.072Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-17T22:46:11.072Z] Status: Downloaded newer image for alpine:3.12 [2021-04-17T22:46:11.072Z] ---> 13621d1b12d4 [2021-04-17T22:46:11.072Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:46:11.072Z] ---> Running in 328ee24c2b9f [2021-04-17T22:46:11.335Z] Removing intermediate container 328ee24c2b9f [2021-04-17T22:46:11.335Z] ---> 4f0176f0dcf1 [2021-04-17T22:46:11.335Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:46:11.335Z] ---> Running in 261855f18381 [2021-04-17T22:46:12.285Z] Removing intermediate container 261855f18381 [2021-04-17T22:46:12.285Z] ---> 32b4f1a80248 [2021-04-17T22:46:12.285Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-17T22:46:12.285Z] ---> Running in 5e0a344db3a2 [2021-04-17T22:46:12.859Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-17T22:46:13.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-17T22:46:14.020Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-17T22:46:14.020Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-17T22:46:14.020Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-17T22:46:14.963Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-17T22:46:14.963Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-17T22:46:15.224Z] Executing busybox-1.31.1-r20.trigger [2021-04-17T22:46:15.224Z] OK: 8 MiB in 19 packages [2021-04-17T22:46:15.486Z] Removing intermediate container 5e0a344db3a2 [2021-04-17T22:46:15.486Z] ---> 6910ec855ee8 [2021-04-17T22:46:15.486Z] Step 14/23 : WORKDIR / [2021-04-17T22:46:15.752Z] ---> Running in 35b64e1b30f7 [2021-04-17T22:46:15.752Z] Removing intermediate container 35b64e1b30f7 [2021-04-17T22:46:15.752Z] ---> cd394f868146 [2021-04-17T22:46:15.752Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-17T22:46:16.014Z] ---> b75d7a5cfa15 [2021-04-17T22:46:16.014Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-17T22:46:16.589Z] ---> 9b2f2fde8b92 [2021-04-17T22:46:16.589Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-17T22:46:16.850Z] ---> a88e3876730a [2021-04-17T22:46:16.850Z] Step 18/23 : EXPOSE 49990 [2021-04-17T22:46:17.111Z] ---> Running in 3a926cdee2e4 [2021-04-17T22:46:17.111Z] Removing intermediate container 3a926cdee2e4 [2021-04-17T22:46:17.111Z] ---> a34e379c586e [2021-04-17T22:46:17.111Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-17T22:46:17.111Z] ---> Running in 4b0a1d028b7a [2021-04-17T22:46:17.371Z] Removing intermediate container 4b0a1d028b7a [2021-04-17T22:46:17.371Z] ---> 2d38c9ec762d [2021-04-17T22:46:17.371Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-17T22:46:17.371Z] ---> Running in b41ac076c919 [2021-04-17T22:46:17.946Z] Removing intermediate container b41ac076c919 [2021-04-17T22:46:17.946Z] ---> aece1a1d2691 [2021-04-17T22:46:17.946Z] Step 21/23 : LABEL arch=amd64 [2021-04-17T22:46:17.946Z] ---> Running in c087def9c1d7 [2021-04-17T22:46:17.946Z] Removing intermediate container c087def9c1d7 [2021-04-17T22:46:17.946Z] ---> 8f4e790cddc6 [2021-04-17T22:46:17.946Z] Step 22/23 : LABEL git_sha=d0a83b780265e8f475c3514d228360d0b089da8f [2021-04-17T22:46:18.210Z] ---> Running in 0ec8ad7ff545 [2021-04-17T22:46:18.210Z] Removing intermediate container 0ec8ad7ff545 [2021-04-17T22:46:18.210Z] ---> f84d05f63617 [2021-04-17T22:46:18.210Z] Step 23/23 : LABEL version=0.0.0 [2021-04-17T22:46:18.210Z] ---> Running in b6026d662705 [2021-04-17T22:46:18.471Z] Removing intermediate container b6026d662705 [2021-04-17T22:46:18.471Z] ---> 9a690b5d2ff5 [2021-04-17T22:46:18.471Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-17T22:46:18.471Z] Successfully built 9a690b5d2ff5 [2021-04-17T22:46:18.471Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:46:19.144Z] ---> job-cost.sh [2021-04-17T22:46:19.144Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5Dbi [2021-04-17T22:46:34.087Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-17T22:46:55.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-17T22:46:55.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-17T22:46:55.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-17T22:46:55.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-17T22:46:55.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-17T22:46:57.747Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 28.1% of statements [2021-04-17T22:46:58.738Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.206s coverage: 78.9% of statements [2021-04-17T22:46:58.738Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.140s coverage: 7.8% of statements [2021-04-17T22:46:58.738Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-17T22:46:58.738Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-17T22:46:58.738Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-17T22:46:59.343Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.266s coverage: 32.0% of statements [2021-04-17T22:46:59.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-17T22:46:59.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-17T22:46:59.343Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-17T22:47:00.753Z] lf-activate-venv(): INFO: Adding /tmp/venv-5Dbi/bin to PATH [2021-04-17T22:47:00.753Z] INFO: No Stack... [2021-04-17T22:47:00.753Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-17T22:47:00.753Z] INFO: Archiving Costs [Pipeline] sh [2021-04-17T22:47:01.060Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-17T22:47:01.061Z] + cut -d, -f6 [Pipeline] lock [2021-04-17T22:47:01.143Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-881-2-stack-cost] [2021-04-17T22:47:01.155Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-881-2-stack-cost] did not exist. Created. [2021-04-17T22:47:01.156Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-881-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-17T22:47:01.480Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-17T22:47:01.586Z] Stashed 1 file(s) [Pipeline] } [2021-04-17T22:47:01.593Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-881-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-17T22:47:03.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.327s coverage: 57.1% of statements [2021-04-17T22:47:03.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.151s coverage: 6.6% of statements [2021-04-17T22:47:04.296Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements [2021-04-17T22:47:04.296Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-17T22:47:04.896Z] GO111MODULE=on go vet ./... [2021-04-17T22:47:51.931Z] gofmt -l . [2021-04-17T22:47:51.931Z] [ "`gofmt -l .`" = "" ] [2021-04-17T22:47:51.931Z] ./bin/test-attribution-txt.sh [2021-04-17T22:47:51.931Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-17T22:47:51.959Z] $ docker stop --time=1 69005a117f837f050c210767a51942f84e2e713fe6a6ef9bb941ef8bf6d4c2fa [2021-04-17T22:47:54.265Z] $ docker rm -f 69005a117f837f050c210767a51942f84e2e713fe6a6ef9bb941ef8bf6d4c2fa [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-17T22:47:55.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-17T22:47:55.379Z] Warning: overwriting stash ‘coverage-report’ [2021-04-17T22:47:56.445Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-17T22:47:56.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-17T22:47:57.276Z] + ls -al . [2021-04-17T22:47:57.276Z] total 224 [2021-04-17T22:47:57.276Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 22:47 . [2021-04-17T22:47:57.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:44 .. [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 17 22:44 .dockerignore [2021-04-17T22:47:57.276Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 22:44 .git [2021-04-17T22:47:57.276Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:44 .github [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 17 22:44 .gitignore [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 17 22:44 Dockerfile.build [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 17 22:44 Jenkinsfile [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 17 22:44 LICENSE [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 17 22:44 Makefile [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 17 22:44 README.md [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 17 22:44 RELEASE-NOTES.txt [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 22:41 VERSION [2021-04-17T22:47:57.276Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 22:44 bin [2021-04-17T22:47:57.276Z] -rw-r--r-- 1 jenkins jenkins 100116 Apr 17 22:47 coverage.out [2021-04-17T22:47:57.276Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:44 example [2021-04-17T22:47:57.276Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 17 22:47 go.mod [2021-04-17T22:47:57.276Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 17 22:47 go.sum [2021-04-17T22:47:57.276Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 17 22:44 internal [2021-04-17T22:47:57.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:44 openapi [2021-04-17T22:47:57.276Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 17 22:44 pkg [2021-04-17T22:47:57.276Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 22:44 snap [2021-04-17T22:47:57.276Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 17 22:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:47:57.627Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d0a83b780265e8f475c3514d228360d0b089da8f --label arch=arm64 --label version=0.0.0 . [2021-04-17T22:47:58.240Z] Sending build context to Docker daemon 2.545MB [2021-04-17T22:47:58.240Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-17T22:47:58.240Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-17T22:47:58.240Z] ---> b17f129e84db [2021-04-17T22:47:58.240Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-17T22:47:58.515Z] ---> Running in 6c6b9f4c1077 [2021-04-17T22:47:59.112Z] Removing intermediate container 6c6b9f4c1077 [2021-04-17T22:47:59.112Z] ---> 46f6ba9385a9 [2021-04-17T22:47:59.112Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:47:59.112Z] ---> Running in 44f8297bdeb5 [2021-04-17T22:47:59.712Z] Removing intermediate container 44f8297bdeb5 [2021-04-17T22:47:59.712Z] ---> 2c1e085650f7 [2021-04-17T22:47:59.712Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:47:59.712Z] ---> Running in 796cc39a6649 [2021-04-17T22:48:02.334Z] Removing intermediate container 796cc39a6649 [2021-04-17T22:48:02.334Z] ---> b69c2b3d5213 [2021-04-17T22:48:02.334Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-17T22:48:02.334Z] ---> Running in fbd72e99fe7a [2021-04-17T22:48:02.940Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-17T22:48:03.915Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-17T22:48:04.890Z] OK: 144 MiB in 45 packages [2021-04-17T22:48:05.870Z] Removing intermediate container fbd72e99fe7a [2021-04-17T22:48:05.870Z] ---> 345056df9347 [2021-04-17T22:48:05.870Z] Step 7/23 : COPY . . [2021-04-17T22:48:07.306Z] ---> fdff64caa555 [2021-04-17T22:48:07.306Z] Step 8/23 : RUN go mod download [2021-04-17T22:48:07.306Z] ---> Running in 95e2b499b123 [2021-04-17T22:48:09.928Z] Removing intermediate container 95e2b499b123 [2021-04-17T22:48:09.928Z] ---> bc1ea1762459 [2021-04-17T22:48:09.928Z] Step 9/23 : RUN make build [2021-04-17T22:48:09.928Z] ---> Running in 7c2d0d40fc35 [2021-04-17T22:48:10.907Z] 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-17T22:48:43.263Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-17T22:48:46.649Z] Removing intermediate container 7c2d0d40fc35 [2021-04-17T22:48:46.649Z] ---> ce15aa767bfa [2021-04-17T22:48:46.649Z] Step 10/23 : FROM alpine:3.12 [2021-04-17T22:48:46.649Z] 3.12: Pulling from library/alpine [2021-04-17T22:48:46.649Z] d2f70382dc9a: Pulling fs layer [2021-04-17T22:48:46.924Z] d2f70382dc9a: Verifying Checksum [2021-04-17T22:48:46.924Z] d2f70382dc9a: Download complete [2021-04-17T22:48:47.521Z] d2f70382dc9a: Pull complete [2021-04-17T22:48:47.521Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-17T22:48:47.522Z] Status: Downloaded newer image for alpine:3.12 [2021-04-17T22:48:47.522Z] ---> 9852663dfa18 [2021-04-17T22:48:47.522Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-17T22:48:47.795Z] ---> Running in 082783b3ff32 [2021-04-17T22:48:48.069Z] Removing intermediate container 082783b3ff32 [2021-04-17T22:48:48.069Z] ---> f24a07f80a82 [2021-04-17T22:48:48.069Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-17T22:48:48.341Z] ---> Running in a7af8381f798 [2021-04-17T22:48:50.951Z] Removing intermediate container a7af8381f798 [2021-04-17T22:48:50.951Z] ---> 00e3569ff9f9 [2021-04-17T22:48:50.951Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-17T22:48:50.951Z] ---> Running in 0bd81bf00566 [2021-04-17T22:48:52.379Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-17T22:48:52.968Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-17T22:48:53.935Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-17T22:48:53.935Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-17T22:48:54.203Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-17T22:48:54.472Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-17T22:48:54.742Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-17T22:48:54.742Z] Executing busybox-1.31.1-r20.trigger [2021-04-17T22:48:54.742Z] OK: 8 MiB in 19 packages [2021-04-17T22:48:56.173Z] Removing intermediate container 0bd81bf00566 [2021-04-17T22:48:56.173Z] ---> 040d79939604 [2021-04-17T22:48:56.173Z] Step 14/23 : WORKDIR / [2021-04-17T22:48:56.445Z] ---> Running in be65501c5afb [2021-04-17T22:48:56.718Z] Removing intermediate container be65501c5afb [2021-04-17T22:48:56.718Z] ---> cadfa9e31839 [2021-04-17T22:48:56.718Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-17T22:48:57.317Z] ---> 52d3bc52d12e [2021-04-17T22:48:57.317Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-17T22:48:58.749Z] ---> fad10b4d014e [2021-04-17T22:48:58.749Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-17T22:48:59.343Z] ---> 651e21c1ac0c [2021-04-17T22:48:59.343Z] Step 18/23 : EXPOSE 49990 [2021-04-17T22:48:59.616Z] ---> Running in af7ce3b20df1 [2021-04-17T22:48:59.888Z] Removing intermediate container af7ce3b20df1 [2021-04-17T22:48:59.888Z] ---> c3348eb77bcf [2021-04-17T22:48:59.888Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-17T22:49:00.162Z] ---> Running in b5c2289168ad [2021-04-17T22:49:00.434Z] Removing intermediate container b5c2289168ad [2021-04-17T22:49:00.434Z] ---> 9e448e44068a [2021-04-17T22:49:00.434Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-17T22:49:00.711Z] ---> Running in 08d3da98bdba [2021-04-17T22:49:01.307Z] Removing intermediate container 08d3da98bdba [2021-04-17T22:49:01.307Z] ---> 3843b2d0a7df [2021-04-17T22:49:01.307Z] Step 21/23 : LABEL arch=arm64 [2021-04-17T22:49:01.307Z] ---> Running in 188c54bac87c [2021-04-17T22:49:01.911Z] Removing intermediate container 188c54bac87c [2021-04-17T22:49:01.911Z] ---> faf63b9553d5 [2021-04-17T22:49:01.911Z] Step 22/23 : LABEL git_sha=d0a83b780265e8f475c3514d228360d0b089da8f [2021-04-17T22:49:01.911Z] ---> Running in 184c7ddd4591 [2021-04-17T22:49:02.508Z] Removing intermediate container 184c7ddd4591 [2021-04-17T22:49:02.508Z] ---> 7b1474f375d0 [2021-04-17T22:49:02.508Z] Step 23/23 : LABEL version=0.0.0 [2021-04-17T22:49:02.508Z] ---> Running in b43a8a75cc58 [2021-04-17T22:49:03.108Z] Removing intermediate container b43a8a75cc58 [2021-04-17T22:49:03.108Z] ---> 1230e06c785a [2021-04-17T22:49:03.108Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-17T22:49:03.108Z] Successfully built 1230e06c785a [2021-04-17T22:49:03.108Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:49:03.571Z] ---> job-cost.sh [2021-04-17T22:49:03.571Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iEjQ [2021-04-17T22:49:42.510Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-17T22:51:19.263Z] lf-activate-venv(): INFO: Adding /tmp/venv-iEjQ/bin to PATH [2021-04-17T22:51:19.263Z] INFO: No Stack... [2021-04-17T22:51:19.263Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-17T22:51:19.263Z] INFO: Archiving Costs [Pipeline] sh [2021-04-17T22:51:19.601Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-04-17T22:51:19.601Z] + cut -d, -f6 [Pipeline] lock [2021-04-17T22:51:19.713Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-881-2-stack-cost] [2021-04-17T22:51:19.720Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-881-2-stack-cost] did not exist. Created. [2021-04-17T22:51:19.721Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-881-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-17T22:51:20.086Z] /w/workspace/device-sdk-go/2@tmp/durable-48ef7f4e/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-48ef7f4e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-17T22:51:20.430Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-17T22:51:20.450Z] Warning: overwriting stash ‘stack-cost’ [2021-04-17T22:51:20.605Z] Stashed 1 file(s) [Pipeline] } [2021-04-17T22:51:20.615Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-881-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-17T22:51:21.210Z] provisioning config files... [2021-04-17T22:51:21.224Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config1776655177282801696tmp [Pipeline] { [Pipeline] sh [2021-04-17T22:51:21.549Z] + set +x [2021-04-17T22:51:21.549Z] + curl -s https://codecov.io/bash [2021-04-17T22:51:21.549Z] + bash -s -- [2021-04-17T22:51:21.813Z] [2021-04-17T22:51:21.813Z] _____ _ [2021-04-17T22:51:21.813Z] / ____| | | [2021-04-17T22:51:21.813Z] | | ___ __| | ___ ___ _____ __ [2021-04-17T22:51:21.813Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-17T22:51:21.813Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-17T22:51:21.813Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-17T22:51:21.813Z] Bash-1.0.1 [2021-04-17T22:51:21.813Z] [2021-04-17T22:51:21.813Z] [2021-04-17T22:51:21.813Z] ==> git version 2.24.3 found [2021-04-17T22:51:21.813Z] ==> 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-17T22:51:21.813Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-17T22:51:21.813Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-17T22:51:21.813Z] ==> Jenkins CI detected. [2021-04-17T22:51:21.813Z] project root: . [2021-04-17T22:51:21.813Z] --> token set from env [2021-04-17T22:51:21.813Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-17T22:51:21.813Z] ==> Running gcov in . (disable via -X gcov) [2021-04-17T22:51:21.813Z] ==> Python coveragepy not found [2021-04-17T22:51:21.813Z] ==> Searching for coverage reports in: [2021-04-17T22:51:21.813Z] + . [2021-04-17T22:51:21.813Z] -> Found 1 reports [2021-04-17T22:51:21.813Z] ==> Detecting git/mercurial file structure [2021-04-17T22:51:21.813Z] ==> Reading reports [2021-04-17T22:51:21.813Z] + ./coverage.out bytes=100116 [2021-04-17T22:51:21.813Z] ==> Appending adjustments [2021-04-17T22:51:21.813Z] https://docs.codecov.io/docs/fixing-reports [2021-04-17T22:51:22.083Z] + Found adjustments [2021-04-17T22:51:22.083Z] ==> Gzipping contents [2021-04-17T22:51:22.083Z] 16K /tmp/codecov.t1SnhV.gz [2021-04-17T22:51:22.083Z] ==> Uploading reports [2021-04-17T22:51:22.083Z] url: https://codecov.io [2021-04-17T22:51:22.083Z] query: branch=PR-881&commit=d0a83b780265e8f475c3514d228360d0b089da8f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-881%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=881&job=&cmd_args= [2021-04-17T22:51:22.083Z] -> Pinging Codecov [2021-04-17T22:51:22.083Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-881&commit=d0a83b780265e8f475c3514d228360d0b089da8f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-881%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=881&job=&cmd_args= [2021-04-17T22:51:22.659Z] -> Uploading to [2021-04-17T22:51:22.659Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-17/7E55EF52A471D76F132DFD9A03CDDE97/d0a83b780265e8f475c3514d228360d0b089da8f/482f48fe-a971-4503-9eca-b5960531c08c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQTQ3YJIJLIJGVGTVHAPGJID7VJUNCGTQF3BY2BVBYAXUZ3IB42ZKRMI%2F20210417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210417T225122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc330773f997705b2ccc0d5ab4f6226d7131e87f55142807b9ceb7be173d5775 [2021-04-17T22:51:22.659Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-17T22:51:22.659Z] Dload Upload Total Spent Left Speed [2021-04-17T22:51:22.921Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13524 0 0 100 13524 0 31882 --:--:-- --:--:-- --:--:-- 31821 [2021-04-17T22:51:22.921Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d0a83b780265e8f475c3514d228360d0b089da8f [Pipeline] } [2021-04-17T22:51:22.930Z] 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-17T22:51:23.962Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:51:24.404Z] ---> package-listing.sh [2021-04-17T22:51:24.404Z] ++ facter osfamily [2021-04-17T22:51:24.404Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-17T22:51:24.404Z] + OS_FAMILY=redhat [2021-04-17T22:51:24.404Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-881 [2021-04-17T22:51:24.404Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-17T22:51:24.404Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-17T22:51:24.404Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-17T22:51:24.404Z] + PACKAGES=/tmp/packages_start.txt [2021-04-17T22:51:24.404Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-881 ']' [2021-04-17T22:51:24.404Z] + PACKAGES=/tmp/packages_end.txt [2021-04-17T22:51:24.404Z] + case "${OS_FAMILY}" in [2021-04-17T22:51:24.404Z] + rpm -qa [2021-04-17T22:51:24.404Z] + sort [2021-04-17T22:51:29.722Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-17T22:51:29.722Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-17T22:51:29.722Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-17T22:51:29.722Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-881 ']' [2021-04-17T22:51:29.722Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-881/archives/ [2021-04-17T22:51:29.722Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-881/archives/ [Pipeline] echo [2021-04-17T22:51:29.736Z] 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-881/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-17T22:51:30.026Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:51:30.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-17T22:51:30.333Z] [2021-04-17T22:51:30.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-17T22:51:30.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-17T22:51:30.654Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-17T22:51:30.654Z] df20fa9351a1: Pulling fs layer [2021-04-17T22:51:30.654Z] 36b3adc4ff6f: Pulling fs layer [2021-04-17T22:51:30.654Z] 8ad3a11d3b57: Pulling fs layer [2021-04-17T22:51:30.654Z] 46f8f816bc3b: Pulling fs layer [2021-04-17T22:51:30.654Z] 93b61091891f: Pulling fs layer [2021-04-17T22:51:30.654Z] 93b9cdb0e59b: Pulling fs layer [2021-04-17T22:51:30.654Z] 5e14af77c1be: Pulling fs layer [2021-04-17T22:51:30.654Z] 01666e4c0597: Pulling fs layer [2021-04-17T22:51:30.654Z] aa168da1d23b: Pulling fs layer [2021-04-17T22:51:30.654Z] 93b9cdb0e59b: Waiting [2021-04-17T22:51:30.654Z] 01666e4c0597: Waiting [2021-04-17T22:51:30.654Z] aa168da1d23b: Waiting [2021-04-17T22:51:30.654Z] 46f8f816bc3b: Waiting [2021-04-17T22:51:30.654Z] 93b61091891f: Waiting [2021-04-17T22:51:30.654Z] 5e14af77c1be: Waiting [2021-04-17T22:51:30.654Z] 36b3adc4ff6f: Verifying Checksum [2021-04-17T22:51:30.654Z] 36b3adc4ff6f: Download complete [2021-04-17T22:51:30.654Z] 46f8f816bc3b: Verifying Checksum [2021-04-17T22:51:30.654Z] 46f8f816bc3b: Download complete [2021-04-17T22:51:30.654Z] df20fa9351a1: Verifying Checksum [2021-04-17T22:51:30.654Z] df20fa9351a1: Download complete [2021-04-17T22:51:30.930Z] 93b9cdb0e59b: Verifying Checksum [2021-04-17T22:51:30.930Z] 93b9cdb0e59b: Download complete [2021-04-17T22:51:30.930Z] 5e14af77c1be: Download complete [2021-04-17T22:51:30.930Z] 93b61091891f: Download complete [2021-04-17T22:51:30.930Z] 01666e4c0597: Verifying Checksum [2021-04-17T22:51:30.930Z] 01666e4c0597: Download complete [2021-04-17T22:51:30.930Z] 8ad3a11d3b57: Verifying Checksum [2021-04-17T22:51:30.930Z] 8ad3a11d3b57: Download complete [2021-04-17T22:51:31.197Z] df20fa9351a1: Pull complete [2021-04-17T22:51:31.463Z] 36b3adc4ff6f: Pull complete [2021-04-17T22:51:32.047Z] 8ad3a11d3b57: Pull complete [2021-04-17T22:51:32.311Z] 46f8f816bc3b: Pull complete [2021-04-17T22:51:33.262Z] aa168da1d23b: Verifying Checksum [2021-04-17T22:51:33.262Z] aa168da1d23b: Download complete [2021-04-17T22:51:33.524Z] 93b61091891f: Pull complete [2021-04-17T22:51:34.097Z] 93b9cdb0e59b: Pull complete [2021-04-17T22:51:34.097Z] 5e14af77c1be: Pull complete [2021-04-17T22:51:34.360Z] 01666e4c0597: Pull complete [2021-04-17T22:51:40.981Z] aa168da1d23b: Pull complete [2021-04-17T22:51:40.981Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-17T22:51:40.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-17T22:51:40.981Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-17T22:51:41.161Z] prd-centos7-docker-4c-2g-582 does not seem to be running inside a container [2021-04-17T22:51:41.210Z] $ 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-881/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-881 -v /w/workspace/dgexfoundry_device-sdk-go_PR-881:/w/workspace/dgexfoundry_device-sdk-go_PR-881:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-17T22:51:45.027Z] $ docker top eb9adebae5e8010f513b05cc350af5f536ca2946638c19d7cb76099156903867 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-17T22:51:45.473Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-17T22:51:45.773Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-17T22:51:46.072Z] + ls /var/log/sa-host [2021-04-17T22:51:46.072Z] + sadf -c /var/log/sa-host/sa17 [2021-04-17T22:51:46.072Z] file_magic: OK [2021-04-17T22:51:46.072Z] HZ: Using current value: 100 [2021-04-17T22:51:46.072Z] file_header: OK [2021-04-17T22:51:46.072Z] 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-17T22:51:46.072Z] Statistics: [2021-04-17T22:51:46.072Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-17T22:51:46.072Z] File successfully converted to sysstat format version 12.2.1 [2021-04-17T22:51:46.072Z] + sadf -c /var/log/sa-host/sa23 [2021-04-17T22:51:46.072Z] file_magic: OK [2021-04-17T22:51:46.072Z] HZ: Using current value: 100 [2021-04-17T22:51:46.072Z] file_header: OK [2021-04-17T22:51:46.072Z] 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-17T22:51:46.072Z] Statistics: [2021-04-17T22:51:46.072Z] Hnuu...uuuununununu... [2021-04-17T22:51:46.072Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-17T22:51:46.650Z] provisioning config files... [2021-04-17T22:51:46.667Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config774831238457666153tmp [Pipeline] { [Pipeline] echo [2021-04-17T22:51:46.689Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:51:46.984Z] ---> create-netrc.sh [Pipeline] } [2021-04-17T22:51:46.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-17T22:51:47.021Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:51:47.319Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-17T22:51:47.332Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:51:47.627Z] ---> sudo-logs.sh [2021-04-17T22:51:47.627Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-17T22:51:47.662Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:51:47.960Z] ---> job-cost.sh [2021-04-17T22:51:47.960Z] lf-activate-venv: SKIPPING [2021-04-17T22:51:47.960Z] DEBUG: total: 0.20999999344348907 [2021-04-17T22:51:47.960Z] INFO: Retrieving Stack Cost... [2021-04-17T22:51:49.884Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-17T22:51:50.147Z] INFO: Archiving Costs [Pipeline] echo [2021-04-17T22:51:50.163Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-17T22:51:50.460Z] ---> logs-deploy.sh [2021-04-17T22:51:50.460Z] lf-activate-venv: SKIPPING [2021-04-17T22:51:50.460Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-881/2 [2021-04-17T22:51:50.460Z] INFO: archiving workspace using pattern(s): [2021-04-17T22:51:52.384Z] Archives upload complete. [2021-04-17T22:51:52.384Z] INFO: archiving logs to Nexus