Pull request #875 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9aaf5a892ec513d80b0dcead670ae6919708e512+c62645d0ab1012df8ad15b74000ef7e30c377aaa (5ec8e4a44b3928077e670713085dd8d48081d051) 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-875/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-875/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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-33861 in /w/workspace/dgexfoundry_device-sdk-go_PR-875 [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-875 # 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 c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit 9aaf5a892ec513d80b0dcead670ae6919708e512 Merge succeeded, producing 9aaf5a892ec513d80b0dcead670ae6919708e512 Checking out Revision 9aaf5a892ec513d80b0dcead670ae6919708e512 (PR-875) > 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/875/head:refs/remotes/origin/PR-875 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9aaf5a892ec513d80b0dcead670ae6919708e512 # 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 c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9aaf5a892ec513d80b0dcead670ae6919708e512 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 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-13T05:59:12.292Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-13T05:59:12.661Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-13T05:59:12.893Z] ========================================================= [2021-04-13T05:59:12.893Z] EdgeX Global Pipelines Version Info [2021-04-13T05:59:12.893Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-13T05:59:14.429Z] ------------------- [2021-04-13T05:59:14.429Z] stable info: [2021-04-13T05:59:14.429Z] ------------------- [2021-04-13T05:59:14.429Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-13T05:59:14.429Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-13T05:59:14.429Z] Message: update stable to v1.0.186 [2021-04-13T05:59:15.383Z] ------------------- [2021-04-13T05:59:15.383Z] experimental info: [2021-04-13T05:59:15.383Z] ------------------- [2021-04-13T05:59:15.383Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-13T05:59:15.383Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-13T05:59:15.383Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-13T05:59:15.827Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-13T05:59:16.020Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-13T05:59:16.144Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-13T05:59:16.279Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-13T05:59:16.424Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-13T05:59:16.554Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-13T05:59:16.675Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-13T05:59:16.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-13T05:59:16.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-13T05:59:17.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-13T05:59:17.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-13T05:59:17.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-13T05:59:17.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-13T05:59:17.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-13T05:59:17.788Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-13T05:59:17.993Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-13T05:59:18.119Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-13T05:59:18.371Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-13T05:59:18.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-13T05:59:18.637Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-13T05:59:18.768Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-13T05:59:18.899Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-13T05:59:19.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-13T05:59:19.191Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-13T05:59:19.323Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-13T05:59:19.451Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-13T05:59:19.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-875 [Pipeline] echo [2021-04-13T05:59:19.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-875 [Pipeline] echo [2021-04-13T05:59:19.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-875 [Pipeline] echo [2021-04-13T05:59:19.950Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9aaf5a892ec513d80b0dcead670ae6919708e512 [Pipeline] echo [2021-04-13T05:59:20.081Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9aaf5a8 [Pipeline] echo [2021-04-13T05:59:20.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T05:59:20.563Z] provisioning config files... [2021-04-13T05:59:20.599Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp/config3596020022578898661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T05:59:21.052Z] ---> docker-login.sh [2021-04-13T05:59:21.052Z] nexus3.edgexfoundry.org:10001 [2021-04-13T05:59:21.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T05:59:21.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T05:59:21.319Z] Configure a credential helper to remove this warning. See [2021-04-13T05:59:21.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T05:59:21.319Z] [2021-04-13T05:59:21.319Z] Login Succeeded [2021-04-13T05:59:21.319Z] nexus3.edgexfoundry.org:10002 [2021-04-13T05:59:21.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T05:59:21.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T05:59:21.587Z] Configure a credential helper to remove this warning. See [2021-04-13T05:59:21.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T05:59:21.587Z] [2021-04-13T05:59:21.587Z] Login Succeeded [2021-04-13T05:59:21.587Z] nexus3.edgexfoundry.org:10003 [2021-04-13T05:59:21.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T05:59:21.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T05:59:21.849Z] Configure a credential helper to remove this warning. See [2021-04-13T05:59:21.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T05:59:21.849Z] [2021-04-13T05:59:21.849Z] Login Succeeded [2021-04-13T05:59:21.849Z] nexus3.edgexfoundry.org:10004 [2021-04-13T05:59:21.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T05:59:22.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T05:59:22.113Z] Configure a credential helper to remove this warning. See [2021-04-13T05:59:22.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T05:59:22.113Z] [2021-04-13T05:59:22.113Z] Login Succeeded [2021-04-13T05:59:22.113Z] docker.io [2021-04-13T05:59:22.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T05:59:22.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T05:59:22.377Z] Configure a credential helper to remove this warning. See [2021-04-13T05:59:22.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T05:59:22.377Z] [2021-04-13T05:59:22.377Z] Login Succeeded [2021-04-13T05:59:22.377Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T05:59:22.411Z] 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-13T05:59:23.480Z] + git log --format=format:%s -1 9aaf5a892ec513d80b0dcead670ae6919708e512 [Pipeline] echo [2021-04-13T05:59:23.565Z] GIT_COMMIT: 9aaf5a892ec513d80b0dcead670ae6919708e512, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-04-13T05:59:23.637Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-13T05:59:25.006Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T05:59:25.006Z] [2021-04-13T05:59:25.006Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T05:59:25.407Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T05:59:25.408Z] latest: Pulling from edgex-devops/git-semver [2021-04-13T05:59:25.408Z] 31603596830f: Pulling fs layer [2021-04-13T05:59:25.408Z] 2a8b12db71e7: Pulling fs layer [2021-04-13T05:59:25.408Z] 6ca5941a6612: Pulling fs layer [2021-04-13T05:59:25.408Z] ecc8261a40a4: Pulling fs layer [2021-04-13T05:59:25.408Z] ecc8261a40a4: Waiting [2021-04-13T05:59:25.408Z] 2a8b12db71e7: Verifying Checksum [2021-04-13T05:59:25.408Z] 2a8b12db71e7: Download complete [2021-04-13T05:59:25.697Z] 31603596830f: Verifying Checksum [2021-04-13T05:59:25.697Z] 31603596830f: Download complete [2021-04-13T05:59:25.697Z] ecc8261a40a4: Verifying Checksum [2021-04-13T05:59:25.697Z] ecc8261a40a4: Download complete [2021-04-13T05:59:25.697Z] 6ca5941a6612: Verifying Checksum [2021-04-13T05:59:25.697Z] 6ca5941a6612: Download complete [2021-04-13T05:59:26.012Z] 31603596830f: Pull complete [2021-04-13T05:59:26.012Z] 2a8b12db71e7: Pull complete [2021-04-13T05:59:27.004Z] 6ca5941a6612: Pull complete [2021-04-13T05:59:27.273Z] ecc8261a40a4: Pull complete [2021-04-13T05:59:27.273Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-13T05:59:27.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-13T05:59:27.273Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-13T05:59:27.406Z] prd-centos7-docker-4c-2g-33861 does not seem to be running inside a container [2021-04-13T05:59:27.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-875 -v /w/workspace/dgexfoundry_device-sdk-go_PR-875:/w/workspace/dgexfoundry_device-sdk-go_PR-875:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-875@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-13T05:59:29.576Z] $ docker top 599d647039689b0b02a142bf2c76ac92743ab86e6a1a7c232f50ac6c1d361d79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-13T05:59:29.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T05:59:29.930Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T05:59:30.153Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T05:59:30.158Z] $ docker exec 599d647039689b0b02a142bf2c76ac92743ab86e6a1a7c232f50ac6c1d361d79 ssh-agent [2021-04-13T05:59:30.327Z] SSH_AUTH_SOCK=/tmp/ssh-qkKRiFl2eXZl/agent.13 [2021-04-13T05:59:30.328Z] SSH_AGENT_PID=19 [2021-04-13T05:59:30.337Z] Running ssh-add (command line suppressed) [2021-04-13T05:59:30.457Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp/private_key_8307010636626748146.key (/w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp/private_key_8307010636626748146.key) [2021-04-13T05:59:30.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T05:59:30.875Z] + git tag --points-at HEAD [Pipeline] } [2021-04-13T05:59:30.910Z] $ docker exec --env ******** --env ******** 599d647039689b0b02a142bf2c76ac92743ab86e6a1a7c232f50ac6c1d361d79 ssh-agent -k [2021-04-13T05:59:31.036Z] unset SSH_AUTH_SOCK; [2021-04-13T05:59:31.037Z] unset SSH_AGENT_PID; [2021-04-13T05:59:31.037Z] echo Agent pid 19 killed; [2021-04-13T05:59:31.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-13T05:59:31.259Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-13T05:59:31.259Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-13T05:59:31.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-13T05:59:31.441Z] $ docker exec 599d647039689b0b02a142bf2c76ac92743ab86e6a1a7c232f50ac6c1d361d79 ssh-agent [2021-04-13T05:59:31.605Z] SSH_AUTH_SOCK=/tmp/ssh-nLZI50wdO71N/agent.48 [2021-04-13T05:59:31.605Z] SSH_AGENT_PID=53 [2021-04-13T05:59:31.612Z] Running ssh-add (command line suppressed) [2021-04-13T05:59:31.733Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp/private_key_7646610231389376721.key (/w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp/private_key_7646610231389376721.key) [2021-04-13T05:59:31.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-13T05:59:32.171Z] + git semver init [2021-04-13T05:59:32.171Z] # -> Open(): unable to determine branch for HEAD [2021-04-13T05:59:32.171Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-875/.git [2021-04-13T05:59:32.171Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-875 [2021-04-13T05:59:32.171Z] # $SEMVER_REMOTE_NAME = origin [2021-04-13T05:59:32.171Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-13T05:59:32.171Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-13T05:59:32.171Z] # $SEMVER_BRANCH = PR-875 [2021-04-13T05:59:32.171Z] # $SEMVER_TEMP = /tmp/semver-639353856 [2021-04-13T05:59:32.171Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-13T05:59:33.115Z] # '/tmp/semver-639353856' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-875/.semver' [2021-04-13T05:59:33.115Z] # -> Force: false [2021-04-13T05:59:33.115Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-875/.semver [Pipeline] } [2021-04-13T05:59:33.141Z] $ docker exec --env ******** --env ******** 599d647039689b0b02a142bf2c76ac92743ab86e6a1a7c232f50ac6c1d361d79 ssh-agent -k [2021-04-13T05:59:33.262Z] unset SSH_AUTH_SOCK; [2021-04-13T05:59:33.263Z] unset SSH_AGENT_PID; [2021-04-13T05:59:33.263Z] echo Agent pid 53 killed; [2021-04-13T05:59:33.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-13T05:59:33.863Z] + git semver [Pipeline] } [2021-04-13T05:59:33.895Z] $ docker stop --time=1 599d647039689b0b02a142bf2c76ac92743ab86e6a1a7c232f50ac6c1d361d79 [2021-04-13T05:59:35.387Z] $ docker rm -f 599d647039689b0b02a142bf2c76ac92743ab86e6a1a7c232f50ac6c1d361d79 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-13T05:59:35.909Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-13T05:59:36.362Z] Stashed 1 file(s) [Pipeline] echo [2021-04-13T05:59:36.384Z] [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-13T05:59:52.244Z] Still waiting to schedule task [2021-04-13T05:59:52.244Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-04-13T05:59:52.271Z] Still waiting to schedule task [2021-04-13T05:59:52.271Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-04-13T06:01:13.899Z] Running on prd-centos7-docker-4c-2g-33862 in /w/workspace/dgexfoundry_device-sdk-go_PR-875 [Pipeline] { [Pipeline] ws [2021-04-13T06:01:14.003Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-13T06:01:16.799Z] using credential edgex-jenkins-ssh [2021-04-13T06:01:16.858Z] Cloning the remote Git repository [2021-04-13T06:01:16.745Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T06:01:16.854Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-13T06:01:16.923Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T06:01:16.924Z] > git --version # timeout=10 [2021-04-13T06:01:16.930Z] > git --version # 'git version 2.24.3' [2021-04-13T06:01:16.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T06:01:16.965Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T06:01:18.403Z] Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit 9aaf5a892ec513d80b0dcead670ae6919708e512 [2021-04-13T06:01:17.853Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-13T06:01:17.859Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T06:01:17.874Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-13T06:01:17.890Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T06:01:17.891Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T06:01:17.896Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-13T06:01:18.391Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T06:01:18.399Z] > git checkout -f 9aaf5a892ec513d80b0dcead670ae6919708e512 # timeout=10 [2021-04-13T06:01:18.445Z] > git remote # timeout=10 [2021-04-13T06:01:18.451Z] > git config --get remote.origin.url # timeout=10 [2021-04-13T06:01:18.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T06:01:18.494Z] Merge succeeded, producing 9aaf5a892ec513d80b0dcead670ae6919708e512 [2021-04-13T06:01:18.495Z] Checking out Revision 9aaf5a892ec513d80b0dcead670ae6919708e512 (PR-875) [2021-04-13T06:01:18.462Z] > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 [2021-04-13T06:01:18.472Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-13T06:01:18.483Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T06:01:18.487Z] > git checkout -f 9aaf5a892ec513d80b0dcead670ae6919708e512 # timeout=10 [2021-04-13T06:01:22.203Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-13T06:01:22.227Z] > git --version # timeout=10 [2021-04-13T06:01:22.231Z] > git --version # 'git version 2.24.3' [2021-04-13T06:01:22.237Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T06:01:23.810Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-13T06:01:24.170Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-13T06:01:24.497Z] + sudo service docker restart [2021-04-13T06:01:24.497Z] + true [2021-04-13T06:01:24.497Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T06:01:25.573Z] provisioning config files... [2021-04-13T06:01:25.605Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6029599496029658605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T06:01:26.072Z] ---> docker-login.sh [2021-04-13T06:01:26.072Z] nexus3.edgexfoundry.org:10001 [2021-04-13T06:01:26.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:01:26.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:01:26.598Z] Configure a credential helper to remove this warning. See [2021-04-13T06:01:26.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:01:26.598Z] [2021-04-13T06:01:26.598Z] Login Succeeded [2021-04-13T06:01:26.598Z] nexus3.edgexfoundry.org:10002 [2021-04-13T06:01:26.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:01:26.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:01:26.598Z] Configure a credential helper to remove this warning. See [2021-04-13T06:01:26.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:01:26.598Z] [2021-04-13T06:01:26.598Z] Login Succeeded [2021-04-13T06:01:26.598Z] nexus3.edgexfoundry.org:10003 [2021-04-13T06:01:26.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:01:26.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:01:26.863Z] Configure a credential helper to remove this warning. See [2021-04-13T06:01:26.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:01:26.863Z] [2021-04-13T06:01:26.863Z] Login Succeeded [2021-04-13T06:01:26.863Z] nexus3.edgexfoundry.org:10004 [2021-04-13T06:01:26.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:01:27.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:01:27.129Z] Configure a credential helper to remove this warning. See [2021-04-13T06:01:27.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:01:27.129Z] [2021-04-13T06:01:27.129Z] Login Succeeded [2021-04-13T06:01:27.129Z] docker.io [2021-04-13T06:01:27.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:01:27.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:01:27.393Z] Configure a credential helper to remove this warning. See [2021-04-13T06:01:27.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:01:27.393Z] [2021-04-13T06:01:27.393Z] Login Succeeded [2021-04-13T06:01:27.393Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T06:01:27.417Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-13T06:01:27.974Z] ========================================================= [2021-04-13T06:01:27.974Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-13T06:01:27.974Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:01:28.391Z] + 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-13T06:01:28.658Z] Sending build context to Docker daemon 2.404MB [2021-04-13T06:01:28.658Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T06:01:28.658Z] Step 2/8 : FROM ${BASE} [2021-04-13T06:01:28.658Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-13T06:01:28.658Z] 188c0c94c7c5: Pulling fs layer [2021-04-13T06:01:28.658Z] 0ef7d3d256c8: Pulling fs layer [2021-04-13T06:01:28.658Z] de9db76c5a1d: Pulling fs layer [2021-04-13T06:01:28.658Z] bca2f99d35d6: Pulling fs layer [2021-04-13T06:01:28.658Z] 93359f2a8cfa: Pulling fs layer [2021-04-13T06:01:28.658Z] 7c6f9722023f: Pulling fs layer [2021-04-13T06:01:28.658Z] a35cf1a2eb13: Pulling fs layer [2021-04-13T06:01:28.659Z] bca2f99d35d6: Waiting [2021-04-13T06:01:28.659Z] 93359f2a8cfa: Waiting [2021-04-13T06:01:28.659Z] 7c6f9722023f: Waiting [2021-04-13T06:01:28.659Z] a35cf1a2eb13: Waiting [2021-04-13T06:01:28.659Z] de9db76c5a1d: Download complete [2021-04-13T06:01:28.659Z] 0ef7d3d256c8: Verifying Checksum [2021-04-13T06:01:28.659Z] 0ef7d3d256c8: Download complete [2021-04-13T06:01:28.659Z] 93359f2a8cfa: Verifying Checksum [2021-04-13T06:01:28.659Z] 93359f2a8cfa: Download complete [2021-04-13T06:01:28.659Z] 7c6f9722023f: Verifying Checksum [2021-04-13T06:01:28.659Z] 7c6f9722023f: Download complete [2021-04-13T06:01:28.659Z] 188c0c94c7c5: Verifying Checksum [2021-04-13T06:01:28.659Z] 188c0c94c7c5: Download complete [2021-04-13T06:01:28.937Z] 188c0c94c7c5: Pull complete [2021-04-13T06:01:29.200Z] 0ef7d3d256c8: Pull complete [2021-04-13T06:01:29.200Z] de9db76c5a1d: Pull complete [2021-04-13T06:01:31.763Z] a35cf1a2eb13: Verifying Checksum [2021-04-13T06:01:31.763Z] a35cf1a2eb13: Download complete [2021-04-13T06:01:32.027Z] bca2f99d35d6: Verifying Checksum [2021-04-13T06:01:32.028Z] bca2f99d35d6: Download complete [2021-04-13T06:01:37.384Z] bca2f99d35d6: Pull complete [2021-04-13T06:01:37.384Z] 93359f2a8cfa: Pull complete [2021-04-13T06:01:37.384Z] 7c6f9722023f: Pull complete [2021-04-13T06:01:44.012Z] a35cf1a2eb13: Pull complete [2021-04-13T06:01:44.012Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-13T06:01:44.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-13T06:01:44.012Z] ---> a62c8e92a672 [2021-04-13T06:01:44.012Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T06:01:44.275Z] ---> Running in 7ccaaf0210b1 [2021-04-13T06:01:44.543Z] Removing intermediate container 7ccaaf0210b1 [2021-04-13T06:01:44.543Z] ---> d08b4cd78659 [2021-04-13T06:01:44.543Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T06:01:44.543Z] ---> Running in d5cc1f4a82b0 [2021-04-13T06:01:45.949Z] Removing intermediate container d5cc1f4a82b0 [2021-04-13T06:01:45.949Z] ---> deda3f419184 [2021-04-13T06:01:45.949Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-13T06:01:45.949Z] ---> Running in 2bdd35921439 [2021-04-13T06:01:47.343Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T06:01:47.919Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T06:01:48.185Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-13T06:01:48.185Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-13T06:01:48.448Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-13T06:01:48.448Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-13T06:01:48.448Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-13T06:01:48.711Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-13T06:01:48.711Z] Executing busybox-1.31.1-r19.trigger [2021-04-13T06:01:48.711Z] OK: 167 MiB in 45 packages [2021-04-13T06:01:49.294Z] Removing intermediate container 2bdd35921439 [2021-04-13T06:01:49.294Z] ---> 67325d6cf634 [2021-04-13T06:01:49.294Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-13T06:01:49.294Z] ---> Running in 86211585e9ac [2021-04-13T06:01:49.557Z] Removing intermediate container 86211585e9ac [2021-04-13T06:01:49.557Z] ---> da31d6142afd [2021-04-13T06:01:49.557Z] Step 7/8 : COPY . . [2021-04-13T06:01:50.960Z] ---> fe4f66e7a8a4 [2021-04-13T06:01:50.960Z] Step 8/8 : RUN go mod download [2021-04-13T06:01:50.960Z] ---> Running in 7a669609741c [2021-04-13T06:02:13.013Z] Removing intermediate container 7a669609741c [2021-04-13T06:02:13.013Z] ---> 16c98255de15 [2021-04-13T06:02:13.013Z] Successfully built 16c98255de15 [2021-04-13T06:02:13.013Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:02:13.369Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-13T06:02:13.369Z] . [Pipeline] withDockerContainer [2021-04-13T06:02:13.515Z] prd-centos7-docker-4c-2g-33862 does not seem to be running inside a container [2021-04-13T06:02:13.562Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-13T06:02:14.360Z] $ docker top 74d9ce93d7a3c884e58c6f78098c81d924e2453d208992820e3694fab132e1a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T06:02:14.948Z] + go version [2021-04-13T06:02:14.948Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-13T06:02:14.975Z] $ docker stop --time=1 74d9ce93d7a3c884e58c6f78098c81d924e2453d208992820e3694fab132e1a2 [2021-04-13T06:02:16.357Z] $ docker rm -f 74d9ce93d7a3c884e58c6f78098c81d924e2453d208992820e3694fab132e1a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:02:17.582Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-13T06:02:17.583Z] . [Pipeline] withDockerContainer [2021-04-13T06:02:17.708Z] prd-centos7-docker-4c-2g-33862 does not seem to be running inside a container [2021-04-13T06:02:17.762Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-13T06:02:18.371Z] $ docker top f164bc41fc05b841341d8fefa6edafeca500d3a9f5220c6bdf23d49e3320806c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T06:02:18.897Z] + make test [2021-04-13T06:02:18.897Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-13T06:02:22.206Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-33863 in /w/workspace/dgexfoundry_device-sdk-go_PR-875 [Pipeline] { [Pipeline] ws [2021-04-13T06:02:22.313Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-13T06:02:27.102Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-13T06:02:27.391Z] using credential edgex-jenkins-ssh [2021-04-13T06:02:27.454Z] Cloning the remote Git repository [2021-04-13T06:02:27.505Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T06:02:27.607Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-13T06:02:27.675Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T06:02:27.676Z] > git --version # timeout=10 [2021-04-13T06:02:27.694Z] > git --version # 'git version 2.17.1' [2021-04-13T06:02:27.695Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T06:02:27.767Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T06:02:29.608Z] Merging remotes/origin/master commit c62645d0ab1012df8ad15b74000ef7e30c377aaa into PR head commit 9aaf5a892ec513d80b0dcead670ae6919708e512 [2021-04-13T06:02:29.905Z] Merge succeeded, producing 9aaf5a892ec513d80b0dcead670ae6919708e512 [2021-04-13T06:02:29.906Z] Checking out Revision 9aaf5a892ec513d80b0dcead670ae6919708e512 (PR-875) [2021-04-13T06:02:28.939Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-13T06:02:28.961Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-13T06:02:28.984Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-13T06:02:29.034Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-13T06:02:29.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T06:02:29.045Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/875/head:refs/remotes/origin/PR-875 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-13T06:02:29.631Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T06:02:29.646Z] > git checkout -f 9aaf5a892ec513d80b0dcead670ae6919708e512 # timeout=10 [2021-04-13T06:02:29.741Z] > git remote # timeout=10 [2021-04-13T06:02:29.758Z] > git config --get remote.origin.url # timeout=10 [2021-04-13T06:02:29.829Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-13T06:02:29.847Z] > git merge c62645d0ab1012df8ad15b74000ef7e30c377aaa # timeout=10 [2021-04-13T06:02:29.873Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-13T06:02:29.913Z] > git config core.sparsecheckout # timeout=10 [2021-04-13T06:02:29.963Z] > git checkout -f 9aaf5a892ec513d80b0dcead670ae6919708e512 # timeout=10 [2021-04-13T06:02:34.385Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-13T06:02:34.435Z] > git --version # timeout=10 [2021-04-13T06:02:34.442Z] > git --version # 'git version 2.17.1' [2021-04-13T06:02:34.452Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T06:02:36.183Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-13T06:02:36.634Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-13T06:02:37.000Z] + true [2021-04-13T06:02:37.001Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-13T06:02:39.788Z] provisioning config files... [2021-04-13T06:02:39.837Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7485775029580379470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-13T06:02:40.341Z] ---> docker-login.sh [2021-04-13T06:02:40.341Z] nexus3.edgexfoundry.org:10001 [2021-04-13T06:02:41.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:02:41.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:02:41.601Z] Configure a credential helper to remove this warning. See [2021-04-13T06:02:41.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:02:41.601Z] [2021-04-13T06:02:41.601Z] Login Succeeded [2021-04-13T06:02:41.601Z] nexus3.edgexfoundry.org:10002 [2021-04-13T06:02:41.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:02:42.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:02:42.152Z] Configure a credential helper to remove this warning. See [2021-04-13T06:02:42.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:02:42.152Z] [2021-04-13T06:02:42.152Z] Login Succeeded [2021-04-13T06:02:42.152Z] nexus3.edgexfoundry.org:10003 [2021-04-13T06:02:42.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:02:42.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:02:42.701Z] Configure a credential helper to remove this warning. See [2021-04-13T06:02:42.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:02:42.701Z] [2021-04-13T06:02:42.701Z] Login Succeeded [2021-04-13T06:02:42.701Z] nexus3.edgexfoundry.org:10004 [2021-04-13T06:02:42.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:02:43.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:02:43.265Z] Configure a credential helper to remove this warning. See [2021-04-13T06:02:43.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:02:43.266Z] [2021-04-13T06:02:43.266Z] Login Succeeded [2021-04-13T06:02:43.266Z] docker.io [2021-04-13T06:02:43.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-13T06:02:43.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-13T06:02:43.813Z] Configure a credential helper to remove this warning. See [2021-04-13T06:02:43.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-13T06:02:43.813Z] [2021-04-13T06:02:43.813Z] Login Succeeded [2021-04-13T06:02:43.813Z] ---> docker-login.sh ends [Pipeline] } [2021-04-13T06:02:43.847Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-13T06:02:44.412Z] ========================================================= [2021-04-13T06:02:44.412Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-13T06:02:44.412Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:02:44.827Z] + 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-13T06:02:45.111Z] Sending build context to Docker daemon 2.401MB [2021-04-13T06:02:45.387Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T06:02:45.387Z] Step 2/8 : FROM ${BASE} [2021-04-13T06:02:45.387Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-13T06:02:45.387Z] 5f621e34cdf4: Pulling fs layer [2021-04-13T06:02:45.387Z] a4357932f1b6: Pulling fs layer [2021-04-13T06:02:45.387Z] 18c013af1878: Pulling fs layer [2021-04-13T06:02:45.387Z] 00ac8860ef70: Pulling fs layer [2021-04-13T06:02:45.387Z] 63d7cb157983: Pulling fs layer [2021-04-13T06:02:45.387Z] b116817d02f9: Pulling fs layer [2021-04-13T06:02:45.387Z] 745a02a5169b: Pulling fs layer [2021-04-13T06:02:45.387Z] 63d7cb157983: Waiting [2021-04-13T06:02:45.387Z] b116817d02f9: Waiting [2021-04-13T06:02:45.387Z] 745a02a5169b: Waiting [2021-04-13T06:02:45.387Z] 18c013af1878: Verifying Checksum [2021-04-13T06:02:45.387Z] 18c013af1878: Download complete [2021-04-13T06:02:45.387Z] a4357932f1b6: Verifying Checksum [2021-04-13T06:02:45.387Z] a4357932f1b6: Download complete [2021-04-13T06:02:45.387Z] 63d7cb157983: Download complete [2021-04-13T06:02:45.988Z] 5f621e34cdf4: Verifying Checksum [2021-04-13T06:02:45.988Z] 5f621e34cdf4: Download complete [2021-04-13T06:02:45.988Z] b116817d02f9: Verifying Checksum [2021-04-13T06:02:45.988Z] b116817d02f9: Download complete [2021-04-13T06:02:46.597Z] 5f621e34cdf4: Pull complete [2021-04-13T06:02:47.205Z] a4357932f1b6: Pull complete [2021-04-13T06:02:47.808Z] 18c013af1878: Pull complete [2021-04-13T06:02:49.248Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-13T06:02:49.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-13T06:02:49.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-13T06:02:49.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-13T06:02:49.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-13T06:02:49.801Z] 745a02a5169b: Verifying Checksum [2021-04-13T06:02:49.801Z] 745a02a5169b: Download complete [2021-04-13T06:02:50.197Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.098s coverage: 28.1% of statements [2021-04-13T06:02:50.485Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements [2021-04-13T06:02:51.246Z] 00ac8860ef70: Download complete [2021-04-13T06:02:51.448Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.085s coverage: 7.8% of statements [2021-04-13T06:02:51.448Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-13T06:02:51.448Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-13T06:02:51.448Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-13T06:02:51.448Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.5% of statements [2021-04-13T06:02:51.448Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-13T06:02:51.448Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-13T06:02:51.448Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-13T06:02:52.028Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.129s coverage: 57.1% of statements [2021-04-13T06:02:52.605Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.208s coverage: 6.6% of statements [2021-04-13T06:02:52.605Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements [2021-04-13T06:02:52.605Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-13T06:02:52.873Z] GO111MODULE=on go vet ./... [2021-04-13T06:03:01.416Z] 00ac8860ef70: Pull complete [2021-04-13T06:03:01.416Z] 63d7cb157983: Pull complete [2021-04-13T06:03:01.416Z] b116817d02f9: Pull complete [2021-04-13T06:03:05.821Z] 745a02a5169b: Pull complete [2021-04-13T06:03:05.821Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-13T06:03:05.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-13T06:03:05.821Z] ---> b7e6874047d6 [2021-04-13T06:03:05.821Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T06:03:08.451Z] ---> Running in 472368656be4 [2021-04-13T06:03:09.064Z] Removing intermediate container 472368656be4 [2021-04-13T06:03:09.064Z] ---> 2880f4a45c01 [2021-04-13T06:03:09.064Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T06:03:09.064Z] ---> Running in 993c65f59540 [2021-04-13T06:03:11.170Z] gofmt -l . [2021-04-13T06:03:11.170Z] [ "`gofmt -l .`" = "" ] [2021-04-13T06:03:11.170Z] ./bin/test-attribution-txt.sh [2021-04-13T06:03:11.170Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-13T06:03:11.206Z] $ docker stop --time=1 f164bc41fc05b841341d8fefa6edafeca500d3a9f5220c6bdf23d49e3320806c [2021-04-13T06:03:11.754Z] Removing intermediate container 993c65f59540 [2021-04-13T06:03:11.754Z] ---> aaac9980f2b2 [2021-04-13T06:03:11.754Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-13T06:03:11.754Z] ---> Running in c40326f364c3 [2021-04-13T06:03:12.731Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T06:03:12.835Z] $ docker rm -f f164bc41fc05b841341d8fefa6edafeca500d3a9f5220c6bdf23d49e3320806c [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-13T06:03:13.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-13T06:03:13.769Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T06:03:14.080Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-04-13T06:03:14.758Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-13T06:03:14.758Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-13T06:03:14.758Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-13T06:03:14.758Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-13T06:03:15.035Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-13T06:03:15.035Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-13T06:03:15.035Z] Executing busybox-1.31.1-r19.trigger [2021-04-13T06:03:15.035Z] OK: 144 MiB in 45 packages [2021-04-13T06:03:16.546Z] Removing intermediate container c40326f364c3 [2021-04-13T06:03:16.546Z] ---> 938120a652dc [2021-04-13T06:03:16.546Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-13T06:03:16.546Z] ---> Running in 5089a5693270 [2021-04-13T06:03:17.182Z] Removing intermediate container 5089a5693270 [2021-04-13T06:03:17.182Z] ---> 71e6de65b3d0 [2021-04-13T06:03:17.182Z] Step 7/8 : COPY . . [Pipeline] sh [2021-04-13T06:03:17.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-13T06:03:17.916Z] + ls -al . [2021-04-13T06:03:17.916Z] total 188 [2021-04-13T06:03:17.916Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 13 06:03 . [2021-04-13T06:03:17.916Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 13 06:01 .. [2021-04-13T06:03:17.916Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 13 06:01 bin [2021-04-13T06:03:17.916Z] -rw-r--r--. 1 jenkins jenkins 99750 Apr 13 06:02 coverage.out [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 13 06:01 Dockerfile.build [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 13 06:01 .dockerignore [2021-04-13T06:03:17.916Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 13 06:01 example [2021-04-13T06:03:17.916Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 13 06:01 .git [2021-04-13T06:03:17.916Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 13 06:01 .github [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 13 06:01 .gitignore [2021-04-13T06:03:17.916Z] -rw-r--r--. 1 jenkins jenkins 572 Apr 13 06:03 go.mod [2021-04-13T06:03:17.916Z] -rw-r--r--. 1 jenkins jenkins 20817 Apr 13 06:03 go.sum [2021-04-13T06:03:17.916Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 13 06:01 internal [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 13 06:01 Jenkinsfile [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 13 06:01 LICENSE [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 13 06:01 Makefile [2021-04-13T06:03:17.916Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 13 06:01 openapi [2021-04-13T06:03:17.916Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 13 06:01 pkg [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 13 06:01 README.md [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 13 06:01 RELEASE-NOTES.txt [2021-04-13T06:03:17.916Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 13 06:01 snap [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 13 05:59 VERSION [2021-04-13T06:03:17.916Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 13 06:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:03:18.270Z] + 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=9aaf5a892ec513d80b0dcead670ae6919708e512 --label arch=amd64 --label version=0.0.0 . [2021-04-13T06:03:18.535Z] Sending build context to Docker daemon 2.505MB [2021-04-13T06:03:18.535Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T06:03:18.535Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-13T06:03:18.535Z] ---> 16c98255de15 [2021-04-13T06:03:18.535Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-13T06:03:18.635Z] ---> 4131a2e4c4bf [2021-04-13T06:03:18.635Z] Step 8/8 : RUN go mod download [2021-04-13T06:03:18.635Z] ---> Running in fe9d0e87676d [2021-04-13T06:03:19.115Z] ---> Running in 5444034141b4 [2021-04-13T06:03:19.378Z] Removing intermediate container 5444034141b4 [2021-04-13T06:03:19.378Z] ---> 0d3c9dc38af6 [2021-04-13T06:03:19.378Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T06:03:19.378Z] ---> Running in 9f3fc4df1167 [2021-04-13T06:03:19.646Z] Removing intermediate container 9f3fc4df1167 [2021-04-13T06:03:19.646Z] ---> 5544efd6660c [2021-04-13T06:03:19.646Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T06:03:19.646Z] ---> Running in b5821ed8e2fd [2021-04-13T06:03:20.609Z] Removing intermediate container b5821ed8e2fd [2021-04-13T06:03:20.609Z] ---> 99a55ce2e59f [2021-04-13T06:03:20.609Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-13T06:03:20.609Z] ---> Running in 753d3611e0bf [2021-04-13T06:03:21.191Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T06:03:21.767Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T06:03:22.351Z] OK: 167 MiB in 45 packages [2021-04-13T06:03:22.926Z] Removing intermediate container 753d3611e0bf [2021-04-13T06:03:22.926Z] ---> c9c54c7a9902 [2021-04-13T06:03:22.926Z] Step 7/23 : COPY . . [2021-04-13T06:03:23.874Z] ---> 4f19c4c0ed60 [2021-04-13T06:03:23.874Z] Step 8/23 : RUN go mod download [2021-04-13T06:03:23.874Z] ---> Running in e8c91ee9400a [2021-04-13T06:03:24.837Z] Removing intermediate container e8c91ee9400a [2021-04-13T06:03:24.837Z] ---> 8db7ab35e3d1 [2021-04-13T06:03:24.837Z] Step 9/23 : RUN make build [2021-04-13T06:03:24.837Z] ---> Running in 8b3599d16956 [2021-04-13T06:03:25.429Z] 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-13T06:03:37.869Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-13T06:03:38.445Z] Removing intermediate container 8b3599d16956 [2021-04-13T06:03:38.445Z] ---> e1dfe3b3101c [2021-04-13T06:03:38.445Z] Step 10/23 : FROM alpine:3.12 [2021-04-13T06:03:39.021Z] 3.12: Pulling from library/alpine [2021-04-13T06:03:39.021Z] 532819f3e44c: Pulling fs layer [2021-04-13T06:03:39.021Z] 532819f3e44c: Verifying Checksum [2021-04-13T06:03:39.021Z] 532819f3e44c: Download complete [2021-04-13T06:03:39.287Z] 532819f3e44c: Pull complete [2021-04-13T06:03:39.287Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-13T06:03:39.287Z] Status: Downloaded newer image for alpine:3.12 [2021-04-13T06:03:39.287Z] ---> 7230e588e954 [2021-04-13T06:03:39.287Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T06:03:39.550Z] ---> Running in 306dc4dcfab2 [2021-04-13T06:03:39.550Z] Removing intermediate container 306dc4dcfab2 [2021-04-13T06:03:39.550Z] ---> 3b4282cedbe8 [2021-04-13T06:03:39.550Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T06:03:39.813Z] ---> Running in db704a15328c [2021-04-13T06:03:40.792Z] Removing intermediate container db704a15328c [2021-04-13T06:03:40.792Z] ---> 6112baadf0fb [2021-04-13T06:03:40.792Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-13T06:03:40.792Z] ---> Running in 7a15173f0d67 [2021-04-13T06:03:41.385Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-13T06:03:41.964Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-13T06:03:42.241Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-13T06:03:42.507Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-13T06:03:42.507Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-13T06:03:43.466Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-13T06:03:43.737Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-13T06:03:43.737Z] Executing busybox-1.31.1-r20.trigger [2021-04-13T06:03:43.737Z] OK: 8 MiB in 19 packages [2021-04-13T06:03:44.316Z] Removing intermediate container 7a15173f0d67 [2021-04-13T06:03:44.316Z] ---> be7a8c98abfe [2021-04-13T06:03:44.316Z] Step 14/23 : WORKDIR / [2021-04-13T06:03:44.316Z] ---> Running in e1cd607fe2f7 [2021-04-13T06:03:44.580Z] Removing intermediate container e1cd607fe2f7 [2021-04-13T06:03:44.580Z] ---> a11ce6b04822 [2021-04-13T06:03:44.580Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-13T06:03:44.851Z] ---> ae65cf174379 [2021-04-13T06:03:44.851Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-13T06:03:45.427Z] ---> d4788ad7d0a4 [2021-04-13T06:03:45.427Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-13T06:03:45.485Z] Removing intermediate container fe9d0e87676d [2021-04-13T06:03:45.485Z] ---> 35bb16754fdf [2021-04-13T06:03:45.485Z] Successfully built 35bb16754fdf [2021-04-13T06:03:45.486Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:03:45.690Z] ---> 3d312c42268a [2021-04-13T06:03:45.690Z] Step 18/23 : EXPOSE 49990 [2021-04-13T06:03:45.690Z] ---> Running in 02c70cf9862b [2021-04-13T06:03:45.884Z] + docker inspect -f . ci-base-image-arm64 [2021-04-13T06:03:45.885Z] . [Pipeline] withDockerContainer [2021-04-13T06:03:45.953Z] Removing intermediate container 02c70cf9862b [2021-04-13T06:03:45.953Z] ---> 88d053256929 [2021-04-13T06:03:45.953Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-13T06:03:45.953Z] ---> Running in e755b7965a19 [2021-04-13T06:03:46.186Z] prd-ubuntu18.04-docker-arm64-4c-16g-33863 does not seem to be running inside a container [2021-04-13T06:03:46.236Z] Removing intermediate container e755b7965a19 [2021-04-13T06:03:46.236Z] ---> 8b7140bb7401 [2021-04-13T06:03:46.236Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-13T06:03:46.236Z] ---> Running in fbe07f454171 [2021-04-13T06:03:46.320Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-13T06:03:46.506Z] Removing intermediate container fbe07f454171 [2021-04-13T06:03:46.506Z] ---> 22fb9883203d [2021-04-13T06:03:46.506Z] Step 21/23 : LABEL arch=amd64 [2021-04-13T06:03:46.506Z] ---> Running in d5b06bd260a2 [2021-04-13T06:03:46.506Z] Removing intermediate container d5b06bd260a2 [2021-04-13T06:03:46.506Z] ---> ab230e451614 [2021-04-13T06:03:46.506Z] Step 22/23 : LABEL git_sha=9aaf5a892ec513d80b0dcead670ae6919708e512 [2021-04-13T06:03:46.767Z] ---> Running in fa13b8f73daf [2021-04-13T06:03:46.767Z] Removing intermediate container fa13b8f73daf [2021-04-13T06:03:46.767Z] ---> aa21b4b2c111 [2021-04-13T06:03:46.767Z] Step 23/23 : LABEL version=0.0.0 [2021-04-13T06:03:47.028Z] ---> Running in ca603c4eb7b1 [2021-04-13T06:03:47.028Z] Removing intermediate container ca603c4eb7b1 [2021-04-13T06:03:47.028Z] ---> 49bc676bea00 [2021-04-13T06:03:47.028Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-13T06:03:47.028Z] Successfully built 49bc676bea00 [2021-04-13T06:03:47.028Z] Successfully tagged docker-device-sdk-simple:latest [2021-04-13T06:03:47.829Z] $ docker top 26f329167920c4085f993f01c8c1ed67e30e1f89d7643c255381212c20592be6 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [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] } [2021-04-13T06:03:48.942Z] + go version [2021-04-13T06:03:48.942Z] go version go1.15.5 linux/arm64 [Pipeline] // stage Post stage [Pipeline] } [2021-04-13T06:03:49.117Z] $ docker stop --time=1 26f329167920c4085f993f01c8c1ed67e30e1f89d7643c255381212c20592be6 [2021-04-13T06:03:50.952Z] $ docker rm -f 26f329167920c4085f993f01c8c1ed67e30e1f89d7643c255381212c20592be6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-04-13T06:03:51.919Z] ---> job-cost.sh [2021-04-13T06:03:51.919Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-IGmr [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:03:52.382Z] + docker inspect -f . ci-base-image-arm64 [2021-04-13T06:03:52.382Z] . [Pipeline] withDockerContainer [2021-04-13T06:03:52.705Z] prd-ubuntu18.04-docker-arm64-4c-16g-33863 does not seem to be running inside a container [2021-04-13T06:03:52.871Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-13T06:03:54.448Z] $ docker top 9b294825c495fbcb26cd45e84771cd5c6a990f0fa4d5776821cb055678f33697 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T06:03:55.562Z] + make test [2021-04-13T06:03:55.562Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-13T06:04:07.078Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-13T06:04:17.759Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-13T06:04:39.318Z] lf-activate-venv(): INFO: Adding /tmp/venv-IGmr/bin to PATH [2021-04-13T06:04:39.318Z] INFO: No Stack... [2021-04-13T06:04:39.318Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-13T06:04:39.318Z] INFO: Archiving Costs [Pipeline] sh [2021-04-13T06:04:39.688Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-13T06:04:39.688Z] + cut -d, -f6 [Pipeline] lock [2021-04-13T06:04:39.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-875-1-stack-cost] [2021-04-13T06:04:39.840Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-875-1-stack-cost] did not exist. Created. [2021-04-13T06:04:39.840Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-875-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-13T06:04:40.371Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-13T06:04:40.517Z] Stashed 1 file(s) [Pipeline] } [2021-04-13T06:04:40.538Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-875-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-13T06:05:14.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-13T06:05:14.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-13T06:05:14.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-13T06:05:14.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-13T06:05:14.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-13T06:05:21.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.152s coverage: 28.1% of statements [2021-04-13T06:05:21.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.196s coverage: 78.9% of statements [2021-04-13T06:05:21.112Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.138s coverage: 7.8% of statements [2021-04-13T06:05:21.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-13T06:05:21.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-13T06:05:21.112Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-13T06:05:23.580Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.443s coverage: 32.5% of statements [2021-04-13T06:05:23.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-13T06:05:23.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-13T06:05:23.580Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-13T06:05:28.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.268s coverage: 57.1% of statements [2021-04-13T06:05:28.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.650s coverage: 6.6% of statements [2021-04-13T06:05:28.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.157s coverage: 5.0% of statements [2021-04-13T06:05:28.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-13T06:05:28.397Z] GO111MODULE=on go vet ./... [2021-04-13T06:06:15.419Z] gofmt -l . [2021-04-13T06:06:15.419Z] [ "`gofmt -l .`" = "" ] [2021-04-13T06:06:15.419Z] ./bin/test-attribution-txt.sh [2021-04-13T06:06:16.413Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-13T06:06:17.068Z] $ docker stop --time=1 9b294825c495fbcb26cd45e84771cd5c6a990f0fa4d5776821cb055678f33697 [2021-04-13T06:06:19.468Z] $ docker rm -f 9b294825c495fbcb26cd45e84771cd5c6a990f0fa4d5776821cb055678f33697 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-13T06:06:20.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-13T06:06:20.901Z] Warning: overwriting stash ‘coverage-report’ [2021-04-13T06:06:21.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-13T06:06:22.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-13T06:06:23.057Z] + ls -al . [2021-04-13T06:06:23.057Z] total 224 [2021-04-13T06:06:23.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:06 . [2021-04-13T06:06:23.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:02 .. [2021-04-13T06:06:23.057Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 06:02 .dockerignore [2021-04-13T06:06:23.057Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:02 .git [2021-04-13T06:06:23.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:02 .github [2021-04-13T06:06:23.057Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 13 06:02 .gitignore [2021-04-13T06:06:23.057Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 13 06:02 Dockerfile.build [2021-04-13T06:06:23.057Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 13 06:02 Jenkinsfile [2021-04-13T06:06:23.058Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 06:02 LICENSE [2021-04-13T06:06:23.058Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 13 06:02 Makefile [2021-04-13T06:06:23.058Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 13 06:02 README.md [2021-04-13T06:06:23.058Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 13 06:02 RELEASE-NOTES.txt [2021-04-13T06:06:23.058Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 05:59 VERSION [2021-04-13T06:06:23.058Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:02 bin [2021-04-13T06:06:23.058Z] -rw-r--r-- 1 jenkins jenkins 99750 Apr 13 06:05 coverage.out [2021-04-13T06:06:23.058Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 06:02 example [2021-04-13T06:06:23.058Z] -rw-r--r-- 1 jenkins jenkins 572 Apr 13 06:06 go.mod [2021-04-13T06:06:23.058Z] -rw-r--r-- 1 jenkins jenkins 20817 Apr 13 06:06 go.sum [2021-04-13T06:06:23.058Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 13 06:02 internal [2021-04-13T06:06:23.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:02 openapi [2021-04-13T06:06:23.058Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 06:02 pkg [2021-04-13T06:06:23.058Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:02 snap [2021-04-13T06:06:23.058Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 06:02 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:06:23.444Z] + 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=9aaf5a892ec513d80b0dcead670ae6919708e512 --label arch=arm64 --label version=0.0.0 . [2021-04-13T06:06:23.721Z] Sending build context to Docker daemon 2.501MB [2021-04-13T06:06:23.993Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-13T06:06:23.993Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-13T06:06:23.993Z] ---> 35bb16754fdf [2021-04-13T06:06:23.993Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-13T06:06:24.267Z] ---> Running in 80b367854c95 [2021-04-13T06:06:24.864Z] Removing intermediate container 80b367854c95 [2021-04-13T06:06:24.864Z] ---> 9acc84550d00 [2021-04-13T06:06:24.864Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T06:06:24.864Z] ---> Running in aa55e6a6f1d6 [2021-04-13T06:06:25.462Z] Removing intermediate container aa55e6a6f1d6 [2021-04-13T06:06:25.462Z] ---> b0deb815a39c [2021-04-13T06:06:25.462Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T06:06:25.462Z] ---> Running in 4870277084ce [2021-04-13T06:06:28.086Z] Removing intermediate container 4870277084ce [2021-04-13T06:06:28.086Z] ---> 4dd65adb6234 [2021-04-13T06:06:28.086Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-13T06:06:28.086Z] ---> Running in ca324ba49041 [2021-04-13T06:06:29.065Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T06:06:29.661Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T06:06:30.261Z] OK: 144 MiB in 45 packages [2021-04-13T06:06:31.721Z] Removing intermediate container ca324ba49041 [2021-04-13T06:06:31.721Z] ---> b80719840456 [2021-04-13T06:06:31.721Z] Step 7/23 : COPY . . [2021-04-13T06:06:32.702Z] ---> a27e61d8e85b [2021-04-13T06:06:32.702Z] Step 8/23 : RUN go mod download [2021-04-13T06:06:32.977Z] ---> Running in a3fb12a85ae8 [2021-04-13T06:06:35.599Z] Removing intermediate container a3fb12a85ae8 [2021-04-13T06:06:35.599Z] ---> fe4d90b3b81e [2021-04-13T06:06:35.599Z] Step 9/23 : RUN make build [2021-04-13T06:06:35.599Z] ---> Running in 5c293f5f5394 [2021-04-13T06:06:36.584Z] 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-13T06:07:15.627Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-13T06:07:15.627Z] Removing intermediate container 5c293f5f5394 [2021-04-13T06:07:15.627Z] ---> 81d850701604 [2021-04-13T06:07:15.627Z] Step 10/23 : FROM alpine:3.12 [2021-04-13T06:07:16.219Z] 3.12: Pulling from library/alpine [2021-04-13T06:07:16.219Z] 9a219e8acc52: Pulling fs layer [2021-04-13T06:07:16.493Z] 9a219e8acc52: Verifying Checksum [2021-04-13T06:07:16.493Z] 9a219e8acc52: Download complete [2021-04-13T06:07:17.088Z] 9a219e8acc52: Pull complete [2021-04-13T06:07:17.088Z] Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b [2021-04-13T06:07:17.088Z] Status: Downloaded newer image for alpine:3.12 [2021-04-13T06:07:17.088Z] ---> d75e27dfc0a0 [2021-04-13T06:07:17.088Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-13T06:07:17.362Z] ---> Running in 8b623fa8e05c [2021-04-13T06:07:17.956Z] Removing intermediate container 8b623fa8e05c [2021-04-13T06:07:17.956Z] ---> c13cd31236e1 [2021-04-13T06:07:17.956Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-13T06:07:17.956Z] ---> Running in af87d997f995 [2021-04-13T06:07:20.580Z] Removing intermediate container af87d997f995 [2021-04-13T06:07:20.580Z] ---> d8836b79b5c9 [2021-04-13T06:07:20.580Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-13T06:07:20.580Z] ---> Running in d2cd8df8c022 [2021-04-13T06:07:21.556Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-13T06:07:22.539Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-13T06:07:23.146Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-13T06:07:23.429Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-13T06:07:23.429Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-13T06:07:23.706Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-13T06:07:23.706Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-13T06:07:23.706Z] Executing busybox-1.31.1-r20.trigger [2021-04-13T06:07:23.706Z] OK: 8 MiB in 19 packages [2021-04-13T06:07:25.137Z] Removing intermediate container d2cd8df8c022 [2021-04-13T06:07:25.137Z] ---> b3b70e88f271 [2021-04-13T06:07:25.137Z] Step 14/23 : WORKDIR / [2021-04-13T06:07:25.420Z] ---> Running in 383d1e552c48 [2021-04-13T06:07:25.698Z] Removing intermediate container 383d1e552c48 [2021-04-13T06:07:25.698Z] ---> 45c957e71e9b [2021-04-13T06:07:25.698Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-13T06:07:26.730Z] ---> 9ffdd3b2e73c [2021-04-13T06:07:26.730Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-13T06:07:28.165Z] ---> bf3cea728784 [2021-04-13T06:07:28.165Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-13T06:07:28.768Z] ---> f203dacf1473 [2021-04-13T06:07:28.768Z] Step 18/23 : EXPOSE 49990 [2021-04-13T06:07:28.768Z] ---> Running in 61caabe5befb [2021-04-13T06:07:29.378Z] Removing intermediate container 61caabe5befb [2021-04-13T06:07:29.378Z] ---> 402f330a5be4 [2021-04-13T06:07:29.378Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-13T06:07:29.378Z] ---> Running in 5494c7a5b97f [2021-04-13T06:07:29.980Z] Removing intermediate container 5494c7a5b97f [2021-04-13T06:07:29.980Z] ---> c62380404902 [2021-04-13T06:07:29.980Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-13T06:07:30.275Z] ---> Running in 5365fd321f78 [2021-04-13T06:07:30.555Z] Removing intermediate container 5365fd321f78 [2021-04-13T06:07:30.555Z] ---> 044af8e5060b [2021-04-13T06:07:30.555Z] Step 21/23 : LABEL arch=arm64 [2021-04-13T06:07:30.832Z] ---> Running in 44ee986a8f28 [2021-04-13T06:07:31.441Z] Removing intermediate container 44ee986a8f28 [2021-04-13T06:07:31.441Z] ---> 671eff756cdf [2021-04-13T06:07:31.441Z] Step 22/23 : LABEL git_sha=9aaf5a892ec513d80b0dcead670ae6919708e512 [2021-04-13T06:07:31.441Z] ---> Running in 7e80fee9fba6 [2021-04-13T06:07:32.044Z] Removing intermediate container 7e80fee9fba6 [2021-04-13T06:07:32.044Z] ---> 6d6c7581f889 [2021-04-13T06:07:32.044Z] Step 23/23 : LABEL version=0.0.0 [2021-04-13T06:07:32.327Z] ---> Running in 7e95ce3974ea [2021-04-13T06:07:32.605Z] Removing intermediate container 7e95ce3974ea [2021-04-13T06:07:32.605Z] ---> e5e476380a94 [2021-04-13T06:07:32.605Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-13T06:07:32.605Z] Successfully built e5e476380a94 [2021-04-13T06:07:32.878Z] 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-13T06:07:33.906Z] ---> job-cost.sh [2021-04-13T06:07:33.906Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-snZ7 [2021-04-13T06:08:20.861Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-13T06:10:12.627Z] lf-activate-venv(): INFO: Adding /tmp/venv-snZ7/bin to PATH [2021-04-13T06:10:12.627Z] INFO: No Stack... [2021-04-13T06:10:12.627Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-13T06:10:12.627Z] INFO: Archiving Costs [Pipeline] sh [2021-04-13T06:10:13.009Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-13T06:10:13.009Z] + cut -d, -f6 [Pipeline] lock [2021-04-13T06:10:13.155Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-875-1-stack-cost] [2021-04-13T06:10:13.162Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-875-1-stack-cost] did not exist. Created. [2021-04-13T06:10:13.162Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-875-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-13T06:10:13.680Z] /w/workspace/device-sdk-go/1@tmp/durable-276628c2/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-276628c2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-13T06:10:14.054Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-13T06:10:14.094Z] Warning: overwriting stash ‘stack-cost’ [2021-04-13T06:10:14.246Z] Stashed 1 file(s) [Pipeline] } [2021-04-13T06:10:14.270Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-875-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-13T06:10:16.340Z] provisioning config files... [2021-04-13T06:10:16.350Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp/config3440649558163299539tmp [Pipeline] { [Pipeline] sh [2021-04-13T06:10:16.776Z] + set +x [2021-04-13T06:10:16.776Z] + curl -s https://codecov.io/bash [2021-04-13T06:10:16.776Z] + bash -s -- [2021-04-13T06:10:17.351Z] [2021-04-13T06:10:17.351Z] _____ _ [2021-04-13T06:10:17.351Z] / ____| | | [2021-04-13T06:10:17.351Z] | | ___ __| | ___ ___ _____ __ [2021-04-13T06:10:17.351Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-13T06:10:17.351Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-13T06:10:17.351Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-13T06:10:17.351Z] Bash-20210309-2b87ace [2021-04-13T06:10:17.351Z] [2021-04-13T06:10:17.351Z] [2021-04-13T06:10:17.351Z] ==> git version 2.24.3 found [2021-04-13T06:10:17.351Z] ==> 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-13T06:10:17.351Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-13T06:10:17.351Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-13T06:10:17.351Z] ==> Jenkins CI detected. [2021-04-13T06:10:17.351Z] project root: . [2021-04-13T06:10:17.351Z] --> token set from env [2021-04-13T06:10:17.351Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-13T06:10:17.612Z] ==> Running gcov in . (disable via -X gcov) [2021-04-13T06:10:17.612Z] ==> Python coveragepy not found [2021-04-13T06:10:17.612Z] ==> Searching for coverage reports in: [2021-04-13T06:10:17.612Z] + . [2021-04-13T06:10:17.612Z] -> Found 1 reports [2021-04-13T06:10:17.612Z] ==> Detecting git/mercurial file structure [2021-04-13T06:10:17.612Z] ==> Reading reports [2021-04-13T06:10:17.612Z] + ./coverage.out bytes=99750 [2021-04-13T06:10:17.612Z] ==> Appending adjustments [2021-04-13T06:10:17.612Z] https://docs.codecov.io/docs/fixing-reports [2021-04-13T06:10:17.875Z] + Found adjustments [2021-04-13T06:10:17.875Z] ==> Gzipping contents [2021-04-13T06:10:17.875Z] 16K /tmp/codecov.OKIr12.gz [2021-04-13T06:10:17.875Z] ==> Uploading reports [2021-04-13T06:10:17.875Z] url: https://codecov.io [2021-04-13T06:10:17.875Z] query: branch=PR-875&commit=9aaf5a892ec513d80b0dcead670ae6919708e512&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-875%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=875&job=&cmd_args= [2021-04-13T06:10:17.875Z] -> Pinging Codecov [2021-04-13T06:10:17.875Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-875&commit=9aaf5a892ec513d80b0dcead670ae6919708e512&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-875%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=875&job=&cmd_args= [2021-04-13T06:10:18.449Z] -> Uploading to [2021-04-13T06:10:18.449Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-13/7E55EF52A471D76F132DFD9A03CDDE97/9aaf5a892ec513d80b0dcead670ae6919708e512/dcbf4e2c-c9e7-4411-bab9-4e0e4e1ce523.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210413T061018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec5babd78a4c9970634a8780414b6a8c1aa270c96207edd9ae8a1f9ddf56d400 [2021-04-13T06:10:18.449Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-13T06:10:18.449Z] Dload Upload Total Spent Left Speed [2021-04-13T06:10:18.713Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13484 0 0 100 13484 0 34028 --:--:-- --:--:-- --:--:-- 34050 [2021-04-13T06:10:18.713Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9aaf5a892ec513d80b0dcead670ae6919708e512 [Pipeline] } [2021-04-13T06:10:18.739Z] 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-13T06:10:22.149Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T06:10:22.506Z] ---> package-listing.sh [2021-04-13T06:10:22.506Z] ++ facter osfamily [2021-04-13T06:10:22.506Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-13T06:10:22.506Z] + OS_FAMILY=redhat [2021-04-13T06:10:22.506Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-875 [2021-04-13T06:10:22.506Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-13T06:10:22.506Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-13T06:10:22.506Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-13T06:10:22.506Z] + PACKAGES=/tmp/packages_start.txt [2021-04-13T06:10:22.506Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-875 ']' [2021-04-13T06:10:22.506Z] + PACKAGES=/tmp/packages_end.txt [2021-04-13T06:10:22.506Z] + case "${OS_FAMILY}" in [2021-04-13T06:10:22.506Z] + rpm -qa [2021-04-13T06:10:22.506Z] + sort [2021-04-13T06:10:27.821Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-13T06:10:27.822Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-13T06:10:27.822Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-13T06:10:27.822Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-875 ']' [2021-04-13T06:10:27.822Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-875/archives/ [2021-04-13T06:10:27.822Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-875/archives/ [Pipeline] echo [2021-04-13T06:10:27.857Z] 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-875/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-13T06:10:28.173Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:10:28.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T06:10:28.510Z] [2021-04-13T06:10:28.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-13T06:10:28.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T06:10:28.934Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-13T06:10:28.934Z] df20fa9351a1: Pulling fs layer [2021-04-13T06:10:28.934Z] 36b3adc4ff6f: Pulling fs layer [2021-04-13T06:10:28.934Z] 8ad3a11d3b57: Pulling fs layer [2021-04-13T06:10:28.934Z] 46f8f816bc3b: Pulling fs layer [2021-04-13T06:10:28.934Z] 93b61091891f: Pulling fs layer [2021-04-13T06:10:28.934Z] 93b9cdb0e59b: Pulling fs layer [2021-04-13T06:10:28.934Z] 5e14af77c1be: Pulling fs layer [2021-04-13T06:10:28.934Z] 01666e4c0597: Pulling fs layer [2021-04-13T06:10:28.934Z] aa168da1d23b: Pulling fs layer [2021-04-13T06:10:28.934Z] 46f8f816bc3b: Waiting [2021-04-13T06:10:28.934Z] 93b61091891f: Waiting [2021-04-13T06:10:28.934Z] 93b9cdb0e59b: Waiting [2021-04-13T06:10:28.934Z] 5e14af77c1be: Waiting [2021-04-13T06:10:28.934Z] 01666e4c0597: Waiting [2021-04-13T06:10:28.934Z] aa168da1d23b: Waiting [2021-04-13T06:10:28.934Z] 36b3adc4ff6f: Verifying Checksum [2021-04-13T06:10:28.934Z] 36b3adc4ff6f: Download complete [2021-04-13T06:10:28.934Z] 46f8f816bc3b: Verifying Checksum [2021-04-13T06:10:28.934Z] 46f8f816bc3b: Download complete [2021-04-13T06:10:28.934Z] df20fa9351a1: Verifying Checksum [2021-04-13T06:10:28.934Z] df20fa9351a1: Download complete [2021-04-13T06:10:29.210Z] 93b9cdb0e59b: Download complete [2021-04-13T06:10:29.210Z] 5e14af77c1be: Verifying Checksum [2021-04-13T06:10:29.210Z] 5e14af77c1be: Download complete [2021-04-13T06:10:29.210Z] 01666e4c0597: Download complete [2021-04-13T06:10:29.210Z] 93b61091891f: Download complete [2021-04-13T06:10:29.210Z] 8ad3a11d3b57: Verifying Checksum [2021-04-13T06:10:29.210Z] 8ad3a11d3b57: Download complete [2021-04-13T06:10:29.475Z] df20fa9351a1: Pull complete [2021-04-13T06:10:29.755Z] 36b3adc4ff6f: Pull complete [2021-04-13T06:10:30.346Z] 8ad3a11d3b57: Pull complete [2021-04-13T06:10:30.612Z] 46f8f816bc3b: Pull complete [2021-04-13T06:10:31.206Z] aa168da1d23b: Verifying Checksum [2021-04-13T06:10:31.206Z] aa168da1d23b: Download complete [2021-04-13T06:10:31.206Z] 93b61091891f: Pull complete [2021-04-13T06:10:31.473Z] 93b9cdb0e59b: Pull complete [2021-04-13T06:10:31.473Z] 5e14af77c1be: Pull complete [2021-04-13T06:10:31.747Z] 01666e4c0597: Pull complete [2021-04-13T06:10:39.942Z] aa168da1d23b: Pull complete [2021-04-13T06:10:39.942Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-13T06:10:39.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-13T06:10:39.942Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-13T06:10:40.157Z] prd-centos7-docker-4c-2g-33861 does not seem to be running inside a container [2021-04-13T06:10:40.211Z] $ 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-875/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-875 -v /w/workspace/dgexfoundry_device-sdk-go_PR-875:/w/workspace/dgexfoundry_device-sdk-go_PR-875:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-13T06:10:43.669Z] $ docker top 5c9733ee7446536ea0ae9486f19cc30f149b031d0d5400456115614d2d109aac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-13T06:10:44.217Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-13T06:10:44.542Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-13T06:10:44.872Z] + ls /var/log/sa-host [2021-04-13T06:10:44.872Z] + sadf -c /var/log/sa-host/sa13 [2021-04-13T06:10:44.872Z] file_magic: OK [2021-04-13T06:10:44.872Z] HZ: Using current value: 100 [2021-04-13T06:10:44.872Z] file_header: OK [2021-04-13T06:10:44.872Z] 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-13T06:10:44.872Z] Statistics: [2021-04-13T06:10:44.872Z] HRHnuu...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-13T06:10:44.872Z] File successfully converted to sysstat format version 12.2.1 [2021-04-13T06:10:44.872Z] + sadf -c /var/log/sa-host/sa23 [2021-04-13T06:10:44.872Z] file_magic: OK [2021-04-13T06:10:44.872Z] HZ: Using current value: 100 [2021-04-13T06:10:44.872Z] file_header: OK [2021-04-13T06:10:44.872Z] 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-13T06:10:44.872Z] Statistics: [2021-04-13T06:10:44.872Z] Hnuu...uuuununununu... [2021-04-13T06:10:44.872Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-13T06:10:45.153Z] provisioning config files... [2021-04-13T06:10:45.167Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-875@tmp/config119368111490355748tmp [Pipeline] { [Pipeline] echo [2021-04-13T06:10:45.324Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T06:10:45.659Z] ---> create-netrc.sh [Pipeline] } [2021-04-13T06:10:45.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-13T06:10:45.832Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T06:10:46.173Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-13T06:10:46.206Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T06:10:46.540Z] ---> sudo-logs.sh [2021-04-13T06:10:46.540Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-13T06:10:46.656Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T06:10:46.998Z] ---> job-cost.sh [2021-04-13T06:10:46.998Z] lf-activate-venv: SKIPPING [2021-04-13T06:10:46.998Z] DEBUG: total: 0.20999999344348907 [2021-04-13T06:10:46.998Z] INFO: Retrieving Stack Cost... [2021-04-13T06:10:49.545Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-13T06:10:49.807Z] INFO: Archiving Costs [Pipeline] echo [2021-04-13T06:10:49.841Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-13T06:10:50.173Z] ---> logs-deploy.sh [2021-04-13T06:10:50.173Z] lf-activate-venv: SKIPPING [2021-04-13T06:10:50.173Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-875/1 [2021-04-13T06:10:50.173Z] INFO: archiving workspace using pattern(s): [2021-04-13T06:10:52.089Z] Archives upload complete. [2021-04-13T06:10:52.089Z] INFO: archiving logs to Nexus