Pull request #884 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from eef323edacbd0a1f507fca6650cd00f2e05c1375+4afc3732447dbc1bcd63643089443d556eeee277 (33fa1ee67d21eca2f950d2ab83a8a9ff65a70d65) 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-884/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-884/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 Running on prd-centos7-docker-4c-2g-457 in /w/workspace/dgexfoundry_device-sdk-go_PR-884 [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-884 # 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 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit eef323edacbd0a1f507fca6650cd00f2e05c1375 > 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/884/head:refs/remotes/origin/PR-884 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing eef323edacbd0a1f507fca6650cd00f2e05c1375 Checking out Revision eef323edacbd0a1f507fca6650cd00f2e05c1375 (PR-884) > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # 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 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 Commit message: "refactor: update returned type to errors.Edgex" 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-16T08:43:13.359Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-16T08:43:13.575Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-16T08:43:13.668Z] ========================================================= [2021-04-16T08:43:13.668Z] EdgeX Global Pipelines Version Info [2021-04-16T08:43:13.668Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:43:17.289Z] ------------------- [2021-04-16T08:43:17.289Z] stable info: [2021-04-16T08:43:17.289Z] ------------------- [2021-04-16T08:43:17.289Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-16T08:43:17.289Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-16T08:43:17.289Z] Message: update stable to v1.0.186 [2021-04-16T08:43:18.822Z] ------------------- [2021-04-16T08:43:18.822Z] experimental info: [2021-04-16T08:43:18.822Z] ------------------- [2021-04-16T08:43:18.823Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-16T08:43:18.823Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-16T08:43:18.823Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-16T08:43:19.107Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-16T08:43:19.162Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-16T08:43:19.232Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-16T08:43:19.287Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-16T08:43:19.341Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-16T08:43:19.391Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-16T08:43:19.445Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-16T08:43:19.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-16T08:43:19.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-16T08:43:19.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-16T08:43:19.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-16T08:43:19.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-16T08:43:19.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-16T08:43:19.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-16T08:43:19.924Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-16T08:43:19.978Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T08:43:20.086Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T08:43:20.155Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T08:43:20.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-16T08:43:20.292Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-16T08:43:20.342Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-16T08:43:20.415Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-16T08:43:20.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-16T08:43:20.555Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-16T08:43:20.610Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-16T08:43:20.662Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-16T08:43:20.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-884 [Pipeline] echo [2021-04-16T08:43:20.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-884 [Pipeline] echo [2021-04-16T08:43:20.823Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-884 [Pipeline] echo [2021-04-16T08:43:20.877Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eef323edacbd0a1f507fca6650cd00f2e05c1375 [Pipeline] echo [2021-04-16T08:43:20.930Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eef323e [Pipeline] echo [2021-04-16T08:43:20.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T08:43:21.175Z] provisioning config files... [2021-04-16T08:43:21.218Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/config2633974984407659047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:43:21.664Z] ---> docker-login.sh [2021-04-16T08:43:21.664Z] nexus3.edgexfoundry.org:10001 [2021-04-16T08:43:22.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:43:22.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:43:22.964Z] Configure a credential helper to remove this warning. See [2021-04-16T08:43:22.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:43:22.964Z] [2021-04-16T08:43:22.964Z] Login Succeeded [2021-04-16T08:43:22.964Z] nexus3.edgexfoundry.org:10002 [2021-04-16T08:43:23.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:43:23.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:43:23.620Z] Configure a credential helper to remove this warning. See [2021-04-16T08:43:23.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:43:23.620Z] [2021-04-16T08:43:23.620Z] Login Succeeded [2021-04-16T08:43:23.620Z] nexus3.edgexfoundry.org:10003 [2021-04-16T08:43:23.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:43:24.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:43:24.323Z] Configure a credential helper to remove this warning. See [2021-04-16T08:43:24.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:43:24.323Z] [2021-04-16T08:43:24.323Z] Login Succeeded [2021-04-16T08:43:24.323Z] nexus3.edgexfoundry.org:10004 [2021-04-16T08:43:25.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:43:25.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:43:25.332Z] Configure a credential helper to remove this warning. See [2021-04-16T08:43:25.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:43:25.332Z] [2021-04-16T08:43:25.332Z] Login Succeeded [2021-04-16T08:43:25.332Z] docker.io [2021-04-16T08:43:26.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:43:26.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:43:26.352Z] Configure a credential helper to remove this warning. See [2021-04-16T08:43:26.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:43:26.352Z] [2021-04-16T08:43:26.352Z] Login Succeeded [2021-04-16T08:43:26.352Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T08:43:26.390Z] 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-16T08:43:27.144Z] + git log --format=format:%s -1 eef323edacbd0a1f507fca6650cd00f2e05c1375 [Pipeline] echo [2021-04-16T08:43:27.516Z] GIT_COMMIT: eef323edacbd0a1f507fca6650cd00f2e05c1375, Commit Message: refactor: update returned type to errors.Edgex [Pipeline] echo [2021-04-16T08:43:27.553Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:43:28.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T08:43:28.583Z] [2021-04-16T08:43:28.583Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:43:29.039Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T08:43:29.039Z] latest: Pulling from edgex-devops/git-semver [2021-04-16T08:43:29.039Z] 31603596830f: Pulling fs layer [2021-04-16T08:43:29.039Z] 2a8b12db71e7: Pulling fs layer [2021-04-16T08:43:29.039Z] 6ca5941a6612: Pulling fs layer [2021-04-16T08:43:29.039Z] ecc8261a40a4: Pulling fs layer [2021-04-16T08:43:29.039Z] ecc8261a40a4: Waiting [2021-04-16T08:43:29.039Z] 2a8b12db71e7: Verifying Checksum [2021-04-16T08:43:29.039Z] 2a8b12db71e7: Download complete [2021-04-16T08:43:29.748Z] 31603596830f: Download complete [2021-04-16T08:43:30.510Z] 31603596830f: Pull complete [2021-04-16T08:43:30.510Z] ecc8261a40a4: Verifying Checksum [2021-04-16T08:43:30.510Z] ecc8261a40a4: Download complete [2021-04-16T08:43:30.510Z] 6ca5941a6612: Verifying Checksum [2021-04-16T08:43:30.510Z] 6ca5941a6612: Download complete [2021-04-16T08:43:30.510Z] 2a8b12db71e7: Pull complete [2021-04-16T08:43:33.255Z] 6ca5941a6612: Pull complete [2021-04-16T08:43:33.963Z] ecc8261a40a4: Pull complete [2021-04-16T08:43:33.963Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-16T08:43:34.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T08:43:34.333Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-16T08:43:34.822Z] prd-centos7-docker-4c-2g-457 does not seem to be running inside a container [2021-04-16T08:43:35.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-884 -v /w/workspace/dgexfoundry_device-sdk-go_PR-884:/w/workspace/dgexfoundry_device-sdk-go_PR-884:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-16T08:43:38.152Z] $ docker top df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-16T08:43:38.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T08:43:38.509Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T08:43:39.386Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T08:43:39.402Z] $ docker exec df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 ssh-agent [2021-04-16T08:43:40.548Z] SSH_AUTH_SOCK=/tmp/ssh-IbnkrDUKk4hB/agent.12 [2021-04-16T08:43:40.548Z] SSH_AGENT_PID=17 [2021-04-16T08:43:40.567Z] Running ssh-add (command line suppressed) [2021-04-16T08:43:40.775Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/private_key_2434469192038989506.key (/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/private_key_2434469192038989506.key) [2021-04-16T08:43:40.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T08:43:41.600Z] + git tag --points-at HEAD [Pipeline] } [2021-04-16T08:43:41.633Z] $ docker exec --env ******** --env ******** df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 ssh-agent -k [2021-04-16T08:43:41.870Z] unset SSH_AUTH_SOCK; [2021-04-16T08:43:41.870Z] unset SSH_AGENT_PID; [2021-04-16T08:43:41.870Z] echo Agent pid 17 killed; [2021-04-16T08:43:42.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-16T08:43:42.123Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T08:43:42.123Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T08:43:42.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T08:43:42.710Z] $ docker exec df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 ssh-agent [2021-04-16T08:43:43.753Z] SSH_AUTH_SOCK=/tmp/ssh-q7mpX4uou1ZR/agent.45 [2021-04-16T08:43:43.753Z] SSH_AGENT_PID=50 [2021-04-16T08:43:43.773Z] Running ssh-add (command line suppressed) [2021-04-16T08:43:44.052Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/private_key_3981738620548274711.key (/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/private_key_3981738620548274711.key) [2021-04-16T08:43:44.339Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T08:43:45.344Z] + git semver init [2021-04-16T08:43:45.344Z] # -> Open(): unable to determine branch for HEAD [2021-04-16T08:43:45.344Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-884/.git [2021-04-16T08:43:45.344Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-884 [2021-04-16T08:43:45.344Z] # $SEMVER_REMOTE_NAME = origin [2021-04-16T08:43:45.344Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-16T08:43:45.344Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-16T08:43:45.344Z] # $SEMVER_BRANCH = PR-884 [2021-04-16T08:43:45.344Z] # $SEMVER_TEMP = /tmp/semver-952069564 [2021-04-16T08:43:45.344Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-16T08:43:48.027Z] # '/tmp/semver-952069564' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-884/.semver' [2021-04-16T08:43:48.027Z] # -> Force: false [2021-04-16T08:43:48.027Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-884/.semver [Pipeline] } [2021-04-16T08:43:48.052Z] $ docker exec --env ******** --env ******** df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 ssh-agent -k [2021-04-16T08:43:48.322Z] unset SSH_AUTH_SOCK; [2021-04-16T08:43:48.323Z] unset SSH_AGENT_PID; [2021-04-16T08:43:48.323Z] echo Agent pid 50 killed; [2021-04-16T08:43:48.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-16T08:43:49.513Z] + git semver [Pipeline] } [2021-04-16T08:43:49.570Z] $ docker stop --time=1 df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 [2021-04-16T08:43:51.488Z] $ docker rm -f df093bfcaa1cae00ce6cdfe28f8dee0d0948b844fdd61126ba6b7cc5e5f17a81 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T08:43:52.119Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-16T08:43:52.916Z] Stashed 1 file(s) [Pipeline] echo [2021-04-16T08:43:52.942Z] [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-16T08:44:08.416Z] Still waiting to schedule task [2021-04-16T08:44:08.416Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-457’ [2021-04-16T08:44:08.445Z] Still waiting to schedule task [2021-04-16T08:44:08.445Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-16T08:45:55.720Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-458 in /w/workspace/dgexfoundry_device-sdk-go_PR-884 [Pipeline] { [Pipeline] ws [2021-04-16T08:45:55.772Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-16T08:46:01.411Z] using credential edgex-jenkins-ssh [2021-04-16T08:46:01.431Z] Cloning the remote Git repository [2021-04-16T08:46:01.483Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T08:46:01.593Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-16T08:46:01.754Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T08:46:01.754Z] > git --version # timeout=10 [2021-04-16T08:46:01.798Z] > git --version # 'git version 2.17.1' [2021-04-16T08:46:01.799Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T08:46:01.892Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T08:46:04.447Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T08:46:04.472Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T08:46:04.494Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T08:46:04.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T08:46:04.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T08:46:04.545Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/884/head:refs/remotes/origin/PR-884 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T08:46:05.338Z] Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit eef323edacbd0a1f507fca6650cd00f2e05c1375 [2021-04-16T08:46:05.572Z] Merge succeeded, producing eef323edacbd0a1f507fca6650cd00f2e05c1375 [2021-04-16T08:46:05.573Z] Checking out Revision eef323edacbd0a1f507fca6650cd00f2e05c1375 (PR-884) [2021-04-16T08:46:05.354Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T08:46:05.374Z] > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 [2021-04-16T08:46:05.471Z] > git remote # timeout=10 [2021-04-16T08:46:05.495Z] > git config --get remote.origin.url # timeout=10 [2021-04-16T08:46:05.513Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T08:46:05.523Z] > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 [2021-04-16T08:46:05.543Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-16T08:46:05.576Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T08:46:05.592Z] > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 [2021-04-16T08:46:09.889Z] Commit message: "refactor: update returned type to errors.Edgex" [2021-04-16T08:46:09.956Z] > git --version # timeout=10 [2021-04-16T08:46:09.976Z] > git --version # 'git version 2.17.1' [2021-04-16T08:46:09.990Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T08:46:11.766Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-16T08:46:12.194Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T08:46:12.558Z] + sudo service docker restart [2021-04-16T08:46:12.558Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T08:46:15.277Z] provisioning config files... [2021-04-16T08:46:15.320Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1080902748382923241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:46:15.751Z] ---> docker-login.sh [2021-04-16T08:46:15.752Z] nexus3.edgexfoundry.org:10001 [2021-04-16T08:46:16.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:46:17.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:46:17.005Z] Configure a credential helper to remove this warning. See [2021-04-16T08:46:17.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:46:17.005Z] [2021-04-16T08:46:17.005Z] Login Succeeded [2021-04-16T08:46:17.005Z] nexus3.edgexfoundry.org:10002 [2021-04-16T08:46:17.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:46:17.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:46:17.548Z] Configure a credential helper to remove this warning. See [2021-04-16T08:46:17.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:46:17.548Z] [2021-04-16T08:46:17.548Z] Login Succeeded [2021-04-16T08:46:17.548Z] nexus3.edgexfoundry.org:10003 [2021-04-16T08:46:17.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:46:17.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:46:17.834Z] Configure a credential helper to remove this warning. See [2021-04-16T08:46:17.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:46:17.834Z] [2021-04-16T08:46:17.834Z] Login Succeeded [2021-04-16T08:46:17.834Z] nexus3.edgexfoundry.org:10004 [2021-04-16T08:46:18.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:46:18.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:46:18.432Z] Configure a credential helper to remove this warning. See [2021-04-16T08:46:18.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:46:18.432Z] [2021-04-16T08:46:18.432Z] Login Succeeded [2021-04-16T08:46:18.432Z] docker.io [2021-04-16T08:46:18.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:46:19.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:46:19.296Z] Configure a credential helper to remove this warning. See [2021-04-16T08:46:19.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:46:19.296Z] [2021-04-16T08:46:19.296Z] Login Succeeded [2021-04-16T08:46:19.296Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T08:46:19.332Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T08:46:19.732Z] ========================================================= [2021-04-16T08:46:19.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-16T08:46:19.732Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:46:20.108Z] + 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-16T08:46:20.390Z] Sending build context to Docker daemon 2.499MB [2021-04-16T08:46:20.663Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T08:46:20.663Z] Step 2/8 : FROM ${BASE} [2021-04-16T08:46:20.663Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-16T08:46:20.663Z] 5f621e34cdf4: Pulling fs layer [2021-04-16T08:46:20.663Z] a4357932f1b6: Pulling fs layer [2021-04-16T08:46:20.663Z] 18c013af1878: Pulling fs layer [2021-04-16T08:46:20.663Z] 00ac8860ef70: Pulling fs layer [2021-04-16T08:46:20.663Z] 63d7cb157983: Pulling fs layer [2021-04-16T08:46:20.663Z] b116817d02f9: Pulling fs layer [2021-04-16T08:46:20.663Z] 745a02a5169b: Pulling fs layer [2021-04-16T08:46:20.663Z] 63d7cb157983: Waiting [2021-04-16T08:46:20.663Z] 00ac8860ef70: Waiting [2021-04-16T08:46:20.663Z] 745a02a5169b: Waiting [2021-04-16T08:46:20.663Z] b116817d02f9: Waiting [2021-04-16T08:46:20.663Z] 18c013af1878: Verifying Checksum [2021-04-16T08:46:20.663Z] 18c013af1878: Download complete [2021-04-16T08:46:20.663Z] a4357932f1b6: Verifying Checksum [2021-04-16T08:46:20.663Z] a4357932f1b6: Download complete [2021-04-16T08:46:20.663Z] 63d7cb157983: Verifying Checksum [2021-04-16T08:46:20.663Z] 63d7cb157983: Download complete [2021-04-16T08:46:20.663Z] b116817d02f9: Download complete [2021-04-16T08:46:20.940Z] 5f621e34cdf4: Verifying Checksum [2021-04-16T08:46:20.940Z] 5f621e34cdf4: Download complete [2021-04-16T08:46:21.540Z] 5f621e34cdf4: Pull complete [2021-04-16T08:46:22.139Z] a4357932f1b6: Pull complete [2021-04-16T08:46:22.410Z] 18c013af1878: Pull complete [2021-04-16T08:46:23.408Z] 745a02a5169b: Verifying Checksum [2021-04-16T08:46:23.408Z] 745a02a5169b: Download complete [2021-04-16T08:46:24.379Z] 00ac8860ef70: Verifying Checksum [2021-04-16T08:46:24.379Z] 00ac8860ef70: Download complete [2021-04-16T08:46:34.538Z] 00ac8860ef70: Pull complete [2021-04-16T08:46:34.538Z] 63d7cb157983: Pull complete [2021-04-16T08:46:34.812Z] b116817d02f9: Pull complete [2021-04-16T08:46:38.186Z] 745a02a5169b: Pull complete [2021-04-16T08:46:38.186Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-16T08:46:38.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-16T08:46:38.465Z] ---> b7e6874047d6 [2021-04-16T08:46:38.465Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T08:46:41.106Z] ---> Running in 67db59132bb3 [2021-04-16T08:46:41.378Z] Removing intermediate container 67db59132bb3 [2021-04-16T08:46:41.378Z] ---> 71bc639f94ef [2021-04-16T08:46:41.378Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T08:46:41.652Z] ---> Running in 116ccb7ece2b [2021-04-16T08:46:44.299Z] Removing intermediate container 116ccb7ece2b [2021-04-16T08:46:44.299Z] ---> 88af7913e934 [2021-04-16T08:46:44.299Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-16T08:46:44.299Z] ---> Running in 0fcfe2cc33a6 [2021-04-16T08:46:45.285Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T08:46:45.877Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T08:46:46.476Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-16T08:46:46.747Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-16T08:46:46.747Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-16T08:46:46.747Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-16T08:46:47.024Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-16T08:46:47.024Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-16T08:46:47.024Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T08:46:47.297Z] OK: 144 MiB in 45 packages [2021-04-16T08:46:48.748Z] Removing intermediate container 0fcfe2cc33a6 [2021-04-16T08:46:48.748Z] ---> 8d90b3217664 [2021-04-16T08:46:48.748Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-16T08:46:48.748Z] ---> Running in e095d5ce3c8f [2021-04-16T08:46:49.342Z] Removing intermediate container e095d5ce3c8f [2021-04-16T08:46:49.342Z] ---> c0848c11db06 [2021-04-16T08:46:49.342Z] Step 7/8 : COPY . . [2021-04-16T08:46:50.778Z] ---> e91279235dd8 [2021-04-16T08:46:50.778Z] Step 8/8 : RUN go mod download [2021-04-16T08:46:50.778Z] ---> Running in aadf46ecc7c4 [2021-04-16T08:47:08.718Z] Running on prd-centos7-docker-4c-2g-459 in /w/workspace/dgexfoundry_device-sdk-go_PR-884 [Pipeline] { [Pipeline] ws [2021-04-16T08:47:08.773Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-16T08:47:17.589Z] Removing intermediate container aadf46ecc7c4 [2021-04-16T08:47:17.589Z] ---> 6768dce2c8f4 [2021-04-16T08:47:17.589Z] Successfully built 6768dce2c8f4 [2021-04-16T08:47:17.589Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:47:17.969Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T08:47:17.969Z] . [Pipeline] withDockerContainer [2021-04-16T08:47:18.231Z] prd-ubuntu18.04-docker-arm64-4c-16g-458 does not seem to be running inside a container [2021-04-16T08:47:18.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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-16T08:47:19.740Z] $ docker top 04dfee60cd7a1dec7c698730ebbe0253b610db1b2c8292bce1d0b080d24e4716 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T08:47:20.739Z] + go version [2021-04-16T08:47:20.739Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-16T08:47:20.774Z] $ docker stop --time=1 04dfee60cd7a1dec7c698730ebbe0253b610db1b2c8292bce1d0b080d24e4716 [2021-04-16T08:47:22.709Z] $ docker rm -f 04dfee60cd7a1dec7c698730ebbe0253b610db1b2c8292bce1d0b080d24e4716 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:47:23.659Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T08:47:23.659Z] . [Pipeline] withDockerContainer [2021-04-16T08:47:23.938Z] prd-ubuntu18.04-docker-arm64-4c-16g-458 does not seem to be running inside a container [2021-04-16T08:47:24.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-16T08:47:24.071Z] using credential edgex-jenkins-ssh [2021-04-16T08:47:24.090Z] Cloning the remote Git repository [2021-04-16T08:47:25.532Z] $ docker top 8fd746347babe5664db2c43c65d01501a3f4a7150a51d7478dbb5b2d0a4ee9ce -eo pid,comm [2021-04-16T08:47:24.144Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T08:47:24.261Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-16T08:47:24.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T08:47:24.402Z] > git --version # timeout=10 [2021-04-16T08:47:24.478Z] > git --version # 'git version 2.24.3' [2021-04-16T08:47:24.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T08:47:24.590Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] sh [2021-04-16T08:47:26.540Z] + make test [2021-04-16T08:47:26.540Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T08:47:27.245Z] Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit eef323edacbd0a1f507fca6650cd00f2e05c1375 [2021-04-16T08:47:26.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T08:47:26.315Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T08:47:26.356Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T08:47:26.382Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T08:47:26.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T08:47:26.391Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/884/head:refs/remotes/origin/PR-884 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T08:47:27.258Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T08:47:27.351Z] > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 [2021-04-16T08:47:27.428Z] > git remote # timeout=10 [2021-04-16T08:47:27.453Z] > git config --get remote.origin.url # timeout=10 [2021-04-16T08:47:27.592Z] Merge succeeded, producing eef323edacbd0a1f507fca6650cd00f2e05c1375 [2021-04-16T08:47:27.592Z] Checking out Revision eef323edacbd0a1f507fca6650cd00f2e05c1375 (PR-884) [2021-04-16T08:47:27.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T08:47:27.491Z] > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 [2021-04-16T08:47:27.520Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-16T08:47:27.593Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T08:47:27.607Z] > git checkout -f eef323edacbd0a1f507fca6650cd00f2e05c1375 # timeout=10 [2021-04-16T08:47:33.545Z] Commit message: "refactor: update returned type to errors.Edgex" [2021-04-16T08:47:33.603Z] > git --version # timeout=10 [2021-04-16T08:47:33.711Z] > git --version # 'git version 2.24.3' [2021-04-16T08:47:33.869Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T08:47:36.548Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-16T08:47:37.396Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T08:47:37.774Z] + true [2021-04-16T08:47:37.774Z] + sudo service docker restart [2021-04-16T08:47:37.774Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T08:47:39.931Z] provisioning config files... [2021-04-16T08:47:40.010Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2459023118660571628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:47:40.763Z] ---> docker-login.sh [2021-04-16T08:47:40.763Z] nexus3.edgexfoundry.org:10001 [2021-04-16T08:47:41.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:41.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:41.865Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:41.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:41.865Z] [2021-04-16T08:47:41.865Z] Login Succeeded [2021-04-16T08:47:41.865Z] nexus3.edgexfoundry.org:10002 [2021-04-16T08:47:43.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:43.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:43.017Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:43.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:43.017Z] [2021-04-16T08:47:43.017Z] Login Succeeded [2021-04-16T08:47:43.017Z] nexus3.edgexfoundry.org:10003 [2021-04-16T08:47:43.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:43.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:43.807Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:43.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:43.807Z] [2021-04-16T08:47:43.807Z] Login Succeeded [2021-04-16T08:47:43.807Z] nexus3.edgexfoundry.org:10004 [2021-04-16T08:47:45.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:45.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:45.127Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:45.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:45.127Z] [2021-04-16T08:47:45.127Z] Login Succeeded [2021-04-16T08:47:45.127Z] docker.io [2021-04-16T08:47:45.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T08:47:46.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T08:47:46.418Z] Configure a credential helper to remove this warning. See [2021-04-16T08:47:46.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T08:47:46.418Z] [2021-04-16T08:47:46.418Z] Login Succeeded [2021-04-16T08:47:46.418Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T08:47:46.501Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T08:47:47.096Z] ========================================================= [2021-04-16T08:47:47.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-16T08:47:47.096Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:47:47.650Z] + 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-16T08:47:48.734Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-16T08:47:48.826Z] Sending build context to Docker daemon 2.487MB [2021-04-16T08:47:48.826Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T08:47:48.826Z] Step 2/8 : FROM ${BASE} [2021-04-16T08:47:49.140Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-16T08:47:49.140Z] 188c0c94c7c5: Pulling fs layer [2021-04-16T08:47:49.140Z] 0ef7d3d256c8: Pulling fs layer [2021-04-16T08:47:49.140Z] de9db76c5a1d: Pulling fs layer [2021-04-16T08:47:49.140Z] bca2f99d35d6: Pulling fs layer [2021-04-16T08:47:49.140Z] 93359f2a8cfa: Pulling fs layer [2021-04-16T08:47:49.140Z] 7c6f9722023f: Pulling fs layer [2021-04-16T08:47:49.140Z] a35cf1a2eb13: Pulling fs layer [2021-04-16T08:47:49.140Z] bca2f99d35d6: Waiting [2021-04-16T08:47:49.140Z] 93359f2a8cfa: Waiting [2021-04-16T08:47:49.140Z] 7c6f9722023f: Waiting [2021-04-16T08:47:49.140Z] a35cf1a2eb13: Waiting [2021-04-16T08:47:49.140Z] de9db76c5a1d: Download complete [2021-04-16T08:47:49.140Z] 0ef7d3d256c8: Verifying Checksum [2021-04-16T08:47:49.140Z] 0ef7d3d256c8: Download complete [2021-04-16T08:47:49.494Z] 93359f2a8cfa: Verifying Checksum [2021-04-16T08:47:49.494Z] 93359f2a8cfa: Download complete [2021-04-16T08:47:49.494Z] 7c6f9722023f: Verifying Checksum [2021-04-16T08:47:49.494Z] 7c6f9722023f: Download complete [2021-04-16T08:47:49.804Z] 188c0c94c7c5: Verifying Checksum [2021-04-16T08:47:49.804Z] 188c0c94c7c5: Download complete [2021-04-16T08:47:53.299Z] 188c0c94c7c5: Pull complete [2021-04-16T08:47:53.740Z] 0ef7d3d256c8: Pull complete [2021-04-16T08:47:54.050Z] de9db76c5a1d: Pull complete [2021-04-16T08:47:58.725Z] a35cf1a2eb13: Verifying Checksum [2021-04-16T08:47:58.725Z] a35cf1a2eb13: Download complete [2021-04-16T08:47:59.365Z] bca2f99d35d6: Verifying Checksum [2021-04-16T08:47:59.365Z] bca2f99d35d6: Download complete [2021-04-16T08:48:15.346Z] bca2f99d35d6: Pull complete [2021-04-16T08:48:15.715Z] 93359f2a8cfa: Pull complete [2021-04-16T08:48:16.032Z] 7c6f9722023f: Pull complete [2021-04-16T08:48:24.524Z] a35cf1a2eb13: Pull complete [2021-04-16T08:48:24.524Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-16T08:48:24.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-16T08:48:24.524Z] ---> a62c8e92a672 [2021-04-16T08:48:24.524Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T08:48:24.524Z] ---> Running in 5d89c1c45568 [2021-04-16T08:48:24.524Z] Removing intermediate container 5d89c1c45568 [2021-04-16T08:48:24.524Z] ---> c76e6eeffe96 [2021-04-16T08:48:24.524Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T08:48:24.524Z] ---> Running in c66422a8a36f [2021-04-16T08:48:26.594Z] Removing intermediate container c66422a8a36f [2021-04-16T08:48:26.594Z] ---> 26418b1c7b90 [2021-04-16T08:48:26.594Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-16T08:48:26.594Z] ---> Running in 339a53386d55 [2021-04-16T08:48:28.349Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T08:48:29.594Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T08:48:32.299Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-16T08:48:32.299Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-16T08:48:32.299Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-16T08:48:32.299Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-16T08:48:32.587Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-16T08:48:32.893Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-16T08:48:32.893Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T08:48:32.893Z] OK: 167 MiB in 45 packages [2021-04-16T08:48:34.435Z] Removing intermediate container 339a53386d55 [2021-04-16T08:48:34.435Z] ---> be4ea8e4988a [2021-04-16T08:48:34.435Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-16T08:48:34.435Z] ---> Running in af3b87e21e7f [2021-04-16T08:48:34.782Z] Removing intermediate container af3b87e21e7f [2021-04-16T08:48:34.782Z] ---> 2f7bbe562422 [2021-04-16T08:48:34.782Z] Step 7/8 : COPY . . [2021-04-16T08:48:37.078Z] ---> 7ca5b829aa3b [2021-04-16T08:48:37.079Z] Step 8/8 : RUN go mod download [2021-04-16T08:48:37.399Z] ---> Running in fc46ce47c150 [2021-04-16T08:48:45.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-16T08:48:45.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-16T08:48:45.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-16T08:48:45.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-16T08:48:45.321Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-16T08:48:47.941Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.161s coverage: 28.1% of statements [2021-04-16T08:48:48.934Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.173s coverage: 78.9% of statements [2021-04-16T08:48:48.934Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.167s coverage: 7.8% of statements [2021-04-16T08:48:48.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-16T08:48:48.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-16T08:48:48.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-16T08:48:50.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.307s coverage: 32.0% of statements [2021-04-16T08:48:50.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-16T08:48:50.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-16T08:48:50.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-16T08:48:54.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.298s coverage: 57.1% of statements [2021-04-16T08:48:54.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.091s coverage: 6.6% of statements [2021-04-16T08:48:54.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements [2021-04-16T08:48:54.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-16T08:48:54.954Z] GO111MODULE=on go vet ./... [2021-04-16T08:49:11.175Z] Removing intermediate container fc46ce47c150 [2021-04-16T08:49:11.175Z] ---> 81b20c1f8c50 [2021-04-16T08:49:11.175Z] Successfully built 81b20c1f8c50 [2021-04-16T08:49:11.175Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:49:11.578Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T08:49:11.853Z] . [Pipeline] withDockerContainer [2021-04-16T08:49:12.242Z] prd-centos7-docker-4c-2g-459 does not seem to be running inside a container [2021-04-16T08:49:12.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-16T08:49:14.397Z] $ docker top 432c77220ea874cc2f365b382672f406823dd4f482a91c88851a08e18739dc50 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T08:49:15.577Z] + go version [2021-04-16T08:49:15.577Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-16T08:49:15.728Z] $ docker stop --time=1 432c77220ea874cc2f365b382672f406823dd4f482a91c88851a08e18739dc50 [2021-04-16T08:49:17.395Z] $ docker rm -f 432c77220ea874cc2f365b382672f406823dd4f482a91c88851a08e18739dc50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:49:18.842Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T08:49:18.842Z] . [Pipeline] withDockerContainer [2021-04-16T08:49:19.225Z] prd-centos7-docker-4c-2g-459 does not seem to be running inside a container [2021-04-16T08:49:19.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-16T08:49:20.422Z] $ docker top a1caeb164153257d4e6720f26da5550dccfa7c18326d6b31028cdfced2bbed78 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T08:49:21.729Z] + make test [2021-04-16T08:49:21.729Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T08:49:40.780Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-16T08:49:41.982Z] gofmt -l . [2021-04-16T08:49:41.982Z] [ "`gofmt -l .`" = "" ] [2021-04-16T08:49:41.982Z] ./bin/test-attribution-txt.sh [2021-04-16T08:49:41.982Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-16T08:49:42.018Z] $ docker stop --time=1 8fd746347babe5664db2c43c65d01501a3f4a7150a51d7478dbb5b2d0a4ee9ce [2021-04-16T08:49:44.186Z] $ docker rm -f 8fd746347babe5664db2c43c65d01501a3f4a7150a51d7478dbb5b2d0a4ee9ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T08:49:45.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-16T08:49:46.455Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T08:49:49.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-16T08:49:50.316Z] + ls -al . [2021-04-16T08:49:50.316Z] total 224 [2021-04-16T08:49:50.316Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 08:49 . [2021-04-16T08:49:50.316Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 08:46 .. [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 08:46 .dockerignore [2021-04-16T08:49:50.316Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 08:46 .git [2021-04-16T08:49:50.316Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 08:46 .github [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 08:46 .gitignore [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 16 08:46 Dockerfile.build [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 16 08:46 Jenkinsfile [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 08:46 LICENSE [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 16 08:46 Makefile [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 16 08:46 README.md [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 16 08:46 RELEASE-NOTES.txt [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 08:43 VERSION [2021-04-16T08:49:50.316Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 08:46 bin [2021-04-16T08:49:50.316Z] -rw-r--r-- 1 jenkins jenkins 100116 Apr 16 08:48 coverage.out [2021-04-16T08:49:50.316Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 08:46 example [2021-04-16T08:49:50.316Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 16 08:49 go.mod [2021-04-16T08:49:50.316Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 16 08:49 go.sum [2021-04-16T08:49:50.316Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 08:46 internal [2021-04-16T08:49:50.316Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 08:46 openapi [2021-04-16T08:49:50.316Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 08:46 pkg [2021-04-16T08:49:50.316Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 08:46 snap [2021-04-16T08:49:50.316Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 08:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:49:50.783Z] + 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=eef323edacbd0a1f507fca6650cd00f2e05c1375 --label arch=arm64 --label version=0.0.0 . [2021-04-16T08:49:51.400Z] Sending build context to Docker daemon 2.6MB [2021-04-16T08:49:51.400Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T08:49:51.400Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-16T08:49:51.400Z] ---> 6768dce2c8f4 [2021-04-16T08:49:51.400Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-16T08:49:51.698Z] ---> Running in b7b80990cf55 [2021-04-16T08:49:51.972Z] Removing intermediate container b7b80990cf55 [2021-04-16T08:49:51.972Z] ---> 0ffcd9512cdb [2021-04-16T08:49:51.972Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T08:49:52.248Z] ---> Running in 85043ee7ebff [2021-04-16T08:49:52.526Z] Removing intermediate container 85043ee7ebff [2021-04-16T08:49:52.526Z] ---> 36428ce0c71e [2021-04-16T08:49:52.526Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T08:49:52.797Z] ---> Running in 2de2811edcd1 [2021-04-16T08:49:54.766Z] Removing intermediate container 2de2811edcd1 [2021-04-16T08:49:54.766Z] ---> ceb219d1bd11 [2021-04-16T08:49:54.766Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-16T08:49:54.766Z] ---> Running in 9271031d2194 [2021-04-16T08:49:55.745Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T08:49:56.714Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T08:49:57.306Z] OK: 144 MiB in 45 packages [2021-04-16T08:49:58.299Z] Removing intermediate container 9271031d2194 [2021-04-16T08:49:58.299Z] ---> 565a319bf080 [2021-04-16T08:49:58.299Z] Step 7/23 : COPY . . [2021-04-16T08:49:59.730Z] ---> 1eb39eaa165e [2021-04-16T08:49:59.730Z] Step 8/23 : RUN go mod download [2021-04-16T08:50:00.005Z] ---> Running in f37284907574 [2021-04-16T08:50:02.623Z] Removing intermediate container f37284907574 [2021-04-16T08:50:02.623Z] ---> 385f36beee0d [2021-04-16T08:50:02.623Z] Step 9/23 : RUN make build [2021-04-16T08:50:02.623Z] ---> Running in 4791d5ca2936 [2021-04-16T08:50:03.214Z] 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-16T08:50:22.281Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-16T08:50:22.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-16T08:50:22.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-16T08:50:22.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-16T08:50:22.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-16T08:50:26.073Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.096s coverage: 28.1% of statements [2021-04-16T08:50:26.073Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.172s coverage: 78.9% of statements [2021-04-16T08:50:26.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.156s coverage: 7.8% of statements [2021-04-16T08:50:26.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-16T08:50:26.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-16T08:50:26.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-16T08:50:28.395Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.190s coverage: 32.0% of statements [2021-04-16T08:50:28.395Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-16T08:50:28.395Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-16T08:50:28.395Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-16T08:50:29.458Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.153s coverage: 57.1% of statements [2021-04-16T08:50:30.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.648s coverage: 6.6% of statements [2021-04-16T08:50:30.992Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.0% of statements [2021-04-16T08:50:30.992Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-16T08:50:31.307Z] GO111MODULE=on go vet ./... [2021-04-16T08:50:35.552Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-16T08:50:38.173Z] Removing intermediate container 4791d5ca2936 [2021-04-16T08:50:38.173Z] ---> 0e2e45b19de4 [2021-04-16T08:50:38.173Z] Step 10/23 : FROM alpine:3.12 [2021-04-16T08:50:38.444Z] 3.12: Pulling from library/alpine [2021-04-16T08:50:38.718Z] d2f70382dc9a: Pulling fs layer [2021-04-16T08:50:38.718Z] d2f70382dc9a: Verifying Checksum [2021-04-16T08:50:38.718Z] d2f70382dc9a: Download complete [2021-04-16T08:50:39.320Z] d2f70382dc9a: Pull complete [2021-04-16T08:50:39.320Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-16T08:50:39.320Z] Status: Downloaded newer image for alpine:3.12 [2021-04-16T08:50:39.320Z] ---> 9852663dfa18 [2021-04-16T08:50:39.320Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T08:50:39.592Z] ---> Running in ab3aa3ae934d [2021-04-16T08:50:40.196Z] Removing intermediate container ab3aa3ae934d [2021-04-16T08:50:40.196Z] ---> 72efd822bc88 [2021-04-16T08:50:40.196Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T08:50:40.196Z] ---> Running in 310ab381b4ca [2021-04-16T08:50:42.812Z] Removing intermediate container 310ab381b4ca [2021-04-16T08:50:42.812Z] ---> 05a571efc135 [2021-04-16T08:50:42.812Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-16T08:50:42.812Z] ---> Running in 86612d0f8ba0 [2021-04-16T08:50:43.791Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T08:50:44.381Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T08:50:44.974Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-16T08:50:44.974Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-16T08:50:45.245Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-16T08:50:45.245Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-16T08:50:45.517Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-16T08:50:45.517Z] Executing busybox-1.31.1-r20.trigger [2021-04-16T08:50:45.517Z] OK: 8 MiB in 19 packages [2021-04-16T08:50:46.943Z] Removing intermediate container 86612d0f8ba0 [2021-04-16T08:50:46.943Z] ---> 79adeb3dd04a [2021-04-16T08:50:46.943Z] Step 14/23 : WORKDIR / [2021-04-16T08:50:46.943Z] ---> Running in b40acf03f7bc [2021-04-16T08:50:47.536Z] Removing intermediate container b40acf03f7bc [2021-04-16T08:50:47.536Z] ---> 67574fcd47a4 [2021-04-16T08:50:47.536Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-16T08:50:48.131Z] ---> edaae270074f [2021-04-16T08:50:48.131Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-16T08:50:49.558Z] ---> 49642e500834 [2021-04-16T08:50:49.558Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-16T08:50:50.152Z] ---> a2f2219bbf46 [2021-04-16T08:50:50.152Z] Step 18/23 : EXPOSE 49990 [2021-04-16T08:50:50.424Z] ---> Running in 744584918c8d [2021-04-16T08:50:51.020Z] Removing intermediate container 744584918c8d [2021-04-16T08:50:51.020Z] ---> 3cc5e7be5955 [2021-04-16T08:50:51.020Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-16T08:50:51.020Z] ---> Running in be6b5167bad8 [2021-04-16T08:50:51.635Z] Removing intermediate container be6b5167bad8 [2021-04-16T08:50:51.635Z] ---> aa6bb2c60624 [2021-04-16T08:50:51.635Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-16T08:50:51.635Z] ---> Running in 0a468a629faf [2021-04-16T08:50:52.231Z] Removing intermediate container 0a468a629faf [2021-04-16T08:50:52.231Z] ---> da6503961d96 [2021-04-16T08:50:52.231Z] Step 21/23 : LABEL arch=arm64 [2021-04-16T08:50:52.231Z] ---> Running in d770b31f783b [2021-04-16T08:50:52.827Z] Removing intermediate container d770b31f783b [2021-04-16T08:50:52.827Z] ---> ef13e37c0ac0 [2021-04-16T08:50:52.827Z] Step 22/23 : LABEL git_sha=eef323edacbd0a1f507fca6650cd00f2e05c1375 [2021-04-16T08:50:52.827Z] ---> Running in ea1160852d11 [2021-04-16T08:50:53.427Z] Removing intermediate container ea1160852d11 [2021-04-16T08:50:53.427Z] ---> 25a891d51126 [2021-04-16T08:50:53.427Z] Step 23/23 : LABEL version=0.0.0 [2021-04-16T08:50:54.402Z] ---> Running in 57a445426124 [2021-04-16T08:50:54.674Z] Removing intermediate container 57a445426124 [2021-04-16T08:50:54.674Z] ---> 036c2e9048e1 [2021-04-16T08:50:54.674Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-16T08:50:54.674Z] Successfully built 036c2e9048e1 [2021-04-16T08:50:54.674Z] 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-16T08:50:55.702Z] ---> job-cost.sh [2021-04-16T08:50:55.702Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-AF3z [2021-04-16T08:51:11.555Z] gofmt -l . [2021-04-16T08:51:11.555Z] [ "`gofmt -l .`" = "" ] [2021-04-16T08:51:11.555Z] ./bin/test-attribution-txt.sh [2021-04-16T08:51:13.024Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-16T08:51:13.348Z] $ docker stop --time=1 a1caeb164153257d4e6720f26da5550dccfa7c18326d6b31028cdfced2bbed78 [2021-04-16T08:51:15.837Z] $ docker rm -f a1caeb164153257d4e6720f26da5550dccfa7c18326d6b31028cdfced2bbed78 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T08:51:17.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-16T08:51:17.544Z] Warning: overwriting stash ‘coverage-report’ [2021-04-16T08:51:18.435Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-16T08:51:19.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-16T08:51:19.654Z] + ls -al . [2021-04-16T08:51:19.654Z] total 188 [2021-04-16T08:51:19.654Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 16 08:51 . [2021-04-16T08:51:19.654Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 08:47 .. [2021-04-16T08:51:19.654Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 08:47 bin [2021-04-16T08:51:19.654Z] -rw-r--r--. 1 jenkins jenkins 100116 Apr 16 08:50 coverage.out [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 16 08:47 Dockerfile.build [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 08:47 .dockerignore [2021-04-16T08:51:19.654Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 16 08:47 example [2021-04-16T08:51:19.654Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 08:47 .git [2021-04-16T08:51:19.654Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 16 08:47 .github [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 08:47 .gitignore [2021-04-16T08:51:19.654Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 16 08:51 go.mod [2021-04-16T08:51:19.654Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 16 08:51 go.sum [2021-04-16T08:51:19.654Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 16 08:47 internal [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 16 08:47 Jenkinsfile [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 08:47 LICENSE [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 16 08:47 Makefile [2021-04-16T08:51:19.654Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 16 08:47 openapi [2021-04-16T08:51:19.654Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 08:47 pkg [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 16 08:47 README.md [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 16 08:47 RELEASE-NOTES.txt [2021-04-16T08:51:19.654Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 08:47 snap [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 08:43 VERSION [2021-04-16T08:51:19.654Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 08:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:51:20.455Z] + 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=eef323edacbd0a1f507fca6650cd00f2e05c1375 --label arch=amd64 --label version=0.0.0 . [2021-04-16T08:51:21.589Z] Sending build context to Docker daemon 2.588MB [2021-04-16T08:51:21.589Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T08:51:21.589Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-16T08:51:21.589Z] ---> 81b20c1f8c50 [2021-04-16T08:51:21.589Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-16T08:51:21.906Z] ---> Running in f16b3b9967e5 [2021-04-16T08:51:22.190Z] Removing intermediate container f16b3b9967e5 [2021-04-16T08:51:22.190Z] ---> 99d463279fd3 [2021-04-16T08:51:22.190Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T08:51:22.190Z] ---> Running in 2a8a80a454b2 [2021-04-16T08:51:22.556Z] Removing intermediate container 2a8a80a454b2 [2021-04-16T08:51:22.556Z] ---> 891f80844dfd [2021-04-16T08:51:22.556Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T08:51:22.556Z] ---> Running in ae10719667e8 [2021-04-16T08:51:25.341Z] Removing intermediate container ae10719667e8 [2021-04-16T08:51:25.341Z] ---> 30a7a5a2decf [2021-04-16T08:51:25.341Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-16T08:51:25.736Z] ---> Running in f56525bc2ef3 [2021-04-16T08:51:27.463Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T08:51:28.454Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T08:51:29.582Z] OK: 167 MiB in 45 packages [2021-04-16T08:51:31.279Z] Removing intermediate container f56525bc2ef3 [2021-04-16T08:51:31.279Z] ---> 0890e0d82ff2 [2021-04-16T08:51:31.279Z] Step 7/23 : COPY . . [2021-04-16T08:51:32.265Z] ---> f5723e40082c [2021-04-16T08:51:32.265Z] Step 8/23 : RUN go mod download [2021-04-16T08:51:32.265Z] ---> Running in c1b3f7191e97 [2021-04-16T08:51:33.764Z] Removing intermediate container c1b3f7191e97 [2021-04-16T08:51:33.764Z] ---> a8c9c6faf006 [2021-04-16T08:51:33.764Z] Step 9/23 : RUN make build [2021-04-16T08:51:34.085Z] ---> Running in c3d39bd64b09 [2021-04-16T08:51:34.659Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T08:51:35.180Z] 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-16T08:52:02.583Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-16T08:52:05.313Z] Removing intermediate container c3d39bd64b09 [2021-04-16T08:52:05.313Z] ---> db944862b6c0 [2021-04-16T08:52:05.313Z] Step 10/23 : FROM alpine:3.12 [2021-04-16T08:52:05.646Z] 3.12: Pulling from library/alpine [2021-04-16T08:52:05.646Z] 339de151aab4: Pulling fs layer [2021-04-16T08:52:05.948Z] 339de151aab4: Verifying Checksum [2021-04-16T08:52:05.948Z] 339de151aab4: Download complete [2021-04-16T08:52:06.995Z] 339de151aab4: Pull complete [2021-04-16T08:52:06.995Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-16T08:52:06.995Z] Status: Downloaded newer image for alpine:3.12 [2021-04-16T08:52:06.995Z] ---> 13621d1b12d4 [2021-04-16T08:52:06.995Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T08:52:06.995Z] ---> Running in c77692e506c6 [2021-04-16T08:52:07.697Z] Removing intermediate container c77692e506c6 [2021-04-16T08:52:07.697Z] ---> 2a9cc82b6225 [2021-04-16T08:52:07.697Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T08:52:07.697Z] ---> Running in 11a2e56dd27c [2021-04-16T08:52:10.010Z] Removing intermediate container 11a2e56dd27c [2021-04-16T08:52:10.010Z] ---> 8d50c5c79717 [2021-04-16T08:52:10.010Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-16T08:52:10.010Z] ---> Running in fea9235164ae [2021-04-16T08:52:11.562Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T08:52:12.205Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T08:52:13.212Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-16T08:52:13.212Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-16T08:52:13.212Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-16T08:52:13.493Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-16T08:52:13.493Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-16T08:52:13.812Z] Executing busybox-1.31.1-r20.trigger [2021-04-16T08:52:13.812Z] OK: 8 MiB in 19 packages [2021-04-16T08:52:14.507Z] Removing intermediate container fea9235164ae [2021-04-16T08:52:14.507Z] ---> a1a23e7e00da [2021-04-16T08:52:14.507Z] Step 14/23 : WORKDIR / [2021-04-16T08:52:14.507Z] ---> Running in bf3b48aeaeb2 [2021-04-16T08:52:14.796Z] Removing intermediate container bf3b48aeaeb2 [2021-04-16T08:52:14.796Z] ---> 80f1ffdfb1cc [2021-04-16T08:52:14.796Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-16T08:52:15.077Z] ---> f1f792591ada [2021-04-16T08:52:15.077Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-16T08:52:16.043Z] ---> 717c6ebeaef9 [2021-04-16T08:52:16.043Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-16T08:52:16.315Z] ---> 99e657d59019 [2021-04-16T08:52:16.315Z] Step 18/23 : EXPOSE 49990 [2021-04-16T08:52:16.315Z] ---> Running in 98b1533e6b3c [2021-04-16T08:52:16.620Z] Removing intermediate container 98b1533e6b3c [2021-04-16T08:52:16.620Z] ---> dc599a975e5f [2021-04-16T08:52:16.620Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-16T08:52:16.620Z] ---> Running in bbb45a49608c [2021-04-16T08:52:16.924Z] Removing intermediate container bbb45a49608c [2021-04-16T08:52:16.924Z] ---> d220fc34b1b5 [2021-04-16T08:52:16.924Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-16T08:52:16.924Z] ---> Running in bda89daa9423 [2021-04-16T08:52:17.274Z] Removing intermediate container bda89daa9423 [2021-04-16T08:52:17.274Z] ---> 9c4f46ff8a98 [2021-04-16T08:52:17.274Z] Step 21/23 : LABEL arch=amd64 [2021-04-16T08:52:17.274Z] ---> Running in 532cbfabde33 [2021-04-16T08:52:17.632Z] Removing intermediate container 532cbfabde33 [2021-04-16T08:52:17.632Z] ---> ec1cbd096f8d [2021-04-16T08:52:17.632Z] Step 22/23 : LABEL git_sha=eef323edacbd0a1f507fca6650cd00f2e05c1375 [2021-04-16T08:52:17.632Z] ---> Running in 4acdb7b7037c [2021-04-16T08:52:17.918Z] Removing intermediate container 4acdb7b7037c [2021-04-16T08:52:17.918Z] ---> 913762448b8b [2021-04-16T08:52:17.918Z] Step 23/23 : LABEL version=0.0.0 [2021-04-16T08:52:17.918Z] ---> Running in 99ad06567cfa [2021-04-16T08:52:18.186Z] Removing intermediate container 99ad06567cfa [2021-04-16T08:52:18.186Z] ---> 42ac9491a79c [2021-04-16T08:52:18.186Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-16T08:52:18.186Z] Successfully built 42ac9491a79c [2021-04-16T08:52:18.460Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:52:19.365Z] ---> job-cost.sh [2021-04-16T08:52:19.365Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wzdz [2021-04-16T08:52:46.740Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T08:53:11.390Z] lf-activate-venv(): INFO: Adding /tmp/venv-AF3z/bin to PATH [2021-04-16T08:53:11.390Z] INFO: No Stack... [2021-04-16T08:53:11.390Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-16T08:53:11.390Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T08:53:11.749Z] + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2021-04-16T08:53:11.749Z] [Pipeline] lock [2021-04-16T08:53:11.891Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] [2021-04-16T08:53:11.897Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] did not exist. Created. [2021-04-16T08:53:11.897Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T08:53:12.341Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-16T08:53:12.527Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T08:53:12.577Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-16T08:53:34.096Z] lf-activate-venv(): INFO: Adding /tmp/venv-wzdz/bin to PATH [2021-04-16T08:53:34.096Z] INFO: No Stack... [2021-04-16T08:53:34.096Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T08:53:34.096Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T08:53:34.556Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-16T08:53:34.556Z] + cut -d, -f6 [Pipeline] lock [2021-04-16T08:53:34.722Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] [2021-04-16T08:53:34.728Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] did not exist. Created. [2021-04-16T08:53:34.729Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-884-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T08:53:35.219Z] /w/workspace/device-sdk-go/1@tmp/durable-9d227f79/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-04-16T08:53:35.635Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-16T08:53:36.207Z] Warning: overwriting stash ‘stack-cost’ [2021-04-16T08:53:36.849Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T08:53:36.872Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-884-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-16T08:53:38.074Z] provisioning config files... [2021-04-16T08:53:38.088Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/config7701296205072071674tmp [Pipeline] { [Pipeline] sh [2021-04-16T08:53:38.497Z] + set +x [2021-04-16T08:53:38.497Z] + curl -s https://codecov.io/bash [2021-04-16T08:53:38.497Z] + bash -s -- [2021-04-16T08:53:39.094Z] [2021-04-16T08:53:39.094Z] _____ _ [2021-04-16T08:53:39.094Z] / ____| | | [2021-04-16T08:53:39.094Z] | | ___ __| | ___ ___ _____ __ [2021-04-16T08:53:39.094Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-16T08:53:39.094Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-16T08:53:39.094Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-16T08:53:39.094Z] Bash-1.0.1 [2021-04-16T08:53:39.094Z] [2021-04-16T08:53:39.094Z] [2021-04-16T08:53:39.094Z] ==> git version 2.24.3 found [2021-04-16T08:53:39.094Z] ==> 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-16T08:53:39.094Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-16T08:53:39.094Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-16T08:53:39.094Z] ==> Jenkins CI detected. [2021-04-16T08:53:39.094Z] project root: . [2021-04-16T08:53:39.094Z] --> token set from env [2021-04-16T08:53:39.095Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-16T08:53:39.095Z] ==> Running gcov in . (disable via -X gcov) [2021-04-16T08:53:39.518Z] ==> Python coveragepy not found [2021-04-16T08:53:39.518Z] ==> Searching for coverage reports in: [2021-04-16T08:53:39.518Z] + . [2021-04-16T08:53:39.518Z] -> Found 1 reports [2021-04-16T08:53:39.518Z] ==> Detecting git/mercurial file structure [2021-04-16T08:53:39.518Z] ==> Reading reports [2021-04-16T08:53:39.518Z] + ./coverage.out bytes=100116 [2021-04-16T08:53:39.518Z] ==> Appending adjustments [2021-04-16T08:53:39.518Z] https://docs.codecov.io/docs/fixing-reports [2021-04-16T08:53:41.787Z] + Found adjustments [2021-04-16T08:53:41.787Z] ==> Gzipping contents [2021-04-16T08:53:41.787Z] 16K /tmp/codecov.CDugvt.gz [2021-04-16T08:53:41.787Z] ==> Uploading reports [2021-04-16T08:53:41.787Z] url: https://codecov.io [2021-04-16T08:53:41.787Z] query: branch=PR-884&commit=eef323edacbd0a1f507fca6650cd00f2e05c1375&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-884%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=884&job=&cmd_args= [2021-04-16T08:53:41.787Z] -> Pinging Codecov [2021-04-16T08:53:41.787Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-884&commit=eef323edacbd0a1f507fca6650cd00f2e05c1375&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-884%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=884&job=&cmd_args= [2021-04-16T08:53:42.066Z] -> Uploading to [2021-04-16T08:53:42.066Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-16/7E55EF52A471D76F132DFD9A03CDDE97/eef323edacbd0a1f507fca6650cd00f2e05c1375/d0d65721-61cb-4f64-becb-d233b33f6dbc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210416%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210416T085341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=15197c8aa4a3032a42a8e3a7a6798e4ae5de78fc2a3bd15ca89fdbdf8667c45b [2021-04-16T08:53:42.066Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-16T08:53:42.066Z] Dload Upload Total Spent Left Speed [2021-04-16T08:53:42.658Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13506 0 0 100 13506 0 27481 --:--:-- --:--:-- --:--:-- 27507 100 13506 0 0 100 13506 0 27463 --:--:-- --:--:-- --:--:-- 27451 [2021-04-16T08:53:42.658Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/eef323edacbd0a1f507fca6650cd00f2e05c1375 [Pipeline] } [2021-04-16T08:53:42.690Z] 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-16T08:53:44.814Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:53:45.541Z] ---> package-listing.sh [2021-04-16T08:53:45.541Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-16T08:53:45.541Z] ++ facter osfamily [2021-04-16T08:53:45.811Z] + OS_FAMILY=redhat [2021-04-16T08:53:45.811Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-884 [2021-04-16T08:53:45.811Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-16T08:53:45.811Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-16T08:53:45.811Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-16T08:53:45.811Z] + PACKAGES=/tmp/packages_start.txt [2021-04-16T08:53:45.812Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-884 ']' [2021-04-16T08:53:45.812Z] + PACKAGES=/tmp/packages_end.txt [2021-04-16T08:53:45.812Z] + case "${OS_FAMILY}" in [2021-04-16T08:53:45.812Z] + rpm -qa [2021-04-16T08:53:45.812Z] + sort [2021-04-16T08:53:52.764Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-16T08:53:52.764Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-16T08:53:52.764Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-16T08:53:52.764Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-884 ']' [2021-04-16T08:53:52.764Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-884/archives/ [2021-04-16T08:53:52.764Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-884/archives/ [Pipeline] echo [2021-04-16T08:53:52.810Z] 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-884/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-16T08:53:53.197Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:53:53.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T08:53:54.309Z] [2021-04-16T08:53:54.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-16T08:53:55.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T08:53:55.665Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-16T08:53:55.665Z] df20fa9351a1: Pulling fs layer [2021-04-16T08:53:55.665Z] 36b3adc4ff6f: Pulling fs layer [2021-04-16T08:53:55.665Z] 8ad3a11d3b57: Pulling fs layer [2021-04-16T08:53:55.665Z] 46f8f816bc3b: Pulling fs layer [2021-04-16T08:53:55.665Z] 93b61091891f: Pulling fs layer [2021-04-16T08:53:55.665Z] 93b9cdb0e59b: Pulling fs layer [2021-04-16T08:53:55.665Z] 5e14af77c1be: Pulling fs layer [2021-04-16T08:53:55.665Z] 01666e4c0597: Pulling fs layer [2021-04-16T08:53:55.665Z] aa168da1d23b: Pulling fs layer [2021-04-16T08:53:55.665Z] 46f8f816bc3b: Waiting [2021-04-16T08:53:55.665Z] 93b61091891f: Waiting [2021-04-16T08:53:55.665Z] 01666e4c0597: Waiting [2021-04-16T08:53:55.665Z] aa168da1d23b: Waiting [2021-04-16T08:53:55.665Z] 5e14af77c1be: Waiting [2021-04-16T08:53:56.044Z] 36b3adc4ff6f: Verifying Checksum [2021-04-16T08:53:56.044Z] 36b3adc4ff6f: Download complete [2021-04-16T08:53:56.044Z] 46f8f816bc3b: Verifying Checksum [2021-04-16T08:53:56.044Z] 46f8f816bc3b: Download complete [2021-04-16T08:53:56.352Z] 93b61091891f: Verifying Checksum [2021-04-16T08:53:56.352Z] 93b61091891f: Download complete [2021-04-16T08:53:56.352Z] df20fa9351a1: Verifying Checksum [2021-04-16T08:53:56.352Z] df20fa9351a1: Download complete [2021-04-16T08:53:56.352Z] 5e14af77c1be: Verifying Checksum [2021-04-16T08:53:56.352Z] 5e14af77c1be: Download complete [2021-04-16T08:53:56.352Z] 93b9cdb0e59b: Verifying Checksum [2021-04-16T08:53:56.352Z] 93b9cdb0e59b: Download complete [2021-04-16T08:53:56.352Z] 01666e4c0597: Verifying Checksum [2021-04-16T08:53:56.352Z] 01666e4c0597: Download complete [2021-04-16T08:53:57.328Z] 8ad3a11d3b57: Verifying Checksum [2021-04-16T08:53:57.328Z] 8ad3a11d3b57: Download complete [2021-04-16T08:53:57.328Z] df20fa9351a1: Pull complete [2021-04-16T08:53:57.962Z] 36b3adc4ff6f: Pull complete [2021-04-16T08:53:59.640Z] 8ad3a11d3b57: Pull complete [2021-04-16T08:54:00.374Z] 46f8f816bc3b: Pull complete [2021-04-16T08:54:01.410Z] 93b61091891f: Pull complete [2021-04-16T08:54:02.092Z] 93b9cdb0e59b: Pull complete [2021-04-16T08:54:02.387Z] 5e14af77c1be: Pull complete [2021-04-16T08:54:03.493Z] 01666e4c0597: Pull complete [2021-04-16T08:54:05.040Z] aa168da1d23b: Verifying Checksum [2021-04-16T08:54:05.040Z] aa168da1d23b: Download complete [2021-04-16T08:54:23.608Z] aa168da1d23b: Pull complete [2021-04-16T08:54:23.608Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-16T08:54:23.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T08:54:23.608Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-16T08:54:24.554Z] prd-centos7-docker-4c-2g-457 does not seem to be running inside a container [2021-04-16T08:54:24.632Z] $ 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-884/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-884 -v /w/workspace/dgexfoundry_device-sdk-go_PR-884:/w/workspace/dgexfoundry_device-sdk-go_PR-884:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-16T08:54:27.215Z] $ docker top c9e4acf709ba2175315927de4c2c4b590e36d51ddb0f0126e005f3193e682a3d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T08:54:28.277Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-16T08:54:29.110Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-16T08:54:29.866Z] + ls /var/log/sa-host [2021-04-16T08:54:29.866Z] + sadf -c /var/log/sa-host/sa16 [2021-04-16T08:54:29.866Z] file_magic: OK [2021-04-16T08:54:29.866Z] HZ: Using current value: 100 [2021-04-16T08:54:29.866Z] file_header: OK [2021-04-16T08:54:29.866Z] 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-16T08:54:29.866Z] Statistics: [2021-04-16T08:54:29.866Z] 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-16T08:54:29.866Z] File successfully converted to sysstat format version 12.2.1 [2021-04-16T08:54:29.866Z] + sadf -c /var/log/sa-host/sa23 [2021-04-16T08:54:29.866Z] file_magic: OK [2021-04-16T08:54:29.866Z] HZ: Using current value: 100 [2021-04-16T08:54:29.866Z] file_header: OK [2021-04-16T08:54:29.866Z] 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-16T08:54:29.866Z] Statistics: [2021-04-16T08:54:29.866Z] Hnuu...uuuununununu... [2021-04-16T08:54:29.866Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-16T08:54:30.509Z] provisioning config files... [2021-04-16T08:54:30.548Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-884@tmp/config7360390484875270563tmp [Pipeline] { [Pipeline] echo [2021-04-16T08:54:30.610Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:54:31.939Z] ---> create-netrc.sh [Pipeline] } [2021-04-16T08:54:31.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-16T08:54:32.038Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:54:32.399Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-16T08:54:32.430Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:54:32.814Z] ---> sudo-logs.sh [2021-04-16T08:54:32.814Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-16T08:54:33.189Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:54:34.187Z] ---> job-cost.sh [2021-04-16T08:54:34.187Z] lf-activate-venv: SKIPPING [2021-04-16T08:54:34.187Z] DEBUG: total: 0.029999999329447746 [2021-04-16T08:54:34.187Z] INFO: Retrieving Stack Cost... [2021-04-16T08:54:35.711Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T08:54:36.341Z] INFO: Archiving Costs [Pipeline] echo [2021-04-16T08:54:36.387Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T08:54:37.723Z] ---> logs-deploy.sh [2021-04-16T08:54:37.723Z] lf-activate-venv: SKIPPING [2021-04-16T08:54:37.723Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-884/1 [2021-04-16T08:54:37.723Z] INFO: archiving workspace using pattern(s): [2021-04-16T08:54:40.454Z] Archives upload complete. [2021-04-16T08:54:40.724Z] INFO: archiving logs to Nexus