Pull request #847 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 405863b8552e159bc36ea9bb827e59e08bb4326e+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (41bbd279fb06c060dadb00147c1f1c822889c711) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-32030 in /w/workspace/dgexfoundry_device-sdk-go_PR-847 [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-847 # 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/847/head:refs/remotes/origin/PR-847 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 405863b8552e159bc36ea9bb827e59e08bb4326e Merge succeeded, producing 405863b8552e159bc36ea9bb827e59e08bb4326e Checking out Revision 405863b8552e159bc36ea9bb827e59e08bb4326e (PR-847) > git config core.sparsecheckout # timeout=10 > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 Commit message: "feat: Updated Attribution.txt for missing crypto module" > git rev-list --no-walk 0a82af554c314832340776d6a1395e1c3eac4347 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-30T14:22:04.413Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-30T14:22:04.662Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-30T14:22:04.752Z] ========================================================= [2021-03-30T14:22:04.752Z] EdgeX Global Pipelines Version Info [2021-03-30T14:22:04.752Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:22:06.216Z] ------------------- [2021-03-30T14:22:06.217Z] stable info: [2021-03-30T14:22:06.217Z] ------------------- [2021-03-30T14:22:06.217Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-30T14:22:06.217Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-30T14:22:06.217Z] Message: update stable to v1.0.186 [2021-03-30T14:22:07.162Z] ------------------- [2021-03-30T14:22:07.163Z] experimental info: [2021-03-30T14:22:07.163Z] ------------------- [2021-03-30T14:22:07.163Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-30T14:22:07.163Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-03-30T14:22:07.163Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-30T14:22:07.476Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-30T14:22:07.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-30T14:22:07.678Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-30T14:22:07.761Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-30T14:22:07.846Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-30T14:22:07.932Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-30T14:22:08.017Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-30T14:22:08.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-30T14:22:08.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-30T14:22:08.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-30T14:22:08.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-30T14:22:08.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-30T14:22:08.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-30T14:22:08.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-30T14:22:08.774Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-30T14:22:08.858Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T14:22:08.972Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T14:22:09.056Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-30T14:22:09.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-30T14:22:09.236Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-30T14:22:09.327Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-30T14:22:09.412Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-30T14:22:09.498Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-30T14:22:09.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-30T14:22:09.818Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-30T14:22:09.935Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-30T14:22:10.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-847 [Pipeline] echo [2021-03-30T14:22:10.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-847 [Pipeline] echo [2021-03-30T14:22:10.381Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-847 [Pipeline] echo [2021-03-30T14:22:10.498Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 405863b8552e159bc36ea9bb827e59e08bb4326e [Pipeline] echo [2021-03-30T14:22:10.615Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 405863b [Pipeline] echo [2021-03-30T14:22:10.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-30T14:22:10.892Z] provisioning config files... [2021-03-30T14:22:10.919Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/config4300521038450167814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:22:11.275Z] ---> docker-login.sh [2021-03-30T14:22:11.275Z] nexus3.edgexfoundry.org:10001 [2021-03-30T14:22:11.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:22:11.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:22:11.537Z] Configure a credential helper to remove this warning. See [2021-03-30T14:22:11.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:22:11.537Z] [2021-03-30T14:22:11.537Z] Login Succeeded [2021-03-30T14:22:11.537Z] nexus3.edgexfoundry.org:10002 [2021-03-30T14:22:11.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:22:11.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:22:11.800Z] Configure a credential helper to remove this warning. See [2021-03-30T14:22:11.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:22:11.800Z] [2021-03-30T14:22:11.800Z] Login Succeeded [2021-03-30T14:22:11.800Z] nexus3.edgexfoundry.org:10003 [2021-03-30T14:22:11.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:22:12.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:22:12.071Z] Configure a credential helper to remove this warning. See [2021-03-30T14:22:12.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:22:12.071Z] [2021-03-30T14:22:12.071Z] Login Succeeded [2021-03-30T14:22:12.071Z] nexus3.edgexfoundry.org:10004 [2021-03-30T14:22:12.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:22:12.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:22:12.071Z] Configure a credential helper to remove this warning. See [2021-03-30T14:22:12.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:22:12.071Z] [2021-03-30T14:22:12.071Z] Login Succeeded [2021-03-30T14:22:12.071Z] docker.io [2021-03-30T14:22:12.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:22:12.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:22:12.596Z] Configure a credential helper to remove this warning. See [2021-03-30T14:22:12.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:22:12.596Z] [2021-03-30T14:22:12.596Z] Login Succeeded [2021-03-30T14:22:12.596Z] ---> docker-login.sh ends [Pipeline] } [2021-03-30T14:22:12.606Z] 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-30T14:22:13.493Z] + git log --format=format:%s -1 405863b8552e159bc36ea9bb827e59e08bb4326e [Pipeline] echo [2021-03-30T14:22:13.554Z] GIT_COMMIT: 405863b8552e159bc36ea9bb827e59e08bb4326e, Commit Message: feat: Updated Attribution.txt for missing crypto module [Pipeline] echo [2021-03-30T14:22:13.613Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:22:14.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T14:22:14.256Z] [2021-03-30T14:22:14.256Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:22:14.602Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T14:22:14.602Z] latest: Pulling from edgex-devops/git-semver [2021-03-30T14:22:14.602Z] 31603596830f: Pulling fs layer [2021-03-30T14:22:14.602Z] 2a8b12db71e7: Pulling fs layer [2021-03-30T14:22:14.602Z] 6ca5941a6612: Pulling fs layer [2021-03-30T14:22:14.602Z] ecc8261a40a4: Pulling fs layer [2021-03-30T14:22:14.602Z] ecc8261a40a4: Waiting [2021-03-30T14:22:14.602Z] 2a8b12db71e7: Verifying Checksum [2021-03-30T14:22:14.602Z] 2a8b12db71e7: Download complete [2021-03-30T14:22:14.865Z] 31603596830f: Download complete [2021-03-30T14:22:14.865Z] ecc8261a40a4: Verifying Checksum [2021-03-30T14:22:14.865Z] ecc8261a40a4: Download complete [2021-03-30T14:22:14.865Z] 6ca5941a6612: Verifying Checksum [2021-03-30T14:22:14.865Z] 6ca5941a6612: Download complete [2021-03-30T14:22:15.129Z] 31603596830f: Pull complete [2021-03-30T14:22:15.129Z] 2a8b12db71e7: Pull complete [2021-03-30T14:22:16.077Z] 6ca5941a6612: Pull complete [2021-03-30T14:22:16.339Z] ecc8261a40a4: Pull complete [2021-03-30T14:22:16.339Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-30T14:22:16.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-30T14:22:16.339Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-30T14:22:16.444Z] prd-centos7-docker-4c-2g-32030 does not seem to be running inside a container [2021-03-30T14:22:16.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-847 -v /w/workspace/dgexfoundry_device-sdk-go_PR-847:/w/workspace/dgexfoundry_device-sdk-go_PR-847:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-847@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-30T14:22:18.390Z] $ docker top 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-30T14:22:18.685Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T14:22:18.685Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T14:22:18.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T14:22:18.892Z] $ docker exec 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 ssh-agent [2021-03-30T14:22:19.054Z] SSH_AUTH_SOCK=/tmp/ssh-AZJZsdq2JrWw/agent.12 [2021-03-30T14:22:19.054Z] SSH_AGENT_PID=17 [2021-03-30T14:22:19.062Z] Running ssh-add (command line suppressed) [2021-03-30T14:22:19.180Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_6464655165741345756.key (/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_6464655165741345756.key) [2021-03-30T14:22:19.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T14:22:19.562Z] + git tag --points-at HEAD [Pipeline] } [2021-03-30T14:22:19.579Z] $ docker exec --env ******** --env ******** 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 ssh-agent -k [2021-03-30T14:22:19.701Z] unset SSH_AUTH_SOCK; [2021-03-30T14:22:19.701Z] unset SSH_AGENT_PID; [2021-03-30T14:22:19.701Z] echo Agent pid 17 killed; [2021-03-30T14:22:19.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-30T14:22:19.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-30T14:22:19.902Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-30T14:22:20.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-30T14:22:20.076Z] $ docker exec 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 ssh-agent [2021-03-30T14:22:20.237Z] SSH_AUTH_SOCK=/tmp/ssh-N5kn5OGaI7Dm/agent.47 [2021-03-30T14:22:20.238Z] SSH_AGENT_PID=52 [2021-03-30T14:22:20.244Z] Running ssh-add (command line suppressed) [2021-03-30T14:22:20.360Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_186250198489843689.key (/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/private_key_186250198489843689.key) [2021-03-30T14:22:20.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-30T14:22:20.753Z] + git semver init [2021-03-30T14:22:20.753Z] # -> Open(): unable to determine branch for HEAD [2021-03-30T14:22:20.753Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-847/.git [2021-03-30T14:22:20.753Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-847 [2021-03-30T14:22:20.753Z] # $SEMVER_REMOTE_NAME = origin [2021-03-30T14:22:20.753Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-30T14:22:20.753Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-30T14:22:20.753Z] # $SEMVER_BRANCH = PR-847 [2021-03-30T14:22:20.753Z] # $SEMVER_TEMP = /tmp/semver-335960826 [2021-03-30T14:22:20.753Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-30T14:22:21.702Z] # '/tmp/semver-335960826' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-847/.semver' [2021-03-30T14:22:21.702Z] # -> Force: false [2021-03-30T14:22:21.702Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-847/.semver [Pipeline] } [2021-03-30T14:22:21.713Z] $ docker exec --env ******** --env ******** 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 ssh-agent -k [2021-03-30T14:22:21.841Z] unset SSH_AUTH_SOCK; [2021-03-30T14:22:21.841Z] unset SSH_AGENT_PID; [2021-03-30T14:22:21.841Z] echo Agent pid 52 killed; [2021-03-30T14:22:21.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-30T14:22:22.342Z] + git semver [Pipeline] } [2021-03-30T14:22:22.357Z] $ docker stop --time=1 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 [2021-03-30T14:22:23.726Z] $ docker rm -f 5dc51fac55dce66166140734c06aa0af21fe705283e08bfe28c9faafd07b4927 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T14:22:24.188Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-30T14:22:24.691Z] Stashed 1 file(s) [Pipeline] echo [2021-03-30T14:22:24.694Z] [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-30T14:22:40.190Z] Still waiting to schedule task [2021-03-30T14:22:40.190Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-30T14:22:40.192Z] Still waiting to schedule task [2021-03-30T14:22:40.192Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-30T14:24:24.288Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-32031 in /w/workspace/dgexfoundry_device-sdk-go_PR-847 [Pipeline] { [Pipeline] ws [2021-03-30T14:24:24.350Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-30T14:24:29.614Z] using credential edgex-jenkins-ssh [2021-03-30T14:24:29.681Z] Cloning the remote Git repository [2021-03-30T14:24:29.751Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T14:24:29.855Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-30T14:24:29.933Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T14:24:29.934Z] > git --version # timeout=10 [2021-03-30T14:24:29.953Z] > git --version # 'git version 2.17.1' [2021-03-30T14:24:29.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T14:24:30.029Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T14:24:31.860Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 405863b8552e159bc36ea9bb827e59e08bb4326e [2021-03-30T14:24:31.129Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-30T14:24:31.148Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T14:24:31.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-30T14:24:31.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T14:24:31.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T14:24:31.229Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/847/head:refs/remotes/origin/PR-847 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-30T14:24:31.885Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T14:24:31.901Z] > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 [2021-03-30T14:24:32.101Z] Merge succeeded, producing 405863b8552e159bc36ea9bb827e59e08bb4326e [2021-03-30T14:24:32.101Z] Checking out Revision 405863b8552e159bc36ea9bb827e59e08bb4326e (PR-847) [2021-03-30T14:24:32.005Z] > git remote # timeout=10 [2021-03-30T14:24:32.027Z] > git config --get remote.origin.url # timeout=10 [2021-03-30T14:24:32.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T14:24:32.060Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-30T14:24:32.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-30T14:24:32.160Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T14:24:32.188Z] > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 [2021-03-30T14:24:36.556Z] Commit message: "feat: Updated Attribution.txt for missing crypto module" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T14:24:38.161Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-30T14:24:38.604Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-30T14:24:38.951Z] + true [2021-03-30T14:24:38.951Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-30T14:24:41.650Z] provisioning config files... [2021-03-30T14:24:41.686Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2638147112992036010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:24:42.091Z] ---> docker-login.sh [2021-03-30T14:24:42.091Z] nexus3.edgexfoundry.org:10001 [2021-03-30T14:24:42.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:24:43.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:24:43.299Z] Configure a credential helper to remove this warning. See [2021-03-30T14:24:43.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:24:43.299Z] [2021-03-30T14:24:43.299Z] Login Succeeded [2021-03-30T14:24:43.299Z] nexus3.edgexfoundry.org:10002 [2021-03-30T14:24:43.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:24:43.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:24:43.893Z] Configure a credential helper to remove this warning. See [2021-03-30T14:24:43.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:24:43.893Z] [2021-03-30T14:24:43.893Z] Login Succeeded [2021-03-30T14:24:43.893Z] nexus3.edgexfoundry.org:10003 [2021-03-30T14:24:44.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:24:44.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:24:44.168Z] Configure a credential helper to remove this warning. See [2021-03-30T14:24:44.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:24:44.168Z] [2021-03-30T14:24:44.168Z] Login Succeeded [2021-03-30T14:24:44.168Z] nexus3.edgexfoundry.org:10004 [2021-03-30T14:24:44.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:24:44.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:24:44.721Z] Configure a credential helper to remove this warning. See [2021-03-30T14:24:44.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:24:44.721Z] [2021-03-30T14:24:44.721Z] Login Succeeded [2021-03-30T14:24:44.721Z] docker.io [2021-03-30T14:24:44.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:24:45.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:24:45.274Z] Configure a credential helper to remove this warning. See [2021-03-30T14:24:45.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:24:45.274Z] [2021-03-30T14:24:45.274Z] Login Succeeded [2021-03-30T14:24:45.274Z] ---> docker-login.sh ends [Pipeline] } [2021-03-30T14:24:45.292Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-30T14:24:45.799Z] ========================================================= [2021-03-30T14:24:45.799Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-30T14:24:45.799Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:24:46.177Z] + 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-30T14:24:46.452Z] Sending build context to Docker daemon 2.333MB [2021-03-30T14:24:46.730Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T14:24:46.730Z] Step 2/8 : FROM ${BASE} [2021-03-30T14:24:46.730Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-30T14:24:46.730Z] 5f621e34cdf4: Pulling fs layer [2021-03-30T14:24:46.730Z] a4357932f1b6: Pulling fs layer [2021-03-30T14:24:46.730Z] 18c013af1878: Pulling fs layer [2021-03-30T14:24:46.730Z] 00ac8860ef70: Pulling fs layer [2021-03-30T14:24:46.730Z] 63d7cb157983: Pulling fs layer [2021-03-30T14:24:46.730Z] b116817d02f9: Pulling fs layer [2021-03-30T14:24:46.730Z] 745a02a5169b: Pulling fs layer [2021-03-30T14:24:46.730Z] 63d7cb157983: Waiting [2021-03-30T14:24:46.730Z] b116817d02f9: Waiting [2021-03-30T14:24:46.730Z] 745a02a5169b: Waiting [2021-03-30T14:24:46.730Z] 18c013af1878: Verifying Checksum [2021-03-30T14:24:46.730Z] 18c013af1878: Download complete [2021-03-30T14:24:46.730Z] 63d7cb157983: Verifying Checksum [2021-03-30T14:24:46.730Z] 63d7cb157983: Download complete [2021-03-30T14:24:46.730Z] 5f621e34cdf4: Verifying Checksum [2021-03-30T14:24:46.730Z] 5f621e34cdf4: Download complete [2021-03-30T14:24:46.730Z] b116817d02f9: Verifying Checksum [2021-03-30T14:24:46.730Z] b116817d02f9: Download complete [2021-03-30T14:24:47.726Z] 5f621e34cdf4: Pull complete [2021-03-30T14:24:48.004Z] a4357932f1b6: Pull complete [2021-03-30T14:24:48.612Z] 18c013af1878: Pull complete [2021-03-30T14:24:49.602Z] 745a02a5169b: Verifying Checksum [2021-03-30T14:24:49.602Z] 745a02a5169b: Download complete [2021-03-30T14:24:50.586Z] 00ac8860ef70: Verifying Checksum [2021-03-30T14:24:50.586Z] 00ac8860ef70: Download complete [2021-03-30T14:25:00.745Z] 00ac8860ef70: Pull complete [2021-03-30T14:25:01.347Z] 63d7cb157983: Pull complete [2021-03-30T14:25:01.632Z] b116817d02f9: Pull complete [2021-03-30T14:25:06.020Z] 745a02a5169b: Pull complete [2021-03-30T14:25:06.020Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-30T14:25:06.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-30T14:25:06.020Z] ---> b7e6874047d6 [2021-03-30T14:25:06.020Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T14:25:06.675Z] Running on prd-centos7-docker-4c-2g-32032 in /w/workspace/dgexfoundry_device-sdk-go_PR-847 [Pipeline] { [Pipeline] ws [2021-03-30T14:25:06.767Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-03-30T14:25:08.036Z] ---> Running in 438d64078cad [2021-03-30T14:25:08.629Z] Removing intermediate container 438d64078cad [2021-03-30T14:25:08.630Z] ---> 736e2e9ea7e9 [2021-03-30T14:25:08.630Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-30T14:25:08.630Z] ---> Running in 95612c676aef [2021-03-30T14:25:09.160Z] using credential edgex-jenkins-ssh [2021-03-30T14:25:09.255Z] Cloning the remote Git repository [2021-03-30T14:25:09.283Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T14:25:09.345Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-03-30T14:25:09.407Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T14:25:09.407Z] > git --version # timeout=10 [2021-03-30T14:25:09.414Z] > git --version # 'git version 2.24.3' [2021-03-30T14:25:09.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T14:25:09.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T14:25:10.909Z] Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit 405863b8552e159bc36ea9bb827e59e08bb4326e [2021-03-30T14:25:11.018Z] Merge succeeded, producing 405863b8552e159bc36ea9bb827e59e08bb4326e [2021-03-30T14:25:11.018Z] Checking out Revision 405863b8552e159bc36ea9bb827e59e08bb4326e (PR-847) [2021-03-30T14:25:11.261Z] Removing intermediate container 95612c676aef [2021-03-30T14:25:11.261Z] ---> fc8a9b65a6ba [2021-03-30T14:25:11.261Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-30T14:25:11.261Z] ---> Running in 707e16bd9641 [2021-03-30T14:25:10.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-30T14:25:10.387Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-30T14:25:10.402Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-30T14:25:10.415Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-30T14:25:10.415Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T14:25:10.420Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/847/head:refs/remotes/origin/PR-847 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-30T14:25:10.916Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T14:25:10.922Z] > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 [2021-03-30T14:25:10.968Z] > git remote # timeout=10 [2021-03-30T14:25:10.974Z] > git config --get remote.origin.url # timeout=10 [2021-03-30T14:25:10.985Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-30T14:25:10.989Z] > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 [2021-03-30T14:25:11.008Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-03-30T14:25:11.020Z] > git config core.sparsecheckout # timeout=10 [2021-03-30T14:25:11.028Z] > git checkout -f 405863b8552e159bc36ea9bb827e59e08bb4326e # timeout=10 [2021-03-30T14:25:12.248Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-30T14:25:12.843Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-30T14:25:13.441Z] OK: 142 MiB in 39 packages [2021-03-30T14:25:14.420Z] Removing intermediate container 707e16bd9641 [2021-03-30T14:25:14.420Z] ---> 6e4a18a7075a [2021-03-30T14:25:14.420Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-30T14:25:14.636Z] Commit message: "feat: Updated Attribution.txt for missing crypto module" [2021-03-30T14:25:14.697Z] ---> Running in 635eca311333 [2021-03-30T14:25:14.975Z] Removing intermediate container 635eca311333 [2021-03-30T14:25:14.975Z] ---> a90c465cbf03 [2021-03-30T14:25:14.975Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T14:25:15.808Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-30T14:25:16.142Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-30T14:25:16.437Z] ---> 68e64e043de2 [2021-03-30T14:25:16.438Z] Step 8/8 : RUN go mod download [2021-03-30T14:25:16.438Z] ---> Running in 73dbef6753fb [2021-03-30T14:25:16.441Z] + sudo service docker restart [2021-03-30T14:25:16.441Z] + true [2021-03-30T14:25:16.441Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-30T14:25:17.612Z] provisioning config files... [2021-03-30T14:25:17.644Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4768981602560608438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:25:18.016Z] ---> docker-login.sh [2021-03-30T14:25:18.016Z] nexus3.edgexfoundry.org:10001 [2021-03-30T14:25:18.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:25:18.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:25:18.279Z] Configure a credential helper to remove this warning. See [2021-03-30T14:25:18.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:25:18.279Z] [2021-03-30T14:25:18.279Z] Login Succeeded [2021-03-30T14:25:18.279Z] nexus3.edgexfoundry.org:10002 [2021-03-30T14:25:18.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:25:18.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:25:18.542Z] Configure a credential helper to remove this warning. See [2021-03-30T14:25:18.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:25:18.542Z] [2021-03-30T14:25:18.542Z] Login Succeeded [2021-03-30T14:25:18.542Z] nexus3.edgexfoundry.org:10003 [2021-03-30T14:25:18.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:25:18.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:25:18.804Z] Configure a credential helper to remove this warning. See [2021-03-30T14:25:18.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:25:18.804Z] [2021-03-30T14:25:18.804Z] Login Succeeded [2021-03-30T14:25:18.804Z] nexus3.edgexfoundry.org:10004 [2021-03-30T14:25:18.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:25:19.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:25:19.067Z] Configure a credential helper to remove this warning. See [2021-03-30T14:25:19.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:25:19.067Z] [2021-03-30T14:25:19.067Z] Login Succeeded [2021-03-30T14:25:19.067Z] docker.io [2021-03-30T14:25:19.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-30T14:25:19.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-30T14:25:19.330Z] Configure a credential helper to remove this warning. See [2021-03-30T14:25:19.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-30T14:25:19.330Z] [2021-03-30T14:25:19.330Z] Login Succeeded [2021-03-30T14:25:19.330Z] ---> docker-login.sh ends [Pipeline] } [2021-03-30T14:25:19.340Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-30T14:25:19.730Z] ========================================================= [2021-03-30T14:25:19.731Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-30T14:25:19.731Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:25:20.127Z] + 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-30T14:25:20.127Z] Sending build context to Docker daemon 2.334MB [2021-03-30T14:25:20.399Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T14:25:20.399Z] Step 2/8 : FROM ${BASE} [2021-03-30T14:25:20.399Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-30T14:25:20.399Z] 188c0c94c7c5: Pulling fs layer [2021-03-30T14:25:20.399Z] 0ef7d3d256c8: Pulling fs layer [2021-03-30T14:25:20.399Z] de9db76c5a1d: Pulling fs layer [2021-03-30T14:25:20.399Z] bca2f99d35d6: Pulling fs layer [2021-03-30T14:25:20.399Z] 93359f2a8cfa: Pulling fs layer [2021-03-30T14:25:20.399Z] 7c6f9722023f: Pulling fs layer [2021-03-30T14:25:20.399Z] a35cf1a2eb13: Pulling fs layer [2021-03-30T14:25:20.399Z] 93359f2a8cfa: Waiting [2021-03-30T14:25:20.399Z] a35cf1a2eb13: Waiting [2021-03-30T14:25:20.399Z] 7c6f9722023f: Waiting [2021-03-30T14:25:20.399Z] bca2f99d35d6: Waiting [2021-03-30T14:25:20.399Z] 0ef7d3d256c8: Verifying Checksum [2021-03-30T14:25:20.399Z] 0ef7d3d256c8: Download complete [2021-03-30T14:25:20.399Z] de9db76c5a1d: Verifying Checksum [2021-03-30T14:25:20.399Z] de9db76c5a1d: Download complete [2021-03-30T14:25:20.399Z] 93359f2a8cfa: Verifying Checksum [2021-03-30T14:25:20.399Z] 93359f2a8cfa: Download complete [2021-03-30T14:25:20.399Z] 7c6f9722023f: Verifying Checksum [2021-03-30T14:25:20.399Z] 7c6f9722023f: Download complete [2021-03-30T14:25:20.399Z] 188c0c94c7c5: Verifying Checksum [2021-03-30T14:25:20.399Z] 188c0c94c7c5: Download complete [2021-03-30T14:25:20.665Z] 188c0c94c7c5: Pull complete [2021-03-30T14:25:20.928Z] 0ef7d3d256c8: Pull complete [2021-03-30T14:25:21.194Z] de9db76c5a1d: Pull complete [2021-03-30T14:25:22.587Z] a35cf1a2eb13: Verifying Checksum [2021-03-30T14:25:22.587Z] a35cf1a2eb13: Download complete [2021-03-30T14:25:23.170Z] bca2f99d35d6: Verifying Checksum [2021-03-30T14:25:23.170Z] bca2f99d35d6: Download complete [2021-03-30T14:25:28.502Z] bca2f99d35d6: Pull complete [2021-03-30T14:25:28.502Z] 93359f2a8cfa: Pull complete [2021-03-30T14:25:28.502Z] 7c6f9722023f: Pull complete [2021-03-30T14:25:35.123Z] a35cf1a2eb13: Pull complete [2021-03-30T14:25:35.123Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-30T14:25:35.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-30T14:25:35.123Z] ---> a62c8e92a672 [2021-03-30T14:25:35.123Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T14:25:35.385Z] ---> Running in 0419339cc3d6 [2021-03-30T14:25:35.654Z] Removing intermediate container 0419339cc3d6 [2021-03-30T14:25:35.654Z] ---> f53ec37832d0 [2021-03-30T14:25:35.654Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-30T14:25:35.654Z] ---> Running in 7c3d29d06374 [2021-03-30T14:25:36.609Z] Removing intermediate container 7c3d29d06374 [2021-03-30T14:25:36.609Z] ---> d7410b85478e [2021-03-30T14:25:36.609Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-30T14:25:36.609Z] ---> Running in d6390b75f2d4 [2021-03-30T14:25:37.564Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-30T14:25:38.138Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-30T14:25:38.629Z] Removing intermediate container 73dbef6753fb [2021-03-30T14:25:38.629Z] ---> 9e2a97506fbc [2021-03-30T14:25:38.629Z] Successfully built 9e2a97506fbc [2021-03-30T14:25:38.629Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:25:38.714Z] OK: 166 MiB in 39 packages [2021-03-30T14:25:38.978Z] Removing intermediate container d6390b75f2d4 [2021-03-30T14:25:38.978Z] ---> ef9f9ffa9a07 [2021-03-30T14:25:38.978Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-30T14:25:38.982Z] + docker inspect -f . ci-base-image-arm64 [2021-03-30T14:25:38.982Z] . [Pipeline] withDockerContainer [2021-03-30T14:25:39.242Z] ---> Running in 3bae056d5c1d [2021-03-30T14:25:39.242Z] Removing intermediate container 3bae056d5c1d [2021-03-30T14:25:39.242Z] ---> beb3e81f0e97 [2021-03-30T14:25:39.242Z] Step 7/8 : COPY . . [2021-03-30T14:25:39.253Z] prd-ubuntu18.04-docker-arm64-4c-16g-32031 does not seem to be running inside a container [2021-03-30T14:25:39.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-30T14:25:40.635Z] ---> a76b629906f6 [2021-03-30T14:25:40.635Z] Step 8/8 : RUN go mod download [2021-03-30T14:25:40.635Z] ---> Running in 71d89703e0d4 [2021-03-30T14:25:40.965Z] $ docker top 80e595c70798888e06866602dc4d275703fcecd3f510ab464495fd5322a281ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T14:25:42.008Z] + go version [2021-03-30T14:25:42.008Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-30T14:25:42.032Z] $ docker stop --time=1 80e595c70798888e06866602dc4d275703fcecd3f510ab464495fd5322a281ee [2021-03-30T14:25:43.974Z] $ docker rm -f 80e595c70798888e06866602dc4d275703fcecd3f510ab464495fd5322a281ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:25:45.026Z] + docker inspect -f . ci-base-image-arm64 [2021-03-30T14:25:45.026Z] . [Pipeline] withDockerContainer [2021-03-30T14:25:45.296Z] prd-ubuntu18.04-docker-arm64-4c-16g-32031 does not seem to be running inside a container [2021-03-30T14:25:45.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-03-30T14:25:46.863Z] $ docker top ff07e17f994face3628032188ed1800c992944b0467f2483c9f25fb2d304ca01 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T14:25:47.900Z] + make test [2021-03-30T14:25:47.900Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-30T14:26:02.671Z] Removing intermediate container 71d89703e0d4 [2021-03-30T14:26:02.671Z] ---> a2548c1e9087 [2021-03-30T14:26:02.671Z] Successfully built a2548c1e9087 [2021-03-30T14:26:02.671Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:26:02.990Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-30T14:26:02.990Z] . [Pipeline] withDockerContainer [2021-03-30T14:26:03.244Z] prd-centos7-docker-4c-2g-32032 does not seem to be running inside a container [2021-03-30T14:26:03.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-30T14:26:04.218Z] $ docker top d00944ca83e5479e4330980d90e4a63bae2ab7fc46a75f3d500e11ec4bff9936 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T14:26:05.268Z] + go version [2021-03-30T14:26:05.268Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-30T14:26:05.282Z] $ docker stop --time=1 d00944ca83e5479e4330980d90e4a63bae2ab7fc46a75f3d500e11ec4bff9936 [2021-03-30T14:26:06.660Z] $ docker rm -f d00944ca83e5479e4330980d90e4a63bae2ab7fc46a75f3d500e11ec4bff9936 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:26:07.603Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-30T14:26:07.603Z] . [Pipeline] withDockerContainer [2021-03-30T14:26:07.703Z] prd-centos7-docker-4c-2g-32032 does not seem to be running inside a container [2021-03-30T14:26:07.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-03-30T14:26:08.334Z] $ docker top 3625aedb3c33e6f662ce59d08c90b6a5162d1fec84fef1266c14a28ba9e35b4d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T14:26:08.824Z] + make test [2021-03-30T14:26:08.824Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-30T14:26:10.081Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-30T14:26:17.031Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-30T14:26:32.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-30T14:26:32.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-30T14:26:32.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-30T14:26:32.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-30T14:26:32.039Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-30T14:26:33.983Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.0% of statements [2021-03-30T14:26:33.983Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 81.2% of statements [2021-03-30T14:26:57.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-30T14:26:57.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-03-30T14:26:57.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-30T14:26:57.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-30T14:26:57.120Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-30T14:26:57.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 27.0% of statements [2021-03-30T14:26:57.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.161s coverage: 81.2% of statements [2021-03-30T14:27:06.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.056s coverage: 10.5% of statements [2021-03-30T14:27:06.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-30T14:27:06.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-30T14:27:06.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.089s coverage: 32.5% of statements [2021-03-30T14:27:06.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-30T14:27:06.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-30T14:27:06.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-30T14:27:06.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 57.3% of statements [2021-03-30T14:27:06.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.204s coverage: 6.6% of statements [2021-03-30T14:27:06.179Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-03-30T14:27:06.179Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-30T14:27:06.179Z] GO111MODULE=on go vet ./... [2021-03-30T14:27:14.472Z] gofmt -l . [2021-03-30T14:27:14.472Z] [ "`gofmt -l .`" = "" ] [2021-03-30T14:27:14.472Z] ./bin/test-attribution-txt.sh [2021-03-30T14:27:14.735Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-30T14:27:15.016Z] $ docker stop --time=1 3625aedb3c33e6f662ce59d08c90b6a5162d1fec84fef1266c14a28ba9e35b4d [2021-03-30T14:27:17.104Z] $ docker rm -f 3625aedb3c33e6f662ce59d08c90b6a5162d1fec84fef1266c14a28ba9e35b4d [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T14:27:17.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-30T14:27:18.268Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-30T14:27:22.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-30T14:27:22.397Z] + ls -al . [2021-03-30T14:27:22.397Z] total 184 [2021-03-30T14:27:22.397Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 30 14:27 . [2021-03-30T14:27:22.397Z] drwxrwxr-x. 4 jenkins jenkins 28 Mar 30 14:25 .. [2021-03-30T14:27:22.397Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 30 14:25 bin [2021-03-30T14:27:22.398Z] -rw-r--r--. 1 jenkins jenkins 100081 Mar 30 14:27 coverage.out [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 30 14:25 Dockerfile.build [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 30 14:25 .dockerignore [2021-03-30T14:27:22.398Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 30 14:25 example [2021-03-30T14:27:22.398Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 30 14:25 .git [2021-03-30T14:27:22.398Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 30 14:25 .github [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 30 14:25 .gitignore [2021-03-30T14:27:22.398Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 30 14:27 go.mod [2021-03-30T14:27:22.398Z] -rw-r--r--. 1 jenkins jenkins 17693 Mar 30 14:27 go.sum [2021-03-30T14:27:22.398Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 30 14:25 internal [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 30 14:25 Jenkinsfile [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 30 14:25 LICENSE [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 30 14:25 Makefile [2021-03-30T14:27:22.398Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 30 14:25 openapi [2021-03-30T14:27:22.398Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 30 14:25 pkg [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 30 14:25 README.md [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 30 14:25 RELEASE-NOTES.txt [2021-03-30T14:27:22.398Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 30 14:25 snap [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 30 14:22 VERSION [2021-03-30T14:27:22.398Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 30 14:25 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:27:22.706Z] + 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=405863b8552e159bc36ea9bb827e59e08bb4326e --label arch=amd64 --label version=0.0.0 . [2021-03-30T14:27:22.969Z] Sending build context to Docker daemon 2.435MB [2021-03-30T14:27:22.969Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T14:27:22.969Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-30T14:27:22.969Z] ---> a2548c1e9087 [2021-03-30T14:27:22.969Z] Step 3/24 : ARG MAKE='make build' [2021-03-30T14:27:23.542Z] ---> Running in fa5716eac5af [2021-03-30T14:27:23.542Z] Removing intermediate container fa5716eac5af [2021-03-30T14:27:23.542Z] ---> c6367e4ab889 [2021-03-30T14:27:23.542Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-30T14:27:23.542Z] ---> Running in 187cb3bccbaa [2021-03-30T14:27:23.805Z] Removing intermediate container 187cb3bccbaa [2021-03-30T14:27:23.805Z] ---> 06620dc9f094 [2021-03-30T14:27:23.805Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T14:27:23.805Z] ---> Running in 93e30b28f5b0 [2021-03-30T14:27:23.904Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.137s coverage: 10.5% of statements [2021-03-30T14:27:23.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-30T14:27:23.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-30T14:27:23.904Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.243s coverage: 32.5% of statements [2021-03-30T14:27:23.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-30T14:27:23.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-30T14:27:23.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-30T14:27:23.904Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.261s coverage: 57.3% of statements [2021-03-30T14:27:23.904Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.951s coverage: 6.6% of statements [2021-03-30T14:27:23.904Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.0% of statements [2021-03-30T14:27:23.904Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-30T14:27:23.904Z] GO111MODULE=on go vet ./... [2021-03-30T14:27:24.068Z] Removing intermediate container 93e30b28f5b0 [2021-03-30T14:27:24.068Z] ---> cb3d74db4985 [2021-03-30T14:27:24.068Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-30T14:27:24.068Z] ---> Running in 5fdf3801dbb9 [2021-03-30T14:27:25.020Z] Removing intermediate container 5fdf3801dbb9 [2021-03-30T14:27:25.020Z] ---> 1b183c6676cc [2021-03-30T14:27:25.020Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-30T14:27:25.020Z] ---> Running in 9716a78ff1fb [2021-03-30T14:27:25.283Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-30T14:27:26.230Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-30T14:27:26.494Z] OK: 166 MiB in 39 packages [2021-03-30T14:27:26.757Z] Removing intermediate container 9716a78ff1fb [2021-03-30T14:27:26.757Z] ---> 8d20ce04a41e [2021-03-30T14:27:26.757Z] Step 8/24 : COPY . . [2021-03-30T14:27:28.149Z] ---> 1d10530a3d04 [2021-03-30T14:27:28.149Z] Step 9/24 : RUN ${MAKE} [2021-03-30T14:27:28.149Z] ---> Running in 7ca15f653d37 [2021-03-30T14:27:28.412Z] 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-30T14:27:38.534Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-30T14:27:39.480Z] Removing intermediate container 7ca15f653d37 [2021-03-30T14:27:39.480Z] ---> 66fa2c5ed54a [2021-03-30T14:27:39.480Z] Step 10/24 : FROM scratch [2021-03-30T14:27:39.480Z] ---> [2021-03-30T14:27:39.480Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T14:27:39.480Z] ---> Running in b5bf70207b01 [2021-03-30T14:27:39.480Z] Removing intermediate container b5bf70207b01 [2021-03-30T14:27:39.480Z] ---> 9f467561e7e0 [2021-03-30T14:27:39.480Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-30T14:27:39.743Z] ---> Running in 43b39ae167e3 [2021-03-30T14:27:39.743Z] Removing intermediate container 43b39ae167e3 [2021-03-30T14:27:39.743Z] ---> 7728f146aae9 [2021-03-30T14:27:39.743Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-30T14:27:39.743Z] ---> Running in 5df3c85d3640 [2021-03-30T14:27:40.005Z] Removing intermediate container 5df3c85d3640 [2021-03-30T14:27:40.005Z] ---> eb61a9b8efd9 [2021-03-30T14:27:40.005Z] Step 14/24 : WORKDIR / [2021-03-30T14:27:40.005Z] ---> Running in af99e9196f11 [2021-03-30T14:27:40.267Z] Removing intermediate container af99e9196f11 [2021-03-30T14:27:40.267Z] ---> a6dab8d98153 [2021-03-30T14:27:40.267Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-30T14:27:40.842Z] ---> 9ffbdaa59189 [2021-03-30T14:27:40.842Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-30T14:27:40.842Z] ---> 4fa8a7f50ff4 [2021-03-30T14:27:40.842Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-30T14:27:41.106Z] ---> 318218e86fd2 [2021-03-30T14:27:41.106Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-30T14:27:41.370Z] ---> 20cb914aad74 [2021-03-30T14:27:41.370Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-30T14:27:41.632Z] ---> 8c6902e6e7fb [2021-03-30T14:27:41.632Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-30T14:27:41.632Z] ---> Running in f12a07d0c492 [2021-03-30T14:27:41.896Z] Removing intermediate container f12a07d0c492 [2021-03-30T14:27:41.896Z] ---> 5629b42c0449 [2021-03-30T14:27:41.896Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-30T14:27:41.896Z] ---> Running in 525edede0f2a [2021-03-30T14:27:42.158Z] Removing intermediate container 525edede0f2a [2021-03-30T14:27:42.158Z] ---> 37c1745c1c30 [2021-03-30T14:27:42.158Z] Step 22/24 : LABEL arch=amd64 [2021-03-30T14:27:42.158Z] ---> Running in e661c4644b20 [2021-03-30T14:27:42.421Z] Removing intermediate container e661c4644b20 [2021-03-30T14:27:42.421Z] ---> f4b3322404b1 [2021-03-30T14:27:42.421Z] Step 23/24 : LABEL git_sha=405863b8552e159bc36ea9bb827e59e08bb4326e [2021-03-30T14:27:42.421Z] ---> Running in 61f1a1056f1d [2021-03-30T14:27:42.685Z] Removing intermediate container 61f1a1056f1d [2021-03-30T14:27:42.685Z] ---> 855eed026df0 [2021-03-30T14:27:42.685Z] Step 24/24 : LABEL version=0.0.0 [2021-03-30T14:27:42.685Z] ---> Running in 396a644ceae9 [2021-03-30T14:27:42.947Z] Removing intermediate container 396a644ceae9 [2021-03-30T14:27:42.947Z] ---> e380e7daeb77 [2021-03-30T14:27:42.947Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-30T14:27:42.947Z] Successfully built e380e7daeb77 [2021-03-30T14:27:42.947Z] 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-30T14:27:44.025Z] ---> job-cost.sh [2021-03-30T14:27:44.026Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-A5kI [2021-03-30T14:27:56.279Z] gofmt -l . [2021-03-30T14:27:56.279Z] [ "`gofmt -l .`" = "" ] [2021-03-30T14:27:56.554Z] ./bin/test-attribution-txt.sh [2021-03-30T14:27:57.533Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-30T14:27:58.196Z] $ docker stop --time=1 ff07e17f994face3628032188ed1800c992944b0467f2483c9f25fb2d304ca01 [2021-03-30T14:27:58.970Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-30T14:28:00.662Z] $ docker rm -f ff07e17f994face3628032188ed1800c992944b0467f2483c9f25fb2d304ca01 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-30T14:28:01.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-30T14:28:01.862Z] Warning: overwriting stash ‘coverage-report’ [2021-03-30T14:28:02.969Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-30T14:28:03.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-30T14:28:04.099Z] + ls -al . [2021-03-30T14:28:04.100Z] total 220 [2021-03-30T14:28:04.100Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 14:27 . [2021-03-30T14:28:04.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:24 .. [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 14:24 .dockerignore [2021-03-30T14:28:04.100Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 14:24 .git [2021-03-30T14:28:04.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 14:24 .github [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 30 14:24 .gitignore [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 30 14:24 Dockerfile.build [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 30 14:24 Jenkinsfile [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 14:24 LICENSE [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 30 14:24 Makefile [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 30 14:24 README.md [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 30 14:24 RELEASE-NOTES.txt [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 14:22 VERSION [2021-03-30T14:28:04.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 14:24 bin [2021-03-30T14:28:04.100Z] -rw-r--r-- 1 jenkins jenkins 100081 Mar 30 14:27 coverage.out [2021-03-30T14:28:04.100Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 14:24 example [2021-03-30T14:28:04.100Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 30 14:27 go.mod [2021-03-30T14:28:04.100Z] -rw-r--r-- 1 jenkins jenkins 17693 Mar 30 14:27 go.sum [2021-03-30T14:28:04.100Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 14:24 internal [2021-03-30T14:28:04.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:24 openapi [2021-03-30T14:28:04.100Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 14:24 pkg [2021-03-30T14:28:04.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 14:24 snap [2021-03-30T14:28:04.100Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 14:24 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:28:04.450Z] + 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=405863b8552e159bc36ea9bb827e59e08bb4326e --label arch=arm64 --label version=0.0.0 . [2021-03-30T14:28:04.729Z] Sending build context to Docker daemon 2.434MB [2021-03-30T14:28:05.009Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-30T14:28:05.009Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-30T14:28:05.009Z] ---> 9e2a97506fbc [2021-03-30T14:28:05.009Z] Step 3/24 : ARG MAKE='make build' [2021-03-30T14:28:05.282Z] ---> Running in 8d7e9e388592 [2021-03-30T14:28:05.558Z] Removing intermediate container 8d7e9e388592 [2021-03-30T14:28:05.558Z] ---> 4f3002a2802c [2021-03-30T14:28:05.558Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-30T14:28:05.830Z] ---> Running in 9ea2f5e9b0c5 [2021-03-30T14:28:06.428Z] Removing intermediate container 9ea2f5e9b0c5 [2021-03-30T14:28:06.428Z] ---> 94d425e22751 [2021-03-30T14:28:06.428Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T14:28:06.428Z] ---> Running in e8ad39d6f410 [2021-03-30T14:28:07.023Z] Removing intermediate container e8ad39d6f410 [2021-03-30T14:28:07.023Z] ---> 38ff2bac9ce7 [2021-03-30T14:28:07.023Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-30T14:28:07.023Z] ---> Running in 46e3c5f4b2e7 [2021-03-30T14:28:08.996Z] Removing intermediate container 46e3c5f4b2e7 [2021-03-30T14:28:08.996Z] ---> 21348a7c6e8b [2021-03-30T14:28:08.996Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-30T14:28:09.273Z] ---> Running in d70e9bf4ad7a [2021-03-30T14:28:10.264Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-30T14:28:10.860Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-30T14:28:11.458Z] OK: 142 MiB in 39 packages [2021-03-30T14:28:12.446Z] Removing intermediate container d70e9bf4ad7a [2021-03-30T14:28:12.446Z] ---> d3ce498d1dee [2021-03-30T14:28:12.446Z] Step 8/24 : COPY . . [2021-03-30T14:28:13.906Z] ---> ef3bd70d6212 [2021-03-30T14:28:13.906Z] Step 9/24 : RUN ${MAKE} [2021-03-30T14:28:13.906Z] ---> Running in c7be892cd4e5 [2021-03-30T14:28:14.885Z] 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-30T14:28:31.143Z] lf-activate-venv(): INFO: Adding /tmp/venv-A5kI/bin to PATH [2021-03-30T14:28:31.143Z] INFO: No Stack... [2021-03-30T14:28:31.143Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-30T14:28:31.143Z] INFO: Archiving Costs [Pipeline] sh [2021-03-30T14:28:31.466Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-30T14:28:31.466Z] + cut -d, -f6 [Pipeline] lock [2021-03-30T14:28:31.559Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] [2021-03-30T14:28:31.568Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] did not exist. Created. [2021-03-30T14:28:31.568Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-30T14:28:31.995Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-30T14:28:32.233Z] Stashed 1 file(s) [Pipeline] } [2021-03-30T14:28:32.250Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-30T14:28:41.795Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-30T14:28:43.256Z] Removing intermediate container c7be892cd4e5 [2021-03-30T14:28:43.256Z] ---> 71e82fd99d3e [2021-03-30T14:28:43.256Z] Step 10/24 : FROM scratch [2021-03-30T14:28:43.256Z] ---> [2021-03-30T14:28:43.256Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-30T14:28:43.256Z] ---> Running in cb9bce659b6a [2021-03-30T14:28:43.531Z] Removing intermediate container cb9bce659b6a [2021-03-30T14:28:43.531Z] ---> 434052b997cd [2021-03-30T14:28:43.531Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-30T14:28:43.531Z] ---> Running in 30614531ee65 [2021-03-30T14:28:44.125Z] Removing intermediate container 30614531ee65 [2021-03-30T14:28:44.125Z] ---> 4f862cc7f47e [2021-03-30T14:28:44.125Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-30T14:28:44.125Z] ---> Running in a2621982c1fe [2021-03-30T14:28:44.719Z] Removing intermediate container a2621982c1fe [2021-03-30T14:28:44.719Z] ---> dd525d2b081a [2021-03-30T14:28:44.719Z] Step 14/24 : WORKDIR / [2021-03-30T14:28:44.719Z] ---> Running in 70c916fa8492 [2021-03-30T14:28:44.993Z] Removing intermediate container 70c916fa8492 [2021-03-30T14:28:44.993Z] ---> c4e20d8948b3 [2021-03-30T14:28:44.993Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-30T14:28:46.426Z] ---> a0a93f81cbdb [2021-03-30T14:28:46.426Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-30T14:28:47.019Z] ---> 5b68f5aa1ed1 [2021-03-30T14:28:47.019Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-30T14:28:47.614Z] ---> dec3a17c3628 [2021-03-30T14:28:47.614Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-30T14:28:48.209Z] ---> 7b67217522bd [2021-03-30T14:28:48.209Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-30T14:28:48.804Z] ---> ab437cf6ada8 [2021-03-30T14:28:48.804Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-30T14:28:49.077Z] ---> Running in 619359da8708 [2021-03-30T14:28:49.347Z] Removing intermediate container 619359da8708 [2021-03-30T14:28:49.347Z] ---> 7063454dd9ee [2021-03-30T14:28:49.347Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-30T14:28:49.616Z] ---> Running in bd7b7a80aaec [2021-03-30T14:28:49.888Z] Removing intermediate container bd7b7a80aaec [2021-03-30T14:28:49.888Z] ---> 6ea2413fe306 [2021-03-30T14:28:49.888Z] Step 22/24 : LABEL arch=arm64 [2021-03-30T14:28:50.163Z] ---> Running in ca980cb7f021 [2021-03-30T14:28:50.759Z] Removing intermediate container ca980cb7f021 [2021-03-30T14:28:50.759Z] ---> 3a390e38e70f [2021-03-30T14:28:50.759Z] Step 23/24 : LABEL git_sha=405863b8552e159bc36ea9bb827e59e08bb4326e [2021-03-30T14:28:50.759Z] ---> Running in 9c81a0c51147 [2021-03-30T14:28:51.355Z] Removing intermediate container 9c81a0c51147 [2021-03-30T14:28:51.355Z] ---> 492bac1e5593 [2021-03-30T14:28:51.355Z] Step 24/24 : LABEL version=0.0.0 [2021-03-30T14:28:51.355Z] ---> Running in 460a9f472905 [2021-03-30T14:28:51.949Z] Removing intermediate container 460a9f472905 [2021-03-30T14:28:51.949Z] ---> 46e783466862 [2021-03-30T14:28:51.949Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-30T14:28:51.949Z] Successfully built 46e783466862 [2021-03-30T14:28:51.949Z] 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-30T14:28:52.790Z] ---> job-cost.sh [2021-03-30T14:28:52.790Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kCXm [2021-03-30T14:29:31.759Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-30T14:30:53.489Z] lf-activate-venv(): INFO: Adding /tmp/venv-kCXm/bin to PATH [2021-03-30T14:30:53.489Z] INFO: No Stack... [2021-03-30T14:30:54.079Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-30T14:30:54.670Z] INFO: Archiving Costs [Pipeline] sh [2021-03-30T14:30:55.015Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-03-30T14:30:55.015Z] + cut -d, -f6 [Pipeline] lock [2021-03-30T14:30:55.139Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] [2021-03-30T14:30:55.150Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] did not exist. Created. [2021-03-30T14:30:55.151Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-30T14:30:55.594Z] /w/workspace/device-sdk-go/2@tmp/durable-99d422fd/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-99d422fd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-30T14:30:55.935Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-30T14:30:56.005Z] Warning: overwriting stash ‘stack-cost’ [2021-03-30T14:30:56.152Z] Stashed 1 file(s) [Pipeline] } [2021-03-30T14:30:56.167Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-847-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-03-30T14:30:57.715Z] provisioning config files... [2021-03-30T14:30:57.726Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/config3459570099286150418tmp [Pipeline] { [Pipeline] sh [2021-03-30T14:30:58.118Z] + set +x [2021-03-30T14:30:58.119Z] + curl -s https://codecov.io/bash [2021-03-30T14:30:58.119Z] + bash -s -- [2021-03-30T14:30:58.380Z] [2021-03-30T14:30:58.380Z] _____ _ [2021-03-30T14:30:58.380Z] / ____| | | [2021-03-30T14:30:58.380Z] | | ___ __| | ___ ___ _____ __ [2021-03-30T14:30:58.380Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-30T14:30:58.380Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-30T14:30:58.380Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-30T14:30:58.380Z] Bash-20210309-2b87ace [2021-03-30T14:30:58.380Z] [2021-03-30T14:30:58.380Z] [2021-03-30T14:30:58.380Z] ==> git version 2.24.3 found [2021-03-30T14:30:58.380Z] ==> 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-30T14:30:58.380Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-30T14:30:58.380Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-30T14:30:58.380Z] ==> Jenkins CI detected. [2021-03-30T14:30:58.380Z] project root: . [2021-03-30T14:30:58.380Z] --> token set from env [2021-03-30T14:30:58.380Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-30T14:30:58.380Z] ==> Running gcov in . (disable via -X gcov) [2021-03-30T14:30:58.380Z] ==> Python coveragepy not found [2021-03-30T14:30:58.380Z] ==> Searching for coverage reports in: [2021-03-30T14:30:58.380Z] + . [2021-03-30T14:30:58.380Z] -> Found 1 reports [2021-03-30T14:30:58.380Z] ==> Detecting git/mercurial file structure [2021-03-30T14:30:58.380Z] ==> Reading reports [2021-03-30T14:30:58.380Z] + ./coverage.out bytes=100081 [2021-03-30T14:30:58.380Z] ==> Appending adjustments [2021-03-30T14:30:58.380Z] https://docs.codecov.io/docs/fixing-reports [2021-03-30T14:30:58.642Z] + Found adjustments [2021-03-30T14:30:58.642Z] ==> Gzipping contents [2021-03-30T14:30:58.642Z] 16K /tmp/codecov.rpw1Ks.gz [2021-03-30T14:30:58.642Z] ==> Uploading reports [2021-03-30T14:30:58.642Z] url: https://codecov.io [2021-03-30T14:30:58.642Z] query: branch=PR-847&commit=405863b8552e159bc36ea9bb827e59e08bb4326e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-847%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=847&job=&cmd_args= [2021-03-30T14:30:58.642Z] -> Pinging Codecov [2021-03-30T14:30:58.642Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-847&commit=405863b8552e159bc36ea9bb827e59e08bb4326e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-847%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=847&job=&cmd_args= [2021-03-30T14:30:59.216Z] -> Uploading to [2021-03-30T14:30:59.216Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-30/7E55EF52A471D76F132DFD9A03CDDE97/405863b8552e159bc36ea9bb827e59e08bb4326e/8b05bf5e-ae91-4dfe-998c-bbcc851bd4fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210330T143059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e3c1a0d56f39a7377dde52ea1bd0e4bb87b7cbd5ec5a1f4e708b1f9bf3cde556 [2021-03-30T14:30:59.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-30T14:30:59.216Z] Dload Upload Total Spent Left Speed [2021-03-30T14:30:59.790Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13543 0 0 100 13543 0 26563 --:--:-- --:--:-- --:--:-- 26554 100 13543 0 0 100 13543 0 26552 --:--:-- --:--:-- --:--:-- 26554 [2021-03-30T14:30:59.790Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/405863b8552e159bc36ea9bb827e59e08bb4326e [Pipeline] } [2021-03-30T14:30:59.809Z] 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-30T14:31:02.480Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:31:02.785Z] ---> package-listing.sh [2021-03-30T14:31:02.785Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-30T14:31:02.785Z] ++ facter osfamily [2021-03-30T14:31:02.785Z] + OS_FAMILY=redhat [2021-03-30T14:31:02.785Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-847 [2021-03-30T14:31:02.785Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-30T14:31:02.786Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-30T14:31:02.786Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-30T14:31:02.786Z] + PACKAGES=/tmp/packages_start.txt [2021-03-30T14:31:02.786Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-847 ']' [2021-03-30T14:31:02.786Z] + PACKAGES=/tmp/packages_end.txt [2021-03-30T14:31:02.786Z] + case "${OS_FAMILY}" in [2021-03-30T14:31:02.786Z] + rpm -qa [2021-03-30T14:31:02.786Z] + sort [2021-03-30T14:31:08.087Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-30T14:31:08.087Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-30T14:31:08.087Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-30T14:31:08.087Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-847 ']' [2021-03-30T14:31:08.087Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-847/archives/ [2021-03-30T14:31:08.088Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-847/archives/ [Pipeline] echo [2021-03-30T14:31:08.102Z] 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-847/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-30T14:31:08.390Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:31:08.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T14:31:08.699Z] [2021-03-30T14:31:08.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-30T14:31:10.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T14:31:10.347Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-30T14:31:10.347Z] df20fa9351a1: Pulling fs layer [2021-03-30T14:31:10.347Z] 36b3adc4ff6f: Pulling fs layer [2021-03-30T14:31:10.347Z] 8ad3a11d3b57: Pulling fs layer [2021-03-30T14:31:10.347Z] 46f8f816bc3b: Pulling fs layer [2021-03-30T14:31:10.347Z] 93b61091891f: Pulling fs layer [2021-03-30T14:31:10.347Z] 93b9cdb0e59b: Pulling fs layer [2021-03-30T14:31:10.347Z] 5e14af77c1be: Pulling fs layer [2021-03-30T14:31:10.347Z] 01666e4c0597: Pulling fs layer [2021-03-30T14:31:10.347Z] aa168da1d23b: Pulling fs layer [2021-03-30T14:31:10.347Z] 46f8f816bc3b: Waiting [2021-03-30T14:31:10.347Z] 01666e4c0597: Waiting [2021-03-30T14:31:10.347Z] 93b9cdb0e59b: Waiting [2021-03-30T14:31:10.347Z] 5e14af77c1be: Waiting [2021-03-30T14:31:10.347Z] aa168da1d23b: Waiting [2021-03-30T14:31:10.347Z] 93b61091891f: Waiting [2021-03-30T14:31:10.347Z] 36b3adc4ff6f: Download complete [2021-03-30T14:31:10.347Z] 46f8f816bc3b: Verifying Checksum [2021-03-30T14:31:10.347Z] 46f8f816bc3b: Download complete [2021-03-30T14:31:10.347Z] df20fa9351a1: Verifying Checksum [2021-03-30T14:31:10.347Z] df20fa9351a1: Download complete [2021-03-30T14:31:10.347Z] 93b61091891f: Verifying Checksum [2021-03-30T14:31:10.347Z] 93b61091891f: Download complete [2021-03-30T14:31:10.347Z] 93b9cdb0e59b: Verifying Checksum [2021-03-30T14:31:10.347Z] 93b9cdb0e59b: Download complete [2021-03-30T14:31:10.347Z] 5e14af77c1be: Verifying Checksum [2021-03-30T14:31:10.347Z] 5e14af77c1be: Download complete [2021-03-30T14:31:10.347Z] 01666e4c0597: Download complete [2021-03-30T14:31:10.347Z] 8ad3a11d3b57: Verifying Checksum [2021-03-30T14:31:10.347Z] 8ad3a11d3b57: Download complete [2021-03-30T14:31:10.347Z] df20fa9351a1: Pull complete [2021-03-30T14:31:10.347Z] 36b3adc4ff6f: Pull complete [2021-03-30T14:31:10.614Z] 8ad3a11d3b57: Pull complete [2021-03-30T14:31:10.614Z] 46f8f816bc3b: Pull complete [2021-03-30T14:31:11.193Z] 93b61091891f: Pull complete [2021-03-30T14:31:11.193Z] 93b9cdb0e59b: Pull complete [2021-03-30T14:31:11.767Z] aa168da1d23b: Verifying Checksum [2021-03-30T14:31:11.767Z] aa168da1d23b: Download complete [2021-03-30T14:31:12.031Z] 5e14af77c1be: Pull complete [2021-03-30T14:31:12.031Z] 01666e4c0597: Pull complete [2021-03-30T14:31:18.665Z] aa168da1d23b: Pull complete [2021-03-30T14:31:18.665Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-30T14:31:18.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-30T14:31:18.665Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-30T14:31:18.807Z] prd-centos7-docker-4c-2g-32030 does not seem to be running inside a container [2021-03-30T14:31:18.851Z] $ 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-847/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-847 -v /w/workspace/dgexfoundry_device-sdk-go_PR-847:/w/workspace/dgexfoundry_device-sdk-go_PR-847:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-847@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-30T14:31:23.209Z] $ docker top ccd79186d868710f3f29b048fe250c486268b4f66237f80003909ae9c4f9856a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-30T14:31:23.771Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-30T14:31:24.072Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-30T14:31:24.371Z] + ls /var/log/sa-host [2021-03-30T14:31:24.371Z] + sadf -c /var/log/sa-host/sa23 [2021-03-30T14:31:24.371Z] file_magic: OK [2021-03-30T14:31:24.371Z] HZ: Using current value: 100 [2021-03-30T14:31:24.371Z] file_header: OK [2021-03-30T14:31:24.371Z] 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-30T14:31:24.371Z] Statistics: [2021-03-30T14:31:24.371Z] Hnuu...uuuununununu... [2021-03-30T14:31:24.371Z] File successfully converted to sysstat format version 12.2.1 [2021-03-30T14:31:24.371Z] + sadf -c /var/log/sa-host/sa30 [2021-03-30T14:31:24.371Z] file_magic: OK [2021-03-30T14:31:24.371Z] HZ: Using current value: 100 [2021-03-30T14:31:24.371Z] file_header: OK [2021-03-30T14:31:24.371Z] 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-30T14:31:24.371Z] Statistics: [2021-03-30T14:31:24.371Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-30T14:31:24.371Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-30T14:31:24.582Z] provisioning config files... [2021-03-30T14:31:24.606Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-847@tmp/config1813134974923187892tmp [Pipeline] { [Pipeline] echo [2021-03-30T14:31:24.745Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:31:25.044Z] ---> create-netrc.sh [Pipeline] } [2021-03-30T14:31:25.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-30T14:31:25.144Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:31:25.444Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-30T14:31:25.455Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:31:25.752Z] ---> sudo-logs.sh [2021-03-30T14:31:25.752Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-30T14:31:25.820Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:31:26.119Z] ---> job-cost.sh [2021-03-30T14:31:26.119Z] lf-activate-venv: SKIPPING [2021-03-30T14:31:26.119Z] DEBUG: total: 0.20999999344348907 [2021-03-30T14:31:26.119Z] INFO: Retrieving Stack Cost... [2021-03-30T14:31:27.066Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-30T14:31:27.640Z] INFO: Archiving Costs [Pipeline] echo [2021-03-30T14:31:27.655Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-30T14:31:27.949Z] ---> logs-deploy.sh [2021-03-30T14:31:27.949Z] lf-activate-venv: SKIPPING [2021-03-30T14:31:27.949Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-847/2 [2021-03-30T14:31:27.949Z] INFO: archiving workspace using pattern(s): [2021-03-30T14:31:29.864Z] Archives upload complete. [2021-03-30T14:31:29.864Z] INFO: archiving logs to Nexus