Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (c85acae711aa5a60059587a6e7d11ae63463e328) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1879 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 Merge succeeded, producing aac70bba8a8cbe0961ac72a11d2de48656e10374 Checking out Revision aac70bba8a8cbe0961ac72a11d2de48656e10374 (PR-725) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aac70bba8a8cbe0961ac72a11d2de48656e10374 # timeout=10 Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 02adb78950723d59fdd745462f627754dd55f7e4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-26T22:55:04.927Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-26T22:55:05.036Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-26T22:55:05.064Z] ========================================================= [2021-04-26T22:55:05.064Z] EdgeX Global Pipelines Version Info [2021-04-26T22:55:05.064Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-26T22:55:07.245Z] ------------------- [2021-04-26T22:55:07.245Z] stable info: [2021-04-26T22:55:07.245Z] ------------------- [2021-04-26T22:55:07.245Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-26T22:55:07.245Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-26T22:55:07.245Z] Message: update stable to v1.0.186 [2021-04-26T22:55:08.200Z] ------------------- [2021-04-26T22:55:08.200Z] experimental info: [2021-04-26T22:55:08.200Z] ------------------- [2021-04-26T22:55:08.200Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-26T22:55:08.200Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-26T22:55:08.200Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-26T22:55:08.408Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-26T22:55:08.431Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-26T22:55:08.455Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-26T22:55:08.479Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-26T22:55:08.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-26T22:55:08.566Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-26T22:55:08.591Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-26T22:55:08.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-26T22:55:08.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-26T22:55:08.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-26T22:55:08.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-26T22:55:08.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-04-26T22:55:08.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-26T22:55:08.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-26T22:55:08.792Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-26T22:55:08.816Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T22:55:08.839Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T22:55:08.864Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-26T22:55:08.888Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-26T22:55:08.911Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-26T22:55:08.940Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-26T22:55:08.968Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-26T22:55:09.000Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-26T22:55:09.023Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-26T22:55:09.049Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-26T22:55:09.076Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-26T22:55:09.127Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-04-26T22:55:09.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-04-26T22:55:09.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-04-26T22:55:09.198Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aac70bba8a8cbe0961ac72a11d2de48656e10374 [Pipeline] echo [2021-04-26T22:55:09.220Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aac70bb [Pipeline] echo [2021-04-26T22:55:09.249Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T22:55:09.334Z] provisioning config files... [2021-04-26T22:55:09.370Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config11806397089311467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T22:55:09.739Z] ---> docker-login.sh [2021-04-26T22:55:09.739Z] nexus3.edgexfoundry.org:10001 [2021-04-26T22:55:10.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:55:10.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:55:10.273Z] Configure a credential helper to remove this warning. See [2021-04-26T22:55:10.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:55:10.273Z] [2021-04-26T22:55:10.273Z] Login Succeeded [2021-04-26T22:55:10.273Z] nexus3.edgexfoundry.org:10002 [2021-04-26T22:55:10.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:55:10.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:55:10.546Z] Configure a credential helper to remove this warning. See [2021-04-26T22:55:10.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:55:10.546Z] [2021-04-26T22:55:10.546Z] Login Succeeded [2021-04-26T22:55:10.546Z] nexus3.edgexfoundry.org:10003 [2021-04-26T22:55:10.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:55:10.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:55:10.823Z] Configure a credential helper to remove this warning. See [2021-04-26T22:55:10.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:55:10.823Z] [2021-04-26T22:55:10.823Z] Login Succeeded [2021-04-26T22:55:10.823Z] nexus3.edgexfoundry.org:10004 [2021-04-26T22:55:11.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:55:11.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:55:11.133Z] Configure a credential helper to remove this warning. See [2021-04-26T22:55:11.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:55:11.133Z] [2021-04-26T22:55:11.133Z] Login Succeeded [2021-04-26T22:55:11.133Z] docker.io [2021-04-26T22:55:11.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:55:11.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:55:11.661Z] Configure a credential helper to remove this warning. See [2021-04-26T22:55:11.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:55:11.661Z] [2021-04-26T22:55:11.661Z] Login Succeeded [2021-04-26T22:55:11.661Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T22:55:11.671Z] 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-26T22:55:12.126Z] + git log --format=format:%s -1 aac70bba8a8cbe0961ac72a11d2de48656e10374 [Pipeline] echo [2021-04-26T22:55:12.225Z] GIT_COMMIT: aac70bba8a8cbe0961ac72a11d2de48656e10374, Commit Message: Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD [Pipeline] echo [2021-04-26T22:55:12.240Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-26T22:55:12.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T22:55:12.861Z] [2021-04-26T22:55:12.861Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T22:55:13.206Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T22:55:13.206Z] latest: Pulling from edgex-devops/git-semver [2021-04-26T22:55:13.206Z] 31603596830f: Pulling fs layer [2021-04-26T22:55:13.206Z] 2a8b12db71e7: Pulling fs layer [2021-04-26T22:55:13.206Z] 6ca5941a6612: Pulling fs layer [2021-04-26T22:55:13.206Z] ecc8261a40a4: Pulling fs layer [2021-04-26T22:55:13.206Z] ecc8261a40a4: Waiting [2021-04-26T22:55:13.206Z] 2a8b12db71e7: Verifying Checksum [2021-04-26T22:55:13.206Z] 2a8b12db71e7: Download complete [2021-04-26T22:55:13.475Z] 31603596830f: Verifying Checksum [2021-04-26T22:55:13.475Z] 31603596830f: Download complete [2021-04-26T22:55:13.475Z] ecc8261a40a4: Verifying Checksum [2021-04-26T22:55:13.475Z] ecc8261a40a4: Download complete [2021-04-26T22:55:13.475Z] 6ca5941a6612: Verifying Checksum [2021-04-26T22:55:13.475Z] 6ca5941a6612: Download complete [2021-04-26T22:55:14.081Z] 31603596830f: Pull complete [2021-04-26T22:55:14.081Z] 2a8b12db71e7: Pull complete [2021-04-26T22:55:15.500Z] 6ca5941a6612: Pull complete [2021-04-26T22:55:15.500Z] ecc8261a40a4: Pull complete [2021-04-26T22:55:15.500Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-26T22:55:15.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-26T22:55:15.763Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-26T22:55:15.897Z] prd-centos7-docker-4c-2g-1879 does not seem to be running inside a container [2021-04-26T22:55:15.963Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-26T22:55:18.047Z] $ docker top d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-26T22:55:18.289Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T22:55:18.289Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T22:55:18.537Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T22:55:18.543Z] $ docker exec d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 ssh-agent [2021-04-26T22:55:18.717Z] SSH_AUTH_SOCK=/tmp/ssh-tEj20dQOunB6/agent.12 [2021-04-26T22:55:18.717Z] SSH_AGENT_PID=17 [2021-04-26T22:55:18.732Z] Running ssh-add (command line suppressed) [2021-04-26T22:55:18.868Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5403704625520624617.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_5403704625520624617.key) [2021-04-26T22:55:18.925Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T22:55:19.236Z] + git tag --points-at HEAD [Pipeline] } [2021-04-26T22:55:19.261Z] $ docker exec --env ******** --env ******** d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 ssh-agent -k [2021-04-26T22:55:19.385Z] unset SSH_AUTH_SOCK; [2021-04-26T22:55:19.385Z] unset SSH_AGENT_PID; [2021-04-26T22:55:19.386Z] echo Agent pid 17 killed; [2021-04-26T22:55:19.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-26T22:55:19.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-26T22:55:19.475Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-26T22:55:19.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-26T22:55:19.703Z] $ docker exec d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 ssh-agent [2021-04-26T22:55:19.936Z] SSH_AUTH_SOCK=/tmp/ssh-cwv9ShofQFnR/agent.46 [2021-04-26T22:55:19.936Z] SSH_AGENT_PID=51 [2021-04-26T22:55:19.946Z] Running ssh-add (command line suppressed) [2021-04-26T22:55:20.104Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4861742894165286997.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4861742894165286997.key) [2021-04-26T22:55:20.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-26T22:55:20.496Z] + git semver init [2021-04-26T22:55:20.496Z] # -> Open(): unable to determine branch for HEAD [2021-04-26T22:55:20.496Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-04-26T22:55:20.496Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-26T22:55:20.496Z] # $SEMVER_REMOTE_NAME = origin [2021-04-26T22:55:20.496Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-26T22:55:20.496Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-26T22:55:20.496Z] # $SEMVER_BRANCH = PR-725 [2021-04-26T22:55:20.496Z] # $SEMVER_TEMP = /tmp/semver-795808116 [2021-04-26T22:55:20.496Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-26T22:55:21.447Z] # '/tmp/semver-795808116' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-04-26T22:55:21.447Z] # -> Force: false [2021-04-26T22:55:21.447Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-04-26T22:55:21.465Z] $ docker exec --env ******** --env ******** d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 ssh-agent -k [2021-04-26T22:55:21.652Z] unset SSH_AUTH_SOCK; [2021-04-26T22:55:21.654Z] unset SSH_AGENT_PID; [2021-04-26T22:55:21.654Z] echo Agent pid 51 killed; [2021-04-26T22:55:21.715Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-26T22:55:22.063Z] + git semver [Pipeline] } [2021-04-26T22:55:22.085Z] $ docker stop --time=1 d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 [2021-04-26T22:55:23.829Z] $ docker rm -f d551c97034b924f57c4b840f67c119d3f41e6127a5d294d0bf7d3d589daab169 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T22:55:24.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-26T22:55:24.678Z] Stashed 1 file(s) [Pipeline] echo [2021-04-26T22:55:24.681Z] [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-26T22:55:39.886Z] Still waiting to schedule task [2021-04-26T22:55:39.887Z] Executor slot already in use; ‘prd-centos7-docker-4c-2g-1882’ is offline [2021-04-26T22:55:39.890Z] Still waiting to schedule task [2021-04-26T22:55:39.890Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-26T22:55:49.083Z] Running on prd-centos7-docker-4c-2g-1882 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-26T22:55:49.100Z] Running in /w/workspace/device-sdk-go/39 [Pipeline] { [Pipeline] checkout [2021-04-26T22:55:51.785Z] using credential edgex-jenkins-ssh [2021-04-26T22:55:51.804Z] Cloning the remote Git repository [2021-04-26T22:55:51.836Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T22:55:51.909Z] > git init /w/workspace/device-sdk-go/39 # timeout=10 [2021-04-26T22:55:51.969Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T22:55:51.970Z] > git --version # timeout=10 [2021-04-26T22:55:51.977Z] > git --version # 'git version 2.24.3' [2021-04-26T22:55:51.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T22:55:52.003Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T22:55:53.312Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-26T22:55:53.507Z] Merge succeeded, producing bafcb6b579942374e15c29b181e34d7847f24703 [2021-04-26T22:55:53.507Z] Checking out Revision bafcb6b579942374e15c29b181e34d7847f24703 (PR-725) [2021-04-26T22:55:52.754Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T22:55:52.766Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T22:55:52.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T22:55:52.812Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T22:55:52.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T22:55:52.818Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-26T22:55:53.326Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T22:55:53.332Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-26T22:55:53.389Z] > git remote # timeout=10 [2021-04-26T22:55:53.395Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T22:55:53.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T22:55:53.404Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T22:55:53.504Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T22:55:53.515Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T22:55:53.530Z] > git checkout -f bafcb6b579942374e15c29b181e34d7847f24703 # timeout=10 [2021-04-26T22:55:57.192Z] Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" [2021-04-26T22:55:57.203Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T22:55:57.200Z] > git rev-list --no-walk 02adb78950723d59fdd745462f627754dd55f7e4 # timeout=10 [2021-04-26T22:55:58.211Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-26T22:55:58.540Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-26T22:55:58.837Z] + true [2021-04-26T22:55:58.837Z] + sudo service docker restart [2021-04-26T22:55:58.837Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T22:55:59.815Z] provisioning config files... [2021-04-26T22:55:59.863Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/39@tmp/config4115442010809926600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T22:56:00.193Z] ---> docker-login.sh [2021-04-26T22:56:00.193Z] nexus3.edgexfoundry.org:10001 [2021-04-26T22:56:00.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:56:00.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:56:00.726Z] Configure a credential helper to remove this warning. See [2021-04-26T22:56:00.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:56:00.726Z] [2021-04-26T22:56:00.726Z] Login Succeeded [2021-04-26T22:56:00.726Z] nexus3.edgexfoundry.org:10002 [2021-04-26T22:56:00.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:56:00.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:56:00.990Z] Configure a credential helper to remove this warning. See [2021-04-26T22:56:00.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:56:00.990Z] [2021-04-26T22:56:00.990Z] Login Succeeded [2021-04-26T22:56:00.990Z] nexus3.edgexfoundry.org:10003 [2021-04-26T22:56:00.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:56:00.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:56:00.990Z] Configure a credential helper to remove this warning. See [2021-04-26T22:56:00.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:56:00.990Z] [2021-04-26T22:56:00.990Z] Login Succeeded [2021-04-26T22:56:00.990Z] nexus3.edgexfoundry.org:10004 [2021-04-26T22:56:01.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:56:01.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:56:01.260Z] Configure a credential helper to remove this warning. See [2021-04-26T22:56:01.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:56:01.260Z] [2021-04-26T22:56:01.260Z] Login Succeeded [2021-04-26T22:56:01.260Z] docker.io [2021-04-26T22:56:01.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:56:01.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:56:01.527Z] Configure a credential helper to remove this warning. See [2021-04-26T22:56:01.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:56:01.527Z] [2021-04-26T22:56:01.527Z] Login Succeeded [2021-04-26T22:56:01.527Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T22:56:01.538Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T22:56:01.727Z] ========================================================= [2021-04-26T22:56:01.727Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-26T22:56:01.727Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T22:56:02.047Z] + 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-26T22:56:02.047Z] Sending build context to Docker daemon 2.469MB [2021-04-26T22:56:02.047Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T22:56:02.047Z] Step 2/8 : FROM ${BASE} [2021-04-26T22:56:02.313Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-26T22:56:02.313Z] 188c0c94c7c5: Pulling fs layer [2021-04-26T22:56:02.313Z] 0ef7d3d256c8: Pulling fs layer [2021-04-26T22:56:02.313Z] de9db76c5a1d: Pulling fs layer [2021-04-26T22:56:02.313Z] bca2f99d35d6: Pulling fs layer [2021-04-26T22:56:02.313Z] 93359f2a8cfa: Pulling fs layer [2021-04-26T22:56:02.313Z] 7c6f9722023f: Pulling fs layer [2021-04-26T22:56:02.313Z] a35cf1a2eb13: Pulling fs layer [2021-04-26T22:56:02.313Z] bca2f99d35d6: Waiting [2021-04-26T22:56:02.313Z] 7c6f9722023f: Waiting [2021-04-26T22:56:02.313Z] a35cf1a2eb13: Waiting [2021-04-26T22:56:02.313Z] 93359f2a8cfa: Waiting [2021-04-26T22:56:02.313Z] 0ef7d3d256c8: Verifying Checksum [2021-04-26T22:56:02.313Z] 0ef7d3d256c8: Download complete [2021-04-26T22:56:02.313Z] de9db76c5a1d: Verifying Checksum [2021-04-26T22:56:02.313Z] de9db76c5a1d: Download complete [2021-04-26T22:56:02.313Z] 93359f2a8cfa: Verifying Checksum [2021-04-26T22:56:02.313Z] 93359f2a8cfa: Download complete [2021-04-26T22:56:02.313Z] 7c6f9722023f: Verifying Checksum [2021-04-26T22:56:02.313Z] 7c6f9722023f: Download complete [2021-04-26T22:56:02.313Z] 188c0c94c7c5: Download complete [2021-04-26T22:56:02.589Z] 188c0c94c7c5: Pull complete [2021-04-26T22:56:02.853Z] 0ef7d3d256c8: Pull complete [2021-04-26T22:56:03.119Z] de9db76c5a1d: Pull complete [2021-04-26T22:56:03.704Z] a35cf1a2eb13: Verifying Checksum [2021-04-26T22:56:03.704Z] a35cf1a2eb13: Download complete [2021-04-26T22:56:04.654Z] bca2f99d35d6: Verifying Checksum [2021-04-26T22:56:04.654Z] bca2f99d35d6: Download complete [2021-04-26T22:56:09.991Z] bca2f99d35d6: Pull complete [2021-04-26T22:56:09.991Z] 93359f2a8cfa: Pull complete [2021-04-26T22:56:09.991Z] 7c6f9722023f: Pull complete [2021-04-26T22:56:16.638Z] a35cf1a2eb13: Pull complete [2021-04-26T22:56:16.638Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-26T22:56:16.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-26T22:56:16.638Z] ---> a62c8e92a672 [2021-04-26T22:56:16.638Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T22:56:16.902Z] ---> Running in 7a1597be532c [2021-04-26T22:56:17.168Z] Removing intermediate container 7a1597be532c [2021-04-26T22:56:17.168Z] ---> d71f1641688b [2021-04-26T22:56:17.168Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T22:56:17.168Z] ---> Running in 936a5746a187 [2021-04-26T22:56:18.120Z] Removing intermediate container 936a5746a187 [2021-04-26T22:56:18.120Z] ---> a15d0ea8d7d7 [2021-04-26T22:56:18.120Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T22:56:18.386Z] ---> Running in 8a2469ed206b [2021-04-26T22:56:19.343Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T22:56:19.930Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T22:56:20.193Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T22:56:20.455Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T22:56:20.455Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T22:56:20.455Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T22:56:20.718Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T22:56:20.718Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T22:56:20.718Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T22:56:20.982Z] OK: 167 MiB in 45 packages [2021-04-26T22:56:21.557Z] Removing intermediate container 8a2469ed206b [2021-04-26T22:56:21.557Z] ---> 0c358dfba4f5 [2021-04-26T22:56:21.557Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T22:56:21.822Z] ---> Running in 67598b9d022c [2021-04-26T22:56:21.822Z] Removing intermediate container 67598b9d022c [2021-04-26T22:56:21.822Z] ---> 7daf497262a6 [2021-04-26T22:56:21.822Z] Step 7/8 : COPY . . [2021-04-26T22:56:23.216Z] ---> 148bc6503d02 [2021-04-26T22:56:23.216Z] Step 8/8 : RUN go mod download [2021-04-26T22:56:23.216Z] ---> Running in 3f2c9ab3bc83 [2021-04-26T22:56:45.282Z] Removing intermediate container 3f2c9ab3bc83 [2021-04-26T22:56:45.282Z] ---> a991ff60746f [2021-04-26T22:56:45.282Z] Successfully built a991ff60746f [2021-04-26T22:56:45.282Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T22:56:45.608Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T22:56:46.188Z] . [Pipeline] withDockerContainer [2021-04-26T22:56:46.328Z] prd-centos7-docker-4c-2g-1882 does not seem to be running inside a container [2021-04-26T22:56:46.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T22:56:47.245Z] $ docker top de0ddf87950e26f5f83b5043abe2c74494502b956c9e5a19fe75c047efea9bd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T22:56:47.668Z] + go version [2021-04-26T22:56:47.668Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-26T22:56:47.688Z] $ docker stop --time=1 de0ddf87950e26f5f83b5043abe2c74494502b956c9e5a19fe75c047efea9bd7 [2021-04-26T22:56:49.043Z] $ docker rm -f de0ddf87950e26f5f83b5043abe2c74494502b956c9e5a19fe75c047efea9bd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T22:56:49.541Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-26T22:56:49.542Z] . [Pipeline] withDockerContainer [2021-04-26T22:56:49.651Z] prd-centos7-docker-4c-2g-1882 does not seem to be running inside a container [2021-04-26T22:56:49.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-26T22:56:50.381Z] $ docker top b6746c580b7799780af5a7c0c8fd71d0e180b634172ad114e8e71024728b0f97 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T22:56:50.820Z] + make test [2021-04-26T22:56:50.820Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T22:56:59.050Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T22:57:21.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T22:57:21.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T22:57:21.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T22:57:21.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T22:57:21.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T22:57:21.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.104s coverage: 28.1% of statements [2021-04-26T22:57:21.774Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.084s coverage: 78.9% of statements [2021-04-26T22:57:22.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.071s coverage: 7.8% of statements [2021-04-26T22:57:22.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T22:57:22.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T22:57:22.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T22:57:22.961Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.135s coverage: 32.0% of statements [2021-04-26T22:57:22.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T22:57:22.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T22:57:22.961Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T22:57:23.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.141s coverage: 57.2% of statements [2021-04-26T22:57:24.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.289s coverage: 6.6% of statements [2021-04-26T22:57:24.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements [2021-04-26T22:57:24.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T22:57:24.607Z] GO111MODULE=on go vet ./... [2021-04-26T22:57:31.321Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1883 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-04-26T22:57:31.346Z] Running in /w/workspace/device-sdk-go/39 [Pipeline] { [Pipeline] checkout [2021-04-26T22:57:36.875Z] using credential edgex-jenkins-ssh [2021-04-26T22:57:36.918Z] Cloning the remote Git repository [2021-04-26T22:57:36.991Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T22:57:37.096Z] > git init /w/workspace/device-sdk-go/39 # timeout=10 [2021-04-26T22:57:37.189Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T22:57:37.189Z] > git --version # timeout=10 [2021-04-26T22:57:37.206Z] > git --version # 'git version 2.17.1' [2021-04-26T22:57:37.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T22:57:37.261Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T22:57:38.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T22:57:38.498Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-26T22:57:38.518Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-26T22:57:38.548Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-26T22:57:38.549Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T22:57:38.562Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-26T22:57:39.190Z] Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-04-26T22:57:39.600Z] Merge succeeded, producing f9162cc0bd1667bc92c4ddb2f139765b36aa5097 [2021-04-26T22:57:39.601Z] Checking out Revision f9162cc0bd1667bc92c4ddb2f139765b36aa5097 (PR-725) [2021-04-26T22:57:39.205Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T22:57:39.219Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-04-26T22:57:39.331Z] > git remote # timeout=10 [2021-04-26T22:57:39.348Z] > git config --get remote.origin.url # timeout=10 [2021-04-26T22:57:39.370Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-26T22:57:39.381Z] > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 [2021-04-26T22:57:39.582Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-26T22:57:39.603Z] > git config core.sparsecheckout # timeout=10 [2021-04-26T22:57:39.617Z] > git checkout -f f9162cc0bd1667bc92c4ddb2f139765b36aa5097 # timeout=10 [2021-04-26T22:57:42.869Z] gofmt -l . [2021-04-26T22:57:42.869Z] [ "`gofmt -l .`" = "" ] [2021-04-26T22:57:42.869Z] ./bin/test-attribution-txt.sh [2021-04-26T22:57:42.869Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T22:57:42.893Z] $ docker stop --time=1 b6746c580b7799780af5a7c0c8fd71d0e180b634172ad114e8e71024728b0f97 [2021-04-26T22:57:43.820Z] Commit message: "Merge commit '188b4cc14b9321dd8b2b5872b94485f2cb4f6961' into HEAD" [2021-04-26T22:57:43.846Z] First time build. Skipping changelog. [2021-04-26T22:57:44.576Z] $ docker rm -f b6746c580b7799780af5a7c0c8fd71d0e180b634172ad114e8e71024728b0f97 [2021-04-26T22:57:43.826Z] > git rev-list --no-walk 02adb78950723d59fdd745462f627754dd55f7e4 # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T22:57:45.206Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T22:57:46.052Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-04-26T22:57:46.123Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-26T22:57:46.474Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2021-04-26T22:57:49.672Z] + true [2021-04-26T22:57:49.672Z] + sudo service docker restart [2021-04-26T22:57:49.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T22:57:50.011Z] + ls -al . [2021-04-26T22:57:50.011Z] total 188 [2021-04-26T22:57:50.011Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 22:57 . [2021-04-26T22:57:50.011Z] drwxrwxr-x. 4 jenkins jenkins 30 Apr 26 22:55 .. [2021-04-26T22:57:50.011Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 22:55 bin [2021-04-26T22:57:50.011Z] -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 22:57 coverage.out [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 22:55 Dockerfile.build [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 22:55 .dockerignore [2021-04-26T22:57:50.011Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 22:55 example [2021-04-26T22:57:50.011Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 22:55 .git [2021-04-26T22:57:50.011Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 22:55 .github [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 22:55 .gitignore [2021-04-26T22:57:50.011Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 26 22:57 go.mod [2021-04-26T22:57:50.011Z] -rw-r--r--. 1 jenkins jenkins 20957 Apr 26 22:57 go.sum [2021-04-26T22:57:50.011Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 22:55 internal [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 894 Apr 26 22:55 Jenkinsfile [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 22:55 LICENSE [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 22:55 Makefile [2021-04-26T22:57:50.011Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 22:55 openapi [2021-04-26T22:57:50.011Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 22:55 pkg [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 22:55 README.md [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 22:55 RELEASE-NOTES.txt [2021-04-26T22:57:50.011Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 22:55 snap [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 22:55 VERSION [2021-04-26T22:57:50.011Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 22:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T22:57:50.319Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=aac70bba8a8cbe0961ac72a11d2de48656e10374 --label arch=amd64 --label version=0.0.0 . [2021-04-26T22:57:50.583Z] Sending build context to Docker daemon 2.57MB [2021-04-26T22:57:50.583Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T22:57:50.583Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T22:57:50.583Z] ---> a991ff60746f [2021-04-26T22:57:50.583Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T22:57:51.158Z] ---> Running in dc98c4574a19 [2021-04-26T22:57:51.158Z] Removing intermediate container dc98c4574a19 [2021-04-26T22:57:51.158Z] ---> 66e6953acffb [2021-04-26T22:57:51.158Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T22:57:51.158Z] ---> Running in 0f020bde68d5 [2021-04-26T22:57:51.423Z] Removing intermediate container 0f020bde68d5 [2021-04-26T22:57:51.423Z] ---> b11d7e07e841 [2021-04-26T22:57:51.423Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T22:57:51.423Z] ---> Running in bef0b6f699ef [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-26T22:57:51.691Z] provisioning config files... [2021-04-26T22:57:51.748Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/39@tmp/config8705836931006901272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-26T22:57:52.115Z] ---> docker-login.sh [2021-04-26T22:57:52.115Z] nexus3.edgexfoundry.org:10001 [2021-04-26T22:57:52.828Z] Removing intermediate container bef0b6f699ef [2021-04-26T22:57:52.828Z] ---> 62955246682f [2021-04-26T22:57:52.828Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T22:57:52.828Z] ---> Running in b66a5e1b2461 [2021-04-26T22:57:53.095Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T22:57:53.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:57:53.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:57:53.697Z] Configure a credential helper to remove this warning. See [2021-04-26T22:57:53.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:57:53.697Z] [2021-04-26T22:57:53.697Z] Login Succeeded [2021-04-26T22:57:53.697Z] nexus3.edgexfoundry.org:10002 [2021-04-26T22:57:53.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:57:53.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:57:53.970Z] Configure a credential helper to remove this warning. See [2021-04-26T22:57:53.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:57:53.970Z] [2021-04-26T22:57:53.970Z] Login Succeeded [2021-04-26T22:57:53.970Z] nexus3.edgexfoundry.org:10003 [2021-04-26T22:57:54.044Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T22:57:54.308Z] OK: 167 MiB in 45 packages [2021-04-26T22:57:54.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:57:54.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:57:54.568Z] Configure a credential helper to remove this warning. See [2021-04-26T22:57:54.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:57:54.568Z] [2021-04-26T22:57:54.568Z] Login Succeeded [2021-04-26T22:57:54.568Z] nexus3.edgexfoundry.org:10004 [2021-04-26T22:57:54.881Z] Removing intermediate container b66a5e1b2461 [2021-04-26T22:57:54.881Z] ---> 171a6127deb0 [2021-04-26T22:57:54.881Z] Step 7/23 : COPY . . [2021-04-26T22:57:55.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:57:55.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:57:55.164Z] Configure a credential helper to remove this warning. See [2021-04-26T22:57:55.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:57:55.164Z] [2021-04-26T22:57:55.164Z] Login Succeeded [2021-04-26T22:57:55.164Z] docker.io [2021-04-26T22:57:55.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-26T22:57:55.838Z] ---> 94a8ac5ff859 [2021-04-26T22:57:55.838Z] Step 8/23 : RUN go mod download [2021-04-26T22:57:55.838Z] ---> Running in 5e7a6cb17174 [2021-04-26T22:57:56.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-26T22:57:56.034Z] Configure a credential helper to remove this warning. See [2021-04-26T22:57:56.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-26T22:57:56.034Z] [2021-04-26T22:57:56.034Z] Login Succeeded [2021-04-26T22:57:56.034Z] ---> docker-login.sh ends [Pipeline] } [2021-04-26T22:57:56.051Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-26T22:57:56.347Z] ========================================================= [2021-04-26T22:57:56.347Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-26T22:57:56.347Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-26T22:57:56.691Z] + 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-26T22:57:56.790Z] Removing intermediate container 5e7a6cb17174 [2021-04-26T22:57:56.790Z] ---> 67b2199f9fbe [2021-04-26T22:57:56.790Z] Step 9/23 : RUN make build [2021-04-26T22:57:56.962Z] Sending build context to Docker daemon 2.468MB [2021-04-26T22:57:57.060Z] ---> Running in bf1122a7ee4c [2021-04-26T22:57:57.235Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T22:57:57.235Z] Step 2/8 : FROM ${BASE} [2021-04-26T22:57:57.235Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-26T22:57:57.235Z] 5f621e34cdf4: Pulling fs layer [2021-04-26T22:57:57.235Z] a4357932f1b6: Pulling fs layer [2021-04-26T22:57:57.235Z] 18c013af1878: Pulling fs layer [2021-04-26T22:57:57.235Z] 00ac8860ef70: Pulling fs layer [2021-04-26T22:57:57.235Z] 63d7cb157983: Pulling fs layer [2021-04-26T22:57:57.235Z] b116817d02f9: Pulling fs layer [2021-04-26T22:57:57.235Z] 745a02a5169b: Pulling fs layer [2021-04-26T22:57:57.235Z] 63d7cb157983: Waiting [2021-04-26T22:57:57.235Z] 00ac8860ef70: Waiting [2021-04-26T22:57:57.235Z] 745a02a5169b: Waiting [2021-04-26T22:57:57.235Z] b116817d02f9: Waiting [2021-04-26T22:57:57.235Z] 18c013af1878: Download complete [2021-04-26T22:57:57.235Z] a4357932f1b6: Verifying Checksum [2021-04-26T22:57:57.235Z] a4357932f1b6: Download complete [2021-04-26T22:57:57.235Z] 63d7cb157983: Verifying Checksum [2021-04-26T22:57:57.235Z] 63d7cb157983: Download complete [2021-04-26T22:57:57.235Z] b116817d02f9: Download complete [2021-04-26T22:57:57.235Z] 5f621e34cdf4: Download complete [2021-04-26T22:57:57.646Z] 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-26T22:57:57.839Z] 5f621e34cdf4: Pull complete [2021-04-26T22:57:58.443Z] a4357932f1b6: Pull complete [2021-04-26T22:57:58.721Z] 18c013af1878: Pull complete [2021-04-26T22:57:59.698Z] 745a02a5169b: Verifying Checksum [2021-04-26T22:57:59.698Z] 745a02a5169b: Download complete [2021-04-26T22:58:00.672Z] 00ac8860ef70: Verifying Checksum [2021-04-26T22:58:00.672Z] 00ac8860ef70: Download complete [2021-04-26T22:58:10.023Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T22:58:10.601Z] Removing intermediate container bf1122a7ee4c [2021-04-26T22:58:10.601Z] ---> 90ab44418c15 [2021-04-26T22:58:10.601Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T22:58:10.844Z] 00ac8860ef70: Pull complete [2021-04-26T22:58:10.844Z] 63d7cb157983: Pull complete [2021-04-26T22:58:11.116Z] b116817d02f9: Pull complete [2021-04-26T22:58:11.177Z] 3.12: Pulling from library/alpine [2021-04-26T22:58:11.177Z] 339de151aab4: Pulling fs layer [2021-04-26T22:58:11.446Z] 339de151aab4: Download complete [2021-04-26T22:58:11.712Z] 339de151aab4: Pull complete [2021-04-26T22:58:11.712Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T22:58:11.712Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T22:58:11.712Z] ---> 13621d1b12d4 [2021-04-26T22:58:11.712Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T22:58:11.989Z] ---> Running in 7be010dbe493 [2021-04-26T22:58:11.989Z] Removing intermediate container 7be010dbe493 [2021-04-26T22:58:11.989Z] ---> 75bc71cd8c51 [2021-04-26T22:58:11.989Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T22:58:11.989Z] ---> Running in 4c4fe004f3db [2021-04-26T22:58:12.936Z] Removing intermediate container 4c4fe004f3db [2021-04-26T22:58:12.936Z] ---> b997b0dc88ff [2021-04-26T22:58:12.936Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T22:58:13.206Z] ---> Running in 24b98b1e3902 [2021-04-26T22:58:13.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-26T22:58:14.426Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-26T22:58:14.692Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T22:58:14.692Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T22:58:14.955Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T22:58:15.432Z] 745a02a5169b: Pull complete [2021-04-26T22:58:15.432Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-26T22:58:15.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-26T22:58:15.432Z] ---> b7e6874047d6 [2021-04-26T22:58:15.432Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T22:58:16.354Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T22:58:16.354Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T22:58:16.618Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T22:58:16.618Z] OK: 8 MiB in 19 packages [2021-04-26T22:58:17.193Z] Removing intermediate container 24b98b1e3902 [2021-04-26T22:58:17.193Z] ---> 43513e4c7dcc [2021-04-26T22:58:17.193Z] Step 14/23 : WORKDIR / [2021-04-26T22:58:17.193Z] ---> Running in e379120f5092 [2021-04-26T22:58:17.456Z] Removing intermediate container e379120f5092 [2021-04-26T22:58:17.456Z] ---> b87234263668 [2021-04-26T22:58:17.456Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T22:58:17.719Z] ---> b84ad9c6f927 [2021-04-26T22:58:17.719Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T22:58:18.075Z] ---> Running in d7f859319e23 [2021-04-26T22:58:18.075Z] Removing intermediate container d7f859319e23 [2021-04-26T22:58:18.075Z] ---> 34efef116d6b [2021-04-26T22:58:18.075Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T22:58:18.296Z] ---> 1e5c4b836ded [2021-04-26T22:58:18.297Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T22:58:18.353Z] ---> Running in 65600ce9ae5b [2021-04-26T22:58:18.560Z] ---> 11f305218e94 [2021-04-26T22:58:18.560Z] Step 18/23 : EXPOSE 49990 [2021-04-26T22:58:18.560Z] ---> Running in 782ec5eac630 [2021-04-26T22:58:18.824Z] Removing intermediate container 782ec5eac630 [2021-04-26T22:58:18.824Z] ---> eabfff5231cc [2021-04-26T22:58:18.824Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T22:58:18.824Z] ---> Running in cc5fa44b5c31 [2021-04-26T22:58:19.087Z] Removing intermediate container cc5fa44b5c31 [2021-04-26T22:58:19.088Z] ---> b7279630ee47 [2021-04-26T22:58:19.088Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T22:58:19.088Z] ---> Running in 617986030f39 [2021-04-26T22:58:19.088Z] Removing intermediate container 617986030f39 [2021-04-26T22:58:19.088Z] ---> 5d573ea3bdf9 [2021-04-26T22:58:19.088Z] Step 21/23 : LABEL arch=amd64 [2021-04-26T22:58:19.351Z] ---> Running in b42be683a43f [2021-04-26T22:58:19.351Z] Removing intermediate container b42be683a43f [2021-04-26T22:58:19.351Z] ---> 9599d8651997 [2021-04-26T22:58:19.351Z] Step 22/23 : LABEL git_sha=aac70bba8a8cbe0961ac72a11d2de48656e10374 [2021-04-26T22:58:19.616Z] ---> Running in 7d60b1c85a73 [2021-04-26T22:58:19.616Z] Removing intermediate container 7d60b1c85a73 [2021-04-26T22:58:19.616Z] ---> c3a6cc9a3a99 [2021-04-26T22:58:19.616Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T22:58:19.616Z] ---> Running in fc5f9bbe03d0 [2021-04-26T22:58:19.882Z] Removing intermediate container fc5f9bbe03d0 [2021-04-26T22:58:19.882Z] ---> 99ff915e9178 [2021-04-26T22:58:19.882Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-26T22:58:19.882Z] Successfully built 99ff915e9178 [2021-04-26T22:58:19.882Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-26T22:58:20.592Z] ---> job-cost.sh [2021-04-26T22:58:20.592Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2829 [2021-04-26T22:58:20.989Z] Removing intermediate container 65600ce9ae5b [2021-04-26T22:58:20.989Z] ---> 69f78cf71197 [2021-04-26T22:58:20.989Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-26T22:58:20.989Z] ---> Running in 4a7fe8e7daaa [2021-04-26T22:58:21.968Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T22:58:22.562Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T22:58:23.986Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-26T22:58:23.987Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-26T22:58:23.987Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-26T22:58:23.987Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-26T22:58:24.257Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-26T22:58:24.257Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-26T22:58:24.530Z] Executing busybox-1.31.1-r19.trigger [2021-04-26T22:58:24.530Z] OK: 144 MiB in 45 packages [2021-04-26T22:58:25.962Z] Removing intermediate container 4a7fe8e7daaa [2021-04-26T22:58:25.962Z] ---> 5ed1bb789044 [2021-04-26T22:58:25.962Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-26T22:58:25.962Z] ---> Running in b0b835972e5f [2021-04-26T22:58:26.555Z] Removing intermediate container b0b835972e5f [2021-04-26T22:58:26.555Z] ---> 026fca1e09a9 [2021-04-26T22:58:26.555Z] Step 7/8 : COPY . . [2021-04-26T22:58:27.532Z] ---> bf3caf443b9e [2021-04-26T22:58:27.532Z] Step 8/8 : RUN go mod download [2021-04-26T22:58:27.804Z] ---> Running in b0cb27347cb6 [2021-04-26T22:58:35.531Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T22:58:54.606Z] Removing intermediate container b0cb27347cb6 [2021-04-26T22:58:54.606Z] ---> ab23769d91a0 [2021-04-26T22:58:54.606Z] Successfully built ab23769d91a0 [2021-04-26T22:58:54.606Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-26T22:58:54.953Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T22:58:54.953Z] . [Pipeline] withDockerContainer [2021-04-26T22:58:55.193Z] prd-ubuntu18.04-docker-arm64-4c-16g-1883 does not seem to be running inside a container [2021-04-26T22:58:55.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T22:58:56.771Z] $ docker top 276dca1b7ba3c84a5025baa135930ced5db8b8b1a33e2038ad76d4d791fff329 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T22:58:57.759Z] + go version [2021-04-26T22:58:57.759Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-26T22:58:57.780Z] $ docker stop --time=1 276dca1b7ba3c84a5025baa135930ced5db8b8b1a33e2038ad76d4d791fff329 [2021-04-26T22:58:59.655Z] $ docker rm -f 276dca1b7ba3c84a5025baa135930ced5db8b8b1a33e2038ad76d4d791fff329 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-26T22:59:00.301Z] + docker inspect -f . ci-base-image-arm64 [2021-04-26T22:59:00.301Z] . [Pipeline] withDockerContainer [2021-04-26T22:59:00.578Z] prd-ubuntu18.04-docker-arm64-4c-16g-1883 does not seem to be running inside a container [2021-04-26T22:59:00.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/39 -v /w/workspace/device-sdk-go/39:/w/workspace/device-sdk-go/39:rw,z -v /w/workspace/device-sdk-go/39@tmp:/w/workspace/device-sdk-go/39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-26T22:59:02.090Z] $ docker top 673e0bb24232b207574bc73bb3fa94bf5333704fa9c4f7f4522daa8cd1c2a17f -eo pid,comm [2021-04-26T22:59:02.192Z] lf-activate-venv(): INFO: Adding /tmp/venv-2829/bin to PATH [2021-04-26T22:59:02.192Z] INFO: No Stack... [Pipeline] { [Pipeline] sh [2021-04-26T22:59:03.053Z] + make test [2021-04-26T22:59:03.053Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-26T22:59:03.140Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T22:59:04.094Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T22:59:04.418Z] + cat /w/workspace/device-sdk-go/39/archives/cost.csv [2021-04-26T22:59:04.418Z] + cut -d, -f6 [Pipeline] lock [2021-04-26T22:59:05.477Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] [2021-04-26T22:59:05.485Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] did not exist. Created. [2021-04-26T22:59:05.485Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T22:59:05.822Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-26T22:59:05.940Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T22:59:05.971Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-26T22:59:26.192Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-26T23:00:13.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-26T23:00:13.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-26T23:00:13.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-26T23:00:13.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-26T23:00:13.190Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-26T23:00:25.622Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 28.1% of statements [2021-04-26T23:00:25.622Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.207s coverage: 78.9% of statements [2021-04-26T23:00:25.622Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.158s coverage: 7.8% of statements [2021-04-26T23:00:25.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-26T23:00:25.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-26T23:00:25.622Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-26T23:00:27.073Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.252s coverage: 32.0% of statements [2021-04-26T23:00:27.073Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-26T23:00:27.073Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-26T23:00:27.073Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-26T23:00:30.492Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.291s coverage: 57.2% of statements [2021-04-26T23:00:30.492Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.142s coverage: 6.6% of statements [2021-04-26T23:00:30.492Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements [2021-04-26T23:00:30.492Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-26T23:00:31.090Z] GO111MODULE=on go vet ./... [2021-04-26T23:01:18.101Z] gofmt -l . [2021-04-26T23:01:18.101Z] [ "`gofmt -l .`" = "" ] [2021-04-26T23:01:18.101Z] ./bin/test-attribution-txt.sh [2021-04-26T23:01:18.101Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-26T23:01:18.123Z] $ docker stop --time=1 673e0bb24232b207574bc73bb3fa94bf5333704fa9c4f7f4522daa8cd1c2a17f [2021-04-26T23:01:20.456Z] $ docker rm -f 673e0bb24232b207574bc73bb3fa94bf5333704fa9c4f7f4522daa8cd1c2a17f [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-26T23:01:21.556Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-26T23:01:21.581Z] Warning: overwriting stash ‘coverage-report’ [2021-04-26T23:01:22.528Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-26T23:01:23.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-26T23:01:23.390Z] + ls -al . [2021-04-26T23:01:23.390Z] total 224 [2021-04-26T23:01:23.390Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 23:01 . [2021-04-26T23:01:23.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:57 .. [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 22:57 .dockerignore [2021-04-26T23:01:23.390Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 22:57 .git [2021-04-26T23:01:23.390Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 22:57 .github [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 22:57 .gitignore [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 22:57 Dockerfile.build [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 894 Apr 26 22:57 Jenkinsfile [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 22:57 LICENSE [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 22:57 Makefile [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 22:57 README.md [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 22:57 RELEASE-NOTES.txt [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 22:55 VERSION [2021-04-26T23:01:23.390Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 22:57 bin [2021-04-26T23:01:23.390Z] -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 23:00 coverage.out [2021-04-26T23:01:23.390Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 22:57 example [2021-04-26T23:01:23.390Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 26 23:01 go.mod [2021-04-26T23:01:23.390Z] -rw-r--r-- 1 jenkins jenkins 20957 Apr 26 23:01 go.sum [2021-04-26T23:01:23.390Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 22:57 internal [2021-04-26T23:01:23.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:57 openapi [2021-04-26T23:01:23.390Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 22:57 pkg [2021-04-26T23:01:23.390Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 22:57 snap [2021-04-26T23:01:23.390Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 22:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:01:23.798Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=aac70bba8a8cbe0961ac72a11d2de48656e10374 --label arch=arm64 --label version=0.0.0 . [2021-04-26T23:01:24.417Z] Sending build context to Docker daemon 2.569MB [2021-04-26T23:01:24.417Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-26T23:01:24.417Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-26T23:01:24.417Z] ---> ab23769d91a0 [2021-04-26T23:01:24.417Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-26T23:01:24.694Z] ---> Running in e4fc2c860678 [2021-04-26T23:01:25.304Z] Removing intermediate container e4fc2c860678 [2021-04-26T23:01:25.304Z] ---> dc5d2db433cd [2021-04-26T23:01:25.304Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T23:01:25.304Z] ---> Running in b76057afd1e9 [2021-04-26T23:01:25.902Z] Removing intermediate container b76057afd1e9 [2021-04-26T23:01:25.902Z] ---> 954f989cfcd5 [2021-04-26T23:01:25.902Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T23:01:25.902Z] ---> Running in d176360e9390 [2021-04-26T23:01:27.874Z] Removing intermediate container d176360e9390 [2021-04-26T23:01:27.874Z] ---> fefb03909bbf [2021-04-26T23:01:27.874Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-26T23:01:28.151Z] ---> Running in 9f9024ed7ff9 [2021-04-26T23:01:29.126Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T23:01:29.714Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T23:01:30.691Z] OK: 144 MiB in 45 packages [2021-04-26T23:01:31.687Z] Removing intermediate container 9f9024ed7ff9 [2021-04-26T23:01:31.687Z] ---> acf534f9cca8 [2021-04-26T23:01:31.687Z] Step 7/23 : COPY . . [2021-04-26T23:01:32.670Z] ---> bb0df604c9e4 [2021-04-26T23:01:32.670Z] Step 8/23 : RUN go mod download [2021-04-26T23:01:32.949Z] ---> Running in f960eeb7a6c0 [2021-04-26T23:01:34.936Z] Removing intermediate container f960eeb7a6c0 [2021-04-26T23:01:34.936Z] ---> 94dc0d091d4f [2021-04-26T23:01:34.936Z] Step 9/23 : RUN make build [2021-04-26T23:01:35.210Z] ---> Running in 61d71161af6e [2021-04-26T23:01:36.193Z] 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-26T23:02:08.579Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-26T23:02:11.970Z] Removing intermediate container 61d71161af6e [2021-04-26T23:02:11.970Z] ---> 153025636993 [2021-04-26T23:02:11.970Z] Step 10/23 : FROM alpine:3.12 [2021-04-26T23:02:12.241Z] 3.12: Pulling from library/alpine [2021-04-26T23:02:12.241Z] d2f70382dc9a: Pulling fs layer [2021-04-26T23:02:12.511Z] d2f70382dc9a: Verifying Checksum [2021-04-26T23:02:12.511Z] d2f70382dc9a: Download complete [2021-04-26T23:02:13.105Z] d2f70382dc9a: Pull complete [2021-04-26T23:02:13.105Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-26T23:02:13.105Z] Status: Downloaded newer image for alpine:3.12 [2021-04-26T23:02:13.105Z] ---> 9852663dfa18 [2021-04-26T23:02:13.105Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-26T23:02:13.379Z] ---> Running in 14dc6c7324ba [2021-04-26T23:02:13.650Z] Removing intermediate container 14dc6c7324ba [2021-04-26T23:02:13.650Z] ---> dcf2f8f60be6 [2021-04-26T23:02:13.650Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-26T23:02:13.927Z] ---> Running in 347775ddf643 [2021-04-26T23:02:15.900Z] Removing intermediate container 347775ddf643 [2021-04-26T23:02:15.900Z] ---> 07950efeffc1 [2021-04-26T23:02:15.900Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-26T23:02:16.177Z] ---> Running in 1d44ae53fde9 [2021-04-26T23:02:17.158Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-26T23:02:17.754Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-26T23:02:18.727Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-26T23:02:18.727Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-26T23:02:18.997Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-26T23:02:18.997Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-26T23:02:19.269Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-26T23:02:19.269Z] Executing busybox-1.31.1-r20.trigger [2021-04-26T23:02:19.269Z] OK: 8 MiB in 19 packages [2021-04-26T23:02:20.704Z] Removing intermediate container 1d44ae53fde9 [2021-04-26T23:02:20.704Z] ---> 226c276b1a74 [2021-04-26T23:02:20.704Z] Step 14/23 : WORKDIR / [2021-04-26T23:02:20.704Z] ---> Running in 0bef1bba4b69 [2021-04-26T23:02:21.299Z] Removing intermediate container 0bef1bba4b69 [2021-04-26T23:02:21.299Z] ---> 4c115d1b1529 [2021-04-26T23:02:21.299Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-26T23:02:21.890Z] ---> 15e94387464c [2021-04-26T23:02:21.890Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-26T23:02:23.318Z] ---> 318e25b86308 [2021-04-26T23:02:23.318Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-26T23:02:23.916Z] ---> a59ccf5db30b [2021-04-26T23:02:23.916Z] Step 18/23 : EXPOSE 49990 [2021-04-26T23:02:23.916Z] ---> Running in 783a623673b3 [2021-04-26T23:02:24.513Z] Removing intermediate container 783a623673b3 [2021-04-26T23:02:24.513Z] ---> 1a59f94fa729 [2021-04-26T23:02:24.513Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-26T23:02:24.513Z] ---> Running in cdc08ed70ebd [2021-04-26T23:02:25.115Z] Removing intermediate container cdc08ed70ebd [2021-04-26T23:02:25.115Z] ---> c91ec0861611 [2021-04-26T23:02:25.115Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-26T23:02:25.115Z] ---> Running in 0c331907f70c [2021-04-26T23:02:25.709Z] Removing intermediate container 0c331907f70c [2021-04-26T23:02:25.709Z] ---> be0bd20ec7b2 [2021-04-26T23:02:25.709Z] Step 21/23 : LABEL arch=arm64 [2021-04-26T23:02:25.709Z] ---> Running in d3beb90e5b5c [2021-04-26T23:02:26.306Z] Removing intermediate container d3beb90e5b5c [2021-04-26T23:02:26.306Z] ---> 59c420238497 [2021-04-26T23:02:26.306Z] Step 22/23 : LABEL git_sha=aac70bba8a8cbe0961ac72a11d2de48656e10374 [2021-04-26T23:02:26.306Z] ---> Running in 8ae865de2455 [2021-04-26T23:02:26.909Z] Removing intermediate container 8ae865de2455 [2021-04-26T23:02:26.909Z] ---> 5cd0e308f26c [2021-04-26T23:02:26.909Z] Step 23/23 : LABEL version=0.0.0 [2021-04-26T23:02:26.909Z] ---> Running in 459e2dca2298 [2021-04-26T23:02:27.184Z] Removing intermediate container 459e2dca2298 [2021-04-26T23:02:27.184Z] ---> cd1da08bfb1c [2021-04-26T23:02:27.184Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-26T23:02:27.456Z] Successfully built cd1da08bfb1c [2021-04-26T23:02:27.456Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:02:27.921Z] ---> job-cost.sh [2021-04-26T23:02:27.921Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rHYw [2021-04-26T23:03:06.867Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-26T23:04:28.590Z] lf-activate-venv(): INFO: Adding /tmp/venv-rHYw/bin to PATH [2021-04-26T23:04:28.590Z] INFO: No Stack... [2021-04-26T23:04:28.590Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-26T23:04:29.180Z] INFO: Archiving Costs [Pipeline] sh [2021-04-26T23:04:29.521Z] + cut -d, -f6 [2021-04-26T23:04:29.521Z] + cat /w/workspace/device-sdk-go/39/archives/cost.csv [Pipeline] lock [2021-04-26T23:04:29.631Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] [2021-04-26T23:04:29.640Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] did not exist. Created. [2021-04-26T23:04:29.641Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-39-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-26T23:04:30.022Z] /w/workspace/device-sdk-go/39@tmp/durable-f2607314/script.sh: 1: /w/workspace/device-sdk-go/39@tmp/durable-f2607314/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-26T23:04:30.365Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-26T23:04:30.396Z] Warning: overwriting stash ‘stack-cost’ [2021-04-26T23:04:30.555Z] Stashed 1 file(s) [Pipeline] } [2021-04-26T23:04:30.567Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-39-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-26T23:04:31.241Z] provisioning config files... [2021-04-26T23:04:31.254Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2430010283346522678tmp [Pipeline] { [Pipeline] sh [2021-04-26T23:04:31.607Z] + set +x [2021-04-26T23:04:31.607Z] + curl -s https://codecov.io/bash [2021-04-26T23:04:31.607Z] + bash -s -- [2021-04-26T23:04:31.872Z] [2021-04-26T23:04:31.872Z] _____ _ [2021-04-26T23:04:31.872Z] / ____| | | [2021-04-26T23:04:31.872Z] | | ___ __| | ___ ___ _____ __ [2021-04-26T23:04:31.872Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-26T23:04:31.872Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-26T23:04:31.872Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-26T23:04:31.872Z] Bash-1.0.2 [2021-04-26T23:04:31.872Z] [2021-04-26T23:04:31.872Z] [2021-04-26T23:04:31.872Z] ==> git version 2.24.3 found [2021-04-26T23:04:31.872Z] ==> 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-26T23:04:31.872Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-26T23:04:31.872Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-26T23:04:31.872Z] ==> Jenkins CI detected. [2021-04-26T23:04:31.872Z] project root: . [2021-04-26T23:04:31.872Z] --> token set from env [2021-04-26T23:04:31.872Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-26T23:04:31.872Z] ==> Running gcov in . (disable via -X gcov) [2021-04-26T23:04:31.872Z] ==> Python coveragepy not found [2021-04-26T23:04:31.872Z] ==> Searching for coverage reports in: [2021-04-26T23:04:31.872Z] + . [2021-04-26T23:04:31.872Z] -> Found 1 reports [2021-04-26T23:04:31.872Z] ==> Detecting git/mercurial file structure [2021-04-26T23:04:31.872Z] ==> Reading reports [2021-04-26T23:04:31.872Z] + ./coverage.out bytes=100024 [2021-04-26T23:04:31.872Z] ==> Appending adjustments [2021-04-26T23:04:31.872Z] https://docs.codecov.io/docs/fixing-reports [2021-04-26T23:04:32.450Z] + Found adjustments [2021-04-26T23:04:32.450Z] ==> Gzipping contents [2021-04-26T23:04:32.450Z] 16K /tmp/codecov.TtTkUd.gz [2021-04-26T23:04:32.450Z] ==> Uploading reports [2021-04-26T23:04:32.450Z] url: https://codecov.io [2021-04-26T23:04:32.450Z] query: branch=PR-725&commit=aac70bba8a8cbe0961ac72a11d2de48656e10374&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-26T23:04:32.450Z] -> Pinging Codecov [2021-04-26T23:04:32.450Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-725&commit=aac70bba8a8cbe0961ac72a11d2de48656e10374&build=39&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F39%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-04-26T23:04:32.715Z] -> Uploading to [2021-04-26T23:04:32.715Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/aac70bba8a8cbe0961ac72a11d2de48656e10374/86904dda-b47b-41d8-9348-4ab5333baeea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T230432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=256fd57216a2bdedbff502fe0c1338af661bf076ec96c13a3bf7f46fd4d23483 [2021-04-26T23:04:32.715Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-26T23:04:32.715Z] Dload Upload Total Spent Left Speed [2021-04-26T23:04:33.248Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13513 0 0 100 13513 0 29965 --:--:-- --:--:-- --:--:-- 29962 [2021-04-26T23:04:33.248Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/aac70bba8a8cbe0961ac72a11d2de48656e10374 [Pipeline] } [2021-04-26T23:04:33.261Z] 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-26T23:04:34.192Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:04:34.774Z] ---> package-listing.sh [2021-04-26T23:04:34.774Z] ++ facter osfamily [2021-04-26T23:04:34.774Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-26T23:04:34.774Z] + OS_FAMILY=redhat [2021-04-26T23:04:34.774Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-04-26T23:04:34.774Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-26T23:04:34.774Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-26T23:04:34.774Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-26T23:04:34.774Z] + PACKAGES=/tmp/packages_start.txt [2021-04-26T23:04:34.774Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-26T23:04:34.774Z] + PACKAGES=/tmp/packages_end.txt [2021-04-26T23:04:34.774Z] + case "${OS_FAMILY}" in [2021-04-26T23:04:34.774Z] + rpm -qa [2021-04-26T23:04:34.774Z] + sort [2021-04-26T23:04:40.148Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-26T23:04:40.148Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-26T23:04:40.148Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-26T23:04:40.148Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-04-26T23:04:40.148Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-04-26T23:04:40.148Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo [2021-04-26T23:04:40.165Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-26T23:04:40.716Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:04:41.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T23:04:41.095Z] [2021-04-26T23:04:41.095Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-26T23:04:41.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T23:04:41.436Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-26T23:04:41.436Z] df20fa9351a1: Pulling fs layer [2021-04-26T23:04:41.436Z] 36b3adc4ff6f: Pulling fs layer [2021-04-26T23:04:41.436Z] 8ad3a11d3b57: Pulling fs layer [2021-04-26T23:04:41.436Z] 46f8f816bc3b: Pulling fs layer [2021-04-26T23:04:41.436Z] 93b61091891f: Pulling fs layer [2021-04-26T23:04:41.436Z] 93b9cdb0e59b: Pulling fs layer [2021-04-26T23:04:41.436Z] 5e14af77c1be: Pulling fs layer [2021-04-26T23:04:41.436Z] 01666e4c0597: Pulling fs layer [2021-04-26T23:04:41.436Z] aa168da1d23b: Pulling fs layer [2021-04-26T23:04:41.436Z] 93b9cdb0e59b: Waiting [2021-04-26T23:04:41.436Z] 5e14af77c1be: Waiting [2021-04-26T23:04:41.436Z] 01666e4c0597: Waiting [2021-04-26T23:04:41.436Z] aa168da1d23b: Waiting [2021-04-26T23:04:41.436Z] 46f8f816bc3b: Waiting [2021-04-26T23:04:41.436Z] 93b61091891f: Waiting [2021-04-26T23:04:41.436Z] 36b3adc4ff6f: Verifying Checksum [2021-04-26T23:04:41.436Z] 36b3adc4ff6f: Download complete [2021-04-26T23:04:41.436Z] 46f8f816bc3b: Verifying Checksum [2021-04-26T23:04:41.436Z] 46f8f816bc3b: Download complete [2021-04-26T23:04:41.708Z] df20fa9351a1: Download complete [2021-04-26T23:04:41.708Z] 93b61091891f: Verifying Checksum [2021-04-26T23:04:41.708Z] 93b61091891f: Download complete [2021-04-26T23:04:41.708Z] 93b9cdb0e59b: Download complete [2021-04-26T23:04:41.708Z] 5e14af77c1be: Verifying Checksum [2021-04-26T23:04:41.708Z] 5e14af77c1be: Download complete [2021-04-26T23:04:41.709Z] 01666e4c0597: Verifying Checksum [2021-04-26T23:04:41.709Z] 01666e4c0597: Download complete [2021-04-26T23:04:41.984Z] 8ad3a11d3b57: Verifying Checksum [2021-04-26T23:04:41.984Z] 8ad3a11d3b57: Download complete [2021-04-26T23:04:42.262Z] df20fa9351a1: Pull complete [2021-04-26T23:04:42.535Z] 36b3adc4ff6f: Pull complete [2021-04-26T23:04:44.052Z] 8ad3a11d3b57: Pull complete [2021-04-26T23:04:44.052Z] 46f8f816bc3b: Pull complete [2021-04-26T23:04:44.640Z] 93b61091891f: Pull complete [2021-04-26T23:04:45.228Z] aa168da1d23b: Verifying Checksum [2021-04-26T23:04:45.228Z] aa168da1d23b: Download complete [2021-04-26T23:04:45.228Z] 93b9cdb0e59b: Pull complete [2021-04-26T23:04:45.492Z] 5e14af77c1be: Pull complete [2021-04-26T23:04:45.760Z] 01666e4c0597: Pull complete [2021-04-26T23:04:52.444Z] aa168da1d23b: Pull complete [2021-04-26T23:04:52.709Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-26T23:04:52.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-26T23:04:52.709Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-26T23:04:52.968Z] prd-centos7-docker-4c-2g-1879 does not seem to be running inside a container [2021-04-26T23:04:53.037Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-26T23:04:56.757Z] $ docker top edf8d071b103863c68e07ad170702101da675ace533258b59b16ea3c7ed51afe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-26T23:04:57.251Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-26T23:04:57.564Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-26T23:04:57.867Z] + ls /var/log/sa-host [2021-04-26T23:04:57.867Z] + sadf -c /var/log/sa-host/sa23 [2021-04-26T23:04:57.867Z] file_magic: OK [2021-04-26T23:04:57.867Z] HZ: Using current value: 100 [2021-04-26T23:04:57.867Z] file_header: OK [2021-04-26T23:04:57.867Z] 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-26T23:04:57.867Z] Statistics: [2021-04-26T23:04:57.867Z] Hnuu...uuuununununu... [2021-04-26T23:04:57.867Z] File successfully converted to sysstat format version 12.2.1 [2021-04-26T23:04:57.867Z] + sadf -c /var/log/sa-host/sa26 [2021-04-26T23:04:57.867Z] file_magic: OK [2021-04-26T23:04:57.867Z] HZ: Using current value: 100 [2021-04-26T23:04:57.867Z] file_header: OK [2021-04-26T23:04:57.867Z] 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-26T23:04:57.867Z] Statistics: [2021-04-26T23:04:57.867Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-26T23:04:57.867Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-26T23:04:58.049Z] provisioning config files... [2021-04-26T23:04:58.066Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8540028251416955383tmp [Pipeline] { [Pipeline] echo [2021-04-26T23:04:58.090Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:04:58.395Z] ---> create-netrc.sh [Pipeline] } [2021-04-26T23:04:58.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-26T23:04:58.435Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:04:58.740Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-26T23:04:58.753Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:04:59.074Z] ---> sudo-logs.sh [2021-04-26T23:04:59.074Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-26T23:04:59.102Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:04:59.410Z] ---> job-cost.sh [2021-04-26T23:04:59.410Z] lf-activate-venv: SKIPPING [2021-04-26T23:04:59.410Z] DEBUG: total: 0.20999999344348907 [2021-04-26T23:04:59.410Z] INFO: Retrieving Stack Cost... [2021-04-26T23:05:00.371Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-26T23:05:00.947Z] INFO: Archiving Costs [Pipeline] echo [2021-04-26T23:05:00.962Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-26T23:05:01.268Z] ---> logs-deploy.sh [2021-04-26T23:05:01.268Z] lf-activate-venv: SKIPPING [2021-04-26T23:05:01.268Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/39 [2021-04-26T23:05:01.268Z] INFO: archiving workspace using pattern(s): [2021-04-26T23:05:03.200Z] Archives upload complete. [2021-04-26T23:05:03.200Z] INFO: archiving logs to Nexus