Pull request #886 opened 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 soda480 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c8eb33ad476f9c02640bbefc7809c02228b34476+8659f99871c0873da8324f2f6a625b509cb242d1 (e3f8740828d6925645b7adac97684654b5f0ce5e) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-886/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-886/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-860 in /w/workspace/dgexfoundry_device-sdk-go_PR-886 [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-886 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit c8eb33ad476f9c02640bbefc7809c02228b34476 Merge succeeded, producing c8eb33ad476f9c02640bbefc7809c02228b34476 Checking out Revision c8eb33ad476f9c02640bbefc7809c02228b34476 (PR-886) > 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/886/head:refs/remotes/origin/PR-886 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8eb33ad476f9c02640bbefc7809c02228b34476 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8eb33ad476f9c02640bbefc7809c02228b34476 # timeout=10 Commit message: "docs: Add badges to readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-19T18:37:07.416Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-19T18:37:07.647Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-19T18:37:07.802Z] ========================================================= [2021-04-19T18:37:07.802Z] EdgeX Global Pipelines Version Info [2021-04-19T18:37:07.802Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:37:12.348Z] ------------------- [2021-04-19T18:37:12.348Z] stable info: [2021-04-19T18:37:12.348Z] ------------------- [2021-04-19T18:37:12.348Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-19T18:37:12.348Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T18:37:12.348Z] Message: update stable to v1.0.186 [2021-04-19T18:37:13.469Z] ------------------- [2021-04-19T18:37:13.469Z] experimental info: [2021-04-19T18:37:13.469Z] ------------------- [2021-04-19T18:37:13.469Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-19T18:37:13.469Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-19T18:37:13.469Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-19T18:37:13.853Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-19T18:37:13.907Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-19T18:37:13.970Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-19T18:37:14.029Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-19T18:37:14.094Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-19T18:37:14.151Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-19T18:37:14.211Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-19T18:37:14.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-19T18:37:14.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-19T18:37:14.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-19T18:37:14.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-19T18:37:14.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-19T18:37:14.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-19T18:37:14.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-19T18:37:14.752Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-19T18:37:14.842Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:37:14.910Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:37:14.986Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-19T18:37:15.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-19T18:37:15.105Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-19T18:37:15.158Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-19T18:37:15.222Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-19T18:37:15.283Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-19T18:37:15.340Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-19T18:37:15.397Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-19T18:37:15.457Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-19T18:37:15.520Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-886 [Pipeline] echo [2021-04-19T18:37:15.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-886 [Pipeline] echo [2021-04-19T18:37:15.638Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-886 [Pipeline] echo [2021-04-19T18:37:15.702Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8eb33ad476f9c02640bbefc7809c02228b34476 [Pipeline] echo [2021-04-19T18:37:15.762Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8eb33a [Pipeline] echo [2021-04-19T18:37:15.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:37:15.988Z] provisioning config files... [2021-04-19T18:37:16.058Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-886@tmp/config4305598022953445358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:37:16.539Z] ---> docker-login.sh [2021-04-19T18:37:16.539Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:37:17.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:18.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:18.339Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:18.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:18.339Z] [2021-04-19T18:37:18.339Z] Login Succeeded [2021-04-19T18:37:18.339Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:37:19.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:19.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:19.088Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:19.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:19.088Z] [2021-04-19T18:37:19.088Z] Login Succeeded [2021-04-19T18:37:19.088Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:37:19.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:20.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:20.155Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:20.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:20.155Z] [2021-04-19T18:37:20.155Z] Login Succeeded [2021-04-19T18:37:20.155Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:37:20.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:21.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:21.118Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:21.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:21.118Z] [2021-04-19T18:37:21.118Z] Login Succeeded [2021-04-19T18:37:21.118Z] docker.io [2021-04-19T18:37:22.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:37:22.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:37:22.549Z] Configure a credential helper to remove this warning. See [2021-04-19T18:37:22.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:37:22.549Z] [2021-04-19T18:37:22.549Z] Login Succeeded [2021-04-19T18:37:22.549Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:37:22.644Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:37:23.502Z] + git log --format=format:%s -1 c8eb33ad476f9c02640bbefc7809c02228b34476 [Pipeline] echo [2021-04-19T18:37:23.726Z] GIT_COMMIT: c8eb33ad476f9c02640bbefc7809c02228b34476, Commit Message: docs: Add badges to readme [Pipeline] echo [2021-04-19T18:37:23.774Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:37:24.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:37:24.719Z] [2021-04-19T18:37:24.719Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:37:25.493Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:37:25.830Z] latest: Pulling from edgex-devops/git-semver [2021-04-19T18:37:25.830Z] 31603596830f: Pulling fs layer [2021-04-19T18:37:25.830Z] 2a8b12db71e7: Pulling fs layer [2021-04-19T18:37:25.830Z] 6ca5941a6612: Pulling fs layer [2021-04-19T18:37:25.830Z] ecc8261a40a4: Pulling fs layer [2021-04-19T18:37:25.830Z] ecc8261a40a4: Waiting [2021-04-19T18:37:25.830Z] 2a8b12db71e7: Verifying Checksum [2021-04-19T18:37:25.830Z] 2a8b12db71e7: Download complete [2021-04-19T18:37:26.144Z] 31603596830f: Verifying Checksum [2021-04-19T18:37:26.144Z] 31603596830f: Download complete [2021-04-19T18:37:27.376Z] ecc8261a40a4: Verifying Checksum [2021-04-19T18:37:27.376Z] ecc8261a40a4: Download complete [2021-04-19T18:37:27.376Z] 6ca5941a6612: Verifying Checksum [2021-04-19T18:37:27.376Z] 6ca5941a6612: Download complete [2021-04-19T18:37:27.685Z] 31603596830f: Pull complete [2021-04-19T18:37:28.308Z] 2a8b12db71e7: Pull complete [2021-04-19T18:37:32.135Z] 6ca5941a6612: Pull complete [2021-04-19T18:37:32.863Z] ecc8261a40a4: Pull complete [2021-04-19T18:37:32.863Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-19T18:37:32.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-19T18:37:32.863Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-19T18:37:33.278Z] prd-centos7-docker-4c-2g-860 does not seem to be running inside a container [2021-04-19T18:37:33.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-886 -v /w/workspace/dgexfoundry_device-sdk-go_PR-886:/w/workspace/dgexfoundry_device-sdk-go_PR-886:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-886@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-886@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-04-19T18:37:38.440Z] $ docker top 15ff4895825490c8171e9c255951faaeb9d9e8a17d013b43bc8caf8fd7b4eb46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-19T18:37:39.205Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:37:39.205Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:37:40.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:37:40.236Z] $ docker exec 15ff4895825490c8171e9c255951faaeb9d9e8a17d013b43bc8caf8fd7b4eb46 ssh-agent [2021-04-19T18:37:40.963Z] SSH_AUTH_SOCK=/tmp/ssh-hwj10yROXTk7/agent.11 [2021-04-19T18:37:40.963Z] SSH_AGENT_PID=17 [2021-04-19T18:37:41.017Z] Running ssh-add (command line suppressed) [2021-04-19T18:37:41.402Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-886@tmp/private_key_5496467435026657185.key (/w/workspace/dgexfoundry_device-sdk-go_PR-886@tmp/private_key_5496467435026657185.key) [2021-04-19T18:37:41.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:37:42.360Z] + git tag --points-at HEAD [Pipeline] } [2021-04-19T18:37:42.557Z] $ docker exec --env ******** --env ******** 15ff4895825490c8171e9c255951faaeb9d9e8a17d013b43bc8caf8fd7b4eb46 ssh-agent -k [2021-04-19T18:37:43.129Z] unset SSH_AUTH_SOCK; [2021-04-19T18:37:43.132Z] unset SSH_AGENT_PID; [2021-04-19T18:37:43.132Z] echo Agent pid 17 killed; [2021-04-19T18:37:43.242Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-19T18:37:43.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-19T18:37:43.343Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-19T18:37:44.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-19T18:37:44.012Z] $ docker exec 15ff4895825490c8171e9c255951faaeb9d9e8a17d013b43bc8caf8fd7b4eb46 ssh-agent [2021-04-19T18:37:44.729Z] SSH_AUTH_SOCK=/tmp/ssh-UBstBBE90aHx/agent.45 [2021-04-19T18:37:44.729Z] SSH_AGENT_PID=50 [2021-04-19T18:37:44.757Z] Running ssh-add (command line suppressed) [2021-04-19T18:37:45.102Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-886@tmp/private_key_5673944454105303573.key (/w/workspace/dgexfoundry_device-sdk-go_PR-886@tmp/private_key_5673944454105303573.key) [2021-04-19T18:37:45.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-19T18:37:46.138Z] + git semver init [2021-04-19T18:37:46.138Z] # -> Open(): unable to determine branch for HEAD [2021-04-19T18:37:46.138Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-886/.git [2021-04-19T18:37:46.138Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-886 [2021-04-19T18:37:46.138Z] # $SEMVER_REMOTE_NAME = origin [2021-04-19T18:37:46.138Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-19T18:37:46.138Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-19T18:37:46.138Z] # $SEMVER_BRANCH = PR-886 [2021-04-19T18:37:46.138Z] # $SEMVER_TEMP = /tmp/semver-076726194 [2021-04-19T18:37:46.138Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-19T18:37:47.647Z] # '/tmp/semver-076726194' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-886/.semver' [2021-04-19T18:37:47.647Z] # -> Force: false [2021-04-19T18:37:47.647Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-886/.semver [Pipeline] } [2021-04-19T18:37:47.678Z] $ docker exec --env ******** --env ******** 15ff4895825490c8171e9c255951faaeb9d9e8a17d013b43bc8caf8fd7b4eb46 ssh-agent -k [2021-04-19T18:37:48.021Z] unset SSH_AUTH_SOCK; [2021-04-19T18:37:48.022Z] unset SSH_AGENT_PID; [2021-04-19T18:37:48.023Z] echo Agent pid 50 killed; [2021-04-19T18:37:48.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-19T18:37:48.646Z] + git semver [Pipeline] } [2021-04-19T18:37:48.702Z] $ docker stop --time=1 15ff4895825490c8171e9c255951faaeb9d9e8a17d013b43bc8caf8fd7b4eb46 [2021-04-19T18:37:51.081Z] $ docker rm -f 15ff4895825490c8171e9c255951faaeb9d9e8a17d013b43bc8caf8fd7b4eb46 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:37:52.318Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-19T18:37:54.987Z] Stashed 1 file(s) [Pipeline] echo [2021-04-19T18:37:55.010Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-04-19T18:38:10.513Z] Still waiting to schedule task [2021-04-19T18:38:10.513Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-871’ is offline; ‘prd-centos7-docker-4c-2g-872’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-874’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-04-19T18:38:10.552Z] Still waiting to schedule task [2021-04-19T18:38:10.552Z] ‘prd-centos7-blackbox-4c-2g-542’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-871’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-872’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-874’ is offline [2021-04-19T18:41:02.541Z] Running on prd-centos7-docker-4c-2g-888 in /w/workspace/dgexfoundry_device-sdk-go_PR-886 [Pipeline] { [Pipeline] ws [2021-04-19T18:41:02.619Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:41:04.414Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-884 in /w/workspace/dgexfoundry_device-sdk-go_PR-886 [Pipeline] { [Pipeline] ws [2021-04-19T18:41:04.484Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-19T18:41:05.950Z] using credential edgex-jenkins-ssh [2021-04-19T18:41:05.973Z] Cloning the remote Git repository [2021-04-19T18:41:05.931Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T18:41:06.017Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-19T18:41:06.097Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T18:41:06.097Z] > git --version # timeout=10 [2021-04-19T18:41:06.104Z] > git --version # 'git version 2.24.3' [2021-04-19T18:41:06.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:41:06.137Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:41:07.009Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T18:41:07.016Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:41:07.049Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T18:41:07.083Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T18:41:07.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:41:07.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/886/head:refs/remotes/origin/PR-886 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:41:07.618Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit c8eb33ad476f9c02640bbefc7809c02228b34476 [2021-04-19T18:41:07.717Z] Merge succeeded, producing c8eb33ad476f9c02640bbefc7809c02228b34476 [2021-04-19T18:41:07.717Z] Checking out Revision c8eb33ad476f9c02640bbefc7809c02228b34476 (PR-886) [2021-04-19T18:41:07.628Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:41:07.633Z] > git checkout -f c8eb33ad476f9c02640bbefc7809c02228b34476 # timeout=10 [2021-04-19T18:41:07.681Z] > git remote # timeout=10 [2021-04-19T18:41:07.688Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:41:07.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:41:07.699Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-19T18:41:07.710Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:41:07.720Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:41:07.726Z] > git checkout -f c8eb33ad476f9c02640bbefc7809c02228b34476 # timeout=10 [2021-04-19T18:41:10.752Z] using credential edgex-jenkins-ssh [2021-04-19T18:41:10.769Z] Cloning the remote Git repository [2021-04-19T18:41:10.826Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T18:41:11.398Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:41:11.426Z] > git --version # timeout=10 [2021-04-19T18:41:11.431Z] > git --version # 'git version 2.24.3' [2021-04-19T18:41:11.439Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:41:10.948Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-19T18:41:11.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T18:41:11.015Z] > git --version # timeout=10 [2021-04-19T18:41:11.031Z] > git --version # 'git version 2.17.1' [2021-04-19T18:41:11.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:41:11.120Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:41:13.335Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:41:12.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T18:41:12.918Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-19T18:41:13.280Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-19T18:41:13.325Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-19T18:41:13.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:41:13.339Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/886/head:refs/remotes/origin/PR-886 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-19T18:41:13.707Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:41:13.971Z] Merging remotes/origin/master commit 8659f99871c0873da8324f2f6a625b509cb242d1 into PR head commit c8eb33ad476f9c02640bbefc7809c02228b34476 [2021-04-19T18:41:14.056Z] + sudo service docker restart [2021-04-19T18:41:14.056Z] + true [2021-04-19T18:41:14.056Z] Redirecting to /bin/systemctl restart docker.service [2021-04-19T18:41:14.207Z] Merge succeeded, producing c8eb33ad476f9c02640bbefc7809c02228b34476 [2021-04-19T18:41:14.207Z] Checking out Revision c8eb33ad476f9c02640bbefc7809c02228b34476 (PR-886) [2021-04-19T18:41:13.991Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:41:14.008Z] > git checkout -f c8eb33ad476f9c02640bbefc7809c02228b34476 # timeout=10 [2021-04-19T18:41:14.119Z] > git remote # timeout=10 [2021-04-19T18:41:14.138Z] > git config --get remote.origin.url # timeout=10 [2021-04-19T18:41:14.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-19T18:41:14.164Z] > git merge 8659f99871c0873da8324f2f6a625b509cb242d1 # timeout=10 [2021-04-19T18:41:14.189Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-19T18:41:14.212Z] > git config core.sparsecheckout # timeout=10 [2021-04-19T18:41:14.225Z] > git checkout -f c8eb33ad476f9c02640bbefc7809c02228b34476 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:41:15.572Z] provisioning config files... [2021-04-19T18:41:15.602Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config940190615776504593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:41:16.021Z] ---> docker-login.sh [2021-04-19T18:41:16.021Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:41:16.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:16.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:16.558Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:16.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:16.558Z] [2021-04-19T18:41:16.558Z] Login Succeeded [2021-04-19T18:41:16.558Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:41:16.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:16.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:16.558Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:16.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:16.558Z] [2021-04-19T18:41:16.558Z] Login Succeeded [2021-04-19T18:41:16.558Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:41:16.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:16.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:16.823Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:16.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:16.823Z] [2021-04-19T18:41:16.823Z] Login Succeeded [2021-04-19T18:41:16.823Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:41:17.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:17.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:17.086Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:17.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:17.086Z] [2021-04-19T18:41:17.086Z] Login Succeeded [2021-04-19T18:41:17.086Z] docker.io [2021-04-19T18:41:17.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:17.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:17.351Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:17.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:17.351Z] [2021-04-19T18:41:17.352Z] Login Succeeded [2021-04-19T18:41:17.352Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:41:17.378Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T18:41:17.733Z] ========================================================= [2021-04-19T18:41:17.733Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-19T18:41:17.733Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:18.119Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-19T18:41:18.391Z] Sending build context to Docker daemon 2.451MB [2021-04-19T18:41:18.391Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:41:18.391Z] Step 2/8 : FROM ${BASE} [2021-04-19T18:41:18.391Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-19T18:41:18.391Z] 188c0c94c7c5: Pulling fs layer [2021-04-19T18:41:18.391Z] 0ef7d3d256c8: Pulling fs layer [2021-04-19T18:41:18.391Z] de9db76c5a1d: Pulling fs layer [2021-04-19T18:41:18.391Z] bca2f99d35d6: Pulling fs layer [2021-04-19T18:41:18.391Z] 93359f2a8cfa: Pulling fs layer [2021-04-19T18:41:18.391Z] 7c6f9722023f: Pulling fs layer [2021-04-19T18:41:18.391Z] a35cf1a2eb13: Pulling fs layer [2021-04-19T18:41:18.391Z] bca2f99d35d6: Waiting [2021-04-19T18:41:18.391Z] 93359f2a8cfa: Waiting [2021-04-19T18:41:18.391Z] de9db76c5a1d: Verifying Checksum [2021-04-19T18:41:18.391Z] de9db76c5a1d: Download complete [2021-04-19T18:41:18.391Z] 0ef7d3d256c8: Verifying Checksum [2021-04-19T18:41:18.391Z] 0ef7d3d256c8: Download complete [2021-04-19T18:41:18.391Z] 93359f2a8cfa: Verifying Checksum [2021-04-19T18:41:18.391Z] 93359f2a8cfa: Download complete [2021-04-19T18:41:18.391Z] 188c0c94c7c5: Download complete [2021-04-19T18:41:18.391Z] 7c6f9722023f: Verifying Checksum [2021-04-19T18:41:18.391Z] 7c6f9722023f: Download complete [2021-04-19T18:41:18.534Z] Commit message: "docs: Add badges to readme" [2021-04-19T18:41:18.595Z] > git --version # timeout=10 [2021-04-19T18:41:18.609Z] > git --version # 'git version 2.17.1' [2021-04-19T18:41:18.627Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-19T18:41:18.657Z] 188c0c94c7c5: Pull complete [2021-04-19T18:41:18.933Z] 0ef7d3d256c8: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:41:19.198Z] de9db76c5a1d: Pull complete [2021-04-19T18:41:19.781Z] a35cf1a2eb13: Verifying Checksum [2021-04-19T18:41:19.781Z] a35cf1a2eb13: Download complete [2021-04-19T18:41:20.234Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:41:20.664Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-19T18:41:21.035Z] + sudo service docker restart [2021-04-19T18:41:21.035Z] + true [2021-04-19T18:41:21.197Z] bca2f99d35d6: Verifying Checksum [2021-04-19T18:41:21.197Z] bca2f99d35d6: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-19T18:41:23.807Z] provisioning config files... [2021-04-19T18:41:23.851Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1907762188336971400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:41:24.297Z] ---> docker-login.sh [2021-04-19T18:41:24.297Z] nexus3.edgexfoundry.org:10001 [2021-04-19T18:41:25.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:25.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:25.555Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:25.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:25.555Z] [2021-04-19T18:41:25.555Z] Login Succeeded [2021-04-19T18:41:25.555Z] nexus3.edgexfoundry.org:10002 [2021-04-19T18:41:25.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:26.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:26.105Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:26.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:26.105Z] [2021-04-19T18:41:26.105Z] Login Succeeded [2021-04-19T18:41:26.106Z] nexus3.edgexfoundry.org:10003 [2021-04-19T18:41:26.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:26.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:26.660Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:26.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:26.660Z] [2021-04-19T18:41:26.660Z] Login Succeeded [2021-04-19T18:41:26.660Z] nexus3.edgexfoundry.org:10004 [2021-04-19T18:41:26.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:27.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:27.228Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:27.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:27.228Z] [2021-04-19T18:41:27.228Z] Login Succeeded [2021-04-19T18:41:27.228Z] docker.io [2021-04-19T18:41:27.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-19T18:41:27.850Z] bca2f99d35d6: Pull complete [2021-04-19T18:41:27.851Z] 93359f2a8cfa: Pull complete [2021-04-19T18:41:27.851Z] 7c6f9722023f: Pull complete [2021-04-19T18:41:28.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-19T18:41:28.099Z] Configure a credential helper to remove this warning. See [2021-04-19T18:41:28.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-19T18:41:28.099Z] [2021-04-19T18:41:28.099Z] Login Succeeded [2021-04-19T18:41:28.099Z] ---> docker-login.sh ends [Pipeline] } [2021-04-19T18:41:28.136Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-19T18:41:28.590Z] ========================================================= [2021-04-19T18:41:28.590Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-19T18:41:28.590Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:41:28.973Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-19T18:41:29.600Z] Sending build context to Docker daemon 2.45MB [2021-04-19T18:41:29.600Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:41:29.600Z] Step 2/8 : FROM ${BASE} [2021-04-19T18:41:29.600Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-19T18:41:29.600Z] 5f621e34cdf4: Pulling fs layer [2021-04-19T18:41:29.600Z] a4357932f1b6: Pulling fs layer [2021-04-19T18:41:29.600Z] 18c013af1878: Pulling fs layer [2021-04-19T18:41:29.600Z] 00ac8860ef70: Pulling fs layer [2021-04-19T18:41:29.600Z] 63d7cb157983: Pulling fs layer [2021-04-19T18:41:29.600Z] b116817d02f9: Pulling fs layer [2021-04-19T18:41:29.600Z] 745a02a5169b: Pulling fs layer [2021-04-19T18:41:29.600Z] 00ac8860ef70: Waiting [2021-04-19T18:41:29.600Z] 63d7cb157983: Waiting [2021-04-19T18:41:29.600Z] b116817d02f9: Waiting [2021-04-19T18:41:29.600Z] 745a02a5169b: Waiting [2021-04-19T18:41:29.600Z] 18c013af1878: Verifying Checksum [2021-04-19T18:41:29.600Z] 18c013af1878: Download complete [2021-04-19T18:41:29.600Z] a4357932f1b6: Verifying Checksum [2021-04-19T18:41:29.600Z] a4357932f1b6: Download complete [2021-04-19T18:41:29.600Z] 63d7cb157983: Verifying Checksum [2021-04-19T18:41:29.600Z] 63d7cb157983: Download complete [2021-04-19T18:41:29.600Z] 5f621e34cdf4: Verifying Checksum [2021-04-19T18:41:29.600Z] 5f621e34cdf4: Download complete [2021-04-19T18:41:29.600Z] b116817d02f9: Verifying Checksum [2021-04-19T18:41:29.600Z] b116817d02f9: Download complete [2021-04-19T18:41:30.201Z] 5f621e34cdf4: Pull complete [2021-04-19T18:41:30.811Z] a4357932f1b6: Pull complete [2021-04-19T18:41:31.414Z] 18c013af1878: Pull complete [2021-04-19T18:41:32.016Z] 745a02a5169b: Verifying Checksum [2021-04-19T18:41:32.017Z] 745a02a5169b: Download complete [2021-04-19T18:41:33.003Z] 00ac8860ef70: Download complete [2021-04-19T18:41:36.104Z] a35cf1a2eb13: Pull complete [2021-04-19T18:41:36.104Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-19T18:41:36.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-19T18:41:36.104Z] ---> a62c8e92a672 [2021-04-19T18:41:36.104Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T18:41:36.104Z] ---> Running in a85d7857d53c [2021-04-19T18:41:36.104Z] Removing intermediate container a85d7857d53c [2021-04-19T18:41:36.104Z] ---> 1fd457a53897 [2021-04-19T18:41:36.104Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:41:36.370Z] ---> Running in 2d257d80cda9 [2021-04-19T18:41:37.327Z] Removing intermediate container 2d257d80cda9 [2021-04-19T18:41:37.327Z] ---> a63ffbe6a017 [2021-04-19T18:41:37.327Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T18:41:37.327Z] ---> Running in 6551de1a8a53 [2021-04-19T18:41:38.721Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:39.295Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:41:39.872Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-19T18:41:39.872Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-19T18:41:39.872Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-19T18:41:39.872Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-19T18:41:40.135Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T18:41:40.135Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-19T18:41:40.135Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T18:41:40.135Z] OK: 167 MiB in 45 packages [2021-04-19T18:41:41.090Z] Removing intermediate container 6551de1a8a53 [2021-04-19T18:41:41.090Z] ---> 8101c511f4ce [2021-04-19T18:41:41.090Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-19T18:41:41.090Z] ---> Running in 71349761b739 [2021-04-19T18:41:41.090Z] Removing intermediate container 71349761b739 [2021-04-19T18:41:41.090Z] ---> 8b8300b19773 [2021-04-19T18:41:41.090Z] Step 7/8 : COPY . . [2021-04-19T18:41:42.510Z] ---> 7fc7cf9a0864 [2021-04-19T18:41:42.510Z] Step 8/8 : RUN go mod download [2021-04-19T18:41:42.511Z] ---> Running in 07d95c43c9ad [2021-04-19T18:41:43.161Z] 00ac8860ef70: Pull complete [2021-04-19T18:41:43.161Z] 63d7cb157983: Pull complete [2021-04-19T18:41:43.161Z] b116817d02f9: Pull complete [2021-04-19T18:41:46.559Z] 745a02a5169b: Pull complete [2021-04-19T18:41:46.559Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-19T18:41:46.559Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-19T18:41:46.559Z] ---> b7e6874047d6 [2021-04-19T18:41:46.559Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T18:41:49.955Z] ---> Running in 1241cdf03fd8 [2021-04-19T18:41:49.955Z] Removing intermediate container 1241cdf03fd8 [2021-04-19T18:41:49.955Z] ---> 054e16ad5d58 [2021-04-19T18:41:49.955Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:41:49.955Z] ---> Running in 54e29aff784f [2021-04-19T18:41:52.585Z] Removing intermediate container 54e29aff784f [2021-04-19T18:41:52.585Z] ---> 1a759f8a58cc [2021-04-19T18:41:52.585Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-19T18:41:52.585Z] ---> Running in dc8fca47cc5f [2021-04-19T18:41:53.570Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:41:54.161Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:41:55.130Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-19T18:41:55.130Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-19T18:41:55.130Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-19T18:41:55.130Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-19T18:41:55.403Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-19T18:41:55.403Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-19T18:41:55.680Z] Executing busybox-1.31.1-r19.trigger [2021-04-19T18:41:55.680Z] OK: 144 MiB in 45 packages [2021-04-19T18:41:56.675Z] Removing intermediate container dc8fca47cc5f [2021-04-19T18:41:56.675Z] ---> 55c51bfb3310 [2021-04-19T18:41:56.675Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-19T18:41:56.950Z] ---> Running in 056600412b78 [2021-04-19T18:41:57.545Z] Removing intermediate container 056600412b78 [2021-04-19T18:41:57.545Z] ---> d584453cd4ba [2021-04-19T18:41:57.545Z] Step 7/8 : COPY . . [2021-04-19T18:41:58.536Z] ---> 0dc75bcfdb00 [2021-04-19T18:41:58.536Z] Step 8/8 : RUN go mod download [2021-04-19T18:41:58.810Z] ---> Running in 4eca977d2914 [2021-04-19T18:42:04.556Z] Removing intermediate container 07d95c43c9ad [2021-04-19T18:42:04.556Z] ---> 3091d4daee18 [2021-04-19T18:42:04.556Z] Successfully built 3091d4daee18 [2021-04-19T18:42:04.556Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:42:04.919Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T18:42:04.919Z] . [Pipeline] withDockerContainer [2021-04-19T18:42:05.087Z] prd-centos7-docker-4c-2g-888 does not seem to be running inside a container [2021-04-19T18:42:05.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T18:42:06.058Z] $ docker top 774255ebe50e2a724dcd06eaf121fd16f47401e6135154ff4787c5d867dd40dd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:42:06.547Z] + go version [2021-04-19T18:42:06.547Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-19T18:42:06.585Z] $ docker stop --time=1 774255ebe50e2a724dcd06eaf121fd16f47401e6135154ff4787c5d867dd40dd [2021-04-19T18:42:07.939Z] $ docker rm -f 774255ebe50e2a724dcd06eaf121fd16f47401e6135154ff4787c5d867dd40dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:42:08.777Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-19T18:42:08.777Z] . [Pipeline] withDockerContainer [2021-04-19T18:42:08.908Z] prd-centos7-docker-4c-2g-888 does not seem to be running inside a container [2021-04-19T18:42:08.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-19T18:42:09.594Z] $ docker top d69787b04532ac0edc9e62f3e4cd9f791ac89a084098db50402eed41d6db376a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:42:10.099Z] + make test [2021-04-19T18:42:10.099Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T18:42:18.285Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-19T18:42:25.588Z] Removing intermediate container 4eca977d2914 [2021-04-19T18:42:25.588Z] ---> fec1159e22eb [2021-04-19T18:42:25.588Z] Successfully built fec1159e22eb [2021-04-19T18:42:25.588Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:42:26.031Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T18:42:26.031Z] . [Pipeline] withDockerContainer [2021-04-19T18:42:26.344Z] prd-ubuntu18.04-docker-arm64-4c-16g-884 does not seem to be running inside a container [2021-04-19T18:42:26.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T18:42:28.086Z] $ docker top b63ea5e5b856c82017b42f209a7b1fda0c7e80eda4a917d92472a786fbeb7d73 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:42:29.234Z] + go version [2021-04-19T18:42:29.234Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-19T18:42:29.294Z] $ docker stop --time=1 b63ea5e5b856c82017b42f209a7b1fda0c7e80eda4a917d92472a786fbeb7d73 [2021-04-19T18:42:31.213Z] $ docker rm -f b63ea5e5b856c82017b42f209a7b1fda0c7e80eda4a917d92472a786fbeb7d73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:42:32.380Z] + docker inspect -f . ci-base-image-arm64 [2021-04-19T18:42:32.380Z] . [Pipeline] withDockerContainer [2021-04-19T18:42:32.785Z] prd-ubuntu18.04-docker-arm64-4c-16g-884 does not seem to be running inside a container [2021-04-19T18:42:32.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-19T18:42:34.465Z] $ docker top 4e4911b3115dedd57dea52743ac10407f07a41da353e355ac2e5ceec82f495b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:42:35.517Z] + make test [2021-04-19T18:42:35.517Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-19T18:42:40.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-19T18:42:40.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-19T18:42:40.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-19T18:42:40.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-19T18:42:40.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-19T18:42:41.458Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 28.1% of statements [2021-04-19T18:42:41.825Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2021-04-19T18:42:42.451Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.092s coverage: 7.8% of statements [2021-04-19T18:42:42.451Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-19T18:42:42.451Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-19T18:42:42.451Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-19T18:42:42.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.0% of statements [2021-04-19T18:42:42.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-19T18:42:42.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-19T18:42:42.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-19T18:42:43.407Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 57.1% of statements [2021-04-19T18:42:43.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.216s coverage: 6.6% of statements [2021-04-19T18:42:43.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements [2021-04-19T18:42:43.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-19T18:42:43.670Z] GO111MODULE=on go vet ./... [2021-04-19T18:42:57.702Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-19T18:42:58.732Z] gofmt -l . [2021-04-19T18:42:58.732Z] [ "`gofmt -l .`" = "" ] [2021-04-19T18:42:58.732Z] ./bin/test-attribution-txt.sh [2021-04-19T18:42:59.695Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T18:42:59.996Z] $ docker stop --time=1 d69787b04532ac0edc9e62f3e4cd9f791ac89a084098db50402eed41d6db376a [2021-04-19T18:43:01.844Z] $ docker rm -f d69787b04532ac0edc9e62f3e4cd9f791ac89a084098db50402eed41d6db376a [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:43:02.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T18:43:03.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-19T18:43:04.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:43:04.734Z] + ls -al . [2021-04-19T18:43:04.734Z] total 188 [2021-04-19T18:43:04.734Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 19 18:42 . [2021-04-19T18:43:04.734Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 19 18:41 .. [2021-04-19T18:43:04.734Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 19 18:41 bin [2021-04-19T18:43:04.734Z] -rw-r--r--. 1 jenkins jenkins 100116 Apr 19 18:42 coverage.out [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 19 18:41 Dockerfile.build [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 19 18:41 .dockerignore [2021-04-19T18:43:04.734Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 19 18:41 example [2021-04-19T18:43:04.734Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 19 18:41 .git [2021-04-19T18:43:04.734Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 19 18:41 .github [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 19 18:41 .gitignore [2021-04-19T18:43:04.734Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 19 18:42 go.mod [2021-04-19T18:43:04.734Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 19 18:42 go.sum [2021-04-19T18:43:04.734Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 19 18:41 internal [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 19 18:41 Jenkinsfile [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 19 18:41 LICENSE [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 19 18:41 Makefile [2021-04-19T18:43:04.734Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 19 18:41 openapi [2021-04-19T18:43:04.734Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 19 18:41 pkg [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 19 18:41 README.md [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 19 18:41 RELEASE-NOTES.txt [2021-04-19T18:43:04.734Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 19 18:41 snap [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 19 18:37 VERSION [2021-04-19T18:43:04.734Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 19 18:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:43:05.078Z] + 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=c8eb33ad476f9c02640bbefc7809c02228b34476 --label arch=amd64 --label version=0.0.0 . [2021-04-19T18:43:05.343Z] Sending build context to Docker daemon 2.552MB [2021-04-19T18:43:05.343Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:43:05.343Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T18:43:05.343Z] ---> 3091d4daee18 [2021-04-19T18:43:05.343Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-19T18:43:05.937Z] ---> Running in 4e4215e3d1a9 [2021-04-19T18:43:06.205Z] Removing intermediate container 4e4215e3d1a9 [2021-04-19T18:43:06.205Z] ---> 8798f68f9539 [2021-04-19T18:43:06.205Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T18:43:06.205Z] ---> Running in 25e66bf6d033 [2021-04-19T18:43:06.475Z] Removing intermediate container 25e66bf6d033 [2021-04-19T18:43:06.475Z] ---> 472e55ae5a27 [2021-04-19T18:43:06.475Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:43:06.475Z] ---> Running in 569fc6bb7567 [2021-04-19T18:43:07.898Z] Removing intermediate container 569fc6bb7567 [2021-04-19T18:43:07.898Z] ---> 4e2cff0bb9e9 [2021-04-19T18:43:07.898Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T18:43:07.898Z] ---> Running in 9cd3f81d84fd [2021-04-19T18:43:08.474Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:43:09.052Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:43:09.319Z] OK: 167 MiB in 45 packages [2021-04-19T18:43:09.899Z] Removing intermediate container 9cd3f81d84fd [2021-04-19T18:43:09.899Z] ---> 176073aa39a9 [2021-04-19T18:43:09.899Z] Step 7/23 : COPY . . [2021-04-19T18:43:10.850Z] ---> 232a59e1b9f5 [2021-04-19T18:43:10.850Z] Step 8/23 : RUN go mod download [2021-04-19T18:43:10.850Z] ---> Running in 80e52f6a3a41 [2021-04-19T18:43:12.253Z] Removing intermediate container 80e52f6a3a41 [2021-04-19T18:43:12.253Z] ---> 079993b69d95 [2021-04-19T18:43:12.253Z] Step 9/23 : RUN make build [2021-04-19T18:43:12.253Z] ---> Running in 2dc8ef5b7d00 [2021-04-19T18:43:12.522Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-19T18:43:24.899Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-19T18:43:25.851Z] Removing intermediate container 2dc8ef5b7d00 [2021-04-19T18:43:25.851Z] ---> 80f9f2c25d03 [2021-04-19T18:43:25.851Z] Step 10/23 : FROM alpine:3.12 [2021-04-19T18:43:26.113Z] 3.12: Pulling from library/alpine [2021-04-19T18:43:26.376Z] 339de151aab4: Pulling fs layer [2021-04-19T18:43:26.645Z] 339de151aab4: Verifying Checksum [2021-04-19T18:43:26.645Z] 339de151aab4: Download complete [2021-04-19T18:43:26.916Z] 339de151aab4: Pull complete [2021-04-19T18:43:26.916Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T18:43:26.916Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T18:43:26.916Z] ---> 13621d1b12d4 [2021-04-19T18:43:26.916Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T18:43:26.916Z] ---> Running in 154b7d83e859 [2021-04-19T18:43:27.183Z] Removing intermediate container 154b7d83e859 [2021-04-19T18:43:27.183Z] ---> f5566d839772 [2021-04-19T18:43:27.183Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:43:27.183Z] ---> Running in 91e625698987 [2021-04-19T18:43:28.161Z] Removing intermediate container 91e625698987 [2021-04-19T18:43:28.161Z] ---> 3c72ee9950a6 [2021-04-19T18:43:28.161Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-19T18:43:28.161Z] ---> Running in 31af56c6b8a8 [2021-04-19T18:43:28.740Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-19T18:43:29.317Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-19T18:43:29.902Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-19T18:43:29.902Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-19T18:43:29.902Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-19T18:43:31.310Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-19T18:43:31.310Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-19T18:43:31.310Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T18:43:31.310Z] OK: 8 MiB in 19 packages [2021-04-19T18:43:31.887Z] Removing intermediate container 31af56c6b8a8 [2021-04-19T18:43:31.887Z] ---> aa87f5fe185b [2021-04-19T18:43:31.887Z] Step 14/23 : WORKDIR / [2021-04-19T18:43:31.887Z] ---> Running in f0b7dd314ca2 [2021-04-19T18:43:31.887Z] Removing intermediate container f0b7dd314ca2 [2021-04-19T18:43:31.887Z] ---> 890c18be69cb [2021-04-19T18:43:31.887Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-19T18:43:32.154Z] ---> 16fa90a0072a [2021-04-19T18:43:32.154Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-19T18:43:32.731Z] ---> 19e2f023464a [2021-04-19T18:43:32.731Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-19T18:43:32.994Z] ---> 223d95c20cdb [2021-04-19T18:43:32.994Z] Step 18/23 : EXPOSE 49990 [2021-04-19T18:43:32.994Z] ---> Running in d00a9db5b442 [2021-04-19T18:43:33.264Z] Removing intermediate container d00a9db5b442 [2021-04-19T18:43:33.264Z] ---> 9a6e41f8fd4e [2021-04-19T18:43:33.264Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-19T18:43:33.264Z] ---> Running in c3e1eb73c9c0 [2021-04-19T18:43:33.527Z] Removing intermediate container c3e1eb73c9c0 [2021-04-19T18:43:33.527Z] ---> 61cf015cab48 [2021-04-19T18:43:33.527Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T18:43:33.527Z] ---> Running in e419330a6454 [2021-04-19T18:43:33.789Z] Removing intermediate container e419330a6454 [2021-04-19T18:43:33.789Z] ---> 5cfc7c827db3 [2021-04-19T18:43:33.789Z] Step 21/23 : LABEL arch=amd64 [2021-04-19T18:43:33.789Z] ---> Running in b6a733a999ad [2021-04-19T18:43:34.053Z] Removing intermediate container b6a733a999ad [2021-04-19T18:43:34.053Z] ---> 18e36e2fcca9 [2021-04-19T18:43:34.053Z] Step 22/23 : LABEL git_sha=c8eb33ad476f9c02640bbefc7809c02228b34476 [2021-04-19T18:43:34.053Z] ---> Running in b073d9030337 [2021-04-19T18:43:34.053Z] Removing intermediate container b073d9030337 [2021-04-19T18:43:34.053Z] ---> d71f93518c12 [2021-04-19T18:43:34.053Z] Step 23/23 : LABEL version=0.0.0 [2021-04-19T18:43:34.316Z] ---> Running in a73fd1886e95 [2021-04-19T18:43:34.316Z] Removing intermediate container a73fd1886e95 [2021-04-19T18:43:34.316Z] ---> b79af1baab2f [2021-04-19T18:43:34.316Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T18:43:34.316Z] Successfully built b79af1baab2f [2021-04-19T18:43:34.316Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:43:35.154Z] ---> job-cost.sh [2021-04-19T18:43:35.154Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5iAs [2021-04-19T18:43:50.105Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T18:43:54.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-19T18:43:54.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-19T18:43:54.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-19T18:43:54.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-19T18:43:54.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-19T18:43:56.368Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.137s coverage: 28.1% of statements [2021-04-19T18:43:56.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.252s coverage: 78.9% of statements [2021-04-19T18:43:56.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.145s coverage: 7.8% of statements [2021-04-19T18:43:56.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-19T18:43:56.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-19T18:43:56.782Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-19T18:43:58.789Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.220s coverage: 32.0% of statements [2021-04-19T18:43:58.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-19T18:43:58.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-19T18:43:58.789Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-19T18:44:02.214Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.280s coverage: 57.1% of statements [2021-04-19T18:44:02.214Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.209s coverage: 6.6% of statements [2021-04-19T18:44:02.214Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.162s coverage: 5.0% of statements [2021-04-19T18:44:02.214Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-19T18:44:02.830Z] GO111MODULE=on go vet ./... [2021-04-19T18:44:22.352Z] lf-activate-venv(): INFO: Adding /tmp/venv-5iAs/bin to PATH [2021-04-19T18:44:22.352Z] INFO: No Stack... [2021-04-19T18:44:22.352Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T18:44:22.352Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T18:44:22.693Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-19T18:44:22.693Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T18:44:22.808Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-886-1-stack-cost] [2021-04-19T18:44:22.814Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-886-1-stack-cost] did not exist. Created. [2021-04-19T18:44:22.815Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-886-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T18:44:23.240Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-19T18:44:23.389Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T18:44:23.406Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-886-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-19T18:44:49.843Z] gofmt -l . [2021-04-19T18:44:49.843Z] [ "`gofmt -l .`" = "" ] [2021-04-19T18:44:49.843Z] ./bin/test-attribution-txt.sh [2021-04-19T18:44:49.843Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-19T18:44:49.880Z] $ docker stop --time=1 4e4911b3115dedd57dea52743ac10407f07a41da353e355ac2e5ceec82f495b3 [2021-04-19T18:44:52.177Z] $ docker rm -f 4e4911b3115dedd57dea52743ac10407f07a41da353e355ac2e5ceec82f495b3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-19T18:44:53.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-19T18:44:53.379Z] Warning: overwriting stash ‘coverage-report’ [2021-04-19T18:44:54.376Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-19T18:44:55.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-19T18:44:55.377Z] + ls -al . [2021-04-19T18:44:55.377Z] total 224 [2021-04-19T18:44:55.377Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 18:44 . [2021-04-19T18:44:55.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:41 .. [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 18:41 .dockerignore [2021-04-19T18:44:55.378Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 18:41 .git [2021-04-19T18:44:55.378Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:41 .github [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 19 18:41 .gitignore [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 19 18:41 Dockerfile.build [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 19 18:41 Jenkinsfile [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 19 18:41 LICENSE [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 19 18:41 Makefile [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 19 18:41 README.md [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 19 18:41 RELEASE-NOTES.txt [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 18:37 VERSION [2021-04-19T18:44:55.378Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 18:41 bin [2021-04-19T18:44:55.378Z] -rw-r--r-- 1 jenkins jenkins 100117 Apr 19 18:44 coverage.out [2021-04-19T18:44:55.378Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 18:41 example [2021-04-19T18:44:55.378Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 19 18:44 go.mod [2021-04-19T18:44:55.378Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 19 18:44 go.sum [2021-04-19T18:44:55.378Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 19 18:41 internal [2021-04-19T18:44:55.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:41 openapi [2021-04-19T18:44:55.378Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 19 18:41 pkg [2021-04-19T18:44:55.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 18:41 snap [2021-04-19T18:44:55.378Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 19 18:41 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:44:55.777Z] + 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=c8eb33ad476f9c02640bbefc7809c02228b34476 --label arch=arm64 --label version=0.0.0 . [2021-04-19T18:44:56.390Z] Sending build context to Docker daemon 2.551MB [2021-04-19T18:44:56.390Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-19T18:44:56.390Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-19T18:44:56.390Z] ---> fec1159e22eb [2021-04-19T18:44:56.390Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-19T18:44:56.663Z] ---> Running in a443f1625490 [2021-04-19T18:44:56.937Z] Removing intermediate container a443f1625490 [2021-04-19T18:44:56.937Z] ---> 62ee022c24a1 [2021-04-19T18:44:56.937Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T18:44:57.207Z] ---> Running in a4586e3705e1 [2021-04-19T18:44:57.476Z] Removing intermediate container a4586e3705e1 [2021-04-19T18:44:57.476Z] ---> f436654af33f [2021-04-19T18:44:57.476Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:44:57.747Z] ---> Running in e7ca9634f821 [2021-04-19T18:44:59.714Z] Removing intermediate container e7ca9634f821 [2021-04-19T18:44:59.714Z] ---> f9efc65961e0 [2021-04-19T18:44:59.714Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-19T18:44:59.714Z] ---> Running in cf008cce6065 [2021-04-19T18:45:00.686Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:45:01.655Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:45:02.247Z] OK: 144 MiB in 45 packages [2021-04-19T18:45:03.250Z] Removing intermediate container cf008cce6065 [2021-04-19T18:45:03.250Z] ---> ad2beb9835e6 [2021-04-19T18:45:03.250Z] Step 7/23 : COPY . . [2021-04-19T18:45:04.691Z] ---> 6532785e4d02 [2021-04-19T18:45:04.691Z] Step 8/23 : RUN go mod download [2021-04-19T18:45:04.691Z] ---> Running in 9d81127a8113 [2021-04-19T18:45:07.306Z] Removing intermediate container 9d81127a8113 [2021-04-19T18:45:07.306Z] ---> 480573a0ebd7 [2021-04-19T18:45:07.306Z] Step 9/23 : RUN make build [2021-04-19T18:45:07.306Z] ---> Running in 5d53a0c1343a [2021-04-19T18:45:08.289Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-04-19T18:45:40.682Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-19T18:45:43.312Z] Removing intermediate container 5d53a0c1343a [2021-04-19T18:45:43.312Z] ---> d2282a60f3d8 [2021-04-19T18:45:43.312Z] Step 10/23 : FROM alpine:3.12 [2021-04-19T18:45:43.903Z] 3.12: Pulling from library/alpine [2021-04-19T18:45:43.903Z] d2f70382dc9a: Pulling fs layer [2021-04-19T18:45:44.175Z] d2f70382dc9a: Verifying Checksum [2021-04-19T18:45:44.175Z] d2f70382dc9a: Download complete [2021-04-19T18:45:44.768Z] d2f70382dc9a: Pull complete [2021-04-19T18:45:44.768Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-19T18:45:44.768Z] Status: Downloaded newer image for alpine:3.12 [2021-04-19T18:45:44.768Z] ---> 9852663dfa18 [2021-04-19T18:45:44.768Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-19T18:45:45.359Z] ---> Running in 640ecacd629b [2021-04-19T18:45:45.635Z] Removing intermediate container 640ecacd629b [2021-04-19T18:45:45.635Z] ---> cf6e3e71b491 [2021-04-19T18:45:45.635Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-19T18:45:45.908Z] ---> Running in 63df16356a50 [2021-04-19T18:45:47.884Z] Removing intermediate container 63df16356a50 [2021-04-19T18:45:47.884Z] ---> f7237a7251cc [2021-04-19T18:45:47.884Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-19T18:45:48.156Z] ---> Running in 9d95728af089 [2021-04-19T18:45:49.131Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-19T18:45:50.104Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-19T18:45:50.699Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-19T18:45:50.699Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-19T18:45:50.699Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-19T18:45:50.969Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-19T18:45:50.969Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-19T18:45:51.240Z] Executing busybox-1.31.1-r20.trigger [2021-04-19T18:45:51.240Z] OK: 8 MiB in 19 packages [2021-04-19T18:45:52.679Z] Removing intermediate container 9d95728af089 [2021-04-19T18:45:52.679Z] ---> 6f899655ca56 [2021-04-19T18:45:52.679Z] Step 14/23 : WORKDIR / [2021-04-19T18:45:52.679Z] ---> Running in d948e0fe02a5 [2021-04-19T18:45:52.953Z] Removing intermediate container d948e0fe02a5 [2021-04-19T18:45:52.953Z] ---> 5f5776b851ce [2021-04-19T18:45:52.953Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-19T18:45:53.933Z] ---> 2832d6338beb [2021-04-19T18:45:53.933Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-19T18:45:54.908Z] ---> d008fa94c512 [2021-04-19T18:45:54.908Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-19T18:45:55.883Z] ---> 09445b9a2822 [2021-04-19T18:45:55.883Z] Step 18/23 : EXPOSE 49990 [2021-04-19T18:45:55.883Z] ---> Running in 0f1fe9b43c84 [2021-04-19T18:45:56.485Z] Removing intermediate container 0f1fe9b43c84 [2021-04-19T18:45:56.485Z] ---> 68fb51ee761f [2021-04-19T18:45:56.485Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-19T18:45:56.760Z] ---> Running in 10922ee2c342 [2021-04-19T18:45:57.360Z] Removing intermediate container 10922ee2c342 [2021-04-19T18:45:57.361Z] ---> 6719b5b4b1ec [2021-04-19T18:45:57.361Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-19T18:45:57.644Z] ---> Running in 3942916578a5 [2021-04-19T18:45:57.927Z] Removing intermediate container 3942916578a5 [2021-04-19T18:45:57.927Z] ---> c3eab4afcfda [2021-04-19T18:45:57.927Z] Step 21/23 : LABEL arch=arm64 [2021-04-19T18:45:58.201Z] ---> Running in b934d836250a [2021-04-19T18:45:58.801Z] Removing intermediate container b934d836250a [2021-04-19T18:45:58.801Z] ---> 90cff050909f [2021-04-19T18:45:58.801Z] Step 22/23 : LABEL git_sha=c8eb33ad476f9c02640bbefc7809c02228b34476 [2021-04-19T18:45:59.074Z] ---> Running in cfa1be63e1c6 [2021-04-19T18:45:59.679Z] Removing intermediate container cfa1be63e1c6 [2021-04-19T18:45:59.679Z] ---> 48588365e89a [2021-04-19T18:45:59.679Z] Step 23/23 : LABEL version=0.0.0 [2021-04-19T18:45:59.679Z] ---> Running in be0309c03aa7 [2021-04-19T18:46:00.273Z] Removing intermediate container be0309c03aa7 [2021-04-19T18:46:00.273Z] ---> fad75e882788 [2021-04-19T18:46:00.273Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-19T18:46:00.273Z] Successfully built fad75e882788 [2021-04-19T18:46:00.273Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:46:01.008Z] ---> job-cost.sh [2021-04-19T18:46:01.008Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-t31Q [2021-04-19T18:46:40.738Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-19T18:48:17.497Z] lf-activate-venv(): INFO: Adding /tmp/venv-t31Q/bin to PATH [2021-04-19T18:48:17.497Z] INFO: No Stack... [2021-04-19T18:48:17.497Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-19T18:48:17.497Z] INFO: Archiving Costs [Pipeline] sh [2021-04-19T18:48:17.858Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-19T18:48:17.858Z] + cut -d, -f6 [Pipeline] lock [2021-04-19T18:48:18.000Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-886-1-stack-cost] [2021-04-19T18:48:18.006Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-886-1-stack-cost] did not exist. Created. [2021-04-19T18:48:18.007Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-886-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-19T18:48:18.448Z] /w/workspace/device-sdk-go/1@tmp/durable-9a33f2db/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-9a33f2db/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-19T18:48:18.815Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-19T18:48:18.859Z] Warning: overwriting stash ‘stack-cost’ [2021-04-19T18:48:19.016Z] Stashed 1 file(s) [Pipeline] } [2021-04-19T18:48:19.033Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-886-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-04-19T18:48:20.109Z] provisioning config files... [2021-04-19T18:48:20.122Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-886@tmp/config7333292589685003225tmp [Pipeline] { [Pipeline] sh [2021-04-19T18:48:20.527Z] + set +x [2021-04-19T18:48:20.527Z] + curl -s https://codecov.io/bash [2021-04-19T18:48:20.527Z] + bash -s -- [2021-04-19T18:48:20.809Z] [2021-04-19T18:48:20.809Z] _____ _ [2021-04-19T18:48:20.809Z] / ____| | | [2021-04-19T18:48:20.809Z] | | ___ __| | ___ ___ _____ __ [2021-04-19T18:48:20.809Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-19T18:48:20.809Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-19T18:48:20.809Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-19T18:48:20.809Z] Bash-1.0.1 [2021-04-19T18:48:20.809Z] [2021-04-19T18:48:20.809Z] [2021-04-19T18:48:20.809Z] ==> git version 2.24.3 found [2021-04-19T18:48:20.809Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-04-19T18:48:20.809Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-19T18:48:20.809Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-19T18:48:20.809Z] ==> Jenkins CI detected. [2021-04-19T18:48:20.809Z] project root: . [2021-04-19T18:48:20.809Z] --> token set from env [2021-04-19T18:48:20.809Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-19T18:48:20.809Z] ==> Running gcov in . (disable via -X gcov) [2021-04-19T18:48:20.809Z] ==> Python coveragepy not found [2021-04-19T18:48:20.809Z] ==> Searching for coverage reports in: [2021-04-19T18:48:20.809Z] + . [2021-04-19T18:48:20.809Z] -> Found 1 reports [2021-04-19T18:48:20.809Z] ==> Detecting git/mercurial file structure [2021-04-19T18:48:20.809Z] ==> Reading reports [2021-04-19T18:48:20.809Z] + ./coverage.out bytes=100117 [2021-04-19T18:48:20.809Z] ==> Appending adjustments [2021-04-19T18:48:20.809Z] https://docs.codecov.io/docs/fixing-reports [2021-04-19T18:48:21.397Z] + Found adjustments [2021-04-19T18:48:21.397Z] ==> Gzipping contents [2021-04-19T18:48:21.397Z] 16K /tmp/codecov.l1L9KH.gz [2021-04-19T18:48:21.397Z] ==> Uploading reports [2021-04-19T18:48:21.397Z] url: https://codecov.io [2021-04-19T18:48:21.397Z] query: branch=PR-886&commit=c8eb33ad476f9c02640bbefc7809c02228b34476&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-886%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=886&job=&cmd_args= [2021-04-19T18:48:21.397Z] -> Pinging Codecov [2021-04-19T18:48:21.397Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-886&commit=c8eb33ad476f9c02640bbefc7809c02228b34476&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-886%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=886&job=&cmd_args= [2021-04-19T18:48:21.977Z] -> Uploading to [2021-04-19T18:48:21.977Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-19/7E55EF52A471D76F132DFD9A03CDDE97/c8eb33ad476f9c02640bbefc7809c02228b34476/328fbef7-f679-4481-a42b-a5d6c8e86951.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210419T184821Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cdee47fa4e9685c13e96a0f69e9f6174dcf01882e2ab17bfc8df5b949536024 [2021-04-19T18:48:21.977Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-19T18:48:21.977Z] Dload Upload Total Spent Left Speed [2021-04-19T18:48:22.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13491 0 0 100 13491 0 33817 --:--:-- --:--:-- --:--:-- 33896 [2021-04-19T18:48:22.241Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c8eb33ad476f9c02640bbefc7809c02228b34476 [Pipeline] } [2021-04-19T18:48:22.269Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:48:24.309Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:48:24.924Z] ---> package-listing.sh [2021-04-19T18:48:24.924Z] ++ facter osfamily [2021-04-19T18:48:24.924Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-19T18:48:24.924Z] + OS_FAMILY=redhat [2021-04-19T18:48:24.924Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-886 [2021-04-19T18:48:24.924Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-19T18:48:24.924Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-19T18:48:24.924Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-19T18:48:24.924Z] + PACKAGES=/tmp/packages_start.txt [2021-04-19T18:48:24.924Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-886 ']' [2021-04-19T18:48:24.924Z] + PACKAGES=/tmp/packages_end.txt [2021-04-19T18:48:24.924Z] + case "${OS_FAMILY}" in [2021-04-19T18:48:24.924Z] + rpm -qa [2021-04-19T18:48:24.924Z] + sort [2021-04-19T18:48:33.196Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-19T18:48:33.196Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-19T18:48:33.196Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-19T18:48:33.196Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-886 ']' [2021-04-19T18:48:33.196Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-886/archives/ [2021-04-19T18:48:33.196Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-886/archives/ [Pipeline] echo [2021-04-19T18:48:33.242Z] 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-886/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-19T18:48:33.608Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:48:34.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:48:34.539Z] [2021-04-19T18:48:34.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-19T18:48:35.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:48:35.014Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-19T18:48:35.014Z] df20fa9351a1: Pulling fs layer [2021-04-19T18:48:35.014Z] 36b3adc4ff6f: Pulling fs layer [2021-04-19T18:48:35.014Z] 8ad3a11d3b57: Pulling fs layer [2021-04-19T18:48:35.014Z] 46f8f816bc3b: Pulling fs layer [2021-04-19T18:48:35.014Z] 93b61091891f: Pulling fs layer [2021-04-19T18:48:35.014Z] 93b9cdb0e59b: Pulling fs layer [2021-04-19T18:48:35.014Z] 5e14af77c1be: Pulling fs layer [2021-04-19T18:48:35.014Z] 01666e4c0597: Pulling fs layer [2021-04-19T18:48:35.014Z] aa168da1d23b: Pulling fs layer [2021-04-19T18:48:35.014Z] 93b9cdb0e59b: Waiting [2021-04-19T18:48:35.014Z] 5e14af77c1be: Waiting [2021-04-19T18:48:35.014Z] 01666e4c0597: Waiting [2021-04-19T18:48:35.014Z] aa168da1d23b: Waiting [2021-04-19T18:48:35.014Z] 46f8f816bc3b: Waiting [2021-04-19T18:48:35.014Z] 93b61091891f: Waiting [2021-04-19T18:48:35.288Z] 36b3adc4ff6f: Verifying Checksum [2021-04-19T18:48:35.288Z] 36b3adc4ff6f: Download complete [2021-04-19T18:48:35.289Z] 46f8f816bc3b: Verifying Checksum [2021-04-19T18:48:35.289Z] 46f8f816bc3b: Download complete [2021-04-19T18:48:35.289Z] df20fa9351a1: Verifying Checksum [2021-04-19T18:48:35.289Z] df20fa9351a1: Download complete [2021-04-19T18:48:35.289Z] 93b9cdb0e59b: Verifying Checksum [2021-04-19T18:48:35.289Z] 93b9cdb0e59b: Download complete [2021-04-19T18:48:35.289Z] 5e14af77c1be: Verifying Checksum [2021-04-19T18:48:35.289Z] 5e14af77c1be: Download complete [2021-04-19T18:48:35.289Z] 93b61091891f: Verifying Checksum [2021-04-19T18:48:35.289Z] 93b61091891f: Download complete [2021-04-19T18:48:35.289Z] 01666e4c0597: Verifying Checksum [2021-04-19T18:48:35.289Z] 01666e4c0597: Download complete [2021-04-19T18:48:35.561Z] 8ad3a11d3b57: Verifying Checksum [2021-04-19T18:48:35.561Z] 8ad3a11d3b57: Download complete [2021-04-19T18:48:36.159Z] df20fa9351a1: Pull complete [2021-04-19T18:48:36.429Z] 36b3adc4ff6f: Pull complete [2021-04-19T18:48:38.440Z] 8ad3a11d3b57: Pull complete [2021-04-19T18:48:38.712Z] 46f8f816bc3b: Pull complete [2021-04-19T18:48:39.400Z] aa168da1d23b: Verifying Checksum [2021-04-19T18:48:39.400Z] aa168da1d23b: Download complete [2021-04-19T18:48:39.672Z] 93b61091891f: Pull complete [2021-04-19T18:48:39.672Z] 93b9cdb0e59b: Pull complete [2021-04-19T18:48:39.940Z] 5e14af77c1be: Pull complete [2021-04-19T18:48:40.528Z] 01666e4c0597: Pull complete [2021-04-19T18:48:58.904Z] aa168da1d23b: Pull complete [2021-04-19T18:48:58.904Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-19T18:48:58.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-19T18:48:58.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-19T18:48:59.393Z] prd-centos7-docker-4c-2g-860 does not seem to be running inside a container [2021-04-19T18:48:59.511Z] $ 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-886/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-886 -v /w/workspace/dgexfoundry_device-sdk-go_PR-886:/w/workspace/dgexfoundry_device-sdk-go_PR-886:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-886@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-886@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-04-19T18:49:03.564Z] $ docker top 83c68e46ad6ab42bf934aa35ea78c7afac7e96197f654085d177968ee1917818 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-19T18:49:04.605Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-19T18:49:04.951Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-19T18:49:05.331Z] + ls /var/log/sa-host [2021-04-19T18:49:05.331Z] + sadf -c /var/log/sa-host/sa19 [2021-04-19T18:49:05.332Z] file_magic: OK [2021-04-19T18:49:05.332Z] HZ: Using current value: 100 [2021-04-19T18:49:05.332Z] file_header: OK [2021-04-19T18:49:05.332Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T18:49:05.332Z] Statistics: [2021-04-19T18:49:05.332Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-19T18:49:05.332Z] File successfully converted to sysstat format version 12.2.1 [2021-04-19T18:49:05.332Z] + sadf -c /var/log/sa-host/sa23 [2021-04-19T18:49:05.332Z] file_magic: OK [2021-04-19T18:49:05.332Z] HZ: Using current value: 100 [2021-04-19T18:49:05.332Z] file_header: OK [2021-04-19T18:49:05.332Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-04-19T18:49:05.332Z] Statistics: [2021-04-19T18:49:05.332Z] Hnuu...uuuununununu... [2021-04-19T18:49:05.332Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-19T18:49:05.678Z] provisioning config files... [2021-04-19T18:49:05.714Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-886@tmp/config2639282769385753883tmp [Pipeline] { [Pipeline] echo [2021-04-19T18:49:05.812Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:49:06.611Z] ---> create-netrc.sh [Pipeline] } [2021-04-19T18:49:06.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-19T18:49:06.721Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:49:07.604Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-19T18:49:07.647Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:49:07.999Z] ---> sudo-logs.sh [2021-04-19T18:49:07.999Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-19T18:49:08.097Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:49:08.450Z] ---> job-cost.sh [2021-04-19T18:49:08.450Z] lf-activate-venv: SKIPPING [2021-04-19T18:49:08.450Z] DEBUG: total: 0.20999999344348907 [2021-04-19T18:49:08.450Z] INFO: Retrieving Stack Cost... [2021-04-19T18:49:09.406Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-19T18:49:09.669Z] INFO: Archiving Costs [Pipeline] echo [2021-04-19T18:49:09.726Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-19T18:49:10.080Z] ---> logs-deploy.sh [2021-04-19T18:49:10.080Z] lf-activate-venv: SKIPPING [2021-04-19T18:49:10.080Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-886/1 [2021-04-19T18:49:10.080Z] INFO: archiving workspace using pattern(s): [2021-04-19T18:49:13.592Z] Archives upload complete. [2021-04-19T18:49:13.592Z] INFO: archiving logs to Nexus