Pull request #812 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from fa6af304cbd6f450c15756926b55dea36a814490+3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 (ed1e589879e3edc65386cd99a65c20863e9d447e) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29276 in /w/workspace/dgexfoundry_device-sdk-go_PR-812 [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-812 # 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/812/head:refs/remotes/origin/PR-812 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit fa6af304cbd6f450c15756926b55dea36a814490 Merge succeeded, producing fa6af304cbd6f450c15756926b55dea36a814490 Checking out Revision fa6af304cbd6f450c15756926b55dea36a814490 (PR-812) > git config core.sparsecheckout # timeout=10 > git checkout -f fa6af304cbd6f450c15756926b55dea36a814490 # 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 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa6af304cbd6f450c15756926b55dea36a814490 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-10T07:33:17.454Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-10T07:33:17.732Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-10T07:33:17.856Z] ========================================================= [2021-03-10T07:33:17.856Z] EdgeX Global Pipelines Version Info [2021-03-10T07:33:17.856Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a2b66370f1ac85d995e8fab915882288755312fe # timeout=10 [2021-03-10T07:33:19.310Z] ------------------- [2021-03-10T07:33:19.310Z] stable info: [2021-03-10T07:33:19.310Z] ------------------- [2021-03-10T07:33:19.311Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-10T07:33:19.311Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-10T07:33:19.311Z] Message: update stable to v1.0.184 [2021-03-10T07:33:20.257Z] ------------------- [2021-03-10T07:33:20.257Z] experimental info: [2021-03-10T07:33:20.257Z] ------------------- [2021-03-10T07:33:20.257Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-10T07:33:20.257Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-10T07:33:20.257Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-10T07:33:20.656Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-10T07:33:20.758Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-10T07:33:20.920Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-10T07:33:21.039Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-10T07:33:21.146Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-10T07:33:21.235Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-10T07:33:21.325Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-10T07:33:21.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-10T07:33:21.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-10T07:33:21.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-10T07:33:21.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-10T07:33:21.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-10T07:33:21.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-10T07:33:21.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-10T07:33:22.089Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-10T07:33:22.175Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-10T07:33:22.264Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-10T07:33:22.368Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-10T07:33:22.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-10T07:33:22.533Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-10T07:33:22.615Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-10T07:33:22.703Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-10T07:33:22.787Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-10T07:33:22.869Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-10T07:33:22.956Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-10T07:33:23.054Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-10T07:33:23.137Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-812 [Pipeline] echo [2021-03-10T07:33:23.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-812 [Pipeline] echo [2021-03-10T07:33:23.456Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-812 [Pipeline] echo [2021-03-10T07:33:23.546Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa6af304cbd6f450c15756926b55dea36a814490 [Pipeline] echo [2021-03-10T07:33:23.628Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa6af30 [Pipeline] echo [2021-03-10T07:33:23.715Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-10T07:33:23.925Z] provisioning config files... [2021-03-10T07:33:23.957Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/config331175535527182184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:33:24.319Z] ---> docker-login.sh [2021-03-10T07:33:24.319Z] nexus3.edgexfoundry.org:10001 [2021-03-10T07:33:24.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:33:24.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:33:24.582Z] Configure a credential helper to remove this warning. See [2021-03-10T07:33:24.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:33:24.582Z] [2021-03-10T07:33:24.582Z] Login Succeeded [2021-03-10T07:33:24.582Z] nexus3.edgexfoundry.org:10002 [2021-03-10T07:33:24.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:33:24.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:33:24.843Z] Configure a credential helper to remove this warning. See [2021-03-10T07:33:24.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:33:24.843Z] [2021-03-10T07:33:24.843Z] Login Succeeded [2021-03-10T07:33:24.843Z] nexus3.edgexfoundry.org:10003 [2021-03-10T07:33:24.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:33:25.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:33:25.109Z] Configure a credential helper to remove this warning. See [2021-03-10T07:33:25.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:33:25.109Z] [2021-03-10T07:33:25.109Z] Login Succeeded [2021-03-10T07:33:25.109Z] nexus3.edgexfoundry.org:10004 [2021-03-10T07:33:25.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:33:25.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:33:25.109Z] Configure a credential helper to remove this warning. See [2021-03-10T07:33:25.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:33:25.109Z] [2021-03-10T07:33:25.109Z] Login Succeeded [2021-03-10T07:33:25.109Z] docker.io [2021-03-10T07:33:25.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:33:25.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:33:25.633Z] Configure a credential helper to remove this warning. See [2021-03-10T07:33:25.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:33:25.633Z] [2021-03-10T07:33:25.633Z] Login Succeeded [2021-03-10T07:33:25.633Z] ---> docker-login.sh ends [Pipeline] } [2021-03-10T07:33:25.642Z] 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-10T07:33:26.431Z] + git log --format=format:%s -1 fa6af304cbd6f450c15756926b55dea36a814490 [Pipeline] echo [2021-03-10T07:33:26.503Z] GIT_COMMIT: fa6af304cbd6f450c15756926b55dea36a814490, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-03-10T07:33:26.548Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:33:27.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T07:33:27.549Z] [2021-03-10T07:33:27.549Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:33:27.895Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T07:33:27.895Z] latest: Pulling from edgex-devops/git-semver [2021-03-10T07:33:27.895Z] 31603596830f: Pulling fs layer [2021-03-10T07:33:27.895Z] 2a8b12db71e7: Pulling fs layer [2021-03-10T07:33:27.895Z] 6ca5941a6612: Pulling fs layer [2021-03-10T07:33:27.895Z] ecc8261a40a4: Pulling fs layer [2021-03-10T07:33:27.895Z] ecc8261a40a4: Waiting [2021-03-10T07:33:27.895Z] 2a8b12db71e7: Verifying Checksum [2021-03-10T07:33:27.895Z] 2a8b12db71e7: Download complete [2021-03-10T07:33:28.157Z] 31603596830f: Verifying Checksum [2021-03-10T07:33:28.157Z] 31603596830f: Download complete [2021-03-10T07:33:28.157Z] 6ca5941a6612: Verifying Checksum [2021-03-10T07:33:28.157Z] 6ca5941a6612: Download complete [2021-03-10T07:33:28.157Z] ecc8261a40a4: Verifying Checksum [2021-03-10T07:33:28.157Z] ecc8261a40a4: Download complete [2021-03-10T07:33:28.419Z] 31603596830f: Pull complete [2021-03-10T07:33:28.681Z] 2a8b12db71e7: Pull complete [2021-03-10T07:33:29.262Z] 6ca5941a6612: Pull complete [2021-03-10T07:33:29.834Z] ecc8261a40a4: Pull complete [2021-03-10T07:33:29.834Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-10T07:33:29.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-10T07:33:29.834Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-10T07:33:29.943Z] prd-centos7-docker-4c-2g-29276 does not seem to be running inside a container [2021-03-10T07:33:29.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-812 -v /w/workspace/dgexfoundry_device-sdk-go_PR-812:/w/workspace/dgexfoundry_device-sdk-go_PR-812:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-10T07:33:32.034Z] $ docker top bde6efbcefa42926ba13dc6203d4a0d58e61429d6722ec074f34d50d41cd9833 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-10T07:33:32.340Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-10T07:33:32.340Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-10T07:33:32.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-10T07:33:32.567Z] $ docker exec bde6efbcefa42926ba13dc6203d4a0d58e61429d6722ec074f34d50d41cd9833 ssh-agent [2021-03-10T07:33:32.742Z] SSH_AUTH_SOCK=/tmp/ssh-NGsQgETOINPL/agent.11 [2021-03-10T07:33:32.742Z] SSH_AGENT_PID=16 [2021-03-10T07:33:32.753Z] Running ssh-add (command line suppressed) [2021-03-10T07:33:32.870Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_7633567605625990537.key (/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_7633567605625990537.key) [2021-03-10T07:33:32.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-10T07:33:33.258Z] + git tag --points-at HEAD [Pipeline] } [2021-03-10T07:33:33.285Z] $ docker exec --env ******** --env ******** bde6efbcefa42926ba13dc6203d4a0d58e61429d6722ec074f34d50d41cd9833 ssh-agent -k [2021-03-10T07:33:33.405Z] unset SSH_AUTH_SOCK; [2021-03-10T07:33:33.405Z] unset SSH_AGENT_PID; [2021-03-10T07:33:33.405Z] echo Agent pid 16 killed; [2021-03-10T07:33:33.451Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-10T07:33:33.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-10T07:33:33.582Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-10T07:33:33.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-10T07:33:33.749Z] $ docker exec bde6efbcefa42926ba13dc6203d4a0d58e61429d6722ec074f34d50d41cd9833 ssh-agent [2021-03-10T07:33:33.914Z] SSH_AUTH_SOCK=/tmp/ssh-KL8kXBy3CaFQ/agent.47 [2021-03-10T07:33:33.914Z] SSH_AGENT_PID=52 [2021-03-10T07:33:33.927Z] Running ssh-add (command line suppressed) [2021-03-10T07:33:34.044Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_7357278974760432278.key (/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/private_key_7357278974760432278.key) [2021-03-10T07:33:34.097Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-10T07:33:34.432Z] + git semver init [2021-03-10T07:33:34.433Z] # -> Open(): unable to determine branch for HEAD [2021-03-10T07:33:34.433Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-812/.git [2021-03-10T07:33:34.433Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-812 [2021-03-10T07:33:34.433Z] # $SEMVER_REMOTE_NAME = origin [2021-03-10T07:33:34.433Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-10T07:33:34.433Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-10T07:33:34.433Z] # $SEMVER_BRANCH = PR-812 [2021-03-10T07:33:34.433Z] # $SEMVER_TEMP = /tmp/semver-722769799 [2021-03-10T07:33:34.433Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-10T07:33:35.375Z] # '/tmp/semver-722769799' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-812/.semver' [2021-03-10T07:33:35.375Z] # -> Force: false [2021-03-10T07:33:35.375Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-812/.semver [Pipeline] } [2021-03-10T07:33:35.402Z] $ docker exec --env ******** --env ******** bde6efbcefa42926ba13dc6203d4a0d58e61429d6722ec074f34d50d41cd9833 ssh-agent -k [2021-03-10T07:33:35.559Z] unset SSH_AUTH_SOCK; [2021-03-10T07:33:35.559Z] unset SSH_AGENT_PID; [2021-03-10T07:33:35.560Z] echo Agent pid 52 killed; [2021-03-10T07:33:35.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-10T07:33:36.143Z] + git semver [Pipeline] } [2021-03-10T07:33:36.162Z] $ docker stop --time=1 bde6efbcefa42926ba13dc6203d4a0d58e61429d6722ec074f34d50d41cd9833 [2021-03-10T07:33:37.764Z] $ docker rm -f bde6efbcefa42926ba13dc6203d4a0d58e61429d6722ec074f34d50d41cd9833 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-10T07:33:38.235Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-10T07:33:38.743Z] Stashed 1 file(s) [Pipeline] echo [2021-03-10T07:33:38.746Z] [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-10T07:33:54.286Z] Still waiting to schedule task [2021-03-10T07:33:54.286Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29276’ [2021-03-10T07:33:54.289Z] Still waiting to schedule task [2021-03-10T07:33:54.289Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-10T07:35:41.399Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29277 in /w/workspace/dgexfoundry_device-sdk-go_PR-812 [Pipeline] { [Pipeline] ws [2021-03-10T07:35:41.482Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-03-10T07:35:46.699Z] using credential edgex-jenkins-ssh [2021-03-10T07:35:46.762Z] Cloning the remote Git repository [2021-03-10T07:35:46.818Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T07:35:46.928Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-10T07:35:47.009Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T07:35:47.009Z] > git --version # timeout=10 [2021-03-10T07:35:47.030Z] > git --version # 'git version 2.17.1' [2021-03-10T07:35:47.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T07:35:47.103Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T07:35:48.965Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit fa6af304cbd6f450c15756926b55dea36a814490 [2021-03-10T07:35:49.207Z] Merge succeeded, producing fa6af304cbd6f450c15756926b55dea36a814490 [2021-03-10T07:35:49.207Z] Checking out Revision fa6af304cbd6f450c15756926b55dea36a814490 (PR-812) [2021-03-10T07:35:48.355Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T07:35:48.381Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T07:35:48.415Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T07:35:48.461Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T07:35:48.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T07:35:48.478Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/812/head:refs/remotes/origin/PR-812 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-10T07:35:48.982Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T07:35:49.003Z] > git checkout -f fa6af304cbd6f450c15756926b55dea36a814490 # timeout=10 [2021-03-10T07:35:49.114Z] > git remote # timeout=10 [2021-03-10T07:35:49.133Z] > git config --get remote.origin.url # timeout=10 [2021-03-10T07:35:49.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T07:35:49.161Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-10T07:35:49.186Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-10T07:35:49.208Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T07:35:49.219Z] > git checkout -f fa6af304cbd6f450c15756926b55dea36a814490 # timeout=10 [2021-03-10T07:35:53.705Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T07:35:55.344Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-10T07:35:55.743Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-10T07:35:56.145Z] + true [2021-03-10T07:35:56.145Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-10T07:35:58.923Z] provisioning config files... [2021-03-10T07:35:58.959Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7563822950500829709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:35:59.390Z] ---> docker-login.sh [2021-03-10T07:35:59.390Z] nexus3.edgexfoundry.org:10001 [2021-03-10T07:36:00.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:00.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:00.661Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:00.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:00.661Z] [2021-03-10T07:36:00.661Z] Login Succeeded [2021-03-10T07:36:00.661Z] nexus3.edgexfoundry.org:10002 [2021-03-10T07:36:00.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:01.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:01.208Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:01.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:01.208Z] [2021-03-10T07:36:01.208Z] Login Succeeded [2021-03-10T07:36:01.208Z] nexus3.edgexfoundry.org:10003 [2021-03-10T07:36:01.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:01.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:01.481Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:01.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:01.481Z] [2021-03-10T07:36:01.481Z] Login Succeeded [2021-03-10T07:36:01.481Z] nexus3.edgexfoundry.org:10004 [2021-03-10T07:36:02.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:02.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:02.080Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:02.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:02.080Z] [2021-03-10T07:36:02.080Z] Login Succeeded [2021-03-10T07:36:02.080Z] docker.io [2021-03-10T07:36:02.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:02.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:02.953Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:02.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:02.953Z] [2021-03-10T07:36:02.953Z] Login Succeeded [2021-03-10T07:36:02.953Z] ---> docker-login.sh ends [Pipeline] } [2021-03-10T07:36:02.970Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-10T07:36:03.451Z] ========================================================= [2021-03-10T07:36:03.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-10T07:36:03.451Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:36:03.836Z] + 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-10T07:36:04.467Z] Sending build context to Docker daemon 2.283MB [2021-03-10T07:36:04.467Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T07:36:04.467Z] Step 2/8 : FROM ${BASE} [2021-03-10T07:36:04.467Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-10T07:36:04.467Z] 5f621e34cdf4: Pulling fs layer [2021-03-10T07:36:04.467Z] a4357932f1b6: Pulling fs layer [2021-03-10T07:36:04.467Z] 18c013af1878: Pulling fs layer [2021-03-10T07:36:04.467Z] 00ac8860ef70: Pulling fs layer [2021-03-10T07:36:04.467Z] 63d7cb157983: Pulling fs layer [2021-03-10T07:36:04.467Z] b116817d02f9: Pulling fs layer [2021-03-10T07:36:04.467Z] 745a02a5169b: Pulling fs layer [2021-03-10T07:36:04.467Z] 00ac8860ef70: Waiting [2021-03-10T07:36:04.467Z] 63d7cb157983: Waiting [2021-03-10T07:36:04.467Z] b116817d02f9: Waiting [2021-03-10T07:36:04.467Z] 18c013af1878: Verifying Checksum [2021-03-10T07:36:04.467Z] 18c013af1878: Download complete [2021-03-10T07:36:04.467Z] a4357932f1b6: Verifying Checksum [2021-03-10T07:36:04.467Z] a4357932f1b6: Download complete [2021-03-10T07:36:04.467Z] 63d7cb157983: Verifying Checksum [2021-03-10T07:36:04.467Z] 63d7cb157983: Download complete [2021-03-10T07:36:04.743Z] b116817d02f9: Verifying Checksum [2021-03-10T07:36:04.743Z] b116817d02f9: Download complete [2021-03-10T07:36:04.743Z] 5f621e34cdf4: Verifying Checksum [2021-03-10T07:36:04.743Z] 5f621e34cdf4: Download complete [2021-03-10T07:36:05.349Z] 5f621e34cdf4: Pull complete [2021-03-10T07:36:06.350Z] a4357932f1b6: Pull complete [2021-03-10T07:36:06.623Z] 18c013af1878: Pull complete [2021-03-10T07:36:07.218Z] 745a02a5169b: Verifying Checksum [2021-03-10T07:36:07.218Z] 745a02a5169b: Download complete [2021-03-10T07:36:08.191Z] 00ac8860ef70: Verifying Checksum [2021-03-10T07:36:08.191Z] 00ac8860ef70: Download complete [2021-03-10T07:36:15.243Z] Running on prd-centos7-docker-4c-2g-29278 in /w/workspace/dgexfoundry_device-sdk-go_PR-812 [Pipeline] { [Pipeline] ws [2021-03-10T07:36:15.317Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-03-10T07:36:17.850Z] using credential edgex-jenkins-ssh [2021-03-10T07:36:17.901Z] Cloning the remote Git repository [2021-03-10T07:36:18.381Z] 00ac8860ef70: Pull complete [2021-03-10T07:36:18.381Z] 63d7cb157983: Pull complete [2021-03-10T07:36:17.924Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T07:36:17.996Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-03-10T07:36:18.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T07:36:18.064Z] > git --version # timeout=10 [2021-03-10T07:36:18.072Z] > git --version # 'git version 2.24.3' [2021-03-10T07:36:18.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T07:36:18.101Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T07:36:18.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T07:36:18.812Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-10T07:36:18.825Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-10T07:36:18.838Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-10T07:36:18.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T07:36:18.844Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/812/head:refs/remotes/origin/PR-812 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-10T07:36:18.979Z] b116817d02f9: Pull complete [2021-03-10T07:36:19.281Z] Merging remotes/origin/master commit 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 into PR head commit fa6af304cbd6f450c15756926b55dea36a814490 [2021-03-10T07:36:19.384Z] Merge succeeded, producing fa6af304cbd6f450c15756926b55dea36a814490 [2021-03-10T07:36:19.384Z] Checking out Revision fa6af304cbd6f450c15756926b55dea36a814490 (PR-812) [2021-03-10T07:36:19.286Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T07:36:19.294Z] > git checkout -f fa6af304cbd6f450c15756926b55dea36a814490 # timeout=10 [2021-03-10T07:36:19.346Z] > git remote # timeout=10 [2021-03-10T07:36:19.354Z] > git config --get remote.origin.url # timeout=10 [2021-03-10T07:36:19.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-10T07:36:19.366Z] > git merge 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [2021-03-10T07:36:19.375Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-10T07:36:19.384Z] > git config core.sparsecheckout # timeout=10 [2021-03-10T07:36:19.390Z] > git checkout -f fa6af304cbd6f450c15756926b55dea36a814490 # timeout=10 [2021-03-10T07:36:23.092Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-03-10T07:36:23.321Z] 745a02a5169b: Pull complete [2021-03-10T07:36:23.321Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-10T07:36:23.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-10T07:36:23.321Z] ---> b7e6874047d6 [2021-03-10T07:36:23.321Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T07:36:24.289Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-10T07:36:24.619Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-10T07:36:24.915Z] + sudo service docker restart [2021-03-10T07:36:24.915Z] + true [2021-03-10T07:36:24.915Z] Redirecting to /bin/systemctl restart docker.service [2021-03-10T07:36:25.308Z] ---> Running in 69b2efb220fd [2021-03-10T07:36:25.903Z] Removing intermediate container 69b2efb220fd [2021-03-10T07:36:25.903Z] ---> 3e28776644dd [2021-03-10T07:36:25.903Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T07:36:25.903Z] ---> Running in 4321695700b5 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-10T07:36:26.368Z] provisioning config files... [2021-03-10T07:36:26.391Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4157797310981995080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:36:26.754Z] ---> docker-login.sh [2021-03-10T07:36:26.754Z] nexus3.edgexfoundry.org:10001 [2021-03-10T07:36:27.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:27.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:27.017Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:27.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:27.017Z] [2021-03-10T07:36:27.017Z] Login Succeeded [2021-03-10T07:36:27.017Z] nexus3.edgexfoundry.org:10002 [2021-03-10T07:36:27.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:27.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:27.282Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:27.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:27.282Z] [2021-03-10T07:36:27.282Z] Login Succeeded [2021-03-10T07:36:27.282Z] nexus3.edgexfoundry.org:10003 [2021-03-10T07:36:27.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:27.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:27.543Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:27.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:27.543Z] [2021-03-10T07:36:27.543Z] Login Succeeded [2021-03-10T07:36:27.543Z] nexus3.edgexfoundry.org:10004 [2021-03-10T07:36:27.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:27.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:27.543Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:27.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:27.543Z] [2021-03-10T07:36:27.543Z] Login Succeeded [2021-03-10T07:36:27.543Z] docker.io [2021-03-10T07:36:27.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-10T07:36:28.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-10T07:36:28.070Z] Configure a credential helper to remove this warning. See [2021-03-10T07:36:28.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-10T07:36:28.070Z] [2021-03-10T07:36:28.070Z] Login Succeeded [2021-03-10T07:36:28.070Z] ---> docker-login.sh ends [Pipeline] } [2021-03-10T07:36:28.080Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-10T07:36:28.376Z] ========================================================= [2021-03-10T07:36:28.377Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-10T07:36:28.377Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:36:28.528Z] Removing intermediate container 4321695700b5 [2021-03-10T07:36:28.528Z] ---> a30143b580c7 [2021-03-10T07:36:28.528Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-10T07:36:28.528Z] ---> Running in 5db2c0244bc8 [2021-03-10T07:36:28.723Z] + 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-10T07:36:28.723Z] Sending build context to Docker daemon 2.284MB [2021-03-10T07:36:28.723Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T07:36:28.723Z] Step 2/8 : FROM ${BASE} [2021-03-10T07:36:28.989Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-10T07:36:28.989Z] 188c0c94c7c5: Pulling fs layer [2021-03-10T07:36:28.989Z] 0ef7d3d256c8: Pulling fs layer [2021-03-10T07:36:28.989Z] de9db76c5a1d: Pulling fs layer [2021-03-10T07:36:28.989Z] bca2f99d35d6: Pulling fs layer [2021-03-10T07:36:28.989Z] 93359f2a8cfa: Pulling fs layer [2021-03-10T07:36:28.989Z] 7c6f9722023f: Pulling fs layer [2021-03-10T07:36:28.989Z] a35cf1a2eb13: Pulling fs layer [2021-03-10T07:36:28.989Z] 93359f2a8cfa: Waiting [2021-03-10T07:36:28.989Z] a35cf1a2eb13: Waiting [2021-03-10T07:36:28.989Z] bca2f99d35d6: Waiting [2021-03-10T07:36:28.989Z] de9db76c5a1d: Verifying Checksum [2021-03-10T07:36:28.989Z] de9db76c5a1d: Download complete [2021-03-10T07:36:28.989Z] 0ef7d3d256c8: Verifying Checksum [2021-03-10T07:36:28.989Z] 0ef7d3d256c8: Download complete [2021-03-10T07:36:28.989Z] 93359f2a8cfa: Verifying Checksum [2021-03-10T07:36:28.989Z] 93359f2a8cfa: Download complete [2021-03-10T07:36:28.989Z] 7c6f9722023f: Verifying Checksum [2021-03-10T07:36:28.989Z] 7c6f9722023f: Download complete [2021-03-10T07:36:28.989Z] 188c0c94c7c5: Verifying Checksum [2021-03-10T07:36:28.989Z] 188c0c94c7c5: Download complete [2021-03-10T07:36:29.125Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-10T07:36:29.254Z] 188c0c94c7c5: Pull complete [2021-03-10T07:36:29.517Z] 0ef7d3d256c8: Pull complete [2021-03-10T07:36:29.780Z] de9db76c5a1d: Pull complete [2021-03-10T07:36:30.099Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-10T07:36:30.729Z] a35cf1a2eb13: Verifying Checksum [2021-03-10T07:36:30.729Z] a35cf1a2eb13: Download complete [2021-03-10T07:36:31.311Z] bca2f99d35d6: Verifying Checksum [2021-03-10T07:36:31.311Z] bca2f99d35d6: Download complete [2021-03-10T07:36:31.540Z] OK: 142 MiB in 39 packages [2021-03-10T07:36:32.519Z] Removing intermediate container 5db2c0244bc8 [2021-03-10T07:36:32.519Z] ---> 1dd35657d125 [2021-03-10T07:36:32.519Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-10T07:36:32.792Z] ---> Running in 270e779f297a [2021-03-10T07:36:33.389Z] Removing intermediate container 270e779f297a [2021-03-10T07:36:33.389Z] ---> 3479de5326b8 [2021-03-10T07:36:33.389Z] Step 7/8 : COPY . . [2021-03-10T07:36:34.368Z] ---> dcaac7561f64 [2021-03-10T07:36:34.368Z] Step 8/8 : RUN go mod download [2021-03-10T07:36:34.649Z] ---> Running in 33eb06c6b382 [2021-03-10T07:36:36.650Z] bca2f99d35d6: Pull complete [2021-03-10T07:36:36.650Z] 93359f2a8cfa: Pull complete [2021-03-10T07:36:36.650Z] 7c6f9722023f: Pull complete [2021-03-10T07:36:44.868Z] a35cf1a2eb13: Pull complete [2021-03-10T07:36:44.868Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-10T07:36:44.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-10T07:36:44.868Z] ---> a62c8e92a672 [2021-03-10T07:36:44.868Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T07:36:45.131Z] ---> Running in 7c6f985e438a [2021-03-10T07:36:45.396Z] Removing intermediate container 7c6f985e438a [2021-03-10T07:36:45.396Z] ---> 3bab3117d37c [2021-03-10T07:36:45.396Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T07:36:45.396Z] ---> Running in 21da81772e99 [2021-03-10T07:36:46.793Z] Removing intermediate container 21da81772e99 [2021-03-10T07:36:46.793Z] ---> 64dc53c0e86b [2021-03-10T07:36:46.793Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-10T07:36:46.793Z] ---> Running in af23b0771d30 [2021-03-10T07:36:47.369Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-10T07:36:47.944Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-10T07:36:48.522Z] OK: 166 MiB in 39 packages [2021-03-10T07:36:49.103Z] Removing intermediate container af23b0771d30 [2021-03-10T07:36:49.103Z] ---> 4447b443dd9e [2021-03-10T07:36:49.103Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-10T07:36:49.103Z] ---> Running in 0a6a1e496a84 [2021-03-10T07:36:49.366Z] Removing intermediate container 0a6a1e496a84 [2021-03-10T07:36:49.366Z] ---> 2eb317e963de [2021-03-10T07:36:49.366Z] Step 7/8 : COPY . . [2021-03-10T07:36:50.315Z] ---> ea2f972e7ad5 [2021-03-10T07:36:50.315Z] Step 8/8 : RUN go mod download [2021-03-10T07:36:50.580Z] ---> Running in 05ca79b02ebc [2021-03-10T07:37:01.464Z] Removing intermediate container 33eb06c6b382 [2021-03-10T07:37:01.464Z] ---> bed1a2e531ef [2021-03-10T07:37:01.464Z] Successfully built bed1a2e531ef [2021-03-10T07:37:01.464Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:37:01.819Z] + docker inspect -f . ci-base-image-arm64 [2021-03-10T07:37:01.819Z] . [Pipeline] withDockerContainer [2021-03-10T07:37:02.099Z] prd-ubuntu18.04-docker-arm64-4c-16g-29277 does not seem to be running inside a container [2021-03-10T07:37:02.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-10T07:37:03.698Z] $ docker top 7c23dc336791ef772effd7ca35c62ea86d71777a13756812a1007db013a67a3d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T07:37:04.765Z] + go version [2021-03-10T07:37:04.765Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-10T07:37:04.793Z] $ docker stop --time=1 7c23dc336791ef772effd7ca35c62ea86d71777a13756812a1007db013a67a3d [2021-03-10T07:37:06.693Z] $ docker rm -f 7c23dc336791ef772effd7ca35c62ea86d71777a13756812a1007db013a67a3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:37:07.670Z] + docker inspect -f . ci-base-image-arm64 [2021-03-10T07:37:07.670Z] . [Pipeline] withDockerContainer [2021-03-10T07:37:07.894Z] prd-ubuntu18.04-docker-arm64-4c-16g-29277 does not seem to be running inside a container [2021-03-10T07:37:07.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-10T07:37:09.439Z] $ docker top 5658e81e15f0637096c034872b4ddb40792bc7e5843eb8bbd34983d8f38f681a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T07:37:10.415Z] + make test [2021-03-10T07:37:10.415Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-10T07:37:12.613Z] Removing intermediate container 05ca79b02ebc [2021-03-10T07:37:12.613Z] ---> 33f834554c3a [2021-03-10T07:37:12.613Z] Successfully built 33f834554c3a [2021-03-10T07:37:12.613Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:37:12.931Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-10T07:37:12.931Z] . [Pipeline] withDockerContainer [2021-03-10T07:37:13.196Z] prd-centos7-docker-4c-2g-29278 does not seem to be running inside a container [2021-03-10T07:37:13.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-10T07:37:14.095Z] $ docker top 87f58d2688cce4636ff64f3bbfdb27f8ffaeaae2591ea68b69fc1ebc02e858dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T07:37:14.598Z] + go version [2021-03-10T07:37:14.598Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-10T07:37:14.612Z] $ docker stop --time=1 87f58d2688cce4636ff64f3bbfdb27f8ffaeaae2591ea68b69fc1ebc02e858dc [2021-03-10T07:37:15.964Z] $ docker rm -f 87f58d2688cce4636ff64f3bbfdb27f8ffaeaae2591ea68b69fc1ebc02e858dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:37:16.909Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-10T07:37:16.909Z] . [Pipeline] withDockerContainer [2021-03-10T07:37:17.006Z] prd-centos7-docker-4c-2g-29278 does not seem to be running inside a container [2021-03-10T07:37:17.061Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-10T07:37:17.651Z] $ docker top 2d0d0d3633c7ea3bcf36c2d36d28cde5072ca30a4a0100afabdd121a94a87a07 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T07:37:18.149Z] + make test [2021-03-10T07:37:18.149Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-10T07:37:24.785Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-10T07:37:32.585Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-10T07:37:39.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-10T07:37:39.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-10T07:37:39.817Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-10T07:37:43.161Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 25.5% of statements [2021-03-10T07:38:15.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.057s coverage: 10.5% of statements [2021-03-10T07:38:15.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 12.5% of statements [2021-03-10T07:38:15.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-10T07:38:15.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.067s coverage: 84.8% of statements [2021-03-10T07:38:15.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-10T07:38:15.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-10T07:38:15.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-10T07:38:15.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 47.6% of statements [2021-03-10T07:38:15.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-10T07:38:15.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.113s coverage: 81.3% of statements [2021-03-10T07:38:15.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.069s coverage: 24.8% of statements [2021-03-10T07:38:15.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.115s coverage: 6.4% of statements [2021-03-10T07:38:15.338Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.2% of statements [2021-03-10T07:38:15.338Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-10T07:38:15.338Z] GO111MODULE=on go vet ./... [2021-03-10T07:38:19.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-10T07:38:19.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-10T07:38:19.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-10T07:38:19.587Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.127s coverage: 25.5% of statements [2021-03-10T07:38:22.016Z] gofmt -l . [2021-03-10T07:38:22.016Z] [ "`gofmt -l .`" = "" ] [2021-03-10T07:38:22.016Z] ./bin/test-attribution-txt.sh [2021-03-10T07:38:22.284Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-10T07:38:22.563Z] $ docker stop --time=1 2d0d0d3633c7ea3bcf36c2d36d28cde5072ca30a4a0100afabdd121a94a87a07 [2021-03-10T07:38:24.583Z] $ docker rm -f 2d0d0d3633c7ea3bcf36c2d36d28cde5072ca30a4a0100afabdd121a94a87a07 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-10T07:38:25.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-10T07:38:25.646Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-10T07:38:28.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-10T07:38:28.686Z] + ls -al . [2021-03-10T07:38:28.686Z] total 184 [2021-03-10T07:38:28.686Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 10 07:38 . [2021-03-10T07:38:28.686Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 10 07:36 .. [2021-03-10T07:38:28.686Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 10 07:36 bin [2021-03-10T07:38:28.686Z] -rw-r--r--. 1 jenkins jenkins 102298 Mar 10 07:38 coverage.out [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 10 07:36 Dockerfile.build [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 10 07:36 .dockerignore [2021-03-10T07:38:28.686Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 10 07:36 example [2021-03-10T07:38:28.686Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 10 07:36 .git [2021-03-10T07:38:28.686Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 10 07:36 .github [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 10 07:36 .gitignore [2021-03-10T07:38:28.686Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 10 07:38 go.mod [2021-03-10T07:38:28.686Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 10 07:38 go.sum [2021-03-10T07:38:28.686Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 10 07:36 internal [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 10 07:36 Jenkinsfile [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 10 07:36 LICENSE [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 10 07:36 Makefile [2021-03-10T07:38:28.686Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 10 07:36 openapi [2021-03-10T07:38:28.686Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 10 07:36 pkg [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 10 07:36 README.md [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 10 07:36 RELEASE-NOTES.txt [2021-03-10T07:38:28.686Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 10 07:36 snap [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 10 07:33 VERSION [2021-03-10T07:38:28.686Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 10 07:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:38:28.997Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=fa6af304cbd6f450c15756926b55dea36a814490 --label arch=amd64 --label version=0.0.0 . [2021-03-10T07:38:29.261Z] Sending build context to Docker daemon 2.387MB [2021-03-10T07:38:29.261Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T07:38:29.261Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-10T07:38:29.261Z] ---> 33f834554c3a [2021-03-10T07:38:29.261Z] Step 3/24 : ARG MAKE='make build' [2021-03-10T07:38:29.835Z] ---> Running in 99563266be16 [2021-03-10T07:38:29.835Z] Removing intermediate container 99563266be16 [2021-03-10T07:38:29.835Z] ---> 1e461fc0c589 [2021-03-10T07:38:29.835Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-10T07:38:30.097Z] ---> Running in 0f2186d1e99d [2021-03-10T07:38:30.097Z] Removing intermediate container 0f2186d1e99d [2021-03-10T07:38:30.097Z] ---> 322dc921c3ea [2021-03-10T07:38:30.097Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T07:38:30.360Z] ---> Running in eca3c464c581 [2021-03-10T07:38:30.360Z] Removing intermediate container eca3c464c581 [2021-03-10T07:38:30.360Z] ---> f9c44411e59a [2021-03-10T07:38:30.360Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T07:38:30.360Z] ---> Running in c9818dc8f79e [2021-03-10T07:38:31.310Z] Removing intermediate container c9818dc8f79e [2021-03-10T07:38:31.310Z] ---> 1ba993d81a07 [2021-03-10T07:38:31.310Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-10T07:38:31.310Z] ---> Running in 47976887d2d9 [2021-03-10T07:38:31.887Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-10T07:38:32.462Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-10T07:38:33.038Z] OK: 166 MiB in 39 packages [2021-03-10T07:38:33.302Z] Removing intermediate container 47976887d2d9 [2021-03-10T07:38:33.302Z] ---> cd5b17511e8b [2021-03-10T07:38:33.302Z] Step 8/24 : COPY . . [2021-03-10T07:38:34.693Z] ---> 228fd18e4e38 [2021-03-10T07:38:34.694Z] Step 9/24 : RUN ${MAKE} [2021-03-10T07:38:34.694Z] ---> Running in f80d42848e49 [2021-03-10T07:38:34.964Z] 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-10T07:38:43.267Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-10T07:38:45.825Z] Removing intermediate container f80d42848e49 [2021-03-10T07:38:45.825Z] ---> d96d5b4bc263 [2021-03-10T07:38:45.825Z] Step 10/24 : FROM scratch [2021-03-10T07:38:45.825Z] ---> [2021-03-10T07:38:45.825Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T07:38:45.825Z] ---> Running in bca28391ec35 [2021-03-10T07:38:45.825Z] Removing intermediate container bca28391ec35 [2021-03-10T07:38:45.825Z] ---> 5687ed80e64d [2021-03-10T07:38:45.825Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-10T07:38:45.825Z] ---> Running in e878b1314b63 [2021-03-10T07:38:46.089Z] Removing intermediate container e878b1314b63 [2021-03-10T07:38:46.089Z] ---> a38ac419c0a9 [2021-03-10T07:38:46.089Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-10T07:38:46.089Z] ---> Running in 51a156684a1f [2021-03-10T07:38:46.351Z] Removing intermediate container 51a156684a1f [2021-03-10T07:38:46.351Z] ---> b809f6196c67 [2021-03-10T07:38:46.351Z] Step 14/24 : WORKDIR / [2021-03-10T07:38:46.351Z] ---> Running in fc2e30f6af4f [2021-03-10T07:38:46.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.123s coverage: 10.5% of statements [2021-03-10T07:38:46.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.126s coverage: 12.5% of statements [2021-03-10T07:38:46.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-10T07:38:46.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.162s coverage: 84.8% of statements [2021-03-10T07:38:46.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-10T07:38:46.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-10T07:38:46.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-10T07:38:46.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.253s coverage: 47.6% of statements [2021-03-10T07:38:46.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-10T07:38:46.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.175s coverage: 81.3% of statements [2021-03-10T07:38:46.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.173s coverage: 24.8% of statements [2021-03-10T07:38:46.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.811s coverage: 6.4% of statements [2021-03-10T07:38:46.394Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 5.2% of statements [2021-03-10T07:38:46.394Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-10T07:38:46.394Z] GO111MODULE=on go vet ./... [2021-03-10T07:38:46.614Z] Removing intermediate container fc2e30f6af4f [2021-03-10T07:38:46.614Z] ---> 5dc25c4a5d27 [2021-03-10T07:38:46.614Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-10T07:38:46.878Z] ---> dda0f00c525f [2021-03-10T07:38:46.878Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-10T07:38:47.143Z] ---> 2ad5535c2748 [2021-03-10T07:38:47.143Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-10T07:38:47.409Z] ---> 79899d38f091 [2021-03-10T07:38:47.409Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-10T07:38:47.672Z] ---> 74c3136fb3cb [2021-03-10T07:38:47.672Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-10T07:38:47.937Z] ---> 166f68c21bc3 [2021-03-10T07:38:47.937Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-10T07:38:47.937Z] ---> Running in 47d715a80ee5 [2021-03-10T07:38:48.200Z] Removing intermediate container 47d715a80ee5 [2021-03-10T07:38:48.200Z] ---> cb0aafd34e81 [2021-03-10T07:38:48.200Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-10T07:38:48.200Z] ---> Running in 123ae07bad7b [2021-03-10T07:38:48.465Z] Removing intermediate container 123ae07bad7b [2021-03-10T07:38:48.465Z] ---> fa701ad6aca5 [2021-03-10T07:38:48.465Z] Step 22/24 : LABEL arch=amd64 [2021-03-10T07:38:48.465Z] ---> Running in 0695f0300e91 [2021-03-10T07:38:48.731Z] Removing intermediate container 0695f0300e91 [2021-03-10T07:38:48.731Z] ---> b2c125d01780 [2021-03-10T07:38:48.731Z] Step 23/24 : LABEL git_sha=fa6af304cbd6f450c15756926b55dea36a814490 [2021-03-10T07:38:48.731Z] ---> Running in add32b815fc2 [2021-03-10T07:38:48.996Z] Removing intermediate container add32b815fc2 [2021-03-10T07:38:48.996Z] ---> 0cccceebf261 [2021-03-10T07:38:48.996Z] Step 24/24 : LABEL version=0.0.0 [2021-03-10T07:38:48.996Z] ---> Running in e98deb8f9064 [2021-03-10T07:38:49.267Z] Removing intermediate container e98deb8f9064 [2021-03-10T07:38:49.267Z] ---> f21702d702db [2021-03-10T07:38:49.267Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-10T07:38:49.267Z] Successfully built f21702d702db [2021-03-10T07:38:49.267Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:38:50.403Z] ---> job-cost.sh [2021-03-10T07:38:50.403Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-W9SD [2021-03-10T07:39:05.358Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-10T07:39:18.772Z] gofmt -l . [2021-03-10T07:39:19.045Z] [ "`gofmt -l .`" = "" ] [2021-03-10T07:39:19.320Z] ./bin/test-attribution-txt.sh [2021-03-10T07:39:20.294Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-10T07:39:20.925Z] $ docker stop --time=1 5658e81e15f0637096c034872b4ddb40792bc7e5843eb8bbd34983d8f38f681a [2021-03-10T07:39:23.130Z] $ docker rm -f 5658e81e15f0637096c034872b4ddb40792bc7e5843eb8bbd34983d8f38f681a [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-10T07:39:24.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-10T07:39:24.304Z] Warning: overwriting stash ‘coverage-report’ [2021-03-10T07:39:25.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-10T07:39:25.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-10T07:39:26.312Z] + ls -al . [2021-03-10T07:39:26.312Z] total 220 [2021-03-10T07:39:26.312Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 07:39 . [2021-03-10T07:39:26.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 07:35 .. [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 07:35 .dockerignore [2021-03-10T07:39:26.312Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 07:35 .git [2021-03-10T07:39:26.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 07:35 .github [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 10 07:35 .gitignore [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 10 07:35 Dockerfile.build [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 10 07:35 Jenkinsfile [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 10 07:35 LICENSE [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 10 07:35 Makefile [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 10 07:35 README.md [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 10 07:35 RELEASE-NOTES.txt [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 07:33 VERSION [2021-03-10T07:39:26.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 07:35 bin [2021-03-10T07:39:26.312Z] -rw-r--r-- 1 jenkins jenkins 102298 Mar 10 07:38 coverage.out [2021-03-10T07:39:26.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 07:35 example [2021-03-10T07:39:26.312Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 10 07:39 go.mod [2021-03-10T07:39:26.312Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 10 07:39 go.sum [2021-03-10T07:39:26.312Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 07:35 internal [2021-03-10T07:39:26.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 07:35 openapi [2021-03-10T07:39:26.312Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 10 07:35 pkg [2021-03-10T07:39:26.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 07:35 snap [2021-03-10T07:39:26.312Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 10 07:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:39:26.752Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fa6af304cbd6f450c15756926b55dea36a814490 --label arch=arm64 --label version=0.0.0 . [2021-03-10T07:39:27.369Z] Sending build context to Docker daemon 2.386MB [2021-03-10T07:39:27.369Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-10T07:39:27.369Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-10T07:39:27.369Z] ---> bed1a2e531ef [2021-03-10T07:39:27.369Z] Step 3/24 : ARG MAKE='make build' [2021-03-10T07:39:27.642Z] ---> Running in a57f3acfe0bd [2021-03-10T07:39:27.911Z] Removing intermediate container a57f3acfe0bd [2021-03-10T07:39:27.911Z] ---> 3dcb4cc6e92d [2021-03-10T07:39:27.911Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-10T07:39:28.183Z] ---> Running in 4efdc4fd15a9 [2021-03-10T07:39:28.781Z] Removing intermediate container 4efdc4fd15a9 [2021-03-10T07:39:28.781Z] ---> f78b55323cbd [2021-03-10T07:39:28.781Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T07:39:28.781Z] ---> Running in 2c5cd558a1af [2021-03-10T07:39:29.376Z] Removing intermediate container 2c5cd558a1af [2021-03-10T07:39:29.376Z] ---> e8c98dfa899c [2021-03-10T07:39:29.376Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-10T07:39:29.376Z] ---> Running in 2e6a0d1028be [2021-03-10T07:39:31.987Z] lf-activate-venv(): INFO: Adding /tmp/venv-W9SD/bin to PATH [2021-03-10T07:39:31.987Z] INFO: No Stack... [2021-03-10T07:39:31.991Z] Removing intermediate container 2e6a0d1028be [2021-03-10T07:39:31.991Z] ---> 9903567fca61 [2021-03-10T07:39:31.991Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-10T07:39:31.991Z] ---> Running in 7521e38f54c1 [2021-03-10T07:39:32.583Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-10T07:39:32.935Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-10T07:39:33.511Z] INFO: Archiving Costs [Pipeline] sh [2021-03-10T07:39:33.559Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-10T07:39:33.821Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-03-10T07:39:33.821Z] + cut -d, -f6 [Pipeline] lock [2021-03-10T07:39:33.919Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-812-3-stack-cost] [2021-03-10T07:39:33.929Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-812-3-stack-cost] did not exist. Created. [2021-03-10T07:39:33.929Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-812-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-10T07:39:34.155Z] OK: 142 MiB in 39 packages [2021-03-10T07:39:34.351Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-10T07:39:34.509Z] Stashed 1 file(s) [Pipeline] } [2021-03-10T07:39:34.521Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-812-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-03-10T07:39:35.144Z] Removing intermediate container 7521e38f54c1 [2021-03-10T07:39:35.144Z] ---> a6a01690f677 [2021-03-10T07:39:35.144Z] Step 8/24 : COPY . . [Pipeline] // stage [Pipeline] } [2021-03-10T07:39:36.136Z] ---> b902ca61cafe [2021-03-10T07:39:36.136Z] Step 9/24 : RUN ${MAKE} [2021-03-10T07:39:36.420Z] ---> Running in e4b34eaf3bad [2021-03-10T07:39:37.399Z] 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-10T07:40:04.219Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-10T07:40:05.654Z] Removing intermediate container e4b34eaf3bad [2021-03-10T07:40:05.654Z] ---> 27e007a928dd [2021-03-10T07:40:05.654Z] Step 10/24 : FROM scratch [2021-03-10T07:40:05.654Z] ---> [2021-03-10T07:40:05.654Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-10T07:40:05.654Z] ---> Running in 2194a3bcf2ab [2021-03-10T07:40:05.926Z] Removing intermediate container 2194a3bcf2ab [2021-03-10T07:40:05.926Z] ---> 86f7562234b3 [2021-03-10T07:40:05.926Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-10T07:40:06.197Z] ---> Running in 59f5c7ce718a [2021-03-10T07:40:06.469Z] Removing intermediate container 59f5c7ce718a [2021-03-10T07:40:06.469Z] ---> 71278de0545d [2021-03-10T07:40:06.469Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-10T07:40:06.740Z] ---> Running in d7fb23671d7f [2021-03-10T07:40:07.011Z] Removing intermediate container d7fb23671d7f [2021-03-10T07:40:07.011Z] ---> abe860b3f678 [2021-03-10T07:40:07.011Z] Step 14/24 : WORKDIR / [2021-03-10T07:40:07.285Z] ---> Running in 7ebda88572a4 [2021-03-10T07:40:07.557Z] Removing intermediate container 7ebda88572a4 [2021-03-10T07:40:07.557Z] ---> 3b8dafafe332 [2021-03-10T07:40:07.557Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-10T07:40:09.022Z] ---> 5e589760e4d9 [2021-03-10T07:40:09.022Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-10T07:40:09.616Z] ---> caf3749796d7 [2021-03-10T07:40:09.616Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-10T07:40:10.602Z] ---> e3dd57442d25 [2021-03-10T07:40:10.602Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-10T07:40:11.199Z] ---> 855a818d7740 [2021-03-10T07:40:11.199Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-10T07:40:12.176Z] ---> fcb457edb42e [2021-03-10T07:40:12.176Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-10T07:40:12.176Z] ---> Running in 4dce2b5ead7a [2021-03-10T07:40:12.770Z] Removing intermediate container 4dce2b5ead7a [2021-03-10T07:40:12.770Z] ---> b931874c4aa0 [2021-03-10T07:40:12.770Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-10T07:40:13.043Z] ---> Running in e63b4049b2a8 [2021-03-10T07:40:13.639Z] Removing intermediate container e63b4049b2a8 [2021-03-10T07:40:13.639Z] ---> 2f02d49bc598 [2021-03-10T07:40:13.639Z] Step 22/24 : LABEL arch=arm64 [2021-03-10T07:40:13.912Z] ---> Running in 9913f1515867 [2021-03-10T07:40:14.520Z] Removing intermediate container 9913f1515867 [2021-03-10T07:40:14.520Z] ---> b9832192d216 [2021-03-10T07:40:14.520Z] Step 23/24 : LABEL git_sha=fa6af304cbd6f450c15756926b55dea36a814490 [2021-03-10T07:40:14.520Z] ---> Running in 268943b1bdbb [2021-03-10T07:40:15.114Z] Removing intermediate container 268943b1bdbb [2021-03-10T07:40:15.114Z] ---> 6cc7d3c7517d [2021-03-10T07:40:15.114Z] Step 24/24 : LABEL version=0.0.0 [2021-03-10T07:40:15.388Z] ---> Running in 378d70623b18 [2021-03-10T07:40:15.978Z] Removing intermediate container 378d70623b18 [2021-03-10T07:40:15.978Z] ---> 1b339acbffb8 [2021-03-10T07:40:15.978Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-10T07:40:15.978Z] Successfully built 1b339acbffb8 [2021-03-10T07:40:15.978Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:40:16.899Z] ---> job-cost.sh [2021-03-10T07:40:16.899Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Ab8S [2021-03-10T07:40:55.833Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-10T07:42:32.584Z] lf-activate-venv(): INFO: Adding /tmp/venv-Ab8S/bin to PATH [2021-03-10T07:42:32.584Z] INFO: No Stack... [2021-03-10T07:42:32.584Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-10T07:42:32.584Z] INFO: Archiving Costs [Pipeline] sh [2021-03-10T07:42:32.925Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-03-10T07:42:32.926Z] + cut -d, -f6 [Pipeline] lock [2021-03-10T07:42:33.044Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-812-3-stack-cost] [2021-03-10T07:42:33.055Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-812-3-stack-cost] did not exist. Created. [2021-03-10T07:42:33.055Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-812-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-10T07:42:33.526Z] /w/workspace/device-sdk-go/3@tmp/durable-56feacf3/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-56feacf3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-10T07:42:33.875Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-10T07:42:33.958Z] Warning: overwriting stash ‘stack-cost’ [2021-03-10T07:42:34.113Z] Stashed 1 file(s) [Pipeline] } [2021-03-10T07:42:34.125Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-812-3-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-10T07:42:35.624Z] provisioning config files... [2021-03-10T07:42:35.635Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/config1016817780746497184tmp [Pipeline] { [Pipeline] sh [2021-03-10T07:42:36.033Z] + set +x [2021-03-10T07:42:36.033Z] + curl -s https://codecov.io/bash [2021-03-10T07:42:36.033Z] + bash -s -- [2021-03-10T07:42:36.299Z] [2021-03-10T07:42:36.299Z] _____ _ [2021-03-10T07:42:36.299Z] / ____| | | [2021-03-10T07:42:36.299Z] | | ___ __| | ___ ___ _____ __ [2021-03-10T07:42:36.299Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-10T07:42:36.299Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-10T07:42:36.299Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-10T07:42:36.299Z] Bash-20210309-2b87ace [2021-03-10T07:42:36.299Z] [2021-03-10T07:42:36.299Z] [2021-03-10T07:42:36.299Z] ==> git version 2.24.3 found [2021-03-10T07:42:36.299Z] ==> 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-10T07:42:36.299Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-10T07:42:36.299Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-10T07:42:36.299Z] ==> Jenkins CI detected. [2021-03-10T07:42:36.299Z] project root: . [2021-03-10T07:42:36.299Z] --> token set from env [2021-03-10T07:42:36.299Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-10T07:42:36.299Z] ==> Running gcov in . (disable via -X gcov) [2021-03-10T07:42:36.299Z] ==> Python coveragepy not found [2021-03-10T07:42:36.299Z] ==> Searching for coverage reports in: [2021-03-10T07:42:36.299Z] + . [2021-03-10T07:42:36.299Z] -> Found 1 reports [2021-03-10T07:42:36.299Z] ==> Detecting git/mercurial file structure [2021-03-10T07:42:36.299Z] ==> Reading reports [2021-03-10T07:42:36.299Z] + ./coverage.out bytes=102298 [2021-03-10T07:42:36.299Z] ==> Appending adjustments [2021-03-10T07:42:36.299Z] https://docs.codecov.io/docs/fixing-reports [2021-03-10T07:42:36.562Z] + Found adjustments [2021-03-10T07:42:36.562Z] ==> Gzipping contents [2021-03-10T07:42:36.562Z] 16K /tmp/codecov.vJbjxn.gz [2021-03-10T07:42:36.562Z] ==> Uploading reports [2021-03-10T07:42:36.562Z] url: https://codecov.io [2021-03-10T07:42:36.562Z] query: branch=PR-812&commit=fa6af304cbd6f450c15756926b55dea36a814490&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-812%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=812&job=&cmd_args= [2021-03-10T07:42:36.562Z] -> Pinging Codecov [2021-03-10T07:42:36.562Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-812&commit=fa6af304cbd6f450c15756926b55dea36a814490&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-812%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=812&job=&cmd_args= [2021-03-10T07:42:37.137Z] -> Uploading to [2021-03-10T07:42:37.138Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-10/7E55EF52A471D76F132DFD9A03CDDE97/fa6af304cbd6f450c15756926b55dea36a814490/cfab1d21-dacb-4e37-9d63-f5a32653dfb3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210310%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210310T074236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62f237cd91c6f53ff846b503b842f5bd138fe61f69f44ecf4c16f6cfcb3bb633 [2021-03-10T07:42:37.138Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-10T07:42:37.138Z] Dload Upload Total Spent Left Speed [2021-03-10T07:42:37.712Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15238 0 0 100 15238 0 30428 --:--:-- --:--:-- --:--:-- 30476 [2021-03-10T07:42:37.712Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/fa6af304cbd6f450c15756926b55dea36a814490 [Pipeline] } [2021-03-10T07:42:37.723Z] 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-10T07:42:40.415Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:42:40.722Z] ---> package-listing.sh [2021-03-10T07:42:40.722Z] ++ facter osfamily [2021-03-10T07:42:40.722Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-10T07:42:40.722Z] + OS_FAMILY=redhat [2021-03-10T07:42:40.722Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-812 [2021-03-10T07:42:40.722Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-10T07:42:40.722Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-10T07:42:40.722Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-10T07:42:40.722Z] + PACKAGES=/tmp/packages_start.txt [2021-03-10T07:42:40.722Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-812 ']' [2021-03-10T07:42:40.722Z] + PACKAGES=/tmp/packages_end.txt [2021-03-10T07:42:40.722Z] + case "${OS_FAMILY}" in [2021-03-10T07:42:40.722Z] + rpm -qa [2021-03-10T07:42:40.722Z] + sort [2021-03-10T07:42:46.036Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-10T07:42:46.036Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-10T07:42:46.036Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-10T07:42:46.036Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-812 ']' [2021-03-10T07:42:46.036Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-812/archives/ [2021-03-10T07:42:46.036Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-812/archives/ [Pipeline] echo [2021-03-10T07:42:46.050Z] 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-812/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-10T07:42:46.340Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:42:46.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-10T07:42:46.649Z] [2021-03-10T07:42:46.649Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-10T07:42:47.005Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-10T07:42:47.005Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-10T07:42:47.005Z] df20fa9351a1: Pulling fs layer [2021-03-10T07:42:47.005Z] 36b3adc4ff6f: Pulling fs layer [2021-03-10T07:42:47.005Z] 8ad3a11d3b57: Pulling fs layer [2021-03-10T07:42:47.005Z] 46f8f816bc3b: Pulling fs layer [2021-03-10T07:42:47.005Z] 93b61091891f: Pulling fs layer [2021-03-10T07:42:47.005Z] 93b9cdb0e59b: Pulling fs layer [2021-03-10T07:42:47.005Z] 5e14af77c1be: Pulling fs layer [2021-03-10T07:42:47.005Z] 01666e4c0597: Pulling fs layer [2021-03-10T07:42:47.005Z] aa168da1d23b: Pulling fs layer [2021-03-10T07:42:47.005Z] 46f8f816bc3b: Waiting [2021-03-10T07:42:47.005Z] 93b61091891f: Waiting [2021-03-10T07:42:47.005Z] 93b9cdb0e59b: Waiting [2021-03-10T07:42:47.005Z] 5e14af77c1be: Waiting [2021-03-10T07:42:47.005Z] 01666e4c0597: Waiting [2021-03-10T07:42:47.005Z] aa168da1d23b: Waiting [2021-03-10T07:42:47.005Z] 36b3adc4ff6f: Verifying Checksum [2021-03-10T07:42:47.005Z] 36b3adc4ff6f: Download complete [2021-03-10T07:42:47.005Z] 46f8f816bc3b: Verifying Checksum [2021-03-10T07:42:47.005Z] 46f8f816bc3b: Download complete [2021-03-10T07:42:47.271Z] df20fa9351a1: Verifying Checksum [2021-03-10T07:42:47.271Z] df20fa9351a1: Download complete [2021-03-10T07:42:47.271Z] 93b9cdb0e59b: Verifying Checksum [2021-03-10T07:42:47.271Z] 93b9cdb0e59b: Download complete [2021-03-10T07:42:47.271Z] 5e14af77c1be: Verifying Checksum [2021-03-10T07:42:47.271Z] 5e14af77c1be: Download complete [2021-03-10T07:42:47.271Z] 93b61091891f: Verifying Checksum [2021-03-10T07:42:47.271Z] 93b61091891f: Download complete [2021-03-10T07:42:47.271Z] 01666e4c0597: Verifying Checksum [2021-03-10T07:42:47.271Z] 01666e4c0597: Download complete [2021-03-10T07:42:47.537Z] df20fa9351a1: Pull complete [2021-03-10T07:42:47.799Z] 36b3adc4ff6f: Pull complete [2021-03-10T07:42:48.063Z] 8ad3a11d3b57: Verifying Checksum [2021-03-10T07:42:48.063Z] 8ad3a11d3b57: Download complete [2021-03-10T07:42:49.020Z] 8ad3a11d3b57: Pull complete [2021-03-10T07:42:49.973Z] aa168da1d23b: Download complete [2021-03-10T07:42:49.973Z] 46f8f816bc3b: Pull complete [2021-03-10T07:42:50.563Z] 93b61091891f: Pull complete [2021-03-10T07:42:50.563Z] 93b9cdb0e59b: Pull complete [2021-03-10T07:42:50.825Z] 5e14af77c1be: Pull complete [2021-03-10T07:42:50.825Z] 01666e4c0597: Pull complete [2021-03-10T07:42:57.437Z] aa168da1d23b: Pull complete [2021-03-10T07:42:57.437Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-10T07:42:57.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-10T07:42:57.437Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-10T07:42:57.598Z] prd-centos7-docker-4c-2g-29276 does not seem to be running inside a container [2021-03-10T07:42:57.645Z] $ 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-812/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-812 -v /w/workspace/dgexfoundry_device-sdk-go_PR-812:/w/workspace/dgexfoundry_device-sdk-go_PR-812:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-10T07:43:02.285Z] $ docker top 9ed7cd3e293e1c4ebcad541d211ec63f96ad96af65a8bb0dfdafb0535fc38a4a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-10T07:43:02.891Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-10T07:43:03.191Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-10T07:43:03.492Z] + ls /var/log/sa-host [2021-03-10T07:43:03.492Z] + sadf -c /var/log/sa-host/sa10 [2021-03-10T07:43:03.492Z] file_magic: OK [2021-03-10T07:43:03.492Z] HZ: Using current value: 100 [2021-03-10T07:43:03.492Z] file_header: OK [2021-03-10T07:43:03.492Z] 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-10T07:43:03.492Z] Statistics: [2021-03-10T07:43:03.492Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-10T07:43:03.492Z] File successfully converted to sysstat format version 12.2.1 [2021-03-10T07:43:03.492Z] + sadf -c /var/log/sa-host/sa23 [2021-03-10T07:43:03.492Z] file_magic: OK [2021-03-10T07:43:03.492Z] HZ: Using current value: 100 [2021-03-10T07:43:03.492Z] file_header: OK [2021-03-10T07:43:03.492Z] 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-10T07:43:03.492Z] Statistics: [2021-03-10T07:43:03.492Z] Hnuu...uuuununununu... [2021-03-10T07:43:03.492Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-10T07:43:04.168Z] provisioning config files... [2021-03-10T07:43:04.184Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-812@tmp/config3170261747498888289tmp [Pipeline] { [Pipeline] echo [2021-03-10T07:43:04.261Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:43:04.560Z] ---> create-netrc.sh [Pipeline] } [2021-03-10T07:43:04.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-10T07:43:04.678Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:43:04.976Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-10T07:43:04.987Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:43:05.283Z] ---> sudo-logs.sh [2021-03-10T07:43:05.283Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-10T07:43:05.351Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:43:05.645Z] ---> job-cost.sh [2021-03-10T07:43:05.645Z] lf-activate-venv: SKIPPING [2021-03-10T07:43:05.645Z] DEBUG: total: 0.20999999344348907 [2021-03-10T07:43:05.645Z] INFO: Retrieving Stack Cost... [2021-03-10T07:43:06.588Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-10T07:43:07.160Z] INFO: Archiving Costs [Pipeline] echo [2021-03-10T07:43:07.174Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-10T07:43:07.470Z] ---> logs-deploy.sh [2021-03-10T07:43:07.470Z] lf-activate-venv: SKIPPING [2021-03-10T07:43:07.470Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-812/3 [2021-03-10T07:43:07.470Z] INFO: archiving workspace using pattern(s): [2021-03-10T07:43:09.387Z] Archives upload complete. [2021-03-10T07:43:09.387Z] INFO: archiving logs to Nexus