Pull request #910 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bafbdb5d538150f9b5600db3cb0cbde0487f5495+70dff52b8df9807f5114cad14836e8310fd11d9c (4d87502c6759fc9b8f8d515333adacbdf63e52a9) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-910/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-910/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-3461 in /w/workspace/dgexfoundry_device-sdk-go_PR-910 [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-910 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/910/head:refs/remotes/origin/PR-910 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit bafbdb5d538150f9b5600db3cb0cbde0487f5495 Merge succeeded, producing bafbdb5d538150f9b5600db3cb0cbde0487f5495 Checking out Revision bafbdb5d538150f9b5600db3cb0cbde0487f5495 (PR-910) > git config core.sparsecheckout # timeout=10 > git checkout -f bafbdb5d538150f9b5600db3cb0cbde0487f5495 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bafbdb5d538150f9b5600db3cb0cbde0487f5495 # 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T05:53:14.273Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T05:53:14.514Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T05:53:14.634Z] ========================================================= [2021-05-07T05:53:14.634Z] EdgeX Global Pipelines Version Info [2021-05-07T05:53:14.634Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:53:17.408Z] ------------------- [2021-05-07T05:53:17.408Z] stable info: [2021-05-07T05:53:17.408Z] ------------------- [2021-05-07T05:53:17.408Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T05:53:17.408Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:53:17.408Z] Message: update stable to v1.0.191 [2021-05-07T05:53:18.416Z] ------------------- [2021-05-07T05:53:18.416Z] experimental info: [2021-05-07T05:53:18.416Z] ------------------- [2021-05-07T05:53:18.416Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T05:53:18.416Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:53:18.416Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T05:53:18.697Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-07T05:53:18.759Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-07T05:53:18.815Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T05:53:18.868Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T05:53:18.924Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T05:53:18.988Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T05:53:19.045Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T05:53:19.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T05:53:19.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-07T05:53:19.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T05:53:19.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T05:53:19.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-07T05:53:19.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T05:53:19.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T05:53:19.521Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-07T05:53:19.579Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:53:19.634Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:53:19.694Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:53:19.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T05:53:19.809Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T05:53:19.864Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T05:53:19.931Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-07T05:53:19.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T05:53:20.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T05:53:20.127Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-07T05:53:20.182Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T05:53:20.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-910 [Pipeline] echo [2021-05-07T05:53:20.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-910 [Pipeline] echo [2021-05-07T05:53:20.347Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-910 [Pipeline] echo [2021-05-07T05:53:20.419Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bafbdb5d538150f9b5600db3cb0cbde0487f5495 [Pipeline] echo [2021-05-07T05:53:20.476Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bafbdb5 [Pipeline] echo [2021-05-07T05:53:20.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:53:20.714Z] provisioning config files... [2021-05-07T05:53:20.758Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp/config3616484825361419334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:53:21.173Z] ---> docker-login.sh [2021-05-07T05:53:21.173Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:53:21.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:21.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:21.798Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:21.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:21.798Z] [2021-05-07T05:53:21.798Z] Login Succeeded [2021-05-07T05:53:21.798Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:53:22.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:22.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:22.375Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:22.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:22.375Z] [2021-05-07T05:53:22.375Z] Login Succeeded [2021-05-07T05:53:22.375Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:53:22.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:22.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:22.670Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:22.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:22.670Z] [2021-05-07T05:53:22.670Z] Login Succeeded [2021-05-07T05:53:22.670Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:53:22.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:23.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:23.253Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:23.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:23.253Z] [2021-05-07T05:53:23.253Z] Login Succeeded [2021-05-07T05:53:23.253Z] docker.io [2021-05-07T05:53:23.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:23.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:23.798Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:23.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:23.798Z] [2021-05-07T05:53:23.798Z] Login Succeeded [2021-05-07T05:53:23.798Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:53:23.829Z] 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-05-07T05:53:24.566Z] + git log --format=format:%s -1 bafbdb5d538150f9b5600db3cb0cbde0487f5495 [Pipeline] echo [2021-05-07T05:53:24.769Z] GIT_COMMIT: bafbdb5d538150f9b5600db3cb0cbde0487f5495, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-05-07T05:53:24.809Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:53:25.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:53:25.438Z] [2021-05-07T05:53:25.438Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:53:25.857Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:53:25.857Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T05:53:25.857Z] 31603596830f: Pulling fs layer [2021-05-07T05:53:25.857Z] 54011a49482f: Pulling fs layer [2021-05-07T05:53:25.857Z] a6820b24f6d8: Pulling fs layer [2021-05-07T05:53:25.857Z] f581987b2513: Pulling fs layer [2021-05-07T05:53:25.857Z] f581987b2513: Waiting [2021-05-07T05:53:25.857Z] 54011a49482f: Verifying Checksum [2021-05-07T05:53:25.857Z] 54011a49482f: Download complete [2021-05-07T05:53:26.145Z] 31603596830f: Verifying Checksum [2021-05-07T05:53:26.145Z] 31603596830f: Download complete [2021-05-07T05:53:26.440Z] f581987b2513: Verifying Checksum [2021-05-07T05:53:26.440Z] f581987b2513: Download complete [2021-05-07T05:53:26.716Z] a6820b24f6d8: Verifying Checksum [2021-05-07T05:53:26.716Z] a6820b24f6d8: Download complete [2021-05-07T05:53:26.716Z] 31603596830f: Pull complete [2021-05-07T05:53:27.326Z] 54011a49482f: Pull complete [2021-05-07T05:53:28.776Z] a6820b24f6d8: Pull complete [2021-05-07T05:53:29.369Z] f581987b2513: Pull complete [2021-05-07T05:53:29.369Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T05:53:29.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:53:29.369Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T05:53:29.598Z] prd-centos7-docker-4c-2g-3461 does not seem to be running inside a container [2021-05-07T05:53:29.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-910 -v /w/workspace/dgexfoundry_device-sdk-go_PR-910:/w/workspace/dgexfoundry_device-sdk-go_PR-910:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T05:53:32.357Z] $ docker top 50aad74ff960bd5f0bb9cd655905d0bf9a4a9d8f37328fdfdf6251829142e0f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T05:53:32.873Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T05:53:32.873Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T05:53:33.398Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T05:53:33.407Z] $ docker exec 50aad74ff960bd5f0bb9cd655905d0bf9a4a9d8f37328fdfdf6251829142e0f0 ssh-agent [2021-05-07T05:53:33.907Z] SSH_AUTH_SOCK=/tmp/ssh-osVozHvR0oO7/agent.11 [2021-05-07T05:53:33.907Z] SSH_AGENT_PID=17 [2021-05-07T05:53:33.938Z] Running ssh-add (command line suppressed) [2021-05-07T05:53:34.201Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp/private_key_5752614169489153470.key (/w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp/private_key_5752614169489153470.key) [2021-05-07T05:53:34.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T05:53:34.860Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T05:53:35.234Z] $ docker exec --env ******** --env ******** 50aad74ff960bd5f0bb9cd655905d0bf9a4a9d8f37328fdfdf6251829142e0f0 ssh-agent -k [2021-05-07T05:53:35.633Z] unset SSH_AUTH_SOCK; [2021-05-07T05:53:35.634Z] unset SSH_AGENT_PID; [2021-05-07T05:53:35.634Z] echo Agent pid 17 killed; [2021-05-07T05:53:35.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T05:53:35.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T05:53:35.845Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T05:53:36.426Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T05:53:36.442Z] $ docker exec 50aad74ff960bd5f0bb9cd655905d0bf9a4a9d8f37328fdfdf6251829142e0f0 ssh-agent [2021-05-07T05:53:36.975Z] SSH_AUTH_SOCK=/tmp/ssh-3Rlafl6qyMl4/agent.46 [2021-05-07T05:53:36.975Z] SSH_AGENT_PID=51 [2021-05-07T05:53:36.989Z] Running ssh-add (command line suppressed) [2021-05-07T05:53:37.186Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp/private_key_3048010877999407712.key (/w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp/private_key_3048010877999407712.key) [2021-05-07T05:53:37.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T05:53:37.723Z] + git semver init [2021-05-07T05:53:37.723Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T05:53:37.723Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-910/.git [2021-05-07T05:53:37.723Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-910 [2021-05-07T05:53:37.723Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T05:53:37.723Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T05:53:37.723Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T05:53:37.723Z] # $SEMVER_BRANCH = PR-910 [2021-05-07T05:53:37.723Z] # $SEMVER_TEMP = /tmp/semver-318124316 [2021-05-07T05:53:37.723Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-07T05:53:39.871Z] # '/tmp/semver-318124316' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-910/.semver' [2021-05-07T05:53:39.871Z] # -> Force: false [2021-05-07T05:53:39.871Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-910/.semver [Pipeline] } [2021-05-07T05:53:39.904Z] $ docker exec --env ******** --env ******** 50aad74ff960bd5f0bb9cd655905d0bf9a4a9d8f37328fdfdf6251829142e0f0 ssh-agent -k [2021-05-07T05:53:40.245Z] unset SSH_AUTH_SOCK; [2021-05-07T05:53:40.245Z] unset SSH_AGENT_PID; [2021-05-07T05:53:40.246Z] echo Agent pid 51 killed; [2021-05-07T05:53:40.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T05:53:41.699Z] + git semver [Pipeline] } [2021-05-07T05:53:41.769Z] $ docker stop --time=1 50aad74ff960bd5f0bb9cd655905d0bf9a4a9d8f37328fdfdf6251829142e0f0 [2021-05-07T05:53:44.210Z] $ docker rm -f 50aad74ff960bd5f0bb9cd655905d0bf9a4a9d8f37328fdfdf6251829142e0f0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T05:53:45.428Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T05:53:46.973Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T05:53:46.996Z] [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-05-07T05:54:02.497Z] Still waiting to schedule task [2021-05-07T05:54:02.498Z] ‘prd-centos7-docker-4c-2g-3465’ is offline; ‘prd-centos7-docker-4c-2g-3466’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3463’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-07T05:54:02.526Z] Still waiting to schedule task [2021-05-07T05:54:02.526Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3463’ is offline [2021-05-07T05:56:08.574Z] Running on prd-centos7-docker-4c-2g-3467 in /w/workspace/dgexfoundry_device-sdk-go_PR-910 [Pipeline] { [Pipeline] ws [2021-05-07T05:56:08.636Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-07T05:56:24.789Z] using credential edgex-jenkins-ssh [2021-05-07T05:56:24.840Z] Cloning the remote Git repository [2021-05-07T05:56:25.086Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:25.300Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-07T05:56:25.541Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:25.542Z] > git --version # timeout=10 [2021-05-07T05:56:25.605Z] > git --version # 'git version 2.24.3' [2021-05-07T05:56:25.732Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:26.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:56:28.419Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit bafbdb5d538150f9b5600db3cb0cbde0487f5495 [2021-05-07T05:56:28.885Z] Merge succeeded, producing bafbdb5d538150f9b5600db3cb0cbde0487f5495 [2021-05-07T05:56:28.885Z] Checking out Revision bafbdb5d538150f9b5600db3cb0cbde0487f5495 (PR-910) [2021-05-07T05:56:27.389Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:56:27.480Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:56:27.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:56:27.854Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:27.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:27.860Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/910/head:refs/remotes/origin/PR-910 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T05:56:28.455Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:56:28.488Z] > git checkout -f bafbdb5d538150f9b5600db3cb0cbde0487f5495 # timeout=10 [2021-05-07T05:56:28.665Z] > git remote # timeout=10 [2021-05-07T05:56:28.741Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T05:56:28.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:28.809Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T05:56:28.838Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T05:56:28.902Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:56:28.950Z] > git checkout -f bafbdb5d538150f9b5600db3cb0cbde0487f5495 # timeout=10 [2021-05-07T05:56:33.070Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3471 in /w/workspace/dgexfoundry_device-sdk-go_PR-910 [Pipeline] { [Pipeline] ws [2021-05-07T05:56:33.125Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-07T05:56:33.984Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-05-07T05:56:34.082Z] > git --version # timeout=10 [2021-05-07T05:56:34.168Z] > git --version # 'git version 2.24.3' [2021-05-07T05:56:34.295Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T05:56:36.680Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:56:37.113Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:56:37.569Z] + true [2021-05-07T05:56:37.569Z] + sudo service docker restart [2021-05-07T05:56:37.569Z] Redirecting to /bin/systemctl restart docker.service [2021-05-07T05:56:39.689Z] using credential edgex-jenkins-ssh [2021-05-07T05:56:39.743Z] Cloning the remote Git repository [2021-05-07T05:56:39.895Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:40.142Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:56:40.539Z] provisioning config files... [2021-05-07T05:56:40.617Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7003755511708022718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:56:41.136Z] ---> docker-login.sh [2021-05-07T05:56:41.137Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:56:40.284Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:40.286Z] > git --version # timeout=10 [2021-05-07T05:56:40.305Z] > git --version # 'git version 2.17.1' [2021-05-07T05:56:40.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:40.384Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:56:42.325Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit bafbdb5d538150f9b5600db3cb0cbde0487f5495 [2021-05-07T05:56:42.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:42.540Z] Merge succeeded, producing bafbdb5d538150f9b5600db3cb0cbde0487f5495 [2021-05-07T05:56:42.540Z] Checking out Revision bafbdb5d538150f9b5600db3cb0cbde0487f5495 (PR-910) [2021-05-07T05:56:41.716Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:56:41.735Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:56:41.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:56:41.795Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:41.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:41.812Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/910/head:refs/remotes/origin/PR-910 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T05:56:42.348Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:56:42.362Z] > git checkout -f bafbdb5d538150f9b5600db3cb0cbde0487f5495 # timeout=10 [2021-05-07T05:56:42.465Z] > git remote # timeout=10 [2021-05-07T05:56:42.484Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T05:56:42.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:42.507Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T05:56:42.529Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T05:56:42.549Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:56:42.559Z] > git checkout -f bafbdb5d538150f9b5600db3cb0cbde0487f5495 # timeout=10 [2021-05-07T05:56:42.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:42.838Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:42.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:42.838Z] [2021-05-07T05:56:42.838Z] Login Succeeded [2021-05-07T05:56:42.838Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:56:44.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:44.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:44.390Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:44.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:44.390Z] [2021-05-07T05:56:44.390Z] Login Succeeded [2021-05-07T05:56:44.390Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:56:45.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:45.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:45.605Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:45.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:45.605Z] [2021-05-07T05:56:45.605Z] Login Succeeded [2021-05-07T05:56:45.605Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:56:46.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:46.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:46.817Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:46.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:46.817Z] [2021-05-07T05:56:46.817Z] Login Succeeded [2021-05-07T05:56:46.817Z] docker.io [2021-05-07T05:56:47.014Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-05-07T05:56:47.069Z] > git --version # timeout=10 [2021-05-07T05:56:47.079Z] > git --version # 'git version 2.17.1' [2021-05-07T05:56:47.096Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:56:47.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-05-07T05:56:47.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:47.736Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:47.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:47.736Z] [2021-05-07T05:56:47.736Z] Login Succeeded [2021-05-07T05:56:47.736Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:56:47.821Z] Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-05-07T05:56:48.963Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] echo [2021-05-07T05:56:49.247Z] ========================================================= [2021-05-07T05:56:49.247Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T05:56:49.247Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:56:49.426Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:56:49.970Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-07T05:56:50.036Z] + sudo service docker restart [2021-05-07T05:56:50.036Z] + true [2021-05-07T05:56:51.155Z] Sending build context to Docker daemon 2.475MB [2021-05-07T05:56:51.155Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:56:51.155Z] Step 2/8 : FROM ${BASE} [2021-05-07T05:56:51.509Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T05:56:51.509Z] 540db60ca938: Pulling fs layer [2021-05-07T05:56:51.509Z] adcc1eea9eea: Pulling fs layer [2021-05-07T05:56:51.509Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T05:56:51.509Z] 0510c868ecb4: Pulling fs layer [2021-05-07T05:56:51.509Z] afea3b2eda06: Pulling fs layer [2021-05-07T05:56:51.509Z] 7809a108b3ef: Pulling fs layer [2021-05-07T05:56:51.509Z] f706445af74f: Pulling fs layer [2021-05-07T05:56:51.509Z] 0510c868ecb4: Waiting [2021-05-07T05:56:51.509Z] afea3b2eda06: Waiting [2021-05-07T05:56:51.509Z] 7809a108b3ef: Waiting [2021-05-07T05:56:51.509Z] f706445af74f: Waiting [2021-05-07T05:56:51.509Z] 4c4ab2625f07: Verifying Checksum [2021-05-07T05:56:51.509Z] 4c4ab2625f07: Download complete [2021-05-07T05:56:51.509Z] adcc1eea9eea: Verifying Checksum [2021-05-07T05:56:51.509Z] adcc1eea9eea: Download complete [2021-05-07T05:56:51.509Z] afea3b2eda06: Verifying Checksum [2021-05-07T05:56:51.509Z] afea3b2eda06: Download complete [2021-05-07T05:56:51.509Z] 7809a108b3ef: Verifying Checksum [2021-05-07T05:56:51.509Z] 7809a108b3ef: Download complete [2021-05-07T05:56:52.220Z] 540db60ca938: Verifying Checksum [2021-05-07T05:56:52.220Z] 540db60ca938: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:56:52.800Z] provisioning config files... [2021-05-07T05:56:52.848Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config450281461205673412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:56:53.382Z] ---> docker-login.sh [2021-05-07T05:56:53.382Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:56:53.965Z] 540db60ca938: Pull complete [2021-05-07T05:56:54.324Z] adcc1eea9eea: Pull complete [2021-05-07T05:56:54.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:54.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:54.655Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:54.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:54.656Z] [2021-05-07T05:56:54.656Z] Login Succeeded [2021-05-07T05:56:54.656Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:56:55.026Z] 4c4ab2625f07: Pull complete [2021-05-07T05:56:55.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:55.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:55.257Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:55.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:55.257Z] [2021-05-07T05:56:55.257Z] Login Succeeded [2021-05-07T05:56:55.257Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:56:55.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:55.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:55.864Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:55.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:55.864Z] [2021-05-07T05:56:55.864Z] Login Succeeded [2021-05-07T05:56:55.864Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:56:56.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:56.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:56.465Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:56.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:56.465Z] [2021-05-07T05:56:56.465Z] Login Succeeded [2021-05-07T05:56:56.465Z] docker.io [2021-05-07T05:56:57.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:57.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:57.374Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:57.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:57.374Z] [2021-05-07T05:56:57.374Z] Login Succeeded [2021-05-07T05:56:57.374Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:56:57.433Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T05:56:57.953Z] ========================================================= [2021-05-07T05:56:57.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T05:56:57.953Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:56:58.330Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-07T05:56:58.938Z] Sending build context to Docker daemon 2.474MB [2021-05-07T05:56:58.938Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:56:58.938Z] Step 2/8 : FROM ${BASE} [2021-05-07T05:56:58.938Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T05:56:58.938Z] 595b0fe564bb: Pulling fs layer [2021-05-07T05:56:58.938Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T05:56:58.938Z] 316046926c0a: Pulling fs layer [2021-05-07T05:56:58.938Z] 4ebd0625c992: Pulling fs layer [2021-05-07T05:56:58.938Z] 4ebd0625c992: Waiting [2021-05-07T05:56:58.938Z] 207e8628e3a3: Pulling fs layer [2021-05-07T05:56:58.938Z] 207e8628e3a3: Waiting [2021-05-07T05:56:58.938Z] c791037a9be2: Pulling fs layer [2021-05-07T05:56:58.938Z] ffd874e62e21: Pulling fs layer [2021-05-07T05:56:58.938Z] c791037a9be2: Waiting [2021-05-07T05:56:58.938Z] 316046926c0a: Verifying Checksum [2021-05-07T05:56:58.938Z] 316046926c0a: Download complete [2021-05-07T05:56:58.938Z] 7186ed65a4f7: Verifying Checksum [2021-05-07T05:56:58.938Z] 7186ed65a4f7: Download complete [2021-05-07T05:56:58.938Z] 207e8628e3a3: Verifying Checksum [2021-05-07T05:56:58.938Z] 207e8628e3a3: Download complete [2021-05-07T05:56:58.938Z] c791037a9be2: Download complete [2021-05-07T05:56:59.216Z] 595b0fe564bb: Verifying Checksum [2021-05-07T05:56:59.216Z] 595b0fe564bb: Download complete [2021-05-07T05:56:59.840Z] 595b0fe564bb: Pull complete [2021-05-07T05:56:59.893Z] f706445af74f: Verifying Checksum [2021-05-07T05:56:59.893Z] f706445af74f: Download complete [2021-05-07T05:57:00.446Z] 7186ed65a4f7: Pull complete [2021-05-07T05:57:00.738Z] 316046926c0a: Pull complete [2021-05-07T05:57:01.343Z] ffd874e62e21: Verifying Checksum [2021-05-07T05:57:01.343Z] ffd874e62e21: Download complete [2021-05-07T05:57:03.346Z] 4ebd0625c992: Verifying Checksum [2021-05-07T05:57:03.346Z] 4ebd0625c992: Download complete [2021-05-07T05:57:07.828Z] 0510c868ecb4: Verifying Checksum [2021-05-07T05:57:07.828Z] 0510c868ecb4: Download complete [2021-05-07T05:57:13.559Z] 4ebd0625c992: Pull complete [2021-05-07T05:57:13.833Z] 207e8628e3a3: Pull complete [2021-05-07T05:57:14.109Z] c791037a9be2: Pull complete [2021-05-07T05:57:18.428Z] ffd874e62e21: Pull complete [2021-05-07T05:57:18.428Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T05:57:18.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T05:57:18.428Z] ---> cfc18b08335c [2021-05-07T05:57:18.428Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:57:21.069Z] ---> Running in d8ab67aefa88 [2021-05-07T05:57:21.345Z] Removing intermediate container d8ab67aefa88 [2021-05-07T05:57:21.345Z] ---> 837b6cbbfc6a [2021-05-07T05:57:21.345Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:57:21.345Z] ---> Running in e158ea8c6f4a [2021-05-07T05:57:23.986Z] Removing intermediate container e158ea8c6f4a [2021-05-07T05:57:23.986Z] ---> 7d052dd41fea [2021-05-07T05:57:23.986Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T05:57:23.986Z] ---> Running in 20136c2e53ba [2021-05-07T05:57:25.449Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T05:57:26.060Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T05:57:27.034Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T05:57:27.034Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T05:57:27.307Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T05:57:27.307Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T05:57:27.584Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T05:57:27.584Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T05:57:27.584Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T05:57:27.584Z] OK: 139 MiB in 46 packages [2021-05-07T05:57:29.014Z] Removing intermediate container 20136c2e53ba [2021-05-07T05:57:29.014Z] ---> 9edbb8c050d4 [2021-05-07T05:57:29.014Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T05:57:29.299Z] ---> Running in 28b1db4206c0 [2021-05-07T05:57:29.897Z] Removing intermediate container 28b1db4206c0 [2021-05-07T05:57:29.897Z] ---> dbd65c7cb368 [2021-05-07T05:57:29.897Z] Step 7/8 : COPY . . [2021-05-07T05:57:31.345Z] ---> a1596f3a4558 [2021-05-07T05:57:31.345Z] Step 8/8 : RUN go mod download [2021-05-07T05:57:31.345Z] ---> Running in 13e35af5a6da [2021-05-07T05:57:31.348Z] 0510c868ecb4: Pull complete [2021-05-07T05:57:31.348Z] afea3b2eda06: Pull complete [2021-05-07T05:57:31.348Z] 7809a108b3ef: Pull complete [2021-05-07T05:57:40.262Z] f706445af74f: Pull complete [2021-05-07T05:57:40.262Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T05:57:40.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T05:57:40.262Z] ---> b068be0155e3 [2021-05-07T05:57:40.262Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:57:40.262Z] ---> Running in e188e8bc6f29 [2021-05-07T05:57:40.262Z] Removing intermediate container e188e8bc6f29 [2021-05-07T05:57:40.262Z] ---> d6fff5d23871 [2021-05-07T05:57:40.262Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:57:40.568Z] ---> Running in 45af1f8ee0ef [2021-05-07T05:57:44.353Z] Removing intermediate container 45af1f8ee0ef [2021-05-07T05:57:44.353Z] ---> 7516ca46430a [2021-05-07T05:57:44.353Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T05:57:44.672Z] ---> Running in 518db300b078 [2021-05-07T05:57:46.148Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T05:57:47.187Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T05:57:49.766Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T05:57:49.766Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T05:57:49.766Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T05:57:50.061Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T05:57:50.061Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T05:57:50.398Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T05:57:50.398Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T05:57:50.398Z] OK: 150 MiB in 46 packages [2021-05-07T05:57:52.028Z] Removing intermediate container 518db300b078 [2021-05-07T05:57:52.028Z] ---> 057d8e1a8c5b [2021-05-07T05:57:52.028Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T05:57:52.028Z] ---> Running in 018be6403b69 [2021-05-07T05:57:52.732Z] Removing intermediate container 018be6403b69 [2021-05-07T05:57:52.732Z] ---> eccd4a30f71e [2021-05-07T05:57:52.732Z] Step 7/8 : COPY . . [2021-05-07T05:57:55.775Z] ---> 63c48c468a50 [2021-05-07T05:57:55.775Z] Step 8/8 : RUN go mod download [2021-05-07T05:57:55.775Z] ---> Running in 45a67afec309 [2021-05-07T05:57:58.380Z] Removing intermediate container 13e35af5a6da [2021-05-07T05:57:58.380Z] ---> 54a320b1839a [2021-05-07T05:57:58.380Z] Successfully built 54a320b1839a [2021-05-07T05:57:58.380Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:57:58.800Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T05:57:58.800Z] . [Pipeline] withDockerContainer [2021-05-07T05:57:59.087Z] prd-ubuntu18.04-docker-arm64-4c-16g-3471 does not seem to be running inside a container [2021-05-07T05:57:59.193Z] $ 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-05-07T05:58:00.776Z] $ docker top 8a064c1fbf1cf1807e20f64f912d09312ea960ce7379992b48ec690583382d47 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:58:01.875Z] + go version [2021-05-07T05:58:01.875Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T05:58:01.919Z] $ docker stop --time=1 8a064c1fbf1cf1807e20f64f912d09312ea960ce7379992b48ec690583382d47 [2021-05-07T05:58:03.888Z] $ docker rm -f 8a064c1fbf1cf1807e20f64f912d09312ea960ce7379992b48ec690583382d47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:58:04.830Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T05:58:04.830Z] . [Pipeline] withDockerContainer [2021-05-07T05:58:05.098Z] prd-ubuntu18.04-docker-arm64-4c-16g-3471 does not seem to be running inside a container [2021-05-07T05:58:05.199Z] $ 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-05-07T05:58:06.828Z] $ docker top b3caac33a1ed078f18f43c7b2e1d3a5666fc99ffbcb112155e77288cfad8e0a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:58:07.862Z] + go mod tidy [Pipeline] sh [2021-05-07T05:58:09.552Z] + make test [2021-05-07T05:58:09.552Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T05:58:36.415Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T05:58:44.137Z] Removing intermediate container 45a67afec309 [2021-05-07T05:58:44.137Z] ---> 1011cfd4232d [2021-05-07T05:58:44.137Z] Successfully built 1011cfd4232d [2021-05-07T05:58:44.137Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:58:44.607Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T05:58:45.363Z] . [Pipeline] withDockerContainer [2021-05-07T05:58:45.820Z] prd-centos7-docker-4c-2g-3467 does not seem to be running inside a container [2021-05-07T05:58:46.145Z] $ 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-05-07T05:58:48.600Z] $ docker top 2f4cc64c682dc554e39754e1d9a68d41cc4a3b9ad8fb7240d675c408988d995d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:58:49.895Z] + go version [2021-05-07T05:58:49.895Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T05:58:49.938Z] $ docker stop --time=1 2f4cc64c682dc554e39754e1d9a68d41cc4a3b9ad8fb7240d675c408988d995d [2021-05-07T05:58:52.399Z] $ docker rm -f 2f4cc64c682dc554e39754e1d9a68d41cc4a3b9ad8fb7240d675c408988d995d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:58:53.693Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T05:58:54.016Z] . [Pipeline] withDockerContainer [2021-05-07T05:58:54.277Z] prd-centos7-docker-4c-2g-3467 does not seem to be running inside a container [2021-05-07T05:58:54.466Z] $ 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-05-07T05:58:57.032Z] $ docker top 659444f42b0fad6d8e5712fedba9faf61eaf41bcdc1b1b21553633734abb53e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:58:58.442Z] + go mod tidy [Pipeline] sh [2021-05-07T05:59:01.603Z] + make test [2021-05-07T05:59:01.603Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T05:59:25.648Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T05:59:44.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T05:59:44.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T05:59:44.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T05:59:44.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T05:59:44.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T05:59:54.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.155s coverage: 28.1% of statements [2021-05-07T05:59:55.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.240s coverage: 78.9% of statements [2021-05-07T05:59:55.702Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.225s coverage: 7.8% of statements [2021-05-07T05:59:55.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T05:59:55.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T05:59:55.702Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T05:59:58.352Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.254s coverage: 30.2% of statements [2021-05-07T05:59:58.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T05:59:58.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T05:59:58.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T06:00:00.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.328s coverage: 57.2% of statements [2021-05-07T06:00:00.996Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.366s coverage: 6.6% of statements [2021-05-07T06:00:01.592Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 5.0% of statements [2021-05-07T06:00:01.593Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T06:00:02.196Z] GO111MODULE=on go vet ./... [2021-05-07T06:00:49.392Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T06:00:49.392Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T06:00:49.392Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T06:00:49.392Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T06:00:49.392Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T06:00:53.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.193s coverage: 28.1% of statements [2021-05-07T06:00:56.234Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.643s coverage: 78.9% of statements [2021-05-07T06:00:56.852Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 2.235s coverage: 7.8% of statements [2021-05-07T06:00:56.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T06:00:56.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T06:00:56.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T06:01:00.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.338s coverage: 30.2% of statements [2021-05-07T06:01:00.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T06:01:00.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T06:01:00.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T06:01:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.206s coverage: 57.2% of statements [2021-05-07T06:01:03.771Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.251s coverage: 6.6% of statements [2021-05-07T06:01:03.771Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.114s coverage: 5.0% of statements [2021-05-07T06:01:03.771Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T06:01:04.067Z] GO111MODULE=on go vet ./... [2021-05-07T06:01:10.302Z] gofmt -l . [2021-05-07T06:01:10.302Z] [ "`gofmt -l .`" = "" ] [2021-05-07T06:01:10.302Z] ./bin/test-attribution-txt.sh [2021-05-07T06:01:10.302Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T06:01:10.350Z] $ docker stop --time=1 b3caac33a1ed078f18f43c7b2e1d3a5666fc99ffbcb112155e77288cfad8e0a2 [2021-05-07T06:01:12.722Z] $ docker rm -f b3caac33a1ed078f18f43c7b2e1d3a5666fc99ffbcb112155e77288cfad8e0a2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T06:01:14.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T06:01:14.778Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T06:01:16.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T06:01:16.535Z] + ls -al . [2021-05-07T06:01:16.535Z] total 224 [2021-05-07T06:01:16.535Z] drwxrwxr-x 10 jenkins jenkins 4096 May 7 06:01 . [2021-05-07T06:01:16.535Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:56 .. [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 05:56 .dockerignore [2021-05-07T06:01:16.535Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 05:56 .git [2021-05-07T06:01:16.535Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:56 .github [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 138 May 7 05:56 .gitignore [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 987 May 7 05:56 Dockerfile.build [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 901 May 7 05:56 Jenkinsfile [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 05:56 LICENSE [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 7 05:56 Makefile [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 7 05:56 README.md [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 7 05:56 RELEASE-NOTES.txt [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 05:53 VERSION [2021-05-07T06:01:16.535Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:56 bin [2021-05-07T06:01:16.535Z] -rw-r--r-- 1 jenkins jenkins 100320 May 7 06:00 coverage.out [2021-05-07T06:01:16.535Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:56 example [2021-05-07T06:01:16.535Z] -rw-r--r-- 1 jenkins jenkins 575 May 7 06:01 go.mod [2021-05-07T06:01:16.535Z] -rw-r--r-- 1 jenkins jenkins 20957 May 7 05:58 go.sum [2021-05-07T06:01:16.535Z] drwxrwxr-x 14 jenkins jenkins 4096 May 7 05:56 internal [2021-05-07T06:01:16.535Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:56 openapi [2021-05-07T06:01:16.535Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:56 pkg [2021-05-07T06:01:16.535Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:56 snap [2021-05-07T06:01:16.535Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 05:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:01:17.010Z] + 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=bafbdb5d538150f9b5600db3cb0cbde0487f5495 --label arch=arm64 --label version=0.0.0 . [2021-05-07T06:01:17.658Z] Sending build context to Docker daemon 2.575MB [2021-05-07T06:01:17.658Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T06:01:17.658Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T06:01:17.658Z] ---> 54a320b1839a [2021-05-07T06:01:17.658Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T06:01:17.935Z] ---> Running in 9b5f773638a7 [2021-05-07T06:01:18.532Z] Removing intermediate container 9b5f773638a7 [2021-05-07T06:01:18.532Z] ---> 360f9031121d [2021-05-07T06:01:18.532Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:01:18.532Z] ---> Running in 085aee72bed9 [2021-05-07T06:01:19.133Z] Removing intermediate container 085aee72bed9 [2021-05-07T06:01:19.133Z] ---> 329f19a4218e [2021-05-07T06:01:19.133Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:01:19.133Z] ---> Running in fa7d85951416 [2021-05-07T06:01:21.109Z] Removing intermediate container fa7d85951416 [2021-05-07T06:01:21.109Z] ---> ea3ef1e02dd9 [2021-05-07T06:01:21.109Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T06:01:21.381Z] ---> Running in 0d0f2c60be5e [2021-05-07T06:01:22.380Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T06:01:23.365Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T06:01:24.343Z] OK: 139 MiB in 46 packages [2021-05-07T06:01:25.325Z] Removing intermediate container 0d0f2c60be5e [2021-05-07T06:01:25.325Z] ---> 307b85ad7da2 [2021-05-07T06:01:25.325Z] Step 7/23 : COPY . . [2021-05-07T06:01:26.766Z] ---> b5f4c593d7fc [2021-05-07T06:01:26.766Z] Step 8/23 : RUN go mod download [2021-05-07T06:01:27.046Z] ---> Running in 89ada04aca5e [2021-05-07T06:01:29.668Z] Removing intermediate container 89ada04aca5e [2021-05-07T06:01:29.668Z] ---> e7b1850396c7 [2021-05-07T06:01:29.668Z] Step 9/23 : RUN make build [2021-05-07T06:01:30.673Z] ---> Running in 45da71cd2e2d [2021-05-07T06:01:31.666Z] 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-05-07T06:02:10.778Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T06:02:11.391Z] Removing intermediate container 45da71cd2e2d [2021-05-07T06:02:11.391Z] ---> 8d26262c445f [2021-05-07T06:02:11.392Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T06:02:11.668Z] 3.12: Pulling from library/alpine [2021-05-07T06:02:11.668Z] d2f70382dc9a: Pulling fs layer [2021-05-07T06:02:11.941Z] d2f70382dc9a: Verifying Checksum [2021-05-07T06:02:11.941Z] d2f70382dc9a: Download complete [2021-05-07T06:02:12.535Z] d2f70382dc9a: Pull complete [2021-05-07T06:02:12.535Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T06:02:12.536Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T06:02:12.536Z] ---> 9852663dfa18 [2021-05-07T06:02:12.536Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:02:12.809Z] ---> Running in 74a52ffd6916 [2021-05-07T06:02:13.403Z] Removing intermediate container 74a52ffd6916 [2021-05-07T06:02:13.403Z] ---> 2c2f70512963 [2021-05-07T06:02:13.403Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:02:13.403Z] ---> Running in a748eb2a399f [2021-05-07T06:02:13.954Z] gofmt -l . [2021-05-07T06:02:13.954Z] [ "`gofmt -l .`" = "" ] [2021-05-07T06:02:13.954Z] ./bin/test-attribution-txt.sh [2021-05-07T06:02:13.954Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T06:02:14.359Z] $ docker stop --time=1 659444f42b0fad6d8e5712fedba9faf61eaf41bcdc1b1b21553633734abb53e0 [2021-05-07T06:02:16.022Z] Removing intermediate container a748eb2a399f [2021-05-07T06:02:16.022Z] ---> d2dbf50a580d [2021-05-07T06:02:16.022Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T06:02:16.022Z] ---> Running in 3ca04afb4726 [2021-05-07T06:02:17.000Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-07T06:02:17.799Z] $ docker rm -f 659444f42b0fad6d8e5712fedba9faf61eaf41bcdc1b1b21553633734abb53e0 [2021-05-07T06:02:17.976Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-07T06:02:18.568Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T06:02:18.568Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T06:02:18.568Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T06:02:18.840Z] (4/5) Installing libzmq (4.3.3-r0) [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T06:02:19.447Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T06:02:19.447Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T06:02:19.447Z] OK: 8 MiB in 19 packages [2021-05-07T06:02:19.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T06:02:19.649Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T06:02:20.889Z] Removing intermediate container 3ca04afb4726 [2021-05-07T06:02:20.889Z] ---> 79602f842638 [2021-05-07T06:02:20.889Z] Step 14/23 : WORKDIR / [2021-05-07T06:02:21.155Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:02:21.172Z] ---> Running in cf4ca8fe31a6 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-07T06:02:21.454Z] Removing intermediate container cf4ca8fe31a6 [2021-05-07T06:02:21.454Z] ---> 0236df03e9be [2021-05-07T06:02:21.454Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [Pipeline] sh [2021-05-07T06:02:21.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T06:02:22.325Z] + ls -al . [2021-05-07T06:02:22.325Z] total 188 [2021-05-07T06:02:22.325Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 7 06:02 . [2021-05-07T06:02:22.325Z] drwxrwxr-x. 4 jenkins jenkins 28 May 7 05:56 .. [2021-05-07T06:02:22.325Z] drwxrwxr-x. 2 jenkins jenkins 64 May 7 05:56 bin [2021-05-07T06:02:22.325Z] -rw-r--r--. 1 jenkins jenkins 100320 May 7 06:01 coverage.out [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 987 May 7 05:56 Dockerfile.build [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 140 May 7 05:56 .dockerignore [2021-05-07T06:02:22.325Z] drwxrwxr-x. 5 jenkins jenkins 62 May 7 05:56 example [2021-05-07T06:02:22.325Z] drwxrwxr-x. 8 jenkins jenkins 179 May 7 05:56 .git [2021-05-07T06:02:22.325Z] drwxrwxr-x. 2 jenkins jenkins 103 May 7 05:56 .github [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 138 May 7 05:56 .gitignore [2021-05-07T06:02:22.325Z] -rw-r--r--. 1 jenkins jenkins 575 May 7 06:02 go.mod [2021-05-07T06:02:22.325Z] -rw-r--r--. 1 jenkins jenkins 20957 May 7 05:59 go.sum [2021-05-07T06:02:22.325Z] drwxrwxr-x. 14 jenkins jenkins 207 May 7 05:56 internal [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 901 May 7 05:56 Jenkinsfile [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 7 05:56 LICENSE [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 7 05:56 Makefile [2021-05-07T06:02:22.325Z] drwxrwxr-x. 4 jenkins jenkins 26 May 7 05:56 openapi [2021-05-07T06:02:22.325Z] drwxrwxr-x. 5 jenkins jenkins 50 May 7 05:56 pkg [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 7 05:56 README.md [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 7 05:56 RELEASE-NOTES.txt [2021-05-07T06:02:22.325Z] drwxrwxr-x. 4 jenkins jenkins 54 May 7 05:56 snap [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 5 May 7 05:53 VERSION [2021-05-07T06:02:22.325Z] -rw-rw-r--. 1 jenkins jenkins 222 May 7 05:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:02:22.438Z] ---> 2ae35ff26901 [2021-05-07T06:02:22.438Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T06:02:22.776Z] + 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=bafbdb5d538150f9b5600db3cb0cbde0487f5495 --label arch=amd64 --label version=0.0.0 . [2021-05-07T06:02:23.876Z] ---> 2755adabcd48 [2021-05-07T06:02:23.876Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T06:02:23.961Z] Sending build context to Docker daemon 2.576MB [2021-05-07T06:02:23.961Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T06:02:23.961Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T06:02:23.961Z] ---> 1011cfd4232d [2021-05-07T06:02:23.961Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T06:02:24.853Z] ---> 0fb86d5b45b4 [2021-05-07T06:02:24.853Z] Step 18/23 : EXPOSE 49990 [2021-05-07T06:02:24.904Z] ---> Running in be133ffb62a6 [2021-05-07T06:02:25.127Z] ---> Running in 8c891ed952ca [2021-05-07T06:02:25.211Z] Removing intermediate container be133ffb62a6 [2021-05-07T06:02:25.211Z] ---> 9e56a1a71ec7 [2021-05-07T06:02:25.211Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:02:25.717Z] ---> Running in cd3aa78c10f3 [2021-05-07T06:02:25.724Z] Removing intermediate container 8c891ed952ca [2021-05-07T06:02:25.725Z] ---> c3676611b567 [2021-05-07T06:02:25.725Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T06:02:25.725Z] ---> Running in 9fc5ecf64a46 [2021-05-07T06:02:26.003Z] Removing intermediate container 9fc5ecf64a46 [2021-05-07T06:02:26.003Z] ---> 2e97ff39481d [2021-05-07T06:02:26.003Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T06:02:26.048Z] Removing intermediate container cd3aa78c10f3 [2021-05-07T06:02:26.048Z] ---> 5a6975ba9c43 [2021-05-07T06:02:26.048Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:02:26.048Z] ---> Running in 12c925f03644 [2021-05-07T06:02:26.277Z] ---> Running in 3d2aee4f2d92 [2021-05-07T06:02:26.872Z] Removing intermediate container 3d2aee4f2d92 [2021-05-07T06:02:26.872Z] ---> 9c9ef08e5aab [2021-05-07T06:02:26.872Z] Step 21/23 : LABEL arch=arm64 [2021-05-07T06:02:26.872Z] ---> Running in 5a15d36548e7 [2021-05-07T06:02:27.539Z] Removing intermediate container 5a15d36548e7 [2021-05-07T06:02:27.539Z] ---> b5025bbec5fb [2021-05-07T06:02:27.539Z] Step 22/23 : LABEL git_sha=bafbdb5d538150f9b5600db3cb0cbde0487f5495 [2021-05-07T06:02:27.539Z] ---> Running in 607fdd27a151 [2021-05-07T06:02:27.817Z] Removing intermediate container 607fdd27a151 [2021-05-07T06:02:27.817Z] ---> bdee1f96f466 [2021-05-07T06:02:27.817Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T06:02:28.091Z] ---> Running in 1fff344647e1 [2021-05-07T06:02:28.687Z] Removing intermediate container 1fff344647e1 [2021-05-07T06:02:28.687Z] ---> 47f7cbb29ca8 [2021-05-07T06:02:28.687Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T06:02:28.687Z] Successfully built 47f7cbb29ca8 [2021-05-07T06:02:28.687Z] 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-05-07T06:02:29.450Z] ---> job-cost.sh [2021-05-07T06:02:29.450Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-d0TV [2021-05-07T06:02:29.813Z] Removing intermediate container 12c925f03644 [2021-05-07T06:02:29.813Z] ---> a06196a61c5d [2021-05-07T06:02:29.813Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T06:02:29.813Z] ---> Running in 6ada11c83361 [2021-05-07T06:02:31.374Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T06:02:32.435Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T06:02:33.166Z] OK: 150 MiB in 46 packages [2021-05-07T06:02:34.652Z] Removing intermediate container 6ada11c83361 [2021-05-07T06:02:34.652Z] ---> 2e4b73c897a1 [2021-05-07T06:02:34.652Z] Step 7/23 : COPY . . [2021-05-07T06:02:36.296Z] ---> 4811c2b1656f [2021-05-07T06:02:36.296Z] Step 8/23 : RUN go mod download [2021-05-07T06:02:36.296Z] ---> Running in d41242157b26 [2021-05-07T06:02:39.119Z] Removing intermediate container d41242157b26 [2021-05-07T06:02:39.119Z] ---> bf31256e1a71 [2021-05-07T06:02:39.119Z] Step 9/23 : RUN make build [2021-05-07T06:02:39.119Z] ---> Running in 1c63e74597f2 [2021-05-07T06:02:40.232Z] 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-05-07T06:03:13.722Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T06:03:18.346Z] Removing intermediate container 1c63e74597f2 [2021-05-07T06:03:18.346Z] ---> f46658a666bf [2021-05-07T06:03:18.346Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T06:03:18.346Z] 3.12: Pulling from library/alpine [2021-05-07T06:03:18.346Z] 339de151aab4: Pulling fs layer [2021-05-07T06:03:18.643Z] 339de151aab4: Verifying Checksum [2021-05-07T06:03:18.643Z] 339de151aab4: Download complete [2021-05-07T06:03:19.860Z] 339de151aab4: Pull complete [2021-05-07T06:03:19.860Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T06:03:19.860Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T06:03:19.860Z] ---> 13621d1b12d4 [2021-05-07T06:03:19.860Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:03:20.176Z] ---> Running in fe5b678fdefb [2021-05-07T06:03:20.825Z] Removing intermediate container fe5b678fdefb [2021-05-07T06:03:20.825Z] ---> 1a6e22edd9e3 [2021-05-07T06:03:20.825Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:03:20.825Z] ---> Running in 8fcf023cd38e [2021-05-07T06:03:24.678Z] Removing intermediate container 8fcf023cd38e [2021-05-07T06:03:24.678Z] ---> 1490f69a6af5 [2021-05-07T06:03:24.678Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T06:03:24.678Z] ---> Running in 74b2f202886b [2021-05-07T06:03:26.053Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T06:03:27.225Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-07T06:03:27.835Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-07T06:03:28.462Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T06:03:28.462Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T06:03:28.462Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T06:03:29.685Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T06:03:29.685Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T06:03:29.685Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T06:03:29.685Z] OK: 8 MiB in 19 packages [2021-05-07T06:03:31.465Z] Removing intermediate container 74b2f202886b [2021-05-07T06:03:31.465Z] ---> 0abae9ff3df0 [2021-05-07T06:03:31.465Z] Step 14/23 : WORKDIR / [2021-05-07T06:03:31.465Z] ---> Running in a3dc41072136 [2021-05-07T06:03:32.098Z] Removing intermediate container a3dc41072136 [2021-05-07T06:03:32.098Z] ---> a7386823fa25 [2021-05-07T06:03:32.098Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T06:03:32.775Z] ---> 73290cd606b0 [2021-05-07T06:03:32.775Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T06:03:35.136Z] ---> 88319651d6c8 [2021-05-07T06:03:35.136Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T06:03:35.828Z] ---> 7ee05c194923 [2021-05-07T06:03:35.828Z] Step 18/23 : EXPOSE 49990 [2021-05-07T06:03:36.139Z] ---> Running in 4f367c539a29 [2021-05-07T06:03:37.243Z] Removing intermediate container 4f367c539a29 [2021-05-07T06:03:37.243Z] ---> 103ad973ccd5 [2021-05-07T06:03:37.243Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T06:03:37.243Z] ---> Running in ad1f01e2f8a2 [2021-05-07T06:03:37.528Z] Removing intermediate container ad1f01e2f8a2 [2021-05-07T06:03:37.528Z] ---> 5788e852729c [2021-05-07T06:03:37.528Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T06:03:37.528Z] ---> Running in a8794f70dc58 [2021-05-07T06:03:38.147Z] Removing intermediate container a8794f70dc58 [2021-05-07T06:03:38.147Z] ---> 46afc1a3633e [2021-05-07T06:03:38.147Z] Step 21/23 : LABEL arch=amd64 [2021-05-07T06:03:38.437Z] ---> Running in 94927f474098 [2021-05-07T06:03:39.060Z] Removing intermediate container 94927f474098 [2021-05-07T06:03:39.060Z] ---> 7e70fbba06f9 [2021-05-07T06:03:39.060Z] Step 22/23 : LABEL git_sha=bafbdb5d538150f9b5600db3cb0cbde0487f5495 [2021-05-07T06:03:39.060Z] ---> Running in 876d75018f18 [2021-05-07T06:03:39.786Z] Removing intermediate container 876d75018f18 [2021-05-07T06:03:39.786Z] ---> d80f96856d40 [2021-05-07T06:03:39.786Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T06:03:39.786Z] ---> Running in f0655d91f141 [2021-05-07T06:03:40.409Z] Removing intermediate container f0655d91f141 [2021-05-07T06:03:40.409Z] ---> 5a9213d0f344 [2021-05-07T06:03:40.409Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T06:03:40.409Z] Successfully built 5a9213d0f344 [2021-05-07T06:03:40.409Z] 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-05-07T06:03:41.496Z] ---> job-cost.sh [2021-05-07T06:03:41.497Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6kL3 [2021-05-07T06:04:21.110Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T06:05:02.777Z] lf-activate-venv(): INFO: Adding /tmp/venv-d0TV/bin to PATH [2021-05-07T06:05:02.778Z] INFO: No Stack... [2021-05-07T06:05:02.778Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T06:05:02.778Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T06:05:03.137Z] + cut -d, -f6 [2021-05-07T06:05:03.137Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-05-07T06:05:03.293Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-910-1-stack-cost] [2021-05-07T06:05:03.299Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-910-1-stack-cost] did not exist. Created. [2021-05-07T06:05:03.299Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-910-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T06:05:03.749Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T06:05:03.958Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:05:03.976Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-910-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T06:05:08.903Z] lf-activate-venv(): INFO: Adding /tmp/venv-6kL3/bin to PATH [2021-05-07T06:05:08.903Z] INFO: No Stack... [2021-05-07T06:05:08.903Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T06:05:09.198Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T06:05:09.646Z] + cut -d, -f6 [2021-05-07T06:05:09.646Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-05-07T06:05:09.830Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-910-1-stack-cost] [2021-05-07T06:05:09.835Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-910-1-stack-cost] did not exist. Created. [2021-05-07T06:05:09.835Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-910-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T06:05:10.396Z] /w/workspace/device-sdk-go/1@tmp/durable-ae8a65f7/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-05-07T06:05:10.866Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T06:05:10.956Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T06:05:11.242Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:05:11.265Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-910-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-05-07T06:05:12.404Z] provisioning config files... [2021-05-07T06:05:12.424Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp/config8357245682491254449tmp [Pipeline] { [Pipeline] sh [2021-05-07T06:05:12.890Z] + set +x [2021-05-07T06:05:12.890Z] + bash -s -- [2021-05-07T06:05:12.890Z] + curl -s https://codecov.io/bash [2021-05-07T06:05:13.222Z] [2021-05-07T06:05:13.222Z] _____ _ [2021-05-07T06:05:13.222Z] / ____| | | [2021-05-07T06:05:13.222Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T06:05:13.222Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T06:05:13.222Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T06:05:13.222Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T06:05:13.222Z] Bash-1.0.2 [2021-05-07T06:05:13.222Z] [2021-05-07T06:05:13.222Z] [2021-05-07T06:05:13.222Z] ==> git version 2.24.3 found [2021-05-07T06:05:13.222Z] ==> 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-05-07T06:05:13.222Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T06:05:13.222Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T06:05:13.222Z] ==> Jenkins CI detected. [2021-05-07T06:05:13.222Z] project root: . [2021-05-07T06:05:13.222Z] --> token set from env [2021-05-07T06:05:13.510Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T06:05:13.510Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T06:05:13.510Z] ==> Python coveragepy not found [2021-05-07T06:05:13.510Z] ==> Searching for coverage reports in: [2021-05-07T06:05:13.510Z] + . [2021-05-07T06:05:13.510Z] -> Found 1 reports [2021-05-07T06:05:13.510Z] ==> Detecting git/mercurial file structure [2021-05-07T06:05:14.141Z] ==> Reading reports [2021-05-07T06:05:14.141Z] + ./coverage.out bytes=100320 [2021-05-07T06:05:14.141Z] ==> Appending adjustments [2021-05-07T06:05:14.141Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T06:05:15.041Z] + Found adjustments [2021-05-07T06:05:15.041Z] ==> Gzipping contents [2021-05-07T06:05:15.041Z] 16K /tmp/codecov.lu5YX9.gz [2021-05-07T06:05:15.041Z] ==> Uploading reports [2021-05-07T06:05:15.041Z] url: https://codecov.io [2021-05-07T06:05:15.041Z] query: branch=PR-910&commit=bafbdb5d538150f9b5600db3cb0cbde0487f5495&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-910%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=910&job=&cmd_args= [2021-05-07T06:05:15.041Z] -> Pinging Codecov [2021-05-07T06:05:15.041Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-910&commit=bafbdb5d538150f9b5600db3cb0cbde0487f5495&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-910%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=910&job=&cmd_args= [2021-05-07T06:05:15.684Z] -> Uploading to [2021-05-07T06:05:15.684Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/7E55EF52A471D76F132DFD9A03CDDE97/bafbdb5d538150f9b5600db3cb0cbde0487f5495/a1ea2f8c-908e-41c5-b858-8db42312b6e3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T060515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f890737ce1d28758462beec33b67abc0f3e0f181bc596918343d3e7584ca689 [2021-05-07T06:05:15.975Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T06:05:15.975Z] Dload Upload Total Spent Left Speed [2021-05-07T06:05:16.266Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13531 0 0 100 13531 0 27711 --:--:-- --:--:-- --:--:-- 27784 [2021-05-07T06:05:16.266Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/bafbdb5d538150f9b5600db3cb0cbde0487f5495 [Pipeline] } [2021-05-07T06:05:16.333Z] 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-05-07T06:05:18.445Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:05:19.508Z] ---> package-listing.sh [2021-05-07T06:05:19.508Z] ++ facter osfamily [2021-05-07T06:05:19.508Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T06:05:19.777Z] + OS_FAMILY=redhat [2021-05-07T06:05:19.777Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-910 [2021-05-07T06:05:19.777Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T06:05:19.777Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T06:05:19.777Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T06:05:19.777Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T06:05:19.777Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-910 ']' [2021-05-07T06:05:19.777Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T06:05:19.777Z] + case "${OS_FAMILY}" in [2021-05-07T06:05:19.777Z] + rpm -qa [2021-05-07T06:05:19.777Z] + sort [2021-05-07T06:05:28.180Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T06:05:28.180Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T06:05:28.180Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T06:05:28.180Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-910 ']' [2021-05-07T06:05:28.180Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-910/archives/ [2021-05-07T06:05:28.180Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-910/archives/ [Pipeline] echo [2021-05-07T06:05:28.224Z] 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-910/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-07T06:05:28.629Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:05:29.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:05:29.775Z] [2021-05-07T06:05:29.775Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:05:30.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:05:31.049Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T06:05:31.049Z] df20fa9351a1: Pulling fs layer [2021-05-07T06:05:31.049Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T06:05:31.049Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T06:05:31.049Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T06:05:31.049Z] 93b61091891f: Pulling fs layer [2021-05-07T06:05:31.049Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T06:05:31.049Z] 5e14af77c1be: Pulling fs layer [2021-05-07T06:05:31.049Z] 01666e4c0597: Pulling fs layer [2021-05-07T06:05:31.049Z] aa168da1d23b: Pulling fs layer [2021-05-07T06:05:31.049Z] 46f8f816bc3b: Waiting [2021-05-07T06:05:31.049Z] 93b61091891f: Waiting [2021-05-07T06:05:31.049Z] 93b9cdb0e59b: Waiting [2021-05-07T06:05:31.049Z] 5e14af77c1be: Waiting [2021-05-07T06:05:31.049Z] 01666e4c0597: Waiting [2021-05-07T06:05:31.049Z] aa168da1d23b: Waiting [2021-05-07T06:05:31.049Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T06:05:31.049Z] 36b3adc4ff6f: Download complete [2021-05-07T06:05:31.049Z] 46f8f816bc3b: Verifying Checksum [2021-05-07T06:05:31.049Z] 46f8f816bc3b: Download complete [2021-05-07T06:05:31.969Z] df20fa9351a1: Verifying Checksum [2021-05-07T06:05:31.969Z] df20fa9351a1: Download complete [2021-05-07T06:05:31.969Z] 93b9cdb0e59b: Download complete [2021-05-07T06:05:31.969Z] 5e14af77c1be: Verifying Checksum [2021-05-07T06:05:31.969Z] 5e14af77c1be: Download complete [2021-05-07T06:05:31.969Z] 93b61091891f: Verifying Checksum [2021-05-07T06:05:31.969Z] 93b61091891f: Download complete [2021-05-07T06:05:31.969Z] 01666e4c0597: Verifying Checksum [2021-05-07T06:05:31.969Z] 01666e4c0597: Download complete [2021-05-07T06:05:33.066Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T06:05:33.066Z] 8ad3a11d3b57: Download complete [2021-05-07T06:05:33.470Z] df20fa9351a1: Pull complete [2021-05-07T06:05:34.538Z] 36b3adc4ff6f: Pull complete [2021-05-07T06:05:38.885Z] 8ad3a11d3b57: Pull complete [2021-05-07T06:05:38.885Z] 46f8f816bc3b: Pull complete [2021-05-07T06:05:40.987Z] 93b61091891f: Pull complete [2021-05-07T06:05:41.283Z] 93b9cdb0e59b: Pull complete [2021-05-07T06:05:41.561Z] 5e14af77c1be: Pull complete [2021-05-07T06:05:41.853Z] 01666e4c0597: Pull complete [2021-05-07T06:05:42.148Z] aa168da1d23b: Verifying Checksum [2021-05-07T06:05:42.148Z] aa168da1d23b: Download complete [2021-05-07T06:05:58.187Z] aa168da1d23b: Pull complete [2021-05-07T06:05:58.187Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T06:05:58.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:05:58.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T06:05:58.886Z] prd-centos7-docker-4c-2g-3461 does not seem to be running inside a container [2021-05-07T06:05:59.161Z] $ 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-910/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-910 -v /w/workspace/dgexfoundry_device-sdk-go_PR-910:/w/workspace/dgexfoundry_device-sdk-go_PR-910:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-07T06:06:03.637Z] $ docker top fec2b42e87106e172cc58f9c0f844336954e93032ab9bf70b48a5340750993d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T06:06:04.507Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T06:06:05.618Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T06:06:06.045Z] + ls /var/log/sa-host [2021-05-07T06:06:06.045Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T06:06:06.045Z] file_magic: OK [2021-05-07T06:06:06.045Z] HZ: Using current value: 100 [2021-05-07T06:06:06.045Z] file_header: OK [2021-05-07T06:06:06.045Z] 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-05-07T06:06:06.045Z] Statistics: [2021-05-07T06:06:06.045Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T06:06:06.045Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T06:06:06.045Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T06:06:06.045Z] file_magic: OK [2021-05-07T06:06:06.045Z] HZ: Using current value: 100 [2021-05-07T06:06:06.045Z] file_header: OK [2021-05-07T06:06:06.045Z] 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-05-07T06:06:06.045Z] Statistics: [2021-05-07T06:06:06.045Z] Hnuu...uuuununununu... [2021-05-07T06:06:06.045Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T06:06:06.283Z] provisioning config files... [2021-05-07T06:06:06.320Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-910@tmp/config3934427556982744795tmp [Pipeline] { [Pipeline] echo [2021-05-07T06:06:06.426Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:07.260Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T06:06:07.295Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T06:06:07.379Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:08.218Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T06:06:08.261Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:08.962Z] ---> sudo-logs.sh [2021-05-07T06:06:08.962Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T06:06:09.107Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:09.892Z] ---> job-cost.sh [2021-05-07T06:06:09.892Z] lf-activate-venv: SKIPPING [2021-05-07T06:06:09.892Z] DEBUG: total: 0.029999999329447746 [2021-05-07T06:06:09.892Z] INFO: Retrieving Stack Cost... [2021-05-07T06:06:11.475Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T06:06:12.464Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T06:06:12.505Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:13.245Z] ---> logs-deploy.sh [2021-05-07T06:06:13.245Z] lf-activate-venv: SKIPPING [2021-05-07T06:06:13.245Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-910/1 [2021-05-07T06:06:13.245Z] INFO: archiving workspace using pattern(s): [2021-05-07T06:06:16.850Z] Archives upload complete. [2021-05-07T06:06:16.850Z] INFO: archiving logs to Nexus