Pull request #892 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2+4d2675d668c2f9064e370a810b18e5856622130c (cc83f21ff8cf8ca082570baf9dfc1b7f403aed5d) 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-892/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-892/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1330 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [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-892 # 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 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 Merge succeeded, producing d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 Checking out Revision d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 (PR-892) > 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/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # 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 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-21T05:45:56.585Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-21T05:45:56.836Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-21T05:45:56.968Z] ========================================================= [2021-04-21T05:45:56.968Z] EdgeX Global Pipelines Version Info [2021-04-21T05:45:56.968Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:45:59.012Z] ------------------- [2021-04-21T05:45:59.012Z] stable info: [2021-04-21T05:45:59.012Z] ------------------- [2021-04-21T05:45:59.012Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-21T05:45:59.012Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-21T05:45:59.012Z] Message: update stable to v1.0.186 [2021-04-21T05:45:59.584Z] ------------------- [2021-04-21T05:45:59.584Z] experimental info: [2021-04-21T05:45:59.584Z] ------------------- [2021-04-21T05:45:59.584Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-21T05:45:59.584Z] Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 [2021-04-21T05:45:59.584Z] Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-21T05:45:59.823Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-21T05:45:59.880Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-21T05:45:59.943Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-21T05:46:00.000Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-21T05:46:00.056Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-21T05:46:00.114Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-21T05:46:00.170Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-21T05:46:00.226Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-21T05:46:00.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-21T05:46:00.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-21T05:46:00.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-21T05:46:00.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-21T05:46:00.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-21T05:46:00.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-21T05:46:00.671Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-21T05:46:00.734Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-21T05:46:00.800Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-21T05:46:00.864Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-21T05:46:00.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-21T05:46:00.984Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-21T05:46:01.044Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-21T05:46:01.105Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-21T05:46:01.169Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-21T05:46:01.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-21T05:46:01.298Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-21T05:46:01.359Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-21T05:46:01.421Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-892 [Pipeline] echo [2021-04-21T05:46:01.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-892 [Pipeline] echo [2021-04-21T05:46:01.542Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-892 [Pipeline] echo [2021-04-21T05:46:01.603Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [Pipeline] echo [2021-04-21T05:46:01.667Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7c99d7 [Pipeline] echo [2021-04-21T05:46:01.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-21T05:46:01.916Z] provisioning config files... [2021-04-21T05:46:01.953Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config6552012507103182446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:46:02.342Z] ---> docker-login.sh [2021-04-21T05:46:02.342Z] nexus3.edgexfoundry.org:10001 [2021-04-21T05:46:02.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:46:02.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:46:02.869Z] Configure a credential helper to remove this warning. See [2021-04-21T05:46:02.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:46:02.869Z] [2021-04-21T05:46:02.869Z] Login Succeeded [2021-04-21T05:46:02.869Z] nexus3.edgexfoundry.org:10002 [2021-04-21T05:46:02.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:46:03.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:46:03.131Z] Configure a credential helper to remove this warning. See [2021-04-21T05:46:03.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:46:03.131Z] [2021-04-21T05:46:03.131Z] Login Succeeded [2021-04-21T05:46:03.131Z] nexus3.edgexfoundry.org:10003 [2021-04-21T05:46:03.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:46:03.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:46:03.131Z] Configure a credential helper to remove this warning. See [2021-04-21T05:46:03.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:46:03.131Z] [2021-04-21T05:46:03.131Z] Login Succeeded [2021-04-21T05:46:03.131Z] nexus3.edgexfoundry.org:10004 [2021-04-21T05:46:03.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:46:03.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:46:03.394Z] Configure a credential helper to remove this warning. See [2021-04-21T05:46:03.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:46:03.394Z] [2021-04-21T05:46:03.394Z] Login Succeeded [2021-04-21T05:46:03.394Z] docker.io [2021-04-21T05:46:03.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:46:03.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:46:03.658Z] Configure a credential helper to remove this warning. See [2021-04-21T05:46:03.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:46:03.658Z] [2021-04-21T05:46:03.658Z] Login Succeeded [2021-04-21T05:46:03.658Z] ---> docker-login.sh ends [Pipeline] } [2021-04-21T05:46:03.682Z] 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-21T05:46:04.399Z] + git log --format=format:%s -1 d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [Pipeline] echo [2021-04-21T05:46:04.493Z] GIT_COMMIT: d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-04-21T05:46:04.542Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:46:05.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-21T05:46:05.574Z] [2021-04-21T05:46:05.574Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:46:05.932Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-21T05:46:05.932Z] latest: Pulling from edgex-devops/git-semver [2021-04-21T05:46:05.932Z] 31603596830f: Pulling fs layer [2021-04-21T05:46:05.932Z] 2a8b12db71e7: Pulling fs layer [2021-04-21T05:46:05.932Z] 6ca5941a6612: Pulling fs layer [2021-04-21T05:46:05.932Z] ecc8261a40a4: Pulling fs layer [2021-04-21T05:46:05.932Z] ecc8261a40a4: Waiting [2021-04-21T05:46:05.932Z] 2a8b12db71e7: Download complete [2021-04-21T05:46:05.932Z] 31603596830f: Verifying Checksum [2021-04-21T05:46:05.932Z] 31603596830f: Download complete [2021-04-21T05:46:06.198Z] ecc8261a40a4: Verifying Checksum [2021-04-21T05:46:06.198Z] ecc8261a40a4: Download complete [2021-04-21T05:46:06.198Z] 6ca5941a6612: Verifying Checksum [2021-04-21T05:46:06.198Z] 6ca5941a6612: Download complete [2021-04-21T05:46:06.462Z] 31603596830f: Pull complete [2021-04-21T05:46:06.462Z] 2a8b12db71e7: Pull complete [2021-04-21T05:46:07.426Z] 6ca5941a6612: Pull complete [2021-04-21T05:46:07.692Z] ecc8261a40a4: Pull complete [2021-04-21T05:46:07.692Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-21T05:46:07.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-21T05:46:07.692Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-21T05:46:07.907Z] prd-centos7-docker-4c-2g-1330 does not seem to be running inside a container [2021-04-21T05:46:07.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-892 -v /w/workspace/dgexfoundry_device-sdk-go_PR-892:/w/workspace/dgexfoundry_device-sdk-go_PR-892:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-892@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-21T05:46:10.101Z] $ docker top 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-21T05:46:10.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-21T05:46:10.351Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-21T05:46:10.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-21T05:46:10.581Z] $ docker exec 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 ssh-agent [2021-04-21T05:46:10.752Z] SSH_AUTH_SOCK=/tmp/ssh-88n1joutbNBn/agent.12 [2021-04-21T05:46:10.752Z] SSH_AGENT_PID=17 [2021-04-21T05:46:10.765Z] Running ssh-add (command line suppressed) [2021-04-21T05:46:10.888Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_3233890576748577162.key (/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_3233890576748577162.key) [2021-04-21T05:46:10.939Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-21T05:46:11.290Z] + git tag --points-at HEAD [Pipeline] } [2021-04-21T05:46:11.320Z] $ docker exec --env ******** --env ******** 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 ssh-agent -k [2021-04-21T05:46:11.436Z] unset SSH_AUTH_SOCK; [2021-04-21T05:46:11.437Z] unset SSH_AGENT_PID; [2021-04-21T05:46:11.437Z] echo Agent pid 17 killed; [2021-04-21T05:46:11.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-21T05:46:11.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-21T05:46:11.580Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-21T05:46:11.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-21T05:46:11.748Z] $ docker exec 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 ssh-agent [2021-04-21T05:46:11.916Z] SSH_AUTH_SOCK=/tmp/ssh-Ks9jxFp4GsNb/agent.47 [2021-04-21T05:46:11.916Z] SSH_AGENT_PID=53 [2021-04-21T05:46:11.928Z] Running ssh-add (command line suppressed) [2021-04-21T05:46:12.050Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_7289971383320180209.key (/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_7289971383320180209.key) [2021-04-21T05:46:12.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-21T05:46:12.443Z] + git semver init [2021-04-21T05:46:12.444Z] # -> Open(): unable to determine branch for HEAD [2021-04-21T05:46:12.444Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-892/.git [2021-04-21T05:46:12.444Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-892 [2021-04-21T05:46:12.444Z] # $SEMVER_REMOTE_NAME = origin [2021-04-21T05:46:12.444Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-21T05:46:12.444Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-21T05:46:12.444Z] # $SEMVER_BRANCH = PR-892 [2021-04-21T05:46:12.444Z] # $SEMVER_TEMP = /tmp/semver-734711969 [2021-04-21T05:46:12.444Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-21T05:46:13.392Z] # '/tmp/semver-734711969' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-892/.semver' [2021-04-21T05:46:13.392Z] # -> Force: false [2021-04-21T05:46:13.392Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-892/.semver [Pipeline] } [2021-04-21T05:46:13.414Z] $ docker exec --env ******** --env ******** 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 ssh-agent -k [2021-04-21T05:46:13.530Z] unset SSH_AUTH_SOCK; [2021-04-21T05:46:13.531Z] unset SSH_AGENT_PID; [2021-04-21T05:46:13.531Z] echo Agent pid 53 killed; [2021-04-21T05:46:13.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-21T05:46:14.048Z] + git semver [Pipeline] } [2021-04-21T05:46:14.079Z] $ docker stop --time=1 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 [2021-04-21T05:46:15.883Z] $ docker rm -f 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-21T05:46:16.336Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-21T05:46:16.756Z] Stashed 1 file(s) [Pipeline] echo [2021-04-21T05:46:16.780Z] [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-21T05:46:32.265Z] Still waiting to schedule task [2021-04-21T05:46:32.265Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1330’ [2021-04-21T05:46:32.294Z] Still waiting to schedule task [2021-04-21T05:46:32.294Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-21T05:48:24.561Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1331 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [Pipeline] { [Pipeline] ws [2021-04-21T05:48:24.623Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-21T05:48:30.135Z] using credential edgex-jenkins-ssh [2021-04-21T05:48:30.155Z] Cloning the remote Git repository [2021-04-21T05:48:30.296Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-21T05:48:30.528Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-21T05:48:30.603Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-21T05:48:30.603Z] > git --version # timeout=10 [2021-04-21T05:48:30.617Z] > git --version # 'git version 2.17.1' [2021-04-21T05:48:30.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-21T05:48:30.688Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-21T05:48:31.910Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-21T05:48:31.926Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-21T05:48:31.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-21T05:48:31.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-21T05:48:31.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-21T05:48:32.007Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-21T05:48:32.558Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [2021-04-21T05:48:32.793Z] Merge succeeded, producing d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [2021-04-21T05:48:32.794Z] Checking out Revision d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 (PR-892) [2021-04-21T05:48:32.590Z] > git config core.sparsecheckout # timeout=10 [2021-04-21T05:48:32.611Z] > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 [2021-04-21T05:48:32.715Z] > git remote # timeout=10 [2021-04-21T05:48:32.734Z] > git config --get remote.origin.url # timeout=10 [2021-04-21T05:48:32.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-21T05:48:32.759Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-21T05:48:32.780Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-21T05:48:32.811Z] > git config core.sparsecheckout # timeout=10 [2021-04-21T05:48:32.822Z] > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 [2021-04-21T05:48:37.008Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-04-21T05:48:37.074Z] > git --version # timeout=10 [2021-04-21T05:48:37.084Z] > git --version # 'git version 2.17.1' [2021-04-21T05:48:37.097Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-21T05:48:39.095Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-21T05:48:39.510Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-21T05:48:39.929Z] + sudo service docker restart [2021-04-21T05:48:39.930Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-21T05:48:42.206Z] provisioning config files... [2021-04-21T05:48:42.250Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1432902293108214538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:48:42.834Z] ---> docker-login.sh [2021-04-21T05:48:42.834Z] nexus3.edgexfoundry.org:10001 [2021-04-21T05:48:43.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:48:44.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:48:44.092Z] Configure a credential helper to remove this warning. See [2021-04-21T05:48:44.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:48:44.092Z] [2021-04-21T05:48:44.092Z] Login Succeeded [2021-04-21T05:48:44.092Z] nexus3.edgexfoundry.org:10002 [2021-04-21T05:48:44.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:48:44.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:48:44.693Z] Configure a credential helper to remove this warning. See [2021-04-21T05:48:44.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:48:44.693Z] [2021-04-21T05:48:44.693Z] Login Succeeded [2021-04-21T05:48:44.693Z] nexus3.edgexfoundry.org:10003 [2021-04-21T05:48:44.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:48:45.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:48:45.244Z] Configure a credential helper to remove this warning. See [2021-04-21T05:48:45.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:48:45.244Z] [2021-04-21T05:48:45.244Z] Login Succeeded [2021-04-21T05:48:45.244Z] nexus3.edgexfoundry.org:10004 [2021-04-21T05:48:45.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:48:45.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:48:45.791Z] Configure a credential helper to remove this warning. See [2021-04-21T05:48:45.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:48:45.791Z] [2021-04-21T05:48:45.791Z] Login Succeeded [2021-04-21T05:48:45.791Z] docker.io [2021-04-21T05:48:46.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:48:46.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:48:46.662Z] Configure a credential helper to remove this warning. See [2021-04-21T05:48:46.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:48:46.662Z] [2021-04-21T05:48:46.662Z] Login Succeeded [2021-04-21T05:48:46.662Z] ---> docker-login.sh ends [Pipeline] } [2021-04-21T05:48:46.694Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-21T05:48:47.164Z] ========================================================= [2021-04-21T05:48:47.164Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-21T05:48:47.164Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:48:47.646Z] + 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-21T05:48:48.245Z] Sending build context to Docker daemon 2.454MB [2021-04-21T05:48:48.245Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-21T05:48:48.245Z] Step 2/8 : FROM ${BASE} [2021-04-21T05:48:48.245Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-21T05:48:48.245Z] 5f621e34cdf4: Pulling fs layer [2021-04-21T05:48:48.245Z] a4357932f1b6: Pulling fs layer [2021-04-21T05:48:48.246Z] 18c013af1878: Pulling fs layer [2021-04-21T05:48:48.246Z] 00ac8860ef70: Pulling fs layer [2021-04-21T05:48:48.246Z] 63d7cb157983: Pulling fs layer [2021-04-21T05:48:48.246Z] b116817d02f9: Pulling fs layer [2021-04-21T05:48:48.246Z] 745a02a5169b: Pulling fs layer [2021-04-21T05:48:48.246Z] 63d7cb157983: Waiting [2021-04-21T05:48:48.246Z] b116817d02f9: Waiting [2021-04-21T05:48:48.246Z] 745a02a5169b: Waiting [2021-04-21T05:48:48.246Z] 00ac8860ef70: Waiting [2021-04-21T05:48:48.246Z] 18c013af1878: Verifying Checksum [2021-04-21T05:48:48.246Z] 18c013af1878: Download complete [2021-04-21T05:48:48.246Z] a4357932f1b6: Verifying Checksum [2021-04-21T05:48:48.246Z] a4357932f1b6: Download complete [2021-04-21T05:48:48.246Z] 63d7cb157983: Verifying Checksum [2021-04-21T05:48:48.246Z] 63d7cb157983: Download complete [2021-04-21T05:48:48.246Z] 5f621e34cdf4: Verifying Checksum [2021-04-21T05:48:48.246Z] 5f621e34cdf4: Download complete [2021-04-21T05:48:48.246Z] b116817d02f9: Verifying Checksum [2021-04-21T05:48:48.246Z] b116817d02f9: Download complete [2021-04-21T05:48:48.855Z] 5f621e34cdf4: Pull complete [2021-04-21T05:48:49.468Z] a4357932f1b6: Pull complete [2021-04-21T05:48:50.074Z] 18c013af1878: Pull complete [2021-04-21T05:48:50.679Z] 745a02a5169b: Verifying Checksum [2021-04-21T05:48:50.679Z] 745a02a5169b: Download complete [2021-04-21T05:48:51.663Z] 00ac8860ef70: Verifying Checksum [2021-04-21T05:48:51.663Z] 00ac8860ef70: Download complete [2021-04-21T05:48:57.068Z] Running on prd-centos7-docker-4c-2g-1332 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [Pipeline] { [Pipeline] ws [2021-04-21T05:48:57.247Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-21T05:49:00.021Z] using credential edgex-jenkins-ssh [2021-04-21T05:49:00.032Z] Cloning the remote Git repository [2021-04-21T05:48:59.702Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-21T05:48:59.773Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-21T05:48:59.835Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-21T05:48:59.836Z] > git --version # timeout=10 [2021-04-21T05:48:59.844Z] > git --version # 'git version 2.24.3' [2021-04-21T05:48:59.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-21T05:48:59.871Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-21T05:49:01.526Z] Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [2021-04-21T05:49:01.631Z] Merge succeeded, producing d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [2021-04-21T05:49:01.631Z] Checking out Revision d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 (PR-892) [2021-04-21T05:49:00.676Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-21T05:49:00.685Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-21T05:49:00.700Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-21T05:49:00.715Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-21T05:49:00.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-21T05:49:00.720Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-21T05:49:01.306Z] > git config core.sparsecheckout # timeout=10 [2021-04-21T05:49:01.314Z] > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 [2021-04-21T05:49:01.375Z] > git remote # timeout=10 [2021-04-21T05:49:01.382Z] > git config --get remote.origin.url # timeout=10 [2021-04-21T05:49:01.387Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-21T05:49:01.391Z] > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 [2021-04-21T05:49:01.401Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-21T05:49:01.413Z] > git config core.sparsecheckout # timeout=10 [2021-04-21T05:49:01.417Z] > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 [2021-04-21T05:49:04.082Z] 00ac8860ef70: Pull complete [2021-04-21T05:49:04.083Z] 63d7cb157983: Pull complete [2021-04-21T05:49:04.083Z] b116817d02f9: Pull complete [2021-04-21T05:49:05.108Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-04-21T05:49:05.143Z] > git --version # timeout=10 [2021-04-21T05:49:05.153Z] > git --version # 'git version 2.24.3' [2021-04-21T05:49:05.163Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-21T05:49:06.414Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-21T05:49:06.716Z] 745a02a5169b: Pull complete [2021-04-21T05:49:06.716Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-21T05:49:06.785Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-21T05:49:06.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-21T05:49:06.987Z] ---> b7e6874047d6 [2021-04-21T05:49:06.987Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-21T05:49:07.112Z] + sudo service docker restart [2021-04-21T05:49:07.112Z] + true [2021-04-21T05:49:07.112Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-21T05:49:08.603Z] provisioning config files... [2021-04-21T05:49:08.632Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2279431357501925177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:49:09.001Z] ---> docker-login.sh [2021-04-21T05:49:09.001Z] nexus3.edgexfoundry.org:10001 [2021-04-21T05:49:09.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:49:09.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:49:09.266Z] Configure a credential helper to remove this warning. See [2021-04-21T05:49:09.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:49:09.266Z] [2021-04-21T05:49:09.266Z] Login Succeeded [2021-04-21T05:49:09.266Z] nexus3.edgexfoundry.org:10002 [2021-04-21T05:49:09.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:49:09.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:49:09.530Z] Configure a credential helper to remove this warning. See [2021-04-21T05:49:09.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:49:09.530Z] [2021-04-21T05:49:09.530Z] Login Succeeded [2021-04-21T05:49:09.530Z] nexus3.edgexfoundry.org:10003 [2021-04-21T05:49:09.632Z] ---> Running in 8a5cafb1e813 [2021-04-21T05:49:09.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:49:09.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:49:09.793Z] Configure a credential helper to remove this warning. See [2021-04-21T05:49:09.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:49:09.793Z] [2021-04-21T05:49:09.793Z] Login Succeeded [2021-04-21T05:49:09.793Z] nexus3.edgexfoundry.org:10004 [2021-04-21T05:49:09.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:49:10.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:49:10.056Z] Configure a credential helper to remove this warning. See [2021-04-21T05:49:10.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:49:10.056Z] [2021-04-21T05:49:10.056Z] Login Succeeded [2021-04-21T05:49:10.056Z] docker.io [2021-04-21T05:49:10.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-21T05:49:10.226Z] Removing intermediate container 8a5cafb1e813 [2021-04-21T05:49:10.227Z] ---> 4a8fef020042 [2021-04-21T05:49:10.227Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-21T05:49:10.227Z] ---> Running in 1b0eea6c8416 [2021-04-21T05:49:10.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-21T05:49:10.319Z] Configure a credential helper to remove this warning. See [2021-04-21T05:49:10.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-21T05:49:10.319Z] [2021-04-21T05:49:10.319Z] Login Succeeded [2021-04-21T05:49:10.319Z] ---> docker-login.sh ends [Pipeline] } [2021-04-21T05:49:10.356Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-21T05:49:10.660Z] ========================================================= [2021-04-21T05:49:10.660Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-21T05:49:10.660Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:49:11.027Z] + 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-21T05:49:11.027Z] Sending build context to Docker daemon 2.462MB [2021-04-21T05:49:11.300Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-21T05:49:11.300Z] Step 2/8 : FROM ${BASE} [2021-04-21T05:49:11.300Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-21T05:49:11.300Z] 188c0c94c7c5: Pulling fs layer [2021-04-21T05:49:11.300Z] 0ef7d3d256c8: Pulling fs layer [2021-04-21T05:49:11.300Z] de9db76c5a1d: Pulling fs layer [2021-04-21T05:49:11.300Z] bca2f99d35d6: Pulling fs layer [2021-04-21T05:49:11.300Z] 93359f2a8cfa: Pulling fs layer [2021-04-21T05:49:11.300Z] 7c6f9722023f: Pulling fs layer [2021-04-21T05:49:11.300Z] a35cf1a2eb13: Pulling fs layer [2021-04-21T05:49:11.300Z] 93359f2a8cfa: Waiting [2021-04-21T05:49:11.300Z] 7c6f9722023f: Waiting [2021-04-21T05:49:11.300Z] a35cf1a2eb13: Waiting [2021-04-21T05:49:11.300Z] bca2f99d35d6: Waiting [2021-04-21T05:49:11.300Z] de9db76c5a1d: Verifying Checksum [2021-04-21T05:49:11.300Z] de9db76c5a1d: Download complete [2021-04-21T05:49:11.300Z] 0ef7d3d256c8: Verifying Checksum [2021-04-21T05:49:11.300Z] 0ef7d3d256c8: Download complete [2021-04-21T05:49:11.300Z] 93359f2a8cfa: Verifying Checksum [2021-04-21T05:49:11.300Z] 93359f2a8cfa: Download complete [2021-04-21T05:49:11.300Z] 7c6f9722023f: Verifying Checksum [2021-04-21T05:49:11.300Z] 7c6f9722023f: Download complete [2021-04-21T05:49:11.300Z] 188c0c94c7c5: Verifying Checksum [2021-04-21T05:49:11.300Z] 188c0c94c7c5: Download complete [2021-04-21T05:49:11.568Z] 188c0c94c7c5: Pull complete [2021-04-21T05:49:11.836Z] 0ef7d3d256c8: Pull complete [2021-04-21T05:49:11.836Z] de9db76c5a1d: Pull complete [2021-04-21T05:49:12.806Z] a35cf1a2eb13: Verifying Checksum [2021-04-21T05:49:12.806Z] a35cf1a2eb13: Download complete [2021-04-21T05:49:12.862Z] Removing intermediate container 1b0eea6c8416 [2021-04-21T05:49:12.863Z] ---> cf2d16b814ff [2021-04-21T05:49:12.863Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-21T05:49:12.863Z] ---> Running in f9d97dc0518f [2021-04-21T05:49:13.389Z] bca2f99d35d6: Verifying Checksum [2021-04-21T05:49:13.389Z] bca2f99d35d6: Download complete [2021-04-21T05:49:13.867Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-21T05:49:14.844Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-21T05:49:15.436Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-21T05:49:15.436Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-21T05:49:15.436Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-21T05:49:15.707Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-21T05:49:15.707Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-21T05:49:15.707Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-21T05:49:15.980Z] Executing busybox-1.31.1-r19.trigger [2021-04-21T05:49:15.980Z] OK: 144 MiB in 45 packages [2021-04-21T05:49:17.410Z] Removing intermediate container f9d97dc0518f [2021-04-21T05:49:17.410Z] ---> 0722985ecc5b [2021-04-21T05:49:17.410Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-21T05:49:17.410Z] ---> Running in 3153f877ac56 [2021-04-21T05:49:18.006Z] Removing intermediate container 3153f877ac56 [2021-04-21T05:49:18.006Z] ---> 1c3124150024 [2021-04-21T05:49:18.006Z] Step 7/8 : COPY . . [2021-04-21T05:49:18.729Z] bca2f99d35d6: Pull complete [2021-04-21T05:49:18.729Z] 93359f2a8cfa: Pull complete [2021-04-21T05:49:18.729Z] 7c6f9722023f: Pull complete [2021-04-21T05:49:18.985Z] ---> 9f7c51024eea [2021-04-21T05:49:18.985Z] Step 8/8 : RUN go mod download [2021-04-21T05:49:19.258Z] ---> Running in 416b55e38d18 [2021-04-21T05:49:26.931Z] a35cf1a2eb13: Pull complete [2021-04-21T05:49:26.931Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-21T05:49:26.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-21T05:49:26.931Z] ---> a62c8e92a672 [2021-04-21T05:49:26.931Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-21T05:49:26.931Z] ---> Running in d1036f0fd205 [2021-04-21T05:49:26.931Z] Removing intermediate container d1036f0fd205 [2021-04-21T05:49:26.931Z] ---> 77b13132dede [2021-04-21T05:49:26.931Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-21T05:49:27.193Z] ---> Running in 9457042c0c70 [2021-04-21T05:49:28.144Z] Removing intermediate container 9457042c0c70 [2021-04-21T05:49:28.144Z] ---> e7fab8247886 [2021-04-21T05:49:28.144Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-21T05:49:28.144Z] ---> Running in 5f4c1d54df7a [2021-04-21T05:49:29.095Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-21T05:49:30.040Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-21T05:49:30.614Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-21T05:49:30.614Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-21T05:49:30.877Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-21T05:49:30.877Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-21T05:49:30.877Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-21T05:49:31.139Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-21T05:49:31.139Z] Executing busybox-1.31.1-r19.trigger [2021-04-21T05:49:31.139Z] OK: 167 MiB in 45 packages [2021-04-21T05:49:31.713Z] Removing intermediate container 5f4c1d54df7a [2021-04-21T05:49:31.713Z] ---> 9808acfb8522 [2021-04-21T05:49:31.713Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-21T05:49:31.713Z] ---> Running in 91bdf9980b10 [2021-04-21T05:49:31.981Z] Removing intermediate container 91bdf9980b10 [2021-04-21T05:49:31.981Z] ---> cc42211bd81c [2021-04-21T05:49:31.981Z] Step 7/8 : COPY . . [2021-04-21T05:49:33.382Z] ---> b5cba5c0a09d [2021-04-21T05:49:33.382Z] Step 8/8 : RUN go mod download [2021-04-21T05:49:33.382Z] ---> Running in 5cee899a1057 [2021-04-21T05:49:51.593Z] Removing intermediate container 416b55e38d18 [2021-04-21T05:49:51.593Z] ---> ebf0d8f67b8a [2021-04-21T05:49:51.593Z] Successfully built ebf0d8f67b8a [2021-04-21T05:49:51.593Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:49:51.969Z] + docker inspect -f . ci-base-image-arm64 [2021-04-21T05:49:51.969Z] . [Pipeline] withDockerContainer [2021-04-21T05:49:52.253Z] prd-ubuntu18.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container [2021-04-21T05:49:52.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-21T05:49:53.816Z] $ docker top 32725c5bc368ac2a0923859691745ec008d4fe4dccfb4d3e3cc55de0fa47f269 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-21T05:49:54.780Z] + go version [2021-04-21T05:49:54.780Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-21T05:49:54.816Z] $ docker stop --time=1 32725c5bc368ac2a0923859691745ec008d4fe4dccfb4d3e3cc55de0fa47f269 [2021-04-21T05:49:55.396Z] Removing intermediate container 5cee899a1057 [2021-04-21T05:49:55.396Z] ---> 2dc7e1bfad5a [2021-04-21T05:49:55.396Z] Successfully built 2dc7e1bfad5a [2021-04-21T05:49:55.396Z] Successfully tagged ci-base-image-x86_64:latest [2021-04-21T05:49:56.742Z] $ docker rm -f 32725c5bc368ac2a0923859691745ec008d4fe4dccfb4d3e3cc55de0fa47f269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:49:57.499Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-21T05:49:57.500Z] . [Pipeline] withDockerContainer [2021-04-21T05:49:57.654Z] prd-centos7-docker-4c-2g-1332 does not seem to be running inside a container [2021-04-21T05:49:57.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-21T05:49:57.714Z] + docker inspect -f . ci-base-image-arm64 [2021-04-21T05:49:57.714Z] . [2021-04-21T05:49:58.552Z] $ docker top 4af227f6a469d9984defca957b2beffd21d11ade0ca34837c06b8eef72d7d1b1 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-04-21T05:49:59.001Z] prd-ubuntu18.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container [2021-04-21T05:49:59.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-04-21T05:50:00.516Z] $ docker top 8f87d5b51241ef47b82f4728ec306eca88b66562533ad425945916986bcd62fd -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-04-21T05:50:01.148Z] + go version [2021-04-21T05:50:01.148Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-04-21T05:50:01.179Z] $ docker stop --time=1 4af227f6a469d9984defca957b2beffd21d11ade0ca34837c06b8eef72d7d1b1 [2021-04-21T05:50:01.546Z] + make test [2021-04-21T05:50:01.546Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-21T05:50:02.634Z] $ docker rm -f 4af227f6a469d9984defca957b2beffd21d11ade0ca34837c06b8eef72d7d1b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:50:03.512Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-21T05:50:03.513Z] . [Pipeline] withDockerContainer [2021-04-21T05:50:03.647Z] prd-centos7-docker-4c-2g-1332 does not seem to be running inside a container [2021-04-21T05:50:03.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-04-21T05:50:04.562Z] $ docker top 534779efc55dab5a77792032099fd5ac691ca5ca59cb578d03d540c42660856b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-21T05:50:05.139Z] + make test [2021-04-21T05:50:05.139Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-21T05:50:13.314Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-21T05:50:23.730Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-21T05:50:35.426Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-21T05:50:35.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-21T05:50:35.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-21T05:50:35.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-21T05:50:35.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-21T05:50:35.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 28.1% of statements [2021-04-21T05:50:35.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.092s coverage: 78.9% of statements [2021-04-21T05:50:36.393Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.085s coverage: 7.8% of statements [2021-04-21T05:50:36.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-21T05:50:36.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-21T05:50:36.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-21T05:50:36.660Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.0% of statements [2021-04-21T05:50:36.660Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-21T05:50:36.660Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-21T05:50:36.660Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-21T05:50:36.660Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.124s coverage: 57.1% of statements [2021-04-21T05:50:37.617Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.197s coverage: 6.6% of statements [2021-04-21T05:50:37.617Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 5.0% of statements [2021-04-21T05:50:37.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-21T05:50:37.884Z] GO111MODULE=on go vet ./... [2021-04-21T05:50:56.154Z] gofmt -l . [2021-04-21T05:50:56.154Z] [ "`gofmt -l .`" = "" ] [2021-04-21T05:50:56.154Z] ./bin/test-attribution-txt.sh [2021-04-21T05:50:56.154Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-21T05:50:56.188Z] $ docker stop --time=1 534779efc55dab5a77792032099fd5ac691ca5ca59cb578d03d540c42660856b [2021-04-21T05:50:57.881Z] $ docker rm -f 534779efc55dab5a77792032099fd5ac691ca5ca59cb578d03d540c42660856b [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-21T05:50:58.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-21T05:50:59.010Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-21T05:51:01.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-21T05:51:01.930Z] + ls -al . [2021-04-21T05:51:01.930Z] total 188 [2021-04-21T05:51:01.930Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 21 05:50 . [2021-04-21T05:51:01.930Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 05:48 .. [2021-04-21T05:51:01.930Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 05:49 bin [2021-04-21T05:51:01.930Z] -rw-r--r--. 1 jenkins jenkins 100116 Apr 21 05:50 coverage.out [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 21 05:49 Dockerfile.build [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 05:49 .dockerignore [2021-04-21T05:51:01.930Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 21 05:49 example [2021-04-21T05:51:01.930Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 05:49 .git [2021-04-21T05:51:01.930Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 21 05:49 .github [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 05:49 .gitignore [2021-04-21T05:51:01.930Z] -rw-r--r--. 1 jenkins jenkins 575 Apr 21 05:50 go.mod [2021-04-21T05:51:01.930Z] -rw-r--r--. 1 jenkins jenkins 20737 Apr 21 05:50 go.sum [2021-04-21T05:51:01.930Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 21 05:49 internal [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 21 05:49 Jenkinsfile [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 05:49 LICENSE [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 21 05:49 Makefile [2021-04-21T05:51:01.930Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 21 05:49 openapi [2021-04-21T05:51:01.930Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 05:49 pkg [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 7652 Apr 21 05:49 README.md [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 21 05:49 RELEASE-NOTES.txt [2021-04-21T05:51:01.930Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 05:49 snap [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 05:46 VERSION [2021-04-21T05:51:01.930Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:51:02.287Z] + 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=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 --label arch=amd64 --label version=0.0.0 . [2021-04-21T05:51:02.551Z] Sending build context to Docker daemon 2.563MB [2021-04-21T05:51:02.551Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-21T05:51:02.551Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-21T05:51:02.551Z] ---> 2dc7e1bfad5a [2021-04-21T05:51:02.551Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-21T05:51:03.133Z] ---> Running in 034563ad9735 [2021-04-21T05:51:03.133Z] Removing intermediate container 034563ad9735 [2021-04-21T05:51:03.133Z] ---> f2bfd75e8ec6 [2021-04-21T05:51:03.133Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-21T05:51:03.396Z] ---> Running in 72682be2b86e [2021-04-21T05:51:03.396Z] Removing intermediate container 72682be2b86e [2021-04-21T05:51:03.396Z] ---> f366942d3244 [2021-04-21T05:51:03.396Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-21T05:51:03.659Z] ---> Running in bde9938f530d [2021-04-21T05:51:04.615Z] Removing intermediate container bde9938f530d [2021-04-21T05:51:04.615Z] ---> 30c8e29d702e [2021-04-21T05:51:04.615Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-21T05:51:04.615Z] ---> Running in 7266e70dbd6c [2021-04-21T05:51:05.198Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-21T05:51:05.773Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-21T05:51:06.044Z] OK: 167 MiB in 45 packages [2021-04-21T05:51:06.629Z] Removing intermediate container 7266e70dbd6c [2021-04-21T05:51:06.630Z] ---> ff8a662a5bdc [2021-04-21T05:51:06.630Z] Step 7/23 : COPY . . [2021-04-21T05:51:07.580Z] ---> bb51610e2be4 [2021-04-21T05:51:07.580Z] Step 8/23 : RUN go mod download [2021-04-21T05:51:07.848Z] ---> Running in 09e4021d8ad1 [2021-04-21T05:51:08.810Z] Removing intermediate container 09e4021d8ad1 [2021-04-21T05:51:08.810Z] ---> 157730daa1c1 [2021-04-21T05:51:08.810Z] Step 9/23 : RUN make build [2021-04-21T05:51:09.074Z] ---> Running in be32206b8e17 [2021-04-21T05:51:09.342Z] 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-21T05:51:20.305Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-21T05:51:20.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-21T05:51:20.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-21T05:51:20.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-21T05:51:20.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-21T05:51:21.696Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-21T05:51:22.271Z] Removing intermediate container be32206b8e17 [2021-04-21T05:51:22.271Z] ---> 54e115bfe7e4 [2021-04-21T05:51:22.271Z] Step 10/23 : FROM alpine:3.12 [2021-04-21T05:51:22.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 28.1% of statements [2021-04-21T05:51:22.533Z] 3.12: Pulling from library/alpine [2021-04-21T05:51:22.533Z] 339de151aab4: Pulling fs layer [2021-04-21T05:51:22.797Z] 339de151aab4: Verifying Checksum [2021-04-21T05:51:22.797Z] 339de151aab4: Download complete [2021-04-21T05:51:23.059Z] 339de151aab4: Pull complete [2021-04-21T05:51:23.059Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-21T05:51:23.059Z] Status: Downloaded newer image for alpine:3.12 [2021-04-21T05:51:23.059Z] ---> 13621d1b12d4 [2021-04-21T05:51:23.059Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-21T05:51:23.291Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.226s coverage: 78.9% of statements [2021-04-21T05:51:23.292Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.220s coverage: 7.8% of statements [2021-04-21T05:51:23.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-21T05:51:23.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-21T05:51:23.292Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-21T05:51:23.321Z] ---> Running in f50f26a3e536 [2021-04-21T05:51:23.587Z] Removing intermediate container f50f26a3e536 [2021-04-21T05:51:23.587Z] ---> 4b400ea715f5 [2021-04-21T05:51:23.587Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-21T05:51:23.587Z] ---> Running in 33efc7ff10c4 [2021-04-21T05:51:24.998Z] Removing intermediate container 33efc7ff10c4 [2021-04-21T05:51:24.998Z] ---> 4151c05a93f0 [2021-04-21T05:51:24.998Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-21T05:51:25.269Z] ---> Running in 5dfa42c5cdeb [2021-04-21T05:51:25.281Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.262s coverage: 32.0% of statements [2021-04-21T05:51:25.281Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-21T05:51:25.281Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-21T05:51:25.281Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-21T05:51:25.845Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-21T05:51:26.425Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-21T05:51:27.001Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-21T05:51:27.001Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-21T05:51:27.001Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-21T05:51:27.970Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-21T05:51:27.970Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-21T05:51:27.970Z] Executing busybox-1.31.1-r20.trigger [2021-04-21T05:51:27.970Z] OK: 8 MiB in 19 packages [2021-04-21T05:51:28.545Z] Removing intermediate container 5dfa42c5cdeb [2021-04-21T05:51:28.545Z] ---> 2cf742442ebd [2021-04-21T05:51:28.545Z] Step 14/23 : WORKDIR / [2021-04-21T05:51:28.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.348s coverage: 57.1% of statements [2021-04-21T05:51:28.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.204s coverage: 6.6% of statements [2021-04-21T05:51:28.722Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 5.0% of statements [2021-04-21T05:51:28.722Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-21T05:51:28.808Z] ---> Running in c79f8632e19f [2021-04-21T05:51:28.808Z] Removing intermediate container c79f8632e19f [2021-04-21T05:51:28.808Z] ---> ea2f383c4ab6 [2021-04-21T05:51:28.808Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-21T05:51:29.071Z] ---> 5f8c88cffd52 [2021-04-21T05:51:29.071Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-21T05:51:29.318Z] GO111MODULE=on go vet ./... [2021-04-21T05:51:29.655Z] ---> 01dad8230e16 [2021-04-21T05:51:29.655Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-21T05:51:29.917Z] ---> fd85f5df26c1 [2021-04-21T05:51:29.917Z] Step 18/23 : EXPOSE 49990 [2021-04-21T05:51:30.179Z] ---> Running in 8e35a100bb8a [2021-04-21T05:51:30.179Z] Removing intermediate container 8e35a100bb8a [2021-04-21T05:51:30.179Z] ---> 0d9eb9906148 [2021-04-21T05:51:30.179Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-21T05:51:30.179Z] ---> Running in 42f1a28391ac [2021-04-21T05:51:30.445Z] Removing intermediate container 42f1a28391ac [2021-04-21T05:51:30.445Z] ---> 7a454bf3a3b6 [2021-04-21T05:51:30.445Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-21T05:51:30.445Z] ---> Running in e2fae8b421f8 [2021-04-21T05:51:30.711Z] Removing intermediate container e2fae8b421f8 [2021-04-21T05:51:30.711Z] ---> 69e7ef1ef36d [2021-04-21T05:51:30.711Z] Step 21/23 : LABEL arch=amd64 [2021-04-21T05:51:30.711Z] ---> Running in 7cfe75c3fd11 [2021-04-21T05:51:30.973Z] Removing intermediate container 7cfe75c3fd11 [2021-04-21T05:51:30.973Z] ---> 6cc6ef795e27 [2021-04-21T05:51:30.973Z] Step 22/23 : LABEL git_sha=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [2021-04-21T05:51:30.973Z] ---> Running in ea9683a95fc6 [2021-04-21T05:51:31.238Z] Removing intermediate container ea9683a95fc6 [2021-04-21T05:51:31.238Z] ---> 5b55b74ea99c [2021-04-21T05:51:31.238Z] Step 23/23 : LABEL version=0.0.0 [2021-04-21T05:51:31.238Z] ---> Running in 1973c893aa21 [2021-04-21T05:51:31.501Z] Removing intermediate container 1973c893aa21 [2021-04-21T05:51:31.501Z] ---> b640f8d847cf [2021-04-21T05:51:31.501Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-21T05:51:31.501Z] Successfully built b640f8d847cf [2021-04-21T05:51:31.501Z] 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-21T05:51:32.498Z] ---> job-cost.sh [2021-04-21T05:51:32.498Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZHWZ [2021-04-21T05:51:47.443Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-21T05:52:16.343Z] gofmt -l . [2021-04-21T05:52:16.344Z] [ "`gofmt -l .`" = "" ] [2021-04-21T05:52:16.344Z] ./bin/test-attribution-txt.sh [2021-04-21T05:52:16.344Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-21T05:52:16.380Z] $ docker stop --time=1 8f87d5b51241ef47b82f4728ec306eca88b66562533ad425945916986bcd62fd [2021-04-21T05:52:18.677Z] $ docker rm -f 8f87d5b51241ef47b82f4728ec306eca88b66562533ad425945916986bcd62fd [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-21T05:52:19.628Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZHWZ/bin to PATH [2021-04-21T05:52:19.628Z] INFO: No Stack... [2021-04-21T05:52:19.628Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-21T05:52:19.628Z] INFO: Archiving Costs [Pipeline] sh [2021-04-21T05:52:19.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-21T05:52:19.832Z] Warning: overwriting stash ‘coverage-report’ [2021-04-21T05:52:19.963Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-21T05:52:19.963Z] + cut -d, -f6 [Pipeline] lock [2021-04-21T05:52:20.095Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] [2021-04-21T05:52:20.101Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] did not exist. Created. [2021-04-21T05:52:20.102Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-21T05:52:20.442Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2021-04-21T05:52:20.535Z] + echo total: 0.029999999329447746 [Pipeline] } [Pipeline] // stage [Pipeline] stash [Pipeline] stage [Pipeline] { (Build) [2021-04-21T05:52:20.755Z] Stashed 1 file(s) [Pipeline] } [2021-04-21T05:52:20.778Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] [Pipeline] script [Pipeline] { [Pipeline] // lock [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [2021-04-21T05:52:21.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } [2021-04-21T05:52:21.673Z] + ls -al . [2021-04-21T05:52:21.673Z] total 224 [2021-04-21T05:52:21.673Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 05:52 . [2021-04-21T05:52:21.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:48 .. [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 05:48 .dockerignore [2021-04-21T05:52:21.673Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 05:48 .git [2021-04-21T05:52:21.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:48 .github [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 05:48 .gitignore [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 21 05:48 Dockerfile.build [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 21 05:48 Jenkinsfile [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 05:48 LICENSE [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 21 05:48 Makefile [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 7652 Apr 21 05:48 README.md [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 21 05:48 RELEASE-NOTES.txt [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 05:46 VERSION [2021-04-21T05:52:21.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:48 bin [2021-04-21T05:52:21.673Z] -rw-r--r-- 1 jenkins jenkins 100116 Apr 21 05:51 coverage.out [2021-04-21T05:52:21.673Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 05:48 example [2021-04-21T05:52:21.673Z] -rw-r--r-- 1 jenkins jenkins 575 Apr 21 05:52 go.mod [2021-04-21T05:52:21.673Z] -rw-r--r-- 1 jenkins jenkins 20737 Apr 21 05:52 go.sum [2021-04-21T05:52:21.673Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 21 05:48 internal [2021-04-21T05:52:21.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:48 openapi [2021-04-21T05:52:21.673Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 05:48 pkg [2021-04-21T05:52:21.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:48 snap [2021-04-21T05:52:21.673Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 05:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:52:22.144Z] + 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=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 --label arch=arm64 --label version=0.0.0 . [2021-04-21T05:52:22.419Z] Sending build context to Docker daemon 2.554MB [2021-04-21T05:52:22.692Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-21T05:52:22.692Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-21T05:52:22.692Z] ---> ebf0d8f67b8a [2021-04-21T05:52:22.692Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-21T05:52:22.975Z] ---> Running in b9e5eee98918 [2021-04-21T05:52:23.570Z] Removing intermediate container b9e5eee98918 [2021-04-21T05:52:23.570Z] ---> 3f7638bcb39d [2021-04-21T05:52:23.570Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-21T05:52:23.570Z] ---> Running in 95e6761b7dc6 [2021-04-21T05:52:24.162Z] Removing intermediate container 95e6761b7dc6 [2021-04-21T05:52:24.162Z] ---> aee2e8d19a12 [2021-04-21T05:52:24.162Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-21T05:52:24.162Z] ---> Running in 7ff603bd0e52 [2021-04-21T05:52:26.131Z] Removing intermediate container 7ff603bd0e52 [2021-04-21T05:52:26.131Z] ---> 93e2ff415589 [2021-04-21T05:52:26.131Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-21T05:52:26.407Z] ---> Running in d88d493eca0b [2021-04-21T05:52:27.386Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-21T05:52:27.983Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-21T05:52:28.961Z] OK: 144 MiB in 45 packages [2021-04-21T05:52:29.943Z] Removing intermediate container d88d493eca0b [2021-04-21T05:52:29.943Z] ---> fe3c2db54db3 [2021-04-21T05:52:29.943Z] Step 7/23 : COPY . . [2021-04-21T05:52:30.948Z] ---> f725320dcf7a [2021-04-21T05:52:30.948Z] Step 8/23 : RUN go mod download [2021-04-21T05:52:31.224Z] ---> Running in e8c67e9a402a [2021-04-21T05:52:33.235Z] Removing intermediate container e8c67e9a402a [2021-04-21T05:52:33.235Z] ---> 6c663ec3e312 [2021-04-21T05:52:33.235Z] Step 9/23 : RUN make build [2021-04-21T05:52:33.506Z] ---> Running in 03128d7d2198 [2021-04-21T05:52:34.487Z] 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-21T05:53:06.866Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-21T05:53:10.255Z] Removing intermediate container 03128d7d2198 [2021-04-21T05:53:10.255Z] ---> c69cee2c397f [2021-04-21T05:53:10.255Z] Step 10/23 : FROM alpine:3.12 [2021-04-21T05:53:10.255Z] 3.12: Pulling from library/alpine [2021-04-21T05:53:10.255Z] d2f70382dc9a: Pulling fs layer [2021-04-21T05:53:10.255Z] d2f70382dc9a: Verifying Checksum [2021-04-21T05:53:10.255Z] d2f70382dc9a: Download complete [2021-04-21T05:53:10.867Z] d2f70382dc9a: Pull complete [2021-04-21T05:53:11.140Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-21T05:53:11.140Z] Status: Downloaded newer image for alpine:3.12 [2021-04-21T05:53:11.140Z] ---> 9852663dfa18 [2021-04-21T05:53:11.140Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-21T05:53:11.140Z] ---> Running in 08eb72cdff72 [2021-04-21T05:53:11.738Z] Removing intermediate container 08eb72cdff72 [2021-04-21T05:53:11.738Z] ---> d1c819acbd18 [2021-04-21T05:53:11.738Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-21T05:53:11.738Z] ---> Running in 7ab8dddd23a4 [2021-04-21T05:53:13.713Z] Removing intermediate container 7ab8dddd23a4 [2021-04-21T05:53:13.713Z] ---> 93ebe41bcf2f [2021-04-21T05:53:13.713Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-21T05:53:13.987Z] ---> Running in 426e585406c4 [2021-04-21T05:53:14.989Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-21T05:53:15.965Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-21T05:53:16.556Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-21T05:53:16.556Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-21T05:53:16.826Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-21T05:53:17.107Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-21T05:53:17.379Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-21T05:53:17.379Z] Executing busybox-1.31.1-r20.trigger [2021-04-21T05:53:17.379Z] OK: 8 MiB in 19 packages [2021-04-21T05:53:18.812Z] Removing intermediate container 426e585406c4 [2021-04-21T05:53:18.812Z] ---> 2e0ff05ffc05 [2021-04-21T05:53:18.812Z] Step 14/23 : WORKDIR / [2021-04-21T05:53:18.812Z] ---> Running in d09a099a0ee1 [2021-04-21T05:53:19.409Z] Removing intermediate container d09a099a0ee1 [2021-04-21T05:53:19.409Z] ---> e1fef1d83fac [2021-04-21T05:53:19.409Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-21T05:53:20.004Z] ---> ddd978ba8a3c [2021-04-21T05:53:20.004Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-21T05:53:21.442Z] ---> 73575549e4df [2021-04-21T05:53:21.442Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-21T05:53:22.051Z] ---> b87cb8264d22 [2021-04-21T05:53:22.051Z] Step 18/23 : EXPOSE 49990 [2021-04-21T05:53:22.051Z] ---> Running in dd160785f206 [2021-04-21T05:53:22.649Z] Removing intermediate container dd160785f206 [2021-04-21T05:53:22.649Z] ---> 2baefef2d11e [2021-04-21T05:53:22.649Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-21T05:53:22.649Z] ---> Running in 3ff8b440118f [2021-04-21T05:53:23.245Z] Removing intermediate container 3ff8b440118f [2021-04-21T05:53:23.245Z] ---> bfbcef17d618 [2021-04-21T05:53:23.245Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-21T05:53:23.245Z] ---> Running in bde044a5b7e8 [2021-04-21T05:53:23.843Z] Removing intermediate container bde044a5b7e8 [2021-04-21T05:53:23.843Z] ---> 648eb23788e6 [2021-04-21T05:53:23.843Z] Step 21/23 : LABEL arch=arm64 [2021-04-21T05:53:23.843Z] ---> Running in 7dc3dea76e24 [2021-04-21T05:53:24.437Z] Removing intermediate container 7dc3dea76e24 [2021-04-21T05:53:24.437Z] ---> 4cc3ffa1b85a [2021-04-21T05:53:24.437Z] Step 22/23 : LABEL git_sha=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [2021-04-21T05:53:24.437Z] ---> Running in 31cf3f04c33a [2021-04-21T05:53:24.713Z] Removing intermediate container 31cf3f04c33a [2021-04-21T05:53:24.713Z] ---> ba8513fc2539 [2021-04-21T05:53:24.713Z] Step 23/23 : LABEL version=0.0.0 [2021-04-21T05:53:24.989Z] ---> Running in 6ded7cfec42b [2021-04-21T05:53:25.587Z] Removing intermediate container 6ded7cfec42b [2021-04-21T05:53:25.587Z] ---> 47206e44a88a [2021-04-21T05:53:25.587Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-04-21T05:53:25.587Z] Successfully built 47206e44a88a [2021-04-21T05:53:25.587Z] 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-21T05:53:26.291Z] ---> job-cost.sh [2021-04-21T05:53:26.291Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-d9Ab [2021-04-21T05:54:05.245Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-21T05:55:42.138Z] lf-activate-venv(): INFO: Adding /tmp/venv-d9Ab/bin to PATH [2021-04-21T05:55:42.138Z] INFO: No Stack... [2021-04-21T05:55:42.138Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-21T05:55:42.138Z] INFO: Archiving Costs [Pipeline] sh [2021-04-21T05:55:42.507Z] + cut -d, -f6 [2021-04-21T05:55:42.507Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-04-21T05:55:42.654Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] [2021-04-21T05:55:42.661Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] did not exist. Created. [2021-04-21T05:55:42.661Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-21T05:55:43.132Z] /w/workspace/device-sdk-go/1@tmp/durable-2451dc3f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-2451dc3f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-21T05:55:43.520Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-21T05:55:43.566Z] Warning: overwriting stash ‘stack-cost’ [2021-04-21T05:55:43.727Z] Stashed 1 file(s) [Pipeline] } [2021-04-21T05:55:43.747Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-892-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-21T05:55:44.864Z] provisioning config files... [2021-04-21T05:55:44.884Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config3561438752134453963tmp [Pipeline] { [Pipeline] sh [2021-04-21T05:55:45.268Z] + set +x [2021-04-21T05:55:45.268Z] + curl -s https://codecov.io/bash [2021-04-21T05:55:45.268Z] + bash -s -- [2021-04-21T05:55:45.533Z] [2021-04-21T05:55:45.533Z] _____ _ [2021-04-21T05:55:45.533Z] / ____| | | [2021-04-21T05:55:45.533Z] | | ___ __| | ___ ___ _____ __ [2021-04-21T05:55:45.533Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-21T05:55:45.533Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-21T05:55:45.533Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-21T05:55:45.533Z] Bash-1.0.2 [2021-04-21T05:55:45.533Z] [2021-04-21T05:55:45.533Z] [2021-04-21T05:55:45.533Z] ==> git version 2.24.3 found [2021-04-21T05:55:45.533Z] ==> 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-21T05:55:45.533Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-21T05:55:45.533Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-21T05:55:45.533Z] ==> Jenkins CI detected. [2021-04-21T05:55:45.533Z] project root: . [2021-04-21T05:55:45.533Z] --> token set from env [2021-04-21T05:55:45.533Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-21T05:55:45.533Z] ==> Running gcov in . (disable via -X gcov) [2021-04-21T05:55:45.533Z] ==> Python coveragepy not found [2021-04-21T05:55:45.533Z] ==> Searching for coverage reports in: [2021-04-21T05:55:45.533Z] + . [2021-04-21T05:55:45.533Z] -> Found 1 reports [2021-04-21T05:55:45.533Z] ==> Detecting git/mercurial file structure [2021-04-21T05:55:45.533Z] ==> Reading reports [2021-04-21T05:55:45.533Z] + ./coverage.out bytes=100116 [2021-04-21T05:55:45.533Z] ==> Appending adjustments [2021-04-21T05:55:45.533Z] https://docs.codecov.io/docs/fixing-reports [2021-04-21T05:55:45.796Z] + Found adjustments [2021-04-21T05:55:45.796Z] ==> Gzipping contents [2021-04-21T05:55:45.796Z] 16K /tmp/codecov.Wbusn4.gz [2021-04-21T05:55:45.796Z] ==> Uploading reports [2021-04-21T05:55:45.796Z] url: https://codecov.io [2021-04-21T05:55:45.796Z] query: branch=PR-892&commit=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-892%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=892&job=&cmd_args= [2021-04-21T05:55:45.796Z] -> Pinging Codecov [2021-04-21T05:55:45.796Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-892&commit=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-892%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=892&job=&cmd_args= [2021-04-21T05:55:46.375Z] -> Uploading to [2021-04-21T05:55:46.375Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-21/7E55EF52A471D76F132DFD9A03CDDE97/d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2/86a8a45c-dd40-45d7-9eca-23c0afa31318.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210421T055546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b9371f918bef123c813f5b1320263836fd49f443356d543e57bf4696039c9af [2021-04-21T05:55:46.375Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-21T05:55:46.375Z] Dload Upload Total Spent Left Speed [2021-04-21T05:55:46.949Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13523 0 0 100 13523 0 28428 --:--:-- --:--:-- --:--:-- 28409 100 13523 0 0 100 13523 0 28418 --:--:-- --:--:-- --:--:-- 28409 [2021-04-21T05:55:46.949Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [Pipeline] } [2021-04-21T05:55:46.978Z] 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-21T05:55:49.091Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:55:49.451Z] ---> package-listing.sh [2021-04-21T05:55:49.451Z] ++ facter osfamily [2021-04-21T05:55:49.451Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-21T05:55:49.451Z] + OS_FAMILY=redhat [2021-04-21T05:55:49.451Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-892 [2021-04-21T05:55:49.451Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-21T05:55:49.451Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-21T05:55:49.451Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-21T05:55:49.451Z] + PACKAGES=/tmp/packages_start.txt [2021-04-21T05:55:49.451Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-892 ']' [2021-04-21T05:55:49.451Z] + PACKAGES=/tmp/packages_end.txt [2021-04-21T05:55:49.451Z] + case "${OS_FAMILY}" in [2021-04-21T05:55:49.451Z] + rpm -qa [2021-04-21T05:55:49.451Z] + sort [2021-04-21T05:55:54.879Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-21T05:55:54.879Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-21T05:55:54.879Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-21T05:55:54.879Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-892 ']' [2021-04-21T05:55:54.879Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-892/archives/ [2021-04-21T05:55:54.879Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-892/archives/ [Pipeline] echo [2021-04-21T05:55:54.913Z] 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-892/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-21T05:55:55.225Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:55:55.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-21T05:55:55.566Z] [2021-04-21T05:55:55.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-21T05:55:55.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-21T05:55:55.920Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-21T05:55:55.920Z] df20fa9351a1: Pulling fs layer [2021-04-21T05:55:55.920Z] 36b3adc4ff6f: Pulling fs layer [2021-04-21T05:55:55.920Z] 8ad3a11d3b57: Pulling fs layer [2021-04-21T05:55:55.920Z] 46f8f816bc3b: Pulling fs layer [2021-04-21T05:55:55.920Z] 93b61091891f: Pulling fs layer [2021-04-21T05:55:55.920Z] 93b9cdb0e59b: Pulling fs layer [2021-04-21T05:55:55.920Z] 5e14af77c1be: Pulling fs layer [2021-04-21T05:55:55.920Z] 01666e4c0597: Pulling fs layer [2021-04-21T05:55:55.920Z] aa168da1d23b: Pulling fs layer [2021-04-21T05:55:55.920Z] 93b61091891f: Waiting [2021-04-21T05:55:55.920Z] 93b9cdb0e59b: Waiting [2021-04-21T05:55:55.920Z] 46f8f816bc3b: Waiting [2021-04-21T05:55:55.920Z] 5e14af77c1be: Waiting [2021-04-21T05:55:55.920Z] 01666e4c0597: Waiting [2021-04-21T05:55:55.920Z] aa168da1d23b: Waiting [2021-04-21T05:55:55.920Z] 36b3adc4ff6f: Verifying Checksum [2021-04-21T05:55:55.920Z] 36b3adc4ff6f: Download complete [2021-04-21T05:55:55.920Z] 46f8f816bc3b: Verifying Checksum [2021-04-21T05:55:55.920Z] 46f8f816bc3b: Download complete [2021-04-21T05:55:55.920Z] df20fa9351a1: Verifying Checksum [2021-04-21T05:55:55.920Z] df20fa9351a1: Download complete [2021-04-21T05:55:56.185Z] 93b9cdb0e59b: Verifying Checksum [2021-04-21T05:55:56.185Z] 93b9cdb0e59b: Download complete [2021-04-21T05:55:56.185Z] 93b61091891f: Download complete [2021-04-21T05:55:56.185Z] 5e14af77c1be: Verifying Checksum [2021-04-21T05:55:56.185Z] 5e14af77c1be: Download complete [2021-04-21T05:55:56.185Z] 01666e4c0597: Verifying Checksum [2021-04-21T05:55:56.185Z] 01666e4c0597: Download complete [2021-04-21T05:55:56.185Z] 8ad3a11d3b57: Verifying Checksum [2021-04-21T05:55:56.185Z] 8ad3a11d3b57: Download complete [2021-04-21T05:55:56.449Z] df20fa9351a1: Pull complete [2021-04-21T05:55:56.719Z] 36b3adc4ff6f: Pull complete [2021-04-21T05:55:57.306Z] 8ad3a11d3b57: Pull complete [2021-04-21T05:55:57.570Z] 46f8f816bc3b: Pull complete [2021-04-21T05:55:58.531Z] aa168da1d23b: Verifying Checksum [2021-04-21T05:55:58.531Z] aa168da1d23b: Download complete [2021-04-21T05:55:58.794Z] 93b61091891f: Pull complete [2021-04-21T05:55:58.794Z] 93b9cdb0e59b: Pull complete [2021-04-21T05:55:59.058Z] 5e14af77c1be: Pull complete [2021-04-21T05:55:59.058Z] 01666e4c0597: Pull complete [2021-04-21T05:56:07.246Z] aa168da1d23b: Pull complete [2021-04-21T05:56:07.246Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-21T05:56:07.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-21T05:56:07.246Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-21T05:56:07.484Z] prd-centos7-docker-4c-2g-1330 does not seem to be running inside a container [2021-04-21T05:56:07.535Z] $ 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-892/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-892 -v /w/workspace/dgexfoundry_device-sdk-go_PR-892:/w/workspace/dgexfoundry_device-sdk-go_PR-892:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-892@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-21T05:56:10.735Z] $ docker top 83bdb91ec8b08626ddf66bb95738346df3f67c09d7ab5eff0dc2b8792da768d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-21T05:56:11.208Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-21T05:56:11.528Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-21T05:56:11.852Z] + ls /var/log/sa-host [2021-04-21T05:56:11.852Z] + sadf -c /var/log/sa-host/sa21 [2021-04-21T05:56:11.852Z] file_magic: OK [2021-04-21T05:56:11.852Z] HZ: Using current value: 100 [2021-04-21T05:56:11.852Z] file_header: OK [2021-04-21T05:56:11.852Z] 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-21T05:56:11.852Z] Statistics: [2021-04-21T05:56:11.852Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-21T05:56:11.852Z] File successfully converted to sysstat format version 12.2.1 [2021-04-21T05:56:11.852Z] + sadf -c /var/log/sa-host/sa23 [2021-04-21T05:56:11.852Z] file_magic: OK [2021-04-21T05:56:11.852Z] HZ: Using current value: 100 [2021-04-21T05:56:11.852Z] file_header: OK [2021-04-21T05:56:11.852Z] 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-21T05:56:11.852Z] Statistics: [2021-04-21T05:56:11.852Z] Hnuu...uuuununununu... [2021-04-21T05:56:11.852Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-21T05:56:12.489Z] provisioning config files... [2021-04-21T05:56:12.504Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config5156263567823907202tmp [Pipeline] { [Pipeline] echo [2021-04-21T05:56:12.581Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:56:12.913Z] ---> create-netrc.sh [Pipeline] } [2021-04-21T05:56:12.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-21T05:56:13.016Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:56:13.355Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-21T05:56:13.387Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:56:13.724Z] ---> sudo-logs.sh [2021-04-21T05:56:13.724Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-21T05:56:13.811Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:56:14.159Z] ---> job-cost.sh [2021-04-21T05:56:14.159Z] lf-activate-venv: SKIPPING [2021-04-21T05:56:14.159Z] DEBUG: total: 0.20999999344348907 [2021-04-21T05:56:14.159Z] INFO: Retrieving Stack Cost... [2021-04-21T05:56:16.105Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-21T05:56:16.369Z] INFO: Archiving Costs [Pipeline] echo [2021-04-21T05:56:16.406Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-21T05:56:16.749Z] ---> logs-deploy.sh [2021-04-21T05:56:16.749Z] lf-activate-venv: SKIPPING [2021-04-21T05:56:16.749Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-892/1 [2021-04-21T05:56:16.749Z] INFO: archiving workspace using pattern(s): [2021-04-21T05:56:18.670Z] Archives upload complete. [2021-04-21T05:56:18.670Z] INFO: archiving logs to Nexus