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+e522836f5d508ce20413c5d2a08a926bd2b9771b (c0cf82349fc54b95ec36d0ceea0c57f1786a700d) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-31167 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-725 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 91c60f0d0e442914b6ae29da8716d8aab36f98ce Checking out Revision 91c60f0d0e442914b6ae29da8716d8aab36f98ce (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91c60f0d0e442914b6ae29da8716d8aab36f98ce # timeout=10 Commit message: "Merge commit 'e522836f5d508ce20413c5d2a08a926bd2b9771b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk a0d7157e902c7aa62e434b60c94eb03fd33917e8 # timeout=10 [Pipeline] timeout [2021-03-24T02:41:48.953Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-24T02:41:49.237Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-24T02:41:49.347Z] ========================================================= [2021-03-24T02:41:49.347Z] EdgeX Global Pipelines Version Info [2021-03-24T02:41:49.347Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:41:50.979Z] ------------------- [2021-03-24T02:41:50.979Z] stable info: [2021-03-24T02:41:50.979Z] ------------------- [2021-03-24T02:41:50.979Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-24T02:41:50.979Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-24T02:41:50.979Z] Message: update stable to v1.0.186 [2021-03-24T02:41:51.928Z] ------------------- [2021-03-24T02:41:51.928Z] experimental info: [2021-03-24T02:41:51.928Z] ------------------- [2021-03-24T02:41:51.928Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-24T02:41:51.928Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-24T02:41:51.928Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-24T02:41:52.257Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-24T02:41:52.375Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-24T02:41:52.466Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-24T02:41:52.576Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-24T02:41:52.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-24T02:41:52.806Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-24T02:41:52.908Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-24T02:41:53.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-24T02:41:53.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-24T02:41:53.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-24T02:41:53.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-24T02:41:53.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-03-24T02:41:53.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-24T02:41:53.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-24T02:41:53.733Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-24T02:41:53.824Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T02:41:53.928Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T02:41:54.048Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-24T02:41:54.162Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-24T02:41:54.255Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-24T02:41:54.366Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-24T02:41:54.463Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-24T02:41:54.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-24T02:41:54.724Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-24T02:41:54.817Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-24T02:41:54.913Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-24T02:41:55.010Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo [2021-03-24T02:41:55.106Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo [2021-03-24T02:41:55.236Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo [2021-03-24T02:41:55.330Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91c60f0d0e442914b6ae29da8716d8aab36f98ce [Pipeline] echo [2021-03-24T02:41:55.425Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91c60f0 [Pipeline] echo [2021-03-24T02:41:55.522Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-24T02:41:55.709Z] provisioning config files... [2021-03-24T02:41:55.736Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config7339472181123358140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:41:56.099Z] ---> docker-login.sh [2021-03-24T02:41:56.099Z] nexus3.edgexfoundry.org:10001 [2021-03-24T02:41:56.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:41:56.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:41:56.625Z] Configure a credential helper to remove this warning. See [2021-03-24T02:41:56.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:41:56.625Z] [2021-03-24T02:41:56.625Z] Login Succeeded [2021-03-24T02:41:56.625Z] nexus3.edgexfoundry.org:10002 [2021-03-24T02:41:56.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:41:56.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:41:56.625Z] Configure a credential helper to remove this warning. See [2021-03-24T02:41:56.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:41:56.625Z] [2021-03-24T02:41:56.625Z] Login Succeeded [2021-03-24T02:41:56.625Z] nexus3.edgexfoundry.org:10003 [2021-03-24T02:41:56.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:41:56.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:41:56.889Z] Configure a credential helper to remove this warning. See [2021-03-24T02:41:56.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:41:56.889Z] [2021-03-24T02:41:56.889Z] Login Succeeded [2021-03-24T02:41:56.889Z] nexus3.edgexfoundry.org:10004 [2021-03-24T02:41:57.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:41:57.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:41:57.151Z] Configure a credential helper to remove this warning. See [2021-03-24T02:41:57.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:41:57.151Z] [2021-03-24T02:41:57.151Z] Login Succeeded [2021-03-24T02:41:57.151Z] docker.io [2021-03-24T02:41:57.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:41:57.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:41:57.414Z] Configure a credential helper to remove this warning. See [2021-03-24T02:41:57.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:41:57.414Z] [2021-03-24T02:41:57.414Z] Login Succeeded [2021-03-24T02:41:57.414Z] ---> docker-login.sh ends [Pipeline] } [2021-03-24T02:41:57.425Z] 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-03-24T02:41:58.252Z] + git log --format=format:%s -1 91c60f0d0e442914b6ae29da8716d8aab36f98ce [Pipeline] echo [2021-03-24T02:41:58.322Z] GIT_COMMIT: 91c60f0d0e442914b6ae29da8716d8aab36f98ce, Commit Message: Merge commit 'e522836f5d508ce20413c5d2a08a926bd2b9771b' into HEAD [Pipeline] echo [2021-03-24T02:41:58.373Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:41:59.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T02:41:59.414Z] [2021-03-24T02:41:59.414Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:41:59.793Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T02:41:59.793Z] latest: Pulling from edgex-devops/git-semver [2021-03-24T02:41:59.793Z] 31603596830f: Pulling fs layer [2021-03-24T02:41:59.793Z] 2a8b12db71e7: Pulling fs layer [2021-03-24T02:41:59.793Z] 6ca5941a6612: Pulling fs layer [2021-03-24T02:41:59.793Z] ecc8261a40a4: Pulling fs layer [2021-03-24T02:41:59.793Z] ecc8261a40a4: Waiting [2021-03-24T02:41:59.793Z] 2a8b12db71e7: Verifying Checksum [2021-03-24T02:41:59.793Z] 2a8b12db71e7: Download complete [2021-03-24T02:42:00.064Z] 31603596830f: Verifying Checksum [2021-03-24T02:42:00.064Z] 31603596830f: Download complete [2021-03-24T02:42:00.064Z] 6ca5941a6612: Verifying Checksum [2021-03-24T02:42:00.064Z] 6ca5941a6612: Download complete [2021-03-24T02:42:00.064Z] ecc8261a40a4: Verifying Checksum [2021-03-24T02:42:00.064Z] ecc8261a40a4: Download complete [2021-03-24T02:42:00.328Z] 31603596830f: Pull complete [2021-03-24T02:42:00.328Z] 2a8b12db71e7: Pull complete [2021-03-24T02:42:01.283Z] 6ca5941a6612: Pull complete [2021-03-24T02:42:01.547Z] ecc8261a40a4: Pull complete [2021-03-24T02:42:01.547Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-24T02:42:01.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-24T02:42:01.547Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-24T02:42:01.669Z] prd-centos7-docker-4c-2g-31167 does not seem to be running inside a container [2021-03-24T02:42:01.722Z] $ 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-03-24T02:42:03.734Z] $ docker top af3044f9ebca9402980a9e952c5c74c2b7e940ce898f8fa83cc40e82ea5ded2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-24T02:42:04.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-24T02:42:04.127Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-24T02:42:04.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-24T02:42:04.358Z] $ docker exec af3044f9ebca9402980a9e952c5c74c2b7e940ce898f8fa83cc40e82ea5ded2e ssh-agent [2021-03-24T02:42:04.521Z] SSH_AUTH_SOCK=/tmp/ssh-zwKEWac28Lzx/agent.12 [2021-03-24T02:42:04.521Z] SSH_AGENT_PID=17 [2021-03-24T02:42:04.533Z] Running ssh-add (command line suppressed) [2021-03-24T02:42:04.648Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4594621234265112008.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_4594621234265112008.key) [2021-03-24T02:42:04.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-24T02:42:05.034Z] + git tag --points-at HEAD [Pipeline] } [2021-03-24T02:42:05.058Z] $ docker exec --env ******** --env ******** af3044f9ebca9402980a9e952c5c74c2b7e940ce898f8fa83cc40e82ea5ded2e ssh-agent -k [2021-03-24T02:42:05.181Z] unset SSH_AUTH_SOCK; [2021-03-24T02:42:05.182Z] unset SSH_AGENT_PID; [2021-03-24T02:42:05.182Z] echo Agent pid 17 killed; [2021-03-24T02:42:05.228Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-24T02:42:05.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-24T02:42:05.377Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-24T02:42:05.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-24T02:42:05.552Z] $ docker exec af3044f9ebca9402980a9e952c5c74c2b7e940ce898f8fa83cc40e82ea5ded2e ssh-agent [2021-03-24T02:42:05.711Z] SSH_AUTH_SOCK=/tmp/ssh-pvAWsUvBpQrN/agent.45 [2021-03-24T02:42:05.711Z] SSH_AGENT_PID=50 [2021-03-24T02:42:05.718Z] Running ssh-add (command line suppressed) [2021-03-24T02:42:05.841Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_8050930546555120258.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_8050930546555120258.key) [2021-03-24T02:42:05.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-24T02:42:06.324Z] + git semver init [2021-03-24T02:42:06.324Z] # -> Open(): unable to determine branch for HEAD [2021-03-24T02:42:06.324Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git [2021-03-24T02:42:06.324Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-24T02:42:06.324Z] # $SEMVER_REMOTE_NAME = origin [2021-03-24T02:42:06.324Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-24T02:42:06.324Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-24T02:42:06.324Z] # $SEMVER_BRANCH = PR-725 [2021-03-24T02:42:06.324Z] # $SEMVER_TEMP = /tmp/semver-034060581 [2021-03-24T02:42:06.324Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-24T02:42:07.276Z] # '/tmp/semver-034060581' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' [2021-03-24T02:42:07.276Z] # -> Force: false [2021-03-24T02:42:07.276Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } [2021-03-24T02:42:07.291Z] $ docker exec --env ******** --env ******** af3044f9ebca9402980a9e952c5c74c2b7e940ce898f8fa83cc40e82ea5ded2e ssh-agent -k [2021-03-24T02:42:07.415Z] unset SSH_AUTH_SOCK; [2021-03-24T02:42:07.416Z] unset SSH_AGENT_PID; [2021-03-24T02:42:07.416Z] echo Agent pid 50 killed; [2021-03-24T02:42:07.486Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-24T02:42:08.028Z] + git semver [Pipeline] } [2021-03-24T02:42:08.046Z] $ docker stop --time=1 af3044f9ebca9402980a9e952c5c74c2b7e940ce898f8fa83cc40e82ea5ded2e [2021-03-24T02:42:09.557Z] $ docker rm -f af3044f9ebca9402980a9e952c5c74c2b7e940ce898f8fa83cc40e82ea5ded2e [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-24T02:42:10.028Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-24T02:42:10.558Z] Stashed 1 file(s) [Pipeline] echo [2021-03-24T02:42:10.561Z] [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-03-24T02:42:26.177Z] Still waiting to schedule task [2021-03-24T02:42:26.177Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31167’ [2021-03-24T02:42:26.179Z] Still waiting to schedule task [2021-03-24T02:42:26.179Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-24T02:44:19.496Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31168 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-24T02:44:19.554Z] Running in /w/workspace/device-sdk-go/24 [Pipeline] { [Pipeline] checkout [2021-03-24T02:44:24.238Z] using credential edgex-jenkins-ssh [2021-03-24T02:44:24.299Z] Cloning the remote Git repository [2021-03-24T02:44:24.356Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T02:44:24.468Z] > git init /w/workspace/device-sdk-go/24 # timeout=10 [2021-03-24T02:44:24.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T02:44:24.538Z] > git --version # timeout=10 [2021-03-24T02:44:24.557Z] > git --version # 'git version 2.17.1' [2021-03-24T02:44:24.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T02:44:24.630Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T02:44:25.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-24T02:44:25.699Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T02:44:25.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-24T02:44:25.755Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T02:44:25.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T02:44:25.767Z] > 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-03-24T02:44:26.371Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-24T02:44:26.757Z] Merge succeeded, producing ca3bf10d169ef7fd532181890d5439fc9bc22bd9 [2021-03-24T02:44:26.758Z] Checking out Revision ca3bf10d169ef7fd532181890d5439fc9bc22bd9 (PR-725) [2021-03-24T02:44:26.392Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T02:44:26.404Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-24T02:44:26.516Z] > git remote # timeout=10 [2021-03-24T02:44:26.532Z] > git config --get remote.origin.url # timeout=10 [2021-03-24T02:44:26.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T02:44:26.553Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-24T02:44:26.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-24T02:44:26.767Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T02:44:26.793Z] > git checkout -f ca3bf10d169ef7fd532181890d5439fc9bc22bd9 # timeout=10 [2021-03-24T02:44:31.033Z] Commit message: "Merge commit 'e522836f5d508ce20413c5d2a08a926bd2b9771b' into HEAD" [2021-03-24T02:44:31.056Z] First time build. Skipping changelog. [2021-03-24T02:44:31.043Z] > git rev-list --no-walk a0d7157e902c7aa62e434b60c94eb03fd33917e8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-24T02:44:32.655Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-24T02:44:33.071Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-24T02:44:33.454Z] + sudo service docker restart [2021-03-24T02:44:33.454Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-24T02:44:35.507Z] provisioning config files... [2021-03-24T02:44:35.552Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/24@tmp/config901936413093735539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:44:35.956Z] ---> docker-login.sh [2021-03-24T02:44:35.956Z] nexus3.edgexfoundry.org:10001 [2021-03-24T02:44:36.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:37.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:37.918Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:37.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:37.918Z] [2021-03-24T02:44:37.918Z] Login Succeeded [2021-03-24T02:44:37.918Z] nexus3.edgexfoundry.org:10002 [2021-03-24T02:44:38.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:38.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:38.465Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:38.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:38.465Z] [2021-03-24T02:44:38.465Z] Login Succeeded [2021-03-24T02:44:38.465Z] nexus3.edgexfoundry.org:10003 [2021-03-24T02:44:38.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:38.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:38.739Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:38.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:38.739Z] [2021-03-24T02:44:38.739Z] Login Succeeded [2021-03-24T02:44:39.013Z] nexus3.edgexfoundry.org:10004 [2021-03-24T02:44:39.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:39.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:39.287Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:39.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:39.287Z] [2021-03-24T02:44:39.287Z] Login Succeeded [2021-03-24T02:44:39.287Z] docker.io [2021-03-24T02:44:39.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:40.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:40.160Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:40.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:40.160Z] [2021-03-24T02:44:40.160Z] Login Succeeded [2021-03-24T02:44:40.160Z] ---> docker-login.sh ends [Pipeline] } [2021-03-24T02:44:40.176Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-24T02:44:40.739Z] ========================================================= [2021-03-24T02:44:40.739Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-24T02:44:40.739Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:44:41.122Z] + 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-03-24T02:44:41.402Z] Sending build context to Docker daemon 2.285MB [2021-03-24T02:44:41.674Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T02:44:41.674Z] Step 2/8 : FROM ${BASE} [2021-03-24T02:44:41.674Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-24T02:44:41.674Z] 5f621e34cdf4: Pulling fs layer [2021-03-24T02:44:41.674Z] a4357932f1b6: Pulling fs layer [2021-03-24T02:44:41.674Z] 18c013af1878: Pulling fs layer [2021-03-24T02:44:41.675Z] 00ac8860ef70: Pulling fs layer [2021-03-24T02:44:41.675Z] 63d7cb157983: Pulling fs layer [2021-03-24T02:44:41.675Z] b116817d02f9: Pulling fs layer [2021-03-24T02:44:41.675Z] 745a02a5169b: Pulling fs layer [2021-03-24T02:44:41.675Z] 00ac8860ef70: Waiting [2021-03-24T02:44:41.675Z] 63d7cb157983: Waiting [2021-03-24T02:44:41.675Z] b116817d02f9: Waiting [2021-03-24T02:44:41.675Z] 745a02a5169b: Waiting [2021-03-24T02:44:41.675Z] 18c013af1878: Verifying Checksum [2021-03-24T02:44:41.675Z] 18c013af1878: Download complete [2021-03-24T02:44:41.675Z] a4357932f1b6: Verifying Checksum [2021-03-24T02:44:41.675Z] a4357932f1b6: Download complete [2021-03-24T02:44:41.675Z] 63d7cb157983: Verifying Checksum [2021-03-24T02:44:41.675Z] 63d7cb157983: Download complete [2021-03-24T02:44:42.271Z] b116817d02f9: Verifying Checksum [2021-03-24T02:44:42.271Z] b116817d02f9: Download complete [2021-03-24T02:44:42.271Z] 5f621e34cdf4: Verifying Checksum [2021-03-24T02:44:42.271Z] 5f621e34cdf4: Download complete [2021-03-24T02:44:42.875Z] 5f621e34cdf4: Pull complete [2021-03-24T02:44:43.484Z] a4357932f1b6: Pull complete [2021-03-24T02:44:44.092Z] 18c013af1878: Pull complete [2021-03-24T02:44:44.371Z] 745a02a5169b: Verifying Checksum [2021-03-24T02:44:44.372Z] 745a02a5169b: Download complete [2021-03-24T02:44:45.372Z] Running on prd-centos7-docker-4c-2g-31169 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws [2021-03-24T02:44:45.430Z] Running in /w/workspace/device-sdk-go/24 [Pipeline] { [Pipeline] checkout [2021-03-24T02:44:46.091Z] 00ac8860ef70: Verifying Checksum [2021-03-24T02:44:46.091Z] 00ac8860ef70: Download complete [2021-03-24T02:44:47.765Z] using credential edgex-jenkins-ssh [2021-03-24T02:44:47.819Z] Cloning the remote Git repository [2021-03-24T02:44:47.771Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T02:44:47.850Z] > git init /w/workspace/device-sdk-go/24 # timeout=10 [2021-03-24T02:44:47.906Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T02:44:47.907Z] > git --version # timeout=10 [2021-03-24T02:44:47.913Z] > git --version # 'git version 2.24.3' [2021-03-24T02:44:47.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T02:44:47.940Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T02:44:48.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-24T02:44:48.738Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-24T02:44:48.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-24T02:44:48.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-24T02:44:48.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T02:44:49.246Z] Merging remotes/origin/master commit e522836f5d508ce20413c5d2a08a926bd2b9771b into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc [2021-03-24T02:44:49.420Z] Merge succeeded, producing 5ba94068ed14987b49fd0206649f67b6f8171912 [2021-03-24T02:44:49.421Z] Checking out Revision 5ba94068ed14987b49fd0206649f67b6f8171912 (PR-725) [2021-03-24T02:44:48.779Z] > 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-03-24T02:44:49.258Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T02:44:49.264Z] > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 [2021-03-24T02:44:49.324Z] > git remote # timeout=10 [2021-03-24T02:44:49.330Z] > git config --get remote.origin.url # timeout=10 [2021-03-24T02:44:49.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-24T02:44:49.338Z] > git merge e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-24T02:44:49.414Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-24T02:44:49.424Z] > git config core.sparsecheckout # timeout=10 [2021-03-24T02:44:49.433Z] > git checkout -f 5ba94068ed14987b49fd0206649f67b6f8171912 # timeout=10 [2021-03-24T02:44:53.023Z] Commit message: "Merge commit 'e522836f5d508ce20413c5d2a08a926bd2b9771b' into HEAD" [2021-03-24T02:44:53.033Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-24T02:44:53.026Z] > git rev-list --no-walk a0d7157e902c7aa62e434b60c94eb03fd33917e8 # timeout=10 [2021-03-24T02:44:54.118Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-24T02:44:54.445Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-24T02:44:54.741Z] + sudo service docker restart [2021-03-24T02:44:54.741Z] + true [2021-03-24T02:44:54.741Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-24T02:44:56.198Z] provisioning config files... [2021-03-24T02:44:56.224Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/24@tmp/config7498376108697245677tmp [Pipeline] { [2021-03-24T02:44:56.280Z] 00ac8860ef70: Pull complete [2021-03-24T02:44:56.280Z] 63d7cb157983: Pull complete [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:44:56.635Z] ---> docker-login.sh [2021-03-24T02:44:56.635Z] nexus3.edgexfoundry.org:10001 [2021-03-24T02:44:56.879Z] b116817d02f9: Pull complete [2021-03-24T02:44:56.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:56.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:56.898Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:56.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:56.898Z] [2021-03-24T02:44:56.898Z] Login Succeeded [2021-03-24T02:44:56.898Z] nexus3.edgexfoundry.org:10002 [2021-03-24T02:44:57.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:57.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:57.161Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:57.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:57.161Z] [2021-03-24T02:44:57.161Z] Login Succeeded [2021-03-24T02:44:57.161Z] nexus3.edgexfoundry.org:10003 [2021-03-24T02:44:57.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:57.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:57.425Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:57.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:57.425Z] [2021-03-24T02:44:57.425Z] Login Succeeded [2021-03-24T02:44:57.425Z] nexus3.edgexfoundry.org:10004 [2021-03-24T02:44:57.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:57.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:57.425Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:57.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:57.425Z] [2021-03-24T02:44:57.425Z] Login Succeeded [2021-03-24T02:44:57.425Z] docker.io [2021-03-24T02:44:57.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-24T02:44:57.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-24T02:44:57.952Z] Configure a credential helper to remove this warning. See [2021-03-24T02:44:57.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-24T02:44:57.952Z] [2021-03-24T02:44:57.952Z] Login Succeeded [2021-03-24T02:44:57.952Z] ---> docker-login.sh ends [Pipeline] } [2021-03-24T02:44:57.961Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-24T02:44:58.359Z] ========================================================= [2021-03-24T02:44:58.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-24T02:44:58.360Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:44:58.707Z] + 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-03-24T02:44:58.707Z] Sending build context to Docker daemon 2.286MB [2021-03-24T02:44:58.707Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T02:44:58.707Z] Step 2/8 : FROM ${BASE} [2021-03-24T02:44:58.989Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-24T02:44:58.989Z] 188c0c94c7c5: Pulling fs layer [2021-03-24T02:44:58.989Z] 0ef7d3d256c8: Pulling fs layer [2021-03-24T02:44:58.989Z] de9db76c5a1d: Pulling fs layer [2021-03-24T02:44:58.989Z] bca2f99d35d6: Pulling fs layer [2021-03-24T02:44:58.989Z] 93359f2a8cfa: Pulling fs layer [2021-03-24T02:44:58.989Z] 7c6f9722023f: Pulling fs layer [2021-03-24T02:44:58.989Z] a35cf1a2eb13: Pulling fs layer [2021-03-24T02:44:58.989Z] bca2f99d35d6: Waiting [2021-03-24T02:44:58.989Z] 93359f2a8cfa: Waiting [2021-03-24T02:44:58.989Z] 7c6f9722023f: Waiting [2021-03-24T02:44:58.989Z] a35cf1a2eb13: Waiting [2021-03-24T02:44:58.989Z] de9db76c5a1d: Download complete [2021-03-24T02:44:58.989Z] 0ef7d3d256c8: Verifying Checksum [2021-03-24T02:44:58.989Z] 0ef7d3d256c8: Download complete [2021-03-24T02:44:58.989Z] 93359f2a8cfa: Verifying Checksum [2021-03-24T02:44:58.989Z] 93359f2a8cfa: Download complete [2021-03-24T02:44:58.989Z] 7c6f9722023f: Verifying Checksum [2021-03-24T02:44:58.989Z] 7c6f9722023f: Download complete [2021-03-24T02:44:58.989Z] 188c0c94c7c5: Verifying Checksum [2021-03-24T02:44:58.989Z] 188c0c94c7c5: Download complete [2021-03-24T02:44:59.258Z] 188c0c94c7c5: Pull complete [2021-03-24T02:44:59.521Z] 0ef7d3d256c8: Pull complete [2021-03-24T02:44:59.521Z] de9db76c5a1d: Pull complete [2021-03-24T02:45:00.467Z] a35cf1a2eb13: Download complete [2021-03-24T02:45:01.195Z] 745a02a5169b: Pull complete [2021-03-24T02:45:01.195Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-24T02:45:01.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-24T02:45:01.195Z] ---> b7e6874047d6 [2021-03-24T02:45:01.195Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T02:45:01.423Z] bca2f99d35d6: Verifying Checksum [2021-03-24T02:45:01.423Z] bca2f99d35d6: Download complete [2021-03-24T02:45:03.174Z] ---> Running in 4198dc4f726f [2021-03-24T02:45:03.771Z] Removing intermediate container 4198dc4f726f [2021-03-24T02:45:03.771Z] ---> fa781aaa9a4f [2021-03-24T02:45:03.771Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-24T02:45:03.771Z] ---> Running in 5bc2b2d062b9 [2021-03-24T02:45:06.405Z] Removing intermediate container 5bc2b2d062b9 [2021-03-24T02:45:06.405Z] ---> f277bfc229f9 [2021-03-24T02:45:06.405Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-24T02:45:06.405Z] ---> Running in 9cffa330d971 [2021-03-24T02:45:06.766Z] bca2f99d35d6: Pull complete [2021-03-24T02:45:07.028Z] 93359f2a8cfa: Pull complete [2021-03-24T02:45:07.293Z] 7c6f9722023f: Pull complete [2021-03-24T02:45:07.385Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-24T02:45:08.816Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-24T02:45:10.252Z] OK: 142 MiB in 39 packages [2021-03-24T02:45:11.233Z] Removing intermediate container 9cffa330d971 [2021-03-24T02:45:11.233Z] ---> a0a755199ad5 [2021-03-24T02:45:11.233Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-24T02:45:11.233Z] ---> Running in 945d94861684 [2021-03-24T02:45:11.836Z] Removing intermediate container 945d94861684 [2021-03-24T02:45:11.836Z] ---> b4488243f293 [2021-03-24T02:45:11.836Z] Step 7/8 : COPY . . [2021-03-24T02:45:12.613Z] a35cf1a2eb13: Pull complete [2021-03-24T02:45:12.614Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-24T02:45:12.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-24T02:45:12.614Z] ---> a62c8e92a672 [2021-03-24T02:45:12.614Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T02:45:12.614Z] ---> Running in 828f51b9471c [2021-03-24T02:45:12.614Z] Removing intermediate container 828f51b9471c [2021-03-24T02:45:12.614Z] ---> b34a9f98d73e [2021-03-24T02:45:12.614Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-24T02:45:12.877Z] ---> Running in 5a3a5e2bd17f [2021-03-24T02:45:13.272Z] ---> 0bbadf9690a1 [2021-03-24T02:45:13.272Z] Step 8/8 : RUN go mod download [2021-03-24T02:45:13.272Z] ---> Running in f5c2ef18d674 [2021-03-24T02:45:13.830Z] Removing intermediate container 5a3a5e2bd17f [2021-03-24T02:45:13.830Z] ---> c325ea2c95b1 [2021-03-24T02:45:13.830Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-24T02:45:13.830Z] ---> Running in 25dd8d1f26ac [2021-03-24T02:45:14.407Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-24T02:45:15.799Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-24T02:45:17.195Z] OK: 166 MiB in 39 packages [2021-03-24T02:45:17.457Z] Removing intermediate container 25dd8d1f26ac [2021-03-24T02:45:17.457Z] ---> f6ce6c253e25 [2021-03-24T02:45:17.457Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-24T02:45:17.457Z] ---> Running in c3f6c39939aa [2021-03-24T02:45:17.722Z] Removing intermediate container c3f6c39939aa [2021-03-24T02:45:17.722Z] ---> 56a8939b9026 [2021-03-24T02:45:17.722Z] Step 7/8 : COPY . . [2021-03-24T02:45:19.133Z] ---> b17b35031130 [2021-03-24T02:45:19.133Z] Step 8/8 : RUN go mod download [2021-03-24T02:45:19.133Z] ---> Running in 15727362c6c0 [2021-03-24T02:45:35.433Z] Removing intermediate container f5c2ef18d674 [2021-03-24T02:45:35.433Z] ---> 6d0ccb1ea115 [2021-03-24T02:45:35.433Z] Successfully built 6d0ccb1ea115 [2021-03-24T02:45:35.433Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:45:35.788Z] + docker inspect -f . ci-base-image-arm64 [2021-03-24T02:45:35.788Z] . [Pipeline] withDockerContainer [2021-03-24T02:45:36.057Z] prd-ubuntu18.04-docker-arm64-4c-16g-31168 does not seem to be running inside a container [2021-03-24T02:45:36.184Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-24T02:45:37.779Z] $ docker top 3195f3dfe77ffd8af624b70bca3e8175ec4804ae0a8cab28bd7dca0fa2c7fb9d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T02:45:38.812Z] + go version [2021-03-24T02:45:38.812Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-24T02:45:38.839Z] $ docker stop --time=1 3195f3dfe77ffd8af624b70bca3e8175ec4804ae0a8cab28bd7dca0fa2c7fb9d [2021-03-24T02:45:40.835Z] $ docker rm -f 3195f3dfe77ffd8af624b70bca3e8175ec4804ae0a8cab28bd7dca0fa2c7fb9d [2021-03-24T02:45:41.141Z] Removing intermediate container 15727362c6c0 [2021-03-24T02:45:41.141Z] ---> 0ebdb27a9be1 [2021-03-24T02:45:41.141Z] Successfully built 0ebdb27a9be1 [2021-03-24T02:45:41.141Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:45:41.827Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-24T02:45:41.999Z] + docker inspect -f . ci-base-image-arm64 [2021-03-24T02:45:41.999Z] . [Pipeline] withDockerContainer [2021-03-24T02:45:42.091Z] . [2021-03-24T02:45:42.257Z] prd-ubuntu18.04-docker-arm64-4c-16g-31168 does not seem to be running inside a container [2021-03-24T02:45:42.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-24T02:45:43.897Z] $ docker top d6e0de3ef3e46e2219225938a0c689685eac07bb7ec2c9edcb48099307492187 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-03-24T02:45:44.523Z] prd-centos7-docker-4c-2g-31169 does not seem to be running inside a container [2021-03-24T02:45:44.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-24T02:45:45.502Z] $ docker top 88344228c804d1f974d0455d893e1043bb312d7be0e334c957df5efd8129f4a3 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-03-24T02:45:46.082Z] + go version [2021-03-24T02:45:46.082Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-24T02:45:46.097Z] $ docker stop --time=1 88344228c804d1f974d0455d893e1043bb312d7be0e334c957df5efd8129f4a3 [2021-03-24T02:45:46.375Z] + make test [2021-03-24T02:45:46.375Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-24T02:45:47.438Z] $ docker rm -f 88344228c804d1f974d0455d893e1043bb312d7be0e334c957df5efd8129f4a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:45:48.296Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-24T02:45:48.296Z] . [Pipeline] withDockerContainer [2021-03-24T02:45:48.390Z] prd-centos7-docker-4c-2g-31169 does not seem to be running inside a container [2021-03-24T02:45:48.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/24 -v /w/workspace/device-sdk-go/24:/w/workspace/device-sdk-go/24:rw,z -v /w/workspace/device-sdk-go/24@tmp:/w/workspace/device-sdk-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-24T02:45:49.022Z] $ docker top 71327877b86f2d913203506bd0b665808adab85a0eb0b3f0de0b5a140b1b1092 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T02:45:49.509Z] + make test [2021-03-24T02:45:49.509Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-24T02:45:56.165Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-24T02:46:08.547Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-24T02:46:11.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-24T02:46:11.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-24T02:46:11.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-24T02:46:11.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-24T02:46:14.520Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.0% of statements [2021-03-24T02:46:14.520Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 81.2% of statements [2021-03-24T02:46:46.678Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.053s coverage: 10.5% of statements [2021-03-24T02:46:46.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-24T02:46:46.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-24T02:46:46.678Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 32.5% of statements [2021-03-24T02:46:46.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-24T02:46:46.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-24T02:46:46.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-24T02:46:46.678Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 57.3% of statements [2021-03-24T02:46:46.678Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.154s coverage: 6.6% of statements [2021-03-24T02:46:46.678Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements [2021-03-24T02:46:46.678Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-24T02:46:46.678Z] GO111MODULE=on go vet ./... [2021-03-24T02:46:47.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-24T02:46:47.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-24T02:46:47.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-24T02:46:47.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-24T02:46:53.355Z] gofmt -l . [2021-03-24T02:46:53.355Z] [ "`gofmt -l .`" = "" ] [2021-03-24T02:46:53.355Z] ./bin/test-attribution-txt.sh [2021-03-24T02:46:53.933Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-24T02:46:54.215Z] $ docker stop --time=1 71327877b86f2d913203506bd0b665808adab85a0eb0b3f0de0b5a140b1b1092 [2021-03-24T02:46:54.319Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.123s coverage: 27.0% of statements [2021-03-24T02:46:54.598Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.173s coverage: 81.2% of statements [2021-03-24T02:46:56.244Z] $ docker rm -f 71327877b86f2d913203506bd0b665808adab85a0eb0b3f0de0b5a140b1b1092 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-24T02:46:57.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-24T02:46:57.384Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-24T02:47:01.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-24T02:47:01.723Z] + ls -al . [2021-03-24T02:47:01.723Z] total 184 [2021-03-24T02:47:01.723Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 24 02:46 . [2021-03-24T02:47:01.723Z] drwxrwxr-x. 4 jenkins jenkins 30 Mar 24 02:44 .. [2021-03-24T02:47:01.723Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 24 02:44 bin [2021-03-24T02:47:01.723Z] -rw-r--r--. 1 jenkins jenkins 99587 Mar 24 02:46 coverage.out [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 24 02:44 Dockerfile.build [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 24 02:44 .dockerignore [2021-03-24T02:47:01.723Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 24 02:44 example [2021-03-24T02:47:01.723Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 24 02:44 .git [2021-03-24T02:47:01.723Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 24 02:44 .github [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 24 02:44 .gitignore [2021-03-24T02:47:01.723Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 24 02:46 go.mod [2021-03-24T02:47:01.723Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 24 02:46 go.sum [2021-03-24T02:47:01.723Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 24 02:44 internal [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 894 Mar 24 02:44 Jenkinsfile [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 24 02:44 LICENSE [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 24 02:44 Makefile [2021-03-24T02:47:01.723Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 24 02:44 openapi [2021-03-24T02:47:01.723Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 24 02:44 pkg [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 24 02:44 README.md [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 24 02:44 RELEASE-NOTES.txt [2021-03-24T02:47:01.723Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 24 02:44 snap [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 24 02:42 VERSION [2021-03-24T02:47:01.723Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 24 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:47:02.032Z] + 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=91c60f0d0e442914b6ae29da8716d8aab36f98ce --label arch=amd64 --label version=0.0.0 . [2021-03-24T02:47:02.293Z] Sending build context to Docker daemon 2.386MB [2021-03-24T02:47:02.293Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T02:47:02.293Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-24T02:47:02.293Z] ---> 0ebdb27a9be1 [2021-03-24T02:47:02.293Z] Step 3/24 : ARG MAKE='make build' [2021-03-24T02:47:02.865Z] ---> Running in b106e2456063 [2021-03-24T02:47:03.127Z] Removing intermediate container b106e2456063 [2021-03-24T02:47:03.127Z] ---> b49d4858a3a6 [2021-03-24T02:47:03.127Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-24T02:47:03.127Z] ---> Running in 850a7f166d4e [2021-03-24T02:47:03.127Z] Removing intermediate container 850a7f166d4e [2021-03-24T02:47:03.127Z] ---> e7afabc7d52d [2021-03-24T02:47:03.127Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T02:47:03.388Z] ---> Running in e80a102f04eb [2021-03-24T02:47:03.388Z] Removing intermediate container e80a102f04eb [2021-03-24T02:47:03.388Z] ---> 12c46f9c3074 [2021-03-24T02:47:03.388Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-24T02:47:03.654Z] ---> Running in 2ffbf0b1a90f [2021-03-24T02:47:04.603Z] Removing intermediate container 2ffbf0b1a90f [2021-03-24T02:47:04.603Z] ---> 5df72bcf488c [2021-03-24T02:47:04.603Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-24T02:47:04.603Z] ---> Running in 5cf6dd74be90 [2021-03-24T02:47:05.179Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-24T02:47:06.571Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-24T02:47:07.516Z] OK: 166 MiB in 39 packages [2021-03-24T02:47:07.778Z] Removing intermediate container 5cf6dd74be90 [2021-03-24T02:47:07.778Z] ---> c479d795f7ff [2021-03-24T02:47:07.778Z] Step 8/24 : COPY . . [2021-03-24T02:47:09.173Z] ---> 8a00ec11b841 [2021-03-24T02:47:09.173Z] Step 9/24 : RUN ${MAKE} [2021-03-24T02:47:09.173Z] ---> Running in 6b0bf76b7458 [2021-03-24T02:47:09.439Z] CGO_ENABLED=0 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-03-24T02:47:17.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.107s coverage: 10.5% of statements [2021-03-24T02:47:17.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-24T02:47:17.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-24T02:47:17.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.365s coverage: 32.5% of statements [2021-03-24T02:47:17.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-24T02:47:17.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-24T02:47:17.604Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-24T02:47:17.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.248s coverage: 57.3% of statements [2021-03-24T02:47:17.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.929s coverage: 6.6% of statements [2021-03-24T02:47:17.604Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.1% of statements [2021-03-24T02:47:17.604Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-24T02:47:17.698Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-24T02:47:17.876Z] GO111MODULE=on go vet ./... [2021-03-24T02:47:19.622Z] Removing intermediate container 6b0bf76b7458 [2021-03-24T02:47:19.622Z] ---> 43184ea7d81f [2021-03-24T02:47:19.622Z] Step 10/24 : FROM scratch [2021-03-24T02:47:19.622Z] ---> [2021-03-24T02:47:19.622Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T02:47:19.622Z] ---> Running in 30d33dd47d00 [2021-03-24T02:47:19.883Z] Removing intermediate container 30d33dd47d00 [2021-03-24T02:47:19.883Z] ---> 1d4d6d44a47a [2021-03-24T02:47:19.883Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-24T02:47:19.883Z] ---> Running in 323ecf11d22d [2021-03-24T02:47:19.884Z] Removing intermediate container 323ecf11d22d [2021-03-24T02:47:19.884Z] ---> c438c433261c [2021-03-24T02:47:19.884Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-24T02:47:20.146Z] ---> Running in 1fc88fe72bb5 [2021-03-24T02:47:20.146Z] Removing intermediate container 1fc88fe72bb5 [2021-03-24T02:47:20.146Z] ---> dc2d88df588c [2021-03-24T02:47:20.146Z] Step 14/24 : WORKDIR / [2021-03-24T02:47:20.146Z] ---> Running in 5435a761c420 [2021-03-24T02:47:20.407Z] Removing intermediate container 5435a761c420 [2021-03-24T02:47:20.407Z] ---> 8bbd7a350360 [2021-03-24T02:47:20.407Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-24T02:47:20.978Z] ---> ae7b67e2431e [2021-03-24T02:47:20.978Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-24T02:47:20.978Z] ---> 3e76d976bf09 [2021-03-24T02:47:20.978Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-24T02:47:21.241Z] ---> 585f8fc0c28a [2021-03-24T02:47:21.241Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-24T02:47:21.503Z] ---> e82ac0e00de0 [2021-03-24T02:47:21.503Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-24T02:47:21.764Z] ---> 92f148bd608b [2021-03-24T02:47:21.764Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-24T02:47:21.765Z] ---> Running in 94eba2e88f39 [2021-03-24T02:47:22.026Z] Removing intermediate container 94eba2e88f39 [2021-03-24T02:47:22.026Z] ---> 4999fd3ee5ba [2021-03-24T02:47:22.026Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-24T02:47:22.026Z] ---> Running in a7d424cd6033 [2021-03-24T02:47:22.289Z] Removing intermediate container a7d424cd6033 [2021-03-24T02:47:22.289Z] ---> f2f5423dbcb5 [2021-03-24T02:47:22.289Z] Step 22/24 : LABEL arch=amd64 [2021-03-24T02:47:22.289Z] ---> Running in 88b2eac5304c [2021-03-24T02:47:22.551Z] Removing intermediate container 88b2eac5304c [2021-03-24T02:47:22.551Z] ---> 6927c1670850 [2021-03-24T02:47:22.551Z] Step 23/24 : LABEL git_sha=91c60f0d0e442914b6ae29da8716d8aab36f98ce [2021-03-24T02:47:22.551Z] ---> Running in 8f94276d0ea2 [2021-03-24T02:47:22.813Z] Removing intermediate container 8f94276d0ea2 [2021-03-24T02:47:22.813Z] ---> caa7d1bb763a [2021-03-24T02:47:22.813Z] Step 24/24 : LABEL version=0.0.0 [2021-03-24T02:47:22.813Z] ---> Running in 917226561a6c [2021-03-24T02:47:23.074Z] Removing intermediate container 917226561a6c [2021-03-24T02:47:23.074Z] ---> ee45fb635ca0 [2021-03-24T02:47:23.074Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-24T02:47:23.074Z] Successfully built ee45fb635ca0 [2021-03-24T02:47:23.074Z] 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-03-24T02:47:24.165Z] ---> job-cost.sh [2021-03-24T02:47:24.166Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-SzRE [2021-03-24T02:47:39.090Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-24T02:47:56.909Z] gofmt -l . [2021-03-24T02:47:56.909Z] [ "`gofmt -l .`" = "" ] [2021-03-24T02:47:56.909Z] ./bin/test-attribution-txt.sh [2021-03-24T02:47:56.909Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-24T02:47:56.938Z] $ docker stop --time=1 d6e0de3ef3e46e2219225938a0c689685eac07bb7ec2c9edcb48099307492187 [2021-03-24T02:47:59.136Z] $ docker rm -f d6e0de3ef3e46e2219225938a0c689685eac07bb7ec2c9edcb48099307492187 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-24T02:48:00.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-24T02:48:00.344Z] Warning: overwriting stash ‘coverage-report’ [2021-03-24T02:48:01.111Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-24T02:48:01.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-24T02:48:02.202Z] + ls -al . [2021-03-24T02:48:02.202Z] total 220 [2021-03-24T02:48:02.202Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 02:47 . [2021-03-24T02:48:02.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 02:44 .. [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 02:44 .dockerignore [2021-03-24T02:48:02.202Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 02:44 .git [2021-03-24T02:48:02.202Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 02:44 .github [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 24 02:44 .gitignore [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 24 02:44 Dockerfile.build [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 894 Mar 24 02:44 Jenkinsfile [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 02:44 LICENSE [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 24 02:44 Makefile [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 24 02:44 README.md [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 24 02:44 RELEASE-NOTES.txt [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 02:42 VERSION [2021-03-24T02:48:02.202Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 02:44 bin [2021-03-24T02:48:02.202Z] -rw-r--r-- 1 jenkins jenkins 99587 Mar 24 02:47 coverage.out [2021-03-24T02:48:02.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 02:44 example [2021-03-24T02:48:02.202Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 24 02:47 go.mod [2021-03-24T02:48:02.202Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 24 02:47 go.sum [2021-03-24T02:48:02.202Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 24 02:44 internal [2021-03-24T02:48:02.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 02:44 openapi [2021-03-24T02:48:02.202Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 02:44 pkg [2021-03-24T02:48:02.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 02:44 snap [2021-03-24T02:48:02.202Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:48:02.541Z] + 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=91c60f0d0e442914b6ae29da8716d8aab36f98ce --label arch=arm64 --label version=0.0.0 . [2021-03-24T02:48:03.147Z] Sending build context to Docker daemon 2.385MB [2021-03-24T02:48:03.147Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-24T02:48:03.147Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-24T02:48:03.147Z] ---> 6d0ccb1ea115 [2021-03-24T02:48:03.147Z] Step 3/24 : ARG MAKE='make build' [2021-03-24T02:48:03.418Z] ---> Running in 725e8598be41 [2021-03-24T02:48:03.689Z] Removing intermediate container 725e8598be41 [2021-03-24T02:48:03.689Z] ---> bc917cecf278 [2021-03-24T02:48:03.689Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-24T02:48:03.963Z] ---> Running in 300d1fe1e2eb [2021-03-24T02:48:04.558Z] Removing intermediate container 300d1fe1e2eb [2021-03-24T02:48:04.558Z] ---> 087c9bb87ddc [2021-03-24T02:48:04.558Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T02:48:04.558Z] ---> Running in 8f95dabd28e3 [2021-03-24T02:48:05.151Z] Removing intermediate container 8f95dabd28e3 [2021-03-24T02:48:05.151Z] ---> 4c2aa18cefad [2021-03-24T02:48:05.151Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-24T02:48:05.151Z] ---> Running in de23ac0d5419 [2021-03-24T02:48:05.741Z] lf-activate-venv(): INFO: Adding /tmp/venv-SzRE/bin to PATH [2021-03-24T02:48:05.741Z] INFO: No Stack... [2021-03-24T02:48:05.741Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-24T02:48:06.688Z] INFO: Archiving Costs [Pipeline] sh [2021-03-24T02:48:06.992Z] + cat /w/workspace/device-sdk-go/24/archives/cost.csv [2021-03-24T02:48:06.992Z] + cut -d, -f6 [Pipeline] lock [2021-03-24T02:48:07.071Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-24-stack-cost] [2021-03-24T02:48:07.081Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-24-stack-cost] did not exist. Created. [2021-03-24T02:48:07.081Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-24-stack-cost] [Pipeline] { [2021-03-24T02:48:07.127Z] Removing intermediate container de23ac0d5419 [2021-03-24T02:48:07.127Z] ---> 57e7b70578f2 [2021-03-24T02:48:07.127Z] Step 7/24 : RUN apk add --update --no-cache make git [Pipeline] unstash [Pipeline] sh [2021-03-24T02:48:07.401Z] ---> Running in d1ae9b3b30f6 [2021-03-24T02:48:07.565Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-24T02:48:07.736Z] Stashed 1 file(s) [Pipeline] } [2021-03-24T02:48:07.757Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-24-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [2021-03-24T02:48:08.391Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] } [2021-03-24T02:48:09.815Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-24T02:48:11.245Z] OK: 142 MiB in 39 packages [2021-03-24T02:48:12.223Z] Removing intermediate container d1ae9b3b30f6 [2021-03-24T02:48:12.223Z] ---> f1d4ff3f04f9 [2021-03-24T02:48:12.223Z] Step 8/24 : COPY . . [2021-03-24T02:48:13.201Z] ---> 6106050ad757 [2021-03-24T02:48:13.201Z] Step 9/24 : RUN ${MAKE} [2021-03-24T02:48:13.475Z] ---> Running in 7e78c57d28dc [2021-03-24T02:48:14.448Z] CGO_ENABLED=0 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-03-24T02:48:41.264Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-24T02:48:41.856Z] Removing intermediate container 7e78c57d28dc [2021-03-24T02:48:41.856Z] ---> 9bc1441969d5 [2021-03-24T02:48:41.856Z] Step 10/24 : FROM scratch [2021-03-24T02:48:41.856Z] ---> [2021-03-24T02:48:41.856Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-24T02:48:42.128Z] ---> Running in 9a984643c90e [2021-03-24T02:48:42.720Z] Removing intermediate container 9a984643c90e [2021-03-24T02:48:42.720Z] ---> 4a16cdc54b34 [2021-03-24T02:48:42.720Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-24T02:48:42.720Z] ---> Running in e53cacb7a90a [2021-03-24T02:48:42.991Z] Removing intermediate container e53cacb7a90a [2021-03-24T02:48:42.991Z] ---> d3a14278e27a [2021-03-24T02:48:42.991Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-24T02:48:43.263Z] ---> Running in 3ba635885249 [2021-03-24T02:48:43.536Z] Removing intermediate container 3ba635885249 [2021-03-24T02:48:43.536Z] ---> a029ca209954 [2021-03-24T02:48:43.536Z] Step 14/24 : WORKDIR / [2021-03-24T02:48:43.809Z] ---> Running in 42e1d38e6ddc [2021-03-24T02:48:44.081Z] Removing intermediate container 42e1d38e6ddc [2021-03-24T02:48:44.081Z] ---> 09101dd3573f [2021-03-24T02:48:44.081Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-24T02:48:45.518Z] ---> c41b427367d4 [2021-03-24T02:48:45.518Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-24T02:48:46.110Z] ---> a8ccbcfb025a [2021-03-24T02:48:46.111Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-24T02:48:46.709Z] ---> 60afa5b6d86d [2021-03-24T02:48:46.709Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-24T02:48:47.305Z] ---> db73978a7c17 [2021-03-24T02:48:47.305Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-24T02:48:48.282Z] ---> 6352cd135468 [2021-03-24T02:48:48.282Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-24T02:48:48.282Z] ---> Running in 49e84853b935 [2021-03-24T02:48:48.553Z] Removing intermediate container 49e84853b935 [2021-03-24T02:48:48.553Z] ---> 6e32661a1c41 [2021-03-24T02:48:48.553Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-24T02:48:48.825Z] ---> Running in a220363031d0 [2021-03-24T02:48:49.420Z] Removing intermediate container a220363031d0 [2021-03-24T02:48:49.420Z] ---> d4334f7684f0 [2021-03-24T02:48:49.420Z] Step 22/24 : LABEL arch=arm64 [2021-03-24T02:48:49.420Z] ---> Running in 520f3c4b8efd [2021-03-24T02:48:50.013Z] Removing intermediate container 520f3c4b8efd [2021-03-24T02:48:50.013Z] ---> fb9844bbaeaa [2021-03-24T02:48:50.013Z] Step 23/24 : LABEL git_sha=91c60f0d0e442914b6ae29da8716d8aab36f98ce [2021-03-24T02:48:50.013Z] ---> Running in e6866433e626 [2021-03-24T02:48:50.610Z] Removing intermediate container e6866433e626 [2021-03-24T02:48:50.610Z] ---> 7821d55f5a7f [2021-03-24T02:48:50.610Z] Step 24/24 : LABEL version=0.0.0 [2021-03-24T02:48:50.610Z] ---> Running in efc663c0785c [2021-03-24T02:48:51.201Z] Removing intermediate container efc663c0785c [2021-03-24T02:48:51.201Z] ---> 7e5a97ff5857 [2021-03-24T02:48:51.201Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-24T02:48:51.201Z] Successfully built 7e5a97ff5857 [2021-03-24T02:48:51.201Z] 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-03-24T02:48:52.059Z] ---> job-cost.sh [2021-03-24T02:48:52.059Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FIvx [2021-03-24T02:49:31.011Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-24T02:51:07.744Z] lf-activate-venv(): INFO: Adding /tmp/venv-FIvx/bin to PATH [2021-03-24T02:51:07.744Z] INFO: No Stack... [2021-03-24T02:51:07.744Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-24T02:51:07.744Z] INFO: Archiving Costs [Pipeline] sh [2021-03-24T02:51:08.088Z] + cut -d, -f6 [2021-03-24T02:51:08.088Z] + cat /w/workspace/device-sdk-go/24/archives/cost.csv [Pipeline] lock [2021-03-24T02:51:08.222Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-24-stack-cost] [2021-03-24T02:51:08.232Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-24-stack-cost] did not exist. Created. [2021-03-24T02:51:08.233Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-24T02:51:08.688Z] /w/workspace/device-sdk-go/24@tmp/durable-529c6a57/script.sh: 1: /w/workspace/device-sdk-go/24@tmp/durable-529c6a57/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-24T02:51:09.040Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-24T02:51:09.113Z] Warning: overwriting stash ‘stack-cost’ [2021-03-24T02:51:09.278Z] Stashed 1 file(s) [Pipeline] } [2021-03-24T02:51:09.296Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-24-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-03-24T02:51:10.879Z] provisioning config files... [2021-03-24T02:51:10.894Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config6573398594109379021tmp [Pipeline] { [Pipeline] sh [2021-03-24T02:51:11.295Z] + set +x [2021-03-24T02:51:11.295Z] + bash -s -- [2021-03-24T02:51:11.295Z] + curl -s https://codecov.io/bash [2021-03-24T02:51:11.559Z] [2021-03-24T02:51:11.559Z] _____ _ [2021-03-24T02:51:11.559Z] / ____| | | [2021-03-24T02:51:11.559Z] | | ___ __| | ___ ___ _____ __ [2021-03-24T02:51:11.559Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-24T02:51:11.559Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-24T02:51:11.559Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-24T02:51:11.559Z] Bash-20210309-2b87ace [2021-03-24T02:51:11.559Z] [2021-03-24T02:51:11.559Z] [2021-03-24T02:51:11.559Z] ==> git version 2.24.3 found [2021-03-24T02:51:11.559Z] ==> 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-03-24T02:51:11.559Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-24T02:51:11.559Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-24T02:51:11.559Z] ==> Jenkins CI detected. [2021-03-24T02:51:11.559Z] project root: . [2021-03-24T02:51:11.559Z] --> token set from env [2021-03-24T02:51:11.559Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-24T02:51:11.559Z] ==> Running gcov in . (disable via -X gcov) [2021-03-24T02:51:11.559Z] ==> Python coveragepy not found [2021-03-24T02:51:11.559Z] ==> Searching for coverage reports in: [2021-03-24T02:51:11.559Z] + . [2021-03-24T02:51:11.559Z] -> Found 1 reports [2021-03-24T02:51:11.559Z] ==> Detecting git/mercurial file structure [2021-03-24T02:51:11.559Z] ==> Reading reports [2021-03-24T02:51:11.559Z] + ./coverage.out bytes=99587 [2021-03-24T02:51:11.559Z] ==> Appending adjustments [2021-03-24T02:51:11.559Z] https://docs.codecov.io/docs/fixing-reports [2021-03-24T02:51:11.822Z] + Found adjustments [2021-03-24T02:51:11.822Z] ==> Gzipping contents [2021-03-24T02:51:11.822Z] 16K /tmp/codecov.4TlGed.gz [2021-03-24T02:51:11.822Z] ==> Uploading reports [2021-03-24T02:51:11.822Z] url: https://codecov.io [2021-03-24T02:51:11.822Z] query: branch=PR-725&commit=91c60f0d0e442914b6ae29da8716d8aab36f98ce&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-24T02:51:11.822Z] -> Pinging Codecov [2021-03-24T02:51:11.822Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=91c60f0d0e442914b6ae29da8716d8aab36f98ce&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= [2021-03-24T02:51:12.399Z] -> Uploading to [2021-03-24T02:51:12.399Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-24/7E55EF52A471D76F132DFD9A03CDDE97/91c60f0d0e442914b6ae29da8716d8aab36f98ce/e60d52e4-ee86-4cc7-93e3-ddd30375f345.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210324T025112Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8eebcc7816633de7df600efc8e65cdfa47495961f26e6372f237bdc3c8b3730 [2021-03-24T02:51:12.399Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-24T02:51:12.399Z] Dload Upload Total Spent Left Speed [2021-03-24T02:51:12.672Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13413 0 0 100 13413 0 32380 --:--:-- --:--:-- --:--:-- 32320 100 13413 0 0 100 13413 0 32366 --:--:-- --:--:-- --:--:-- 32320 [2021-03-24T02:51:12.672Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/91c60f0d0e442914b6ae29da8716d8aab36f98ce [Pipeline] } [2021-03-24T02:51:12.685Z] 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-03-24T02:51:15.274Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:51:15.845Z] ---> package-listing.sh [2021-03-24T02:51:15.845Z] ++ facter osfamily [2021-03-24T02:51:15.845Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-24T02:51:15.845Z] + OS_FAMILY=redhat [2021-03-24T02:51:15.845Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 [2021-03-24T02:51:15.845Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-24T02:51:15.845Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-24T02:51:15.845Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-24T02:51:15.845Z] + PACKAGES=/tmp/packages_start.txt [2021-03-24T02:51:15.845Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-24T02:51:15.845Z] + PACKAGES=/tmp/packages_end.txt [2021-03-24T02:51:15.845Z] + case "${OS_FAMILY}" in [2021-03-24T02:51:15.845Z] + rpm -qa [2021-03-24T02:51:15.845Z] + sort [2021-03-24T02:51:21.166Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-24T02:51:21.166Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-24T02:51:21.166Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-24T02:51:21.166Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' [2021-03-24T02:51:21.166Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [2021-03-24T02:51:21.166Z] + 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-03-24T02:51:21.182Z] 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-03-24T02:51:21.481Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:51:21.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-24T02:51:21.802Z] [2021-03-24T02:51:21.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-24T02:51:22.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-24T02:51:22.158Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-24T02:51:22.158Z] df20fa9351a1: Pulling fs layer [2021-03-24T02:51:22.158Z] 36b3adc4ff6f: Pulling fs layer [2021-03-24T02:51:22.158Z] 8ad3a11d3b57: Pulling fs layer [2021-03-24T02:51:22.158Z] 46f8f816bc3b: Pulling fs layer [2021-03-24T02:51:22.158Z] 93b61091891f: Pulling fs layer [2021-03-24T02:51:22.158Z] 93b9cdb0e59b: Pulling fs layer [2021-03-24T02:51:22.158Z] 5e14af77c1be: Pulling fs layer [2021-03-24T02:51:22.158Z] 01666e4c0597: Pulling fs layer [2021-03-24T02:51:22.158Z] aa168da1d23b: Pulling fs layer [2021-03-24T02:51:22.158Z] 5e14af77c1be: Waiting [2021-03-24T02:51:22.158Z] 01666e4c0597: Waiting [2021-03-24T02:51:22.158Z] aa168da1d23b: Waiting [2021-03-24T02:51:22.158Z] 46f8f816bc3b: Waiting [2021-03-24T02:51:22.158Z] 93b61091891f: Waiting [2021-03-24T02:51:22.158Z] 93b9cdb0e59b: Waiting [2021-03-24T02:51:22.158Z] 36b3adc4ff6f: Verifying Checksum [2021-03-24T02:51:22.158Z] 36b3adc4ff6f: Download complete [2021-03-24T02:51:22.158Z] 46f8f816bc3b: Verifying Checksum [2021-03-24T02:51:22.158Z] 46f8f816bc3b: Download complete [2021-03-24T02:51:22.421Z] df20fa9351a1: Verifying Checksum [2021-03-24T02:51:22.422Z] df20fa9351a1: Download complete [2021-03-24T02:51:22.422Z] 93b9cdb0e59b: Verifying Checksum [2021-03-24T02:51:22.422Z] 93b9cdb0e59b: Download complete [2021-03-24T02:51:22.422Z] 5e14af77c1be: Verifying Checksum [2021-03-24T02:51:22.422Z] 5e14af77c1be: Download complete [2021-03-24T02:51:22.422Z] 93b61091891f: Verifying Checksum [2021-03-24T02:51:22.422Z] 93b61091891f: Download complete [2021-03-24T02:51:22.422Z] 01666e4c0597: Verifying Checksum [2021-03-24T02:51:22.422Z] 01666e4c0597: Download complete [2021-03-24T02:51:22.684Z] 8ad3a11d3b57: Verifying Checksum [2021-03-24T02:51:22.684Z] 8ad3a11d3b57: Download complete [2021-03-24T02:51:22.684Z] df20fa9351a1: Pull complete [2021-03-24T02:51:22.950Z] 36b3adc4ff6f: Pull complete [2021-03-24T02:51:23.533Z] 8ad3a11d3b57: Pull complete [2021-03-24T02:51:23.799Z] 46f8f816bc3b: Pull complete [2021-03-24T02:51:24.388Z] 93b61091891f: Pull complete [2021-03-24T02:51:24.388Z] 93b9cdb0e59b: Pull complete [2021-03-24T02:51:24.650Z] aa168da1d23b: Verifying Checksum [2021-03-24T02:51:24.650Z] aa168da1d23b: Download complete [2021-03-24T02:51:24.913Z] 5e14af77c1be: Pull complete [2021-03-24T02:51:25.184Z] 01666e4c0597: Pull complete [2021-03-24T02:51:33.376Z] aa168da1d23b: Pull complete [2021-03-24T02:51:33.376Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-24T02:51:33.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-24T02:51:33.376Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-24T02:51:33.595Z] prd-centos7-docker-4c-2g-31167 does not seem to be running inside a container [2021-03-24T02:51:33.653Z] $ 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-03-24T02:51:36.132Z] $ docker top 0fbb03f79b994d4702ab11559bf7848fc91e777551ee442355d38a6440b2be41 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-24T02:51:36.668Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-24T02:51:36.971Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-24T02:51:37.278Z] + ls /var/log/sa-host [2021-03-24T02:51:37.278Z] + sadf -c /var/log/sa-host/sa23 [2021-03-24T02:51:37.278Z] file_magic: OK [2021-03-24T02:51:37.278Z] HZ: Using current value: 100 [2021-03-24T02:51:37.278Z] file_header: OK [2021-03-24T02:51:37.278Z] 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-03-24T02:51:37.278Z] Statistics: [2021-03-24T02:51:37.278Z] Hnuu...uuuununununu... [2021-03-24T02:51:37.278Z] File successfully converted to sysstat format version 12.2.1 [2021-03-24T02:51:37.278Z] + sadf -c /var/log/sa-host/sa24 [2021-03-24T02:51:37.278Z] file_magic: OK [2021-03-24T02:51:37.279Z] HZ: Using current value: 100 [2021-03-24T02:51:37.279Z] file_header: OK [2021-03-24T02:51:37.279Z] 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-03-24T02:51:37.279Z] Statistics: [2021-03-24T02:51:37.279Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-24T02:51:37.279Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-24T02:51:37.933Z] provisioning config files... [2021-03-24T02:51:37.954Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config9186247406945816839tmp [Pipeline] { [Pipeline] echo [2021-03-24T02:51:38.031Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:51:38.334Z] ---> create-netrc.sh [Pipeline] } [2021-03-24T02:51:38.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-24T02:51:38.438Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:51:38.741Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-24T02:51:38.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:51:39.050Z] ---> sudo-logs.sh [2021-03-24T02:51:39.050Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-24T02:51:39.121Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:51:39.419Z] ---> job-cost.sh [2021-03-24T02:51:39.419Z] lf-activate-venv: SKIPPING [2021-03-24T02:51:39.419Z] DEBUG: total: 0.20999999344348907 [2021-03-24T02:51:39.419Z] INFO: Retrieving Stack Cost... [2021-03-24T02:51:40.811Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-24T02:51:41.408Z] INFO: Archiving Costs [Pipeline] echo [2021-03-24T02:51:41.435Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-24T02:51:41.778Z] ---> logs-deploy.sh [2021-03-24T02:51:41.779Z] lf-activate-venv: SKIPPING [2021-03-24T02:51:41.779Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/24 [2021-03-24T02:51:41.779Z] INFO: archiving workspace using pattern(s): [2021-03-24T02:51:43.701Z] Archives upload complete. [2021-03-24T02:51:43.701Z] INFO: archiving logs to Nexus