Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e522836f5d508ce20413c5d2a08a926bd2b9771b Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-31032 in /w/workspace/dgexfoundry_device-sdk-go_master [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_master # 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 Checking out Revision e522836f5d508ce20413c5d2a08a926bd2b9771b (master) 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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 Commit message: "Merge pull request #832 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.20" > git rev-list --no-walk 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-23T06:25:43.509Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-23T06:25:43.752Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-23T06:25:43.852Z] ========================================================= [2021-03-23T06:25:43.852Z] EdgeX Global Pipelines Version Info [2021-03-23T06:25:43.852Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:25:46.145Z] ------------------- [2021-03-23T06:25:46.145Z] stable info: [2021-03-23T06:25:46.145Z] ------------------- [2021-03-23T06:25:46.145Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-23T06:25:46.145Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-23T06:25:46.145Z] Message: update stable to v1.0.186 [2021-03-23T06:25:46.740Z] ------------------- [2021-03-23T06:25:46.740Z] experimental info: [2021-03-23T06:25:46.740Z] ------------------- [2021-03-23T06:25:46.740Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-23T06:25:46.740Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-03-23T06:25:46.740Z] Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-23T06:25:47.111Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-23T06:25:47.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-23T06:25:47.323Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-23T06:25:47.420Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-23T06:25:47.517Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-23T06:25:47.616Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-23T06:25:47.759Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-23T06:25:47.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-23T06:25:47.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-23T06:25:48.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-23T06:25:48.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-23T06:25:48.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-23T06:25:48.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-23T06:25:48.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-23T06:25:48.663Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-23T06:25:48.751Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T06:25:48.844Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T06:25:48.941Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-23T06:25:49.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-23T06:25:49.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-23T06:25:49.216Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-23T06:25:49.313Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-23T06:25:49.406Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-23T06:25:49.496Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-23T06:25:49.593Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-23T06:25:49.683Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-23T06:25:49.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-23T06:25:49.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-23T06:25:50.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-23T06:25:50.110Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e522836f5d508ce20413c5d2a08a926bd2b9771b [Pipeline] echo [2021-03-23T06:25:50.235Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e522836 [Pipeline] echo [2021-03-23T06:25:50.390Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T06:25:50.605Z] provisioning config files... [2021-03-23T06:25:50.638Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config500736284343197751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:25:51.040Z] ---> docker-login.sh [2021-03-23T06:25:51.040Z] nexus3.edgexfoundry.org:10001 [2021-03-23T06:25:52.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:25:52.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:25:52.671Z] Configure a credential helper to remove this warning. See [2021-03-23T06:25:52.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:25:52.671Z] [2021-03-23T06:25:52.671Z] Login Succeeded [2021-03-23T06:25:52.671Z] nexus3.edgexfoundry.org:10002 [2021-03-23T06:25:52.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:25:53.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:25:53.284Z] Configure a credential helper to remove this warning. See [2021-03-23T06:25:53.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:25:53.284Z] [2021-03-23T06:25:53.284Z] Login Succeeded [2021-03-23T06:25:53.284Z] nexus3.edgexfoundry.org:10003 [2021-03-23T06:25:53.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:25:53.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:25:53.859Z] Configure a credential helper to remove this warning. See [2021-03-23T06:25:53.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:25:53.859Z] [2021-03-23T06:25:53.859Z] Login Succeeded [2021-03-23T06:25:53.859Z] nexus3.edgexfoundry.org:10004 [2021-03-23T06:25:54.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:25:54.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:25:54.127Z] Configure a credential helper to remove this warning. See [2021-03-23T06:25:54.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:25:54.127Z] [2021-03-23T06:25:54.127Z] Login Succeeded [2021-03-23T06:25:54.127Z] docker.io [2021-03-23T06:25:54.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:25:54.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:25:54.664Z] Configure a credential helper to remove this warning. See [2021-03-23T06:25:54.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:25:54.664Z] [2021-03-23T06:25:54.664Z] Login Succeeded [2021-03-23T06:25:54.664Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T06:25:54.698Z] 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-03-23T06:25:55.595Z] + git log --format=format:%s -1 e522836f5d508ce20413c5d2a08a926bd2b9771b [Pipeline] echo [2021-03-23T06:25:55.687Z] GIT_COMMIT: e522836f5d508ce20413c5d2a08a926bd2b9771b, Commit Message: Merge pull request #832 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.20 [Pipeline] echo [2021-03-23T06:25:55.731Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:25:56.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T06:25:56.787Z] [2021-03-23T06:25:56.787Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:25:57.178Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T06:25:57.178Z] latest: Pulling from edgex-devops/git-semver [2021-03-23T06:25:57.178Z] 31603596830f: Pulling fs layer [2021-03-23T06:25:57.178Z] 2a8b12db71e7: Pulling fs layer [2021-03-23T06:25:57.178Z] 6ca5941a6612: Pulling fs layer [2021-03-23T06:25:57.178Z] ecc8261a40a4: Pulling fs layer [2021-03-23T06:25:57.178Z] ecc8261a40a4: Waiting [2021-03-23T06:25:57.178Z] 2a8b12db71e7: Verifying Checksum [2021-03-23T06:25:57.178Z] 2a8b12db71e7: Download complete [2021-03-23T06:25:57.454Z] 31603596830f: Download complete [2021-03-23T06:25:57.738Z] ecc8261a40a4: Verifying Checksum [2021-03-23T06:25:57.738Z] ecc8261a40a4: Download complete [2021-03-23T06:25:57.738Z] 6ca5941a6612: Verifying Checksum [2021-03-23T06:25:57.738Z] 6ca5941a6612: Download complete [2021-03-23T06:25:58.708Z] 31603596830f: Pull complete [2021-03-23T06:25:58.708Z] 2a8b12db71e7: Pull complete [2021-03-23T06:26:00.159Z] 6ca5941a6612: Pull complete [2021-03-23T06:26:00.740Z] ecc8261a40a4: Pull complete [2021-03-23T06:26:00.740Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-23T06:26:00.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T06:26:00.740Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-23T06:26:00.939Z] prd-centos7-docker-4c-2g-31032 does not seem to be running inside a container [2021-03-23T06:26:00.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-23T06:26:05.277Z] $ docker top 3166a03da523e8fc78f049af0a19848fcc8cbe2fd57babc1b60d8b55aef30582 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-23T06:26:05.864Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T06:26:05.864Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T06:26:06.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T06:26:06.967Z] $ docker exec 3166a03da523e8fc78f049af0a19848fcc8cbe2fd57babc1b60d8b55aef30582 ssh-agent [2021-03-23T06:26:07.776Z] SSH_AUTH_SOCK=/tmp/ssh-E6bze2YjsGXq/agent.11 [2021-03-23T06:26:07.776Z] SSH_AGENT_PID=16 [2021-03-23T06:26:07.817Z] Running ssh-add (command line suppressed) [2021-03-23T06:26:08.466Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2284324683145008233.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2284324683145008233.key) [2021-03-23T06:26:08.727Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T06:26:09.094Z] + git tag --points-at HEAD [Pipeline] } [2021-03-23T06:26:09.165Z] $ docker exec --env ******** --env ******** 3166a03da523e8fc78f049af0a19848fcc8cbe2fd57babc1b60d8b55aef30582 ssh-agent -k [2021-03-23T06:26:09.351Z] unset SSH_AUTH_SOCK; [2021-03-23T06:26:09.351Z] unset SSH_AGENT_PID; [2021-03-23T06:26:09.351Z] echo Agent pid 16 killed; [2021-03-23T06:26:09.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-23T06:26:09.590Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T06:26:09.590Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T06:26:10.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T06:26:10.215Z] $ docker exec 3166a03da523e8fc78f049af0a19848fcc8cbe2fd57babc1b60d8b55aef30582 ssh-agent [2021-03-23T06:26:11.108Z] SSH_AUTH_SOCK=/tmp/ssh-zt6P9MNXUjCq/agent.44 [2021-03-23T06:26:11.108Z] SSH_AGENT_PID=49 [2021-03-23T06:26:11.141Z] Running ssh-add (command line suppressed) [2021-03-23T06:26:11.885Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5291914790515284225.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5291914790515284225.key) [2021-03-23T06:26:12.290Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T06:26:12.702Z] + git semver init [2021-03-23T06:26:13.012Z] # -> Open(): unable to determine branch for HEAD [2021-03-23T06:26:13.012Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-23T06:26:13.012Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-23T06:26:13.012Z] # $SEMVER_REMOTE_NAME = origin [2021-03-23T06:26:13.012Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-23T06:26:13.012Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-23T06:26:13.012Z] # $SEMVER_BRANCH = master [2021-03-23T06:26:13.012Z] # $SEMVER_TEMP = /tmp/semver-935204738 [2021-03-23T06:26:13.012Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-23T06:26:13.979Z] # '/tmp/semver-935204738' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-03-23T06:26:13.979Z] # -> Force: false [2021-03-23T06:26:13.979Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-23T06:26:14.008Z] $ docker exec --env ******** --env ******** 3166a03da523e8fc78f049af0a19848fcc8cbe2fd57babc1b60d8b55aef30582 ssh-agent -k [2021-03-23T06:26:14.193Z] unset SSH_AUTH_SOCK; [2021-03-23T06:26:14.195Z] unset SSH_AGENT_PID; [2021-03-23T06:26:14.195Z] echo Agent pid 49 killed; [2021-03-23T06:26:14.254Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-23T06:26:14.746Z] + git semver [Pipeline] } [2021-03-23T06:26:14.774Z] $ docker stop --time=1 3166a03da523e8fc78f049af0a19848fcc8cbe2fd57babc1b60d8b55aef30582 [2021-03-23T06:26:16.792Z] $ docker rm -f 3166a03da523e8fc78f049af0a19848fcc8cbe2fd57babc1b60d8b55aef30582 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-23T06:26:17.341Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-23T06:26:18.265Z] Stashed 1 file(s) [Pipeline] echo [2021-03-23T06:26:18.268Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.27 [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-03-23T06:26:33.814Z] Still waiting to schedule task [2021-03-23T06:26:33.815Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-03-23T06:26:33.817Z] Still waiting to schedule task [2021-03-23T06:26:33.818Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-03-23T06:29:56.224Z] Running on prd-centos7-docker-4c-2g-31033 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-23T06:29:56.277Z] Running in /w/workspace/device-sdk-go/132 [Pipeline] { [Pipeline] checkout [2021-03-23T06:29:58.732Z] using credential edgex-jenkins-ssh [2021-03-23T06:29:58.808Z] Cloning the remote Git repository [2021-03-23T06:29:58.831Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:29:58.904Z] > git init /w/workspace/device-sdk-go/132 # timeout=10 [2021-03-23T06:29:58.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:29:58.964Z] > git --version # timeout=10 [2021-03-23T06:29:58.970Z] > git --version # 'git version 2.24.3' [2021-03-23T06:29:58.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:29:58.997Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:30:00.201Z] Checking out Revision e522836f5d508ce20413c5d2a08a926bd2b9771b (master) [2021-03-23T06:29:59.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:29:59.789Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:29:59.801Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:29:59.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:29:59.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:29:59.819Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-23T06:30:00.216Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T06:30:00.229Z] > git checkout -f e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-23T06:30:03.883Z] Commit message: "Merge pull request #832 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T06:30:05.116Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:30:05.442Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:30:05.742Z] + sudo service docker restart [2021-03-23T06:30:05.742Z] + true [2021-03-23T06:30:05.742Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T06:30:06.797Z] provisioning config files... [2021-03-23T06:30:06.827Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/132@tmp/config2946666088206519056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:30:07.189Z] ---> docker-login.sh [2021-03-23T06:30:07.190Z] nexus3.edgexfoundry.org:10001 [2021-03-23T06:30:07.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:30:07.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:30:07.453Z] Configure a credential helper to remove this warning. See [2021-03-23T06:30:07.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:30:07.453Z] [2021-03-23T06:30:07.453Z] Login Succeeded [2021-03-23T06:30:07.453Z] nexus3.edgexfoundry.org:10002 [2021-03-23T06:30:07.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:30:07.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:30:07.717Z] Configure a credential helper to remove this warning. See [2021-03-23T06:30:07.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:30:07.717Z] [2021-03-23T06:30:07.717Z] Login Succeeded [2021-03-23T06:30:07.717Z] nexus3.edgexfoundry.org:10003 [2021-03-23T06:30:07.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:30:07.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:30:07.981Z] Configure a credential helper to remove this warning. See [2021-03-23T06:30:07.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:30:07.981Z] [2021-03-23T06:30:07.981Z] Login Succeeded [2021-03-23T06:30:07.981Z] nexus3.edgexfoundry.org:10004 [2021-03-23T06:30:08.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:30:08.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:30:08.244Z] Configure a credential helper to remove this warning. See [2021-03-23T06:30:08.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:30:08.244Z] [2021-03-23T06:30:08.244Z] Login Succeeded [2021-03-23T06:30:08.244Z] docker.io [2021-03-23T06:30:08.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:30:08.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:30:08.506Z] Configure a credential helper to remove this warning. See [2021-03-23T06:30:08.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:30:08.506Z] [2021-03-23T06:30:08.506Z] Login Succeeded [2021-03-23T06:30:08.506Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T06:30:08.517Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-23T06:30:08.891Z] ========================================================= [2021-03-23T06:30:08.891Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-23T06:30:08.891Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:30:09.233Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-03-23T06:30:09.233Z] Sending build context to Docker daemon 2.276MB [2021-03-23T06:30:09.233Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T06:30:09.233Z] Step 2/8 : FROM ${BASE} [2021-03-23T06:30:09.504Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-23T06:30:09.504Z] 188c0c94c7c5: Pulling fs layer [2021-03-23T06:30:09.504Z] 0ef7d3d256c8: Pulling fs layer [2021-03-23T06:30:09.504Z] de9db76c5a1d: Pulling fs layer [2021-03-23T06:30:09.504Z] bca2f99d35d6: Pulling fs layer [2021-03-23T06:30:09.504Z] bca2f99d35d6: Waiting [2021-03-23T06:30:09.504Z] 93359f2a8cfa: Pulling fs layer [2021-03-23T06:30:09.504Z] 7c6f9722023f: Pulling fs layer [2021-03-23T06:30:09.504Z] a35cf1a2eb13: Pulling fs layer [2021-03-23T06:30:09.505Z] 93359f2a8cfa: Waiting [2021-03-23T06:30:09.505Z] 7c6f9722023f: Waiting [2021-03-23T06:30:09.505Z] a35cf1a2eb13: Waiting [2021-03-23T06:30:09.505Z] de9db76c5a1d: Verifying Checksum [2021-03-23T06:30:09.505Z] de9db76c5a1d: Download complete [2021-03-23T06:30:09.505Z] 0ef7d3d256c8: Verifying Checksum [2021-03-23T06:30:09.505Z] 0ef7d3d256c8: Download complete [2021-03-23T06:30:09.505Z] 93359f2a8cfa: Verifying Checksum [2021-03-23T06:30:09.505Z] 93359f2a8cfa: Download complete [2021-03-23T06:30:09.505Z] 7c6f9722023f: Verifying Checksum [2021-03-23T06:30:09.505Z] 7c6f9722023f: Download complete [2021-03-23T06:30:09.505Z] 188c0c94c7c5: Verifying Checksum [2021-03-23T06:30:09.505Z] 188c0c94c7c5: Download complete [2021-03-23T06:30:09.770Z] 188c0c94c7c5: Pull complete [2021-03-23T06:30:10.038Z] 0ef7d3d256c8: Pull complete [2021-03-23T06:30:10.038Z] de9db76c5a1d: Pull complete [2021-03-23T06:30:11.488Z] a35cf1a2eb13: Verifying Checksum [2021-03-23T06:30:11.488Z] a35cf1a2eb13: Download complete [2021-03-23T06:30:12.065Z] bca2f99d35d6: Verifying Checksum [2021-03-23T06:30:12.065Z] bca2f99d35d6: Download complete [2021-03-23T06:30:17.411Z] bca2f99d35d6: Pull complete [2021-03-23T06:30:17.678Z] 93359f2a8cfa: Pull complete [2021-03-23T06:30:17.678Z] 7c6f9722023f: Pull complete [2021-03-23T06:30:24.333Z] a35cf1a2eb13: Pull complete [2021-03-23T06:30:24.333Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-23T06:30:24.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-23T06:30:24.333Z] ---> a62c8e92a672 [2021-03-23T06:30:24.333Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:30:24.600Z] ---> Running in 6ef87810f65b [2021-03-23T06:30:24.863Z] Removing intermediate container 6ef87810f65b [2021-03-23T06:30:24.863Z] ---> 5ff0e16c1aa1 [2021-03-23T06:30:24.863Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T06:30:25.126Z] ---> Running in 7fc188e34ee9 [2021-03-23T06:30:26.100Z] Removing intermediate container 7fc188e34ee9 [2021-03-23T06:30:26.100Z] ---> 05b3901c8eaa [2021-03-23T06:30:26.100Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-23T06:30:26.100Z] ---> Running in e1ef9a753a80 [2021-03-23T06:30:26.696Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-23T06:30:27.269Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-23T06:30:27.844Z] OK: 166 MiB in 39 packages [2021-03-23T06:30:28.423Z] Removing intermediate container e1ef9a753a80 [2021-03-23T06:30:28.423Z] ---> 70aec6cc8f50 [2021-03-23T06:30:28.423Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-23T06:30:28.423Z] ---> Running in d8dea60b48ba [2021-03-23T06:30:28.685Z] Removing intermediate container d8dea60b48ba [2021-03-23T06:30:28.685Z] ---> 37ea3ac665d9 [2021-03-23T06:30:28.685Z] Step 7/8 : COPY . . [2021-03-23T06:30:30.078Z] ---> 6f36f5ca0313 [2021-03-23T06:30:30.078Z] Step 8/8 : RUN go mod download [2021-03-23T06:30:30.078Z] ---> Running in 115a50f2a6db [2021-03-23T06:30:52.112Z] Removing intermediate container 115a50f2a6db [2021-03-23T06:30:52.112Z] ---> fa48c8569c97 [2021-03-23T06:30:52.112Z] Successfully built fa48c8569c97 [2021-03-23T06:30:52.112Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:30:52.455Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-23T06:30:52.455Z] . [Pipeline] withDockerContainer [2021-03-23T06:30:52.719Z] prd-centos7-docker-4c-2g-31033 does not seem to be running inside a container [2021-03-23T06:30:52.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/132 -v /w/workspace/device-sdk-go/132:/w/workspace/device-sdk-go/132:rw,z -v /w/workspace/device-sdk-go/132@tmp:/w/workspace/device-sdk-go/132@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 ******** ci-base-image-x86_64 cat [2021-03-23T06:30:53.651Z] $ docker top 728d4baf56795da22b0c468df28159653327f010d299a14fd87489e94d4604ad -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:30:54.161Z] + go version [2021-03-23T06:30:54.161Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-23T06:30:54.178Z] $ docker stop --time=1 728d4baf56795da22b0c468df28159653327f010d299a14fd87489e94d4604ad [2021-03-23T06:30:55.525Z] $ docker rm -f 728d4baf56795da22b0c468df28159653327f010d299a14fd87489e94d4604ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:30:56.363Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-23T06:30:56.363Z] . [Pipeline] withDockerContainer [2021-03-23T06:30:56.465Z] prd-centos7-docker-4c-2g-31033 does not seem to be running inside a container [2021-03-23T06:30:56.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/132 -v /w/workspace/device-sdk-go/132:/w/workspace/device-sdk-go/132:rw,z -v /w/workspace/device-sdk-go/132@tmp:/w/workspace/device-sdk-go/132@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 ******** ci-base-image-x86_64 cat [2021-03-23T06:30:56.944Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31034 in /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-23T06:30:57.132Z] $ docker top 5c979d3d0a03a27cf292c69c68bb8cfc5126cdb78c85f01fddc4b512759ea4cb -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-03-23T06:30:57.398Z] Running in /w/workspace/device-sdk-go/132 [Pipeline] { [Pipeline] checkout [2021-03-23T06:30:57.659Z] + make test [2021-03-23T06:30:57.659Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-23T06:31:02.927Z] using credential edgex-jenkins-ssh [2021-03-23T06:31:02.986Z] Cloning the remote Git repository [2021-03-23T06:31:03.054Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:31:03.171Z] > git init /w/workspace/device-sdk-go/132 # timeout=10 [2021-03-23T06:31:03.258Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:31:03.259Z] > git --version # timeout=10 [2021-03-23T06:31:03.275Z] > git --version # 'git version 2.17.1' [2021-03-23T06:31:03.277Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:31:03.367Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:31:04.774Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:31:04.797Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-23T06:31:04.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-23T06:31:04.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-23T06:31:04.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-23T06:31:04.883Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-23T06:31:05.390Z] Checking out Revision e522836f5d508ce20413c5d2a08a926bd2b9771b (master) [2021-03-23T06:31:05.997Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-23T06:31:05.420Z] > git config core.sparsecheckout # timeout=10 [2021-03-23T06:31:05.437Z] > git checkout -f e522836f5d508ce20413c5d2a08a926bd2b9771b # timeout=10 [2021-03-23T06:31:09.829Z] Commit message: "Merge pull request #832 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T06:31:11.455Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:31:11.875Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-23T06:31:12.287Z] + sudo service docker restart [2021-03-23T06:31:12.287Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-23T06:31:14.353Z] provisioning config files... [2021-03-23T06:31:14.389Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/132@tmp/config2283429693993062446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:31:14.819Z] ---> docker-login.sh [2021-03-23T06:31:14.819Z] nexus3.edgexfoundry.org:10001 [2021-03-23T06:31:15.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:31:16.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:31:16.076Z] Configure a credential helper to remove this warning. See [2021-03-23T06:31:16.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:31:16.076Z] [2021-03-23T06:31:16.076Z] Login Succeeded [2021-03-23T06:31:16.076Z] nexus3.edgexfoundry.org:10002 [2021-03-23T06:31:16.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:31:16.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:31:16.628Z] Configure a credential helper to remove this warning. See [2021-03-23T06:31:16.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:31:16.628Z] [2021-03-23T06:31:16.628Z] Login Succeeded [2021-03-23T06:31:16.628Z] nexus3.edgexfoundry.org:10003 [2021-03-23T06:31:16.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:31:17.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:31:17.175Z] Configure a credential helper to remove this warning. See [2021-03-23T06:31:17.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:31:17.175Z] [2021-03-23T06:31:17.175Z] Login Succeeded [2021-03-23T06:31:17.175Z] nexus3.edgexfoundry.org:10004 [2021-03-23T06:31:17.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:31:17.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:31:17.729Z] Configure a credential helper to remove this warning. See [2021-03-23T06:31:17.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:31:17.729Z] [2021-03-23T06:31:17.729Z] Login Succeeded [2021-03-23T06:31:17.729Z] docker.io [2021-03-23T06:31:18.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-23T06:31:18.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-23T06:31:18.276Z] Configure a credential helper to remove this warning. See [2021-03-23T06:31:18.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-23T06:31:18.276Z] [2021-03-23T06:31:18.276Z] Login Succeeded [2021-03-23T06:31:18.276Z] ---> docker-login.sh ends [Pipeline] } [2021-03-23T06:31:18.293Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-23T06:31:18.813Z] ========================================================= [2021-03-23T06:31:18.813Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-23T06:31:18.813Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:31:19.234Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-03-23T06:31:19.507Z] Sending build context to Docker daemon 2.284MB [2021-03-23T06:31:19.784Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T06:31:19.784Z] Step 2/8 : FROM ${BASE} [2021-03-23T06:31:19.784Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-23T06:31:19.784Z] 5f621e34cdf4: Pulling fs layer [2021-03-23T06:31:19.784Z] a4357932f1b6: Pulling fs layer [2021-03-23T06:31:19.784Z] 18c013af1878: Pulling fs layer [2021-03-23T06:31:19.784Z] 00ac8860ef70: Pulling fs layer [2021-03-23T06:31:19.784Z] 63d7cb157983: Pulling fs layer [2021-03-23T06:31:19.784Z] b116817d02f9: Pulling fs layer [2021-03-23T06:31:19.784Z] 745a02a5169b: Pulling fs layer [2021-03-23T06:31:19.784Z] 63d7cb157983: Waiting [2021-03-23T06:31:19.784Z] b116817d02f9: Waiting [2021-03-23T06:31:19.784Z] 18c013af1878: Download complete [2021-03-23T06:31:19.784Z] a4357932f1b6: Verifying Checksum [2021-03-23T06:31:19.784Z] a4357932f1b6: Download complete [2021-03-23T06:31:19.784Z] 63d7cb157983: Verifying Checksum [2021-03-23T06:31:19.784Z] 63d7cb157983: Download complete [2021-03-23T06:31:19.784Z] b116817d02f9: Verifying Checksum [2021-03-23T06:31:19.784Z] b116817d02f9: Download complete [2021-03-23T06:31:19.784Z] 5f621e34cdf4: Verifying Checksum [2021-03-23T06:31:19.784Z] 5f621e34cdf4: Download complete [2021-03-23T06:31:20.782Z] 5f621e34cdf4: Pull complete [2021-03-23T06:31:21.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-23T06:31:21.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-23T06:31:21.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-23T06:31:21.024Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-23T06:31:21.061Z] a4357932f1b6: Pull complete [2021-03-23T06:31:21.659Z] 18c013af1878: Pull complete [2021-03-23T06:31:21.933Z] 745a02a5169b: Verifying Checksum [2021-03-23T06:31:23.370Z] 00ac8860ef70: Download complete [2021-03-23T06:31:23.594Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.0% of statements [2021-03-23T06:31:24.544Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 81.2% of statements [2021-03-23T06:31:33.557Z] 00ac8860ef70: Pull complete [2021-03-23T06:31:33.557Z] 63d7cb157983: Pull complete [2021-03-23T06:31:34.155Z] b116817d02f9: Pull complete [2021-03-23T06:31:38.472Z] 745a02a5169b: Pull complete [2021-03-23T06:31:38.472Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-23T06:31:38.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-23T06:31:38.472Z] ---> b7e6874047d6 [2021-03-23T06:31:38.472Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:31:41.109Z] ---> Running in 07541a415852 [2021-03-23T06:31:41.109Z] Removing intermediate container 07541a415852 [2021-03-23T06:31:41.109Z] ---> 4822d51a4c2c [2021-03-23T06:31:41.109Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T06:31:41.382Z] ---> Running in 8b44e4c68af5 [2021-03-23T06:31:44.007Z] Removing intermediate container 8b44e4c68af5 [2021-03-23T06:31:44.008Z] ---> 4caea0cdba12 [2021-03-23T06:31:44.008Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-23T06:31:44.008Z] ---> Running in da2a61127ba4 [2021-03-23T06:31:44.607Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-23T06:31:45.585Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-23T06:31:46.181Z] OK: 142 MiB in 39 packages [2021-03-23T06:31:47.167Z] Removing intermediate container da2a61127ba4 [2021-03-23T06:31:47.167Z] ---> 362a98bb4638 [2021-03-23T06:31:47.167Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-23T06:31:47.442Z] ---> Running in 31ee9073b757 [2021-03-23T06:31:47.718Z] Removing intermediate container 31ee9073b757 [2021-03-23T06:31:47.718Z] ---> 0502990be7a0 [2021-03-23T06:31:47.718Z] Step 7/8 : COPY . . [2021-03-23T06:31:49.158Z] ---> 0324acb890d9 [2021-03-23T06:31:49.158Z] Step 8/8 : RUN go mod download [2021-03-23T06:31:49.158Z] ---> Running in ba09e9fdf13a [2021-03-23T06:31:51.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.062s coverage: 10.5% of statements [2021-03-23T06:31:51.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-23T06:31:51.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-23T06:31:51.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.117s coverage: 32.5% of statements [2021-03-23T06:31:51.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-23T06:31:51.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-23T06:31:51.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-23T06:31:51.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 57.3% of statements [2021-03-23T06:31:51.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.180s coverage: 6.6% of statements [2021-03-23T06:31:51.164Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements [2021-03-23T06:31:51.164Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-23T06:31:51.164Z] GO111MODULE=on go vet ./... [2021-03-23T06:32:03.532Z] gofmt -l . [2021-03-23T06:32:03.532Z] [ "`gofmt -l .`" = "" ] [2021-03-23T06:32:03.532Z] ./bin/test-attribution-txt.sh [2021-03-23T06:32:03.799Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-23T06:32:04.078Z] $ docker stop --time=1 5c979d3d0a03a27cf292c69c68bb8cfc5126cdb78c85f01fddc4b512759ea4cb [2021-03-23T06:32:06.023Z] $ docker rm -f 5c979d3d0a03a27cf292c69c68bb8cfc5126cdb78c85f01fddc4b512759ea4cb [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-23T06:32:06.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-23T06:32:07.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-23T06:32:10.789Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-23T06:32:11.086Z] + ls -al . [2021-03-23T06:32:11.086Z] total 184 [2021-03-23T06:32:11.086Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 23 06:32 . [2021-03-23T06:32:11.086Z] drwxrwxr-x. 4 jenkins jenkins 32 Mar 23 06:29 .. [2021-03-23T06:32:11.086Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 23 06:30 bin [2021-03-23T06:32:11.086Z] -rw-r--r--. 1 jenkins jenkins 99587 Mar 23 06:31 coverage.out [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 23 06:30 Dockerfile.build [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 23 06:30 .dockerignore [2021-03-23T06:32:11.086Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 23 06:30 example [2021-03-23T06:32:11.086Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 23 06:30 .git [2021-03-23T06:32:11.086Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 23 06:30 .github [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 23 06:30 .gitignore [2021-03-23T06:32:11.086Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 23 06:32 go.mod [2021-03-23T06:32:11.086Z] -rw-r--r--. 1 jenkins jenkins 17372 Mar 23 06:32 go.sum [2021-03-23T06:32:11.086Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 23 06:30 internal [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 23 06:30 Jenkinsfile [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 23 06:30 LICENSE [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 23 06:30 Makefile [2021-03-23T06:32:11.086Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 23 06:30 openapi [2021-03-23T06:32:11.086Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 23 06:30 pkg [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 23 06:30 README.md [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 23 06:30 RELEASE-NOTES.txt [2021-03-23T06:32:11.086Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 23 06:30 snap [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 23 06:26 VERSION [2021-03-23T06:32:11.086Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 23 06:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:32:11.327Z] Removing intermediate container ba09e9fdf13a [2021-03-23T06:32:11.327Z] ---> 9336c0e9098c [2021-03-23T06:32:11.400Z] + 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=e522836f5d508ce20413c5d2a08a926bd2b9771b --label arch=amd64 --label version=2.0.0-dev.27 . [2021-03-23T06:32:11.603Z] Successfully built 9336c0e9098c [2021-03-23T06:32:11.603Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:32:11.661Z] Sending build context to Docker daemon 2.376MB [2021-03-23T06:32:11.661Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T06:32:11.661Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-23T06:32:11.661Z] ---> fa48c8569c97 [2021-03-23T06:32:11.661Z] Step 3/24 : ARG MAKE='make build' [2021-03-23T06:32:11.932Z] ---> Running in 1bc8bd62cce2 [2021-03-23T06:32:11.951Z] + docker inspect -f . ci-base-image-arm64 [2021-03-23T06:32:11.951Z] . [Pipeline] withDockerContainer [2021-03-23T06:32:12.194Z] Removing intermediate container 1bc8bd62cce2 [2021-03-23T06:32:12.194Z] ---> 68ced28f5210 [2021-03-23T06:32:12.194Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-23T06:32:12.194Z] ---> Running in a550fc1d2583 [2021-03-23T06:32:12.225Z] prd-ubuntu18.04-docker-arm64-4c-16g-31034 does not seem to be running inside a container [2021-03-23T06:32:12.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/132 -v /w/workspace/device-sdk-go/132:/w/workspace/device-sdk-go/132:rw,z -v /w/workspace/device-sdk-go/132@tmp:/w/workspace/device-sdk-go/132@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 ******** ci-base-image-arm64 cat [2021-03-23T06:32:12.456Z] Removing intermediate container a550fc1d2583 [2021-03-23T06:32:12.456Z] ---> 35d707a3d6e3 [2021-03-23T06:32:12.456Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:32:12.456Z] ---> Running in c50e3ef6d2e9 [2021-03-23T06:32:12.720Z] Removing intermediate container c50e3ef6d2e9 [2021-03-23T06:32:12.720Z] ---> 6beb41b552f0 [2021-03-23T06:32:12.720Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T06:32:12.720Z] ---> Running in bec7f2f25b8e [2021-03-23T06:32:13.852Z] $ docker top 1aab21cc2b4e30ed2c7742abfd056b5779d2e113a079873cd048481042d5d328 -eo pid,comm [2021-03-23T06:32:14.115Z] Removing intermediate container bec7f2f25b8e [2021-03-23T06:32:14.115Z] ---> 49d6e98f1f00 [2021-03-23T06:32:14.115Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-23T06:32:14.115Z] ---> Running in 7c2935a2b83a [Pipeline] { [Pipeline] sh [2021-03-23T06:32:14.383Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-23T06:32:14.893Z] + go version [2021-03-23T06:32:14.893Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-23T06:32:14.922Z] $ docker stop --time=1 1aab21cc2b4e30ed2c7742abfd056b5779d2e113a079873cd048481042d5d328 [2021-03-23T06:32:15.328Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-23T06:32:15.590Z] OK: 166 MiB in 39 packages [2021-03-23T06:32:16.163Z] Removing intermediate container 7c2935a2b83a [2021-03-23T06:32:16.163Z] ---> d032104fe418 [2021-03-23T06:32:16.163Z] Step 8/24 : COPY . . [2021-03-23T06:32:17.017Z] $ docker rm -f 1aab21cc2b4e30ed2c7742abfd056b5779d2e113a079873cd048481042d5d328 [2021-03-23T06:32:17.116Z] ---> 8f2f6c7d4fe1 [2021-03-23T06:32:17.116Z] Step 9/24 : RUN ${MAKE} [2021-03-23T06:32:17.117Z] ---> Running in d85202d7617b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:32:17.710Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.27" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-23T06:32:17.995Z] + docker inspect -f . ci-base-image-arm64 [2021-03-23T06:32:17.995Z] . [Pipeline] withDockerContainer [2021-03-23T06:32:18.229Z] prd-ubuntu18.04-docker-arm64-4c-16g-31034 does not seem to be running inside a container [2021-03-23T06:32:18.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/132 -v /w/workspace/device-sdk-go/132:/w/workspace/device-sdk-go/132:rw,z -v /w/workspace/device-sdk-go/132@tmp:/w/workspace/device-sdk-go/132@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 ******** ci-base-image-arm64 cat [2021-03-23T06:32:19.853Z] $ docker top 30e90fe40a2008dd2208ac7962591d2943dca84b384c22bde4dd3751cf979084 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:32:20.878Z] + make test [2021-03-23T06:32:20.878Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-23T06:32:27.861Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-23T06:32:28.815Z] Removing intermediate container d85202d7617b [2021-03-23T06:32:28.816Z] ---> ebd8353760bc [2021-03-23T06:32:28.816Z] Step 10/24 : FROM scratch [2021-03-23T06:32:28.816Z] ---> [2021-03-23T06:32:28.816Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:32:28.816Z] ---> Running in 6b976f15d858 [2021-03-23T06:32:29.078Z] Removing intermediate container 6b976f15d858 [2021-03-23T06:32:29.078Z] ---> c6e89a5d3557 [2021-03-23T06:32:29.078Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-23T06:32:29.078Z] ---> Running in 0ac4e5e1cdac [2021-03-23T06:32:29.341Z] Removing intermediate container 0ac4e5e1cdac [2021-03-23T06:32:29.341Z] ---> 7138e177bed8 [2021-03-23T06:32:29.341Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-23T06:32:29.341Z] ---> Running in a2ec8d8abd5f [2021-03-23T06:32:29.341Z] Removing intermediate container a2ec8d8abd5f [2021-03-23T06:32:29.341Z] ---> 02353aaf80d6 [2021-03-23T06:32:29.341Z] Step 14/24 : WORKDIR / [2021-03-23T06:32:29.604Z] ---> Running in ca7836ce9ac6 [2021-03-23T06:32:29.604Z] Removing intermediate container ca7836ce9ac6 [2021-03-23T06:32:29.604Z] ---> 4c055c14e326 [2021-03-23T06:32:29.604Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-23T06:32:30.179Z] ---> 4660aaea0c18 [2021-03-23T06:32:30.179Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-23T06:32:30.441Z] ---> 69fda9fb05ba [2021-03-23T06:32:30.441Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-23T06:32:30.704Z] ---> 5666e05eefc4 [2021-03-23T06:32:30.704Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-23T06:32:30.968Z] ---> 5b4c8e5bb964 [2021-03-23T06:32:30.968Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-23T06:32:31.230Z] ---> 6de23ebb39bf [2021-03-23T06:32:31.230Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-23T06:32:31.230Z] ---> Running in 5486c1779cdc [2021-03-23T06:32:31.492Z] Removing intermediate container 5486c1779cdc [2021-03-23T06:32:31.492Z] ---> 066490850036 [2021-03-23T06:32:31.492Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-23T06:32:31.492Z] ---> Running in 8d82cb8edf90 [2021-03-23T06:32:31.754Z] Removing intermediate container 8d82cb8edf90 [2021-03-23T06:32:31.754Z] ---> 314619ca2f88 [2021-03-23T06:32:31.754Z] Step 22/24 : LABEL arch=amd64 [2021-03-23T06:32:31.754Z] ---> Running in 7ebbf891e8ce [2021-03-23T06:32:31.754Z] Removing intermediate container 7ebbf891e8ce [2021-03-23T06:32:31.754Z] ---> a5e01218ae36 [2021-03-23T06:32:31.754Z] Step 23/24 : LABEL git_sha=e522836f5d508ce20413c5d2a08a926bd2b9771b [2021-03-23T06:32:32.019Z] ---> Running in 8aca7a4683c7 [2021-03-23T06:32:32.019Z] Removing intermediate container 8aca7a4683c7 [2021-03-23T06:32:32.019Z] ---> dd46319bb809 [2021-03-23T06:32:32.019Z] Step 24/24 : LABEL version=2.0.0-dev.27 [2021-03-23T06:32:32.284Z] ---> Running in a2cfac47edb0 [2021-03-23T06:32:32.284Z] Removing intermediate container a2cfac47edb0 [2021-03-23T06:32:32.284Z] ---> 8d0968a1d762 [2021-03-23T06:32:32.284Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-23T06:32:32.284Z] Successfully built 8d0968a1d762 [2021-03-23T06:32:32.284Z] 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-03-23T06:32:33.222Z] ---> job-cost.sh [2021-03-23T06:32:33.222Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uG0m [2021-03-23T06:32:43.060Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-23T06:32:48.152Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-23T06:33:20.322Z] lf-activate-venv(): INFO: Adding /tmp/venv-uG0m/bin to PATH [2021-03-23T06:33:20.322Z] INFO: No Stack... [2021-03-23T06:33:20.322Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-23T06:33:20.322Z] INFO: Archiving Costs [Pipeline] sh [2021-03-23T06:33:20.630Z] + cat /w/workspace/device-sdk-go/132/archives/cost.csv [2021-03-23T06:33:20.630Z] + cut -d, -f6 [Pipeline] lock [2021-03-23T06:33:20.709Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-132-stack-cost] [2021-03-23T06:33:20.724Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-132-stack-cost] did not exist. Created. [2021-03-23T06:33:20.724Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-23T06:33:21.128Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-23T06:33:21.288Z] Stashed 1 file(s) [Pipeline] } [2021-03-23T06:33:21.303Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-132-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-23T06:33:30.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-23T06:33:30.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-23T06:33:30.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-23T06:33:30.111Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-23T06:33:30.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.121s coverage: 27.0% of statements [2021-03-23T06:33:30.111Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.151s coverage: 81.2% of statements [2021-03-23T06:33:56.925Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.112s coverage: 10.5% of statements [2021-03-23T06:33:56.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-23T06:33:56.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-23T06:33:56.925Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.205s coverage: 32.5% of statements [2021-03-23T06:33:56.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-23T06:33:56.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-23T06:33:56.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-23T06:33:56.925Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.260s coverage: 57.3% of statements [2021-03-23T06:33:56.925Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.961s coverage: 6.6% of statements [2021-03-23T06:33:56.925Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.120s coverage: 5.1% of statements [2021-03-23T06:33:56.925Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-23T06:33:56.925Z] GO111MODULE=on go vet ./... [2021-03-23T06:34:29.336Z] gofmt -l . [2021-03-23T06:34:29.336Z] [ "`gofmt -l .`" = "" ] [2021-03-23T06:34:29.336Z] ./bin/test-attribution-txt.sh [2021-03-23T06:34:29.939Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-23T06:34:30.249Z] $ docker stop --time=1 30e90fe40a2008dd2208ac7962591d2943dca84b384c22bde4dd3751cf979084 [2021-03-23T06:34:32.619Z] $ docker rm -f 30e90fe40a2008dd2208ac7962591d2943dca84b384c22bde4dd3751cf979084 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-23T06:34:33.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-23T06:34:33.968Z] Warning: overwriting stash ‘coverage-report’ [2021-03-23T06:34:35.128Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-23T06:34:35.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-23T06:34:36.144Z] + ls -al . [2021-03-23T06:34:36.144Z] total 220 [2021-03-23T06:34:36.144Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 06:34 . [2021-03-23T06:34:36.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 06:31 .. [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 06:31 .dockerignore [2021-03-23T06:34:36.144Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 06:31 .git [2021-03-23T06:34:36.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 06:31 .github [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 23 06:31 .gitignore [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 23 06:31 Dockerfile.build [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 23 06:31 Jenkinsfile [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 23 06:31 LICENSE [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 23 06:31 Makefile [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 23 06:31 README.md [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 23 06:31 RELEASE-NOTES.txt [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 23 06:26 VERSION [2021-03-23T06:34:36.144Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 06:31 bin [2021-03-23T06:34:36.144Z] -rw-r--r-- 1 jenkins jenkins 99588 Mar 23 06:33 coverage.out [2021-03-23T06:34:36.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 06:31 example [2021-03-23T06:34:36.144Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 23 06:34 go.mod [2021-03-23T06:34:36.144Z] -rw-r--r-- 1 jenkins jenkins 17372 Mar 23 06:34 go.sum [2021-03-23T06:34:36.144Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 23 06:31 internal [2021-03-23T06:34:36.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 06:31 openapi [2021-03-23T06:34:36.144Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 23 06:31 pkg [2021-03-23T06:34:36.144Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 06:31 snap [2021-03-23T06:34:36.144Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 23 06:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:34:36.486Z] + 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=e522836f5d508ce20413c5d2a08a926bd2b9771b --label arch=arm64 --label version=2.0.0-dev.27 . [2021-03-23T06:34:36.757Z] Sending build context to Docker daemon 2.384MB [2021-03-23T06:34:36.757Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-23T06:34:36.757Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-23T06:34:36.757Z] ---> 9336c0e9098c [2021-03-23T06:34:36.757Z] Step 3/24 : ARG MAKE='make build' [2021-03-23T06:34:37.030Z] ---> Running in 3049ddfcbff8 [2021-03-23T06:34:37.623Z] Removing intermediate container 3049ddfcbff8 [2021-03-23T06:34:37.623Z] ---> 25bba87ea1ea [2021-03-23T06:34:37.623Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-23T06:34:37.623Z] ---> Running in f5cb128e2c39 [2021-03-23T06:34:38.216Z] Removing intermediate container f5cb128e2c39 [2021-03-23T06:34:38.216Z] ---> b5cc4c0d5cde [2021-03-23T06:34:38.216Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:34:38.216Z] ---> Running in ae2b1f7fb8cf [2021-03-23T06:34:38.816Z] Removing intermediate container ae2b1f7fb8cf [2021-03-23T06:34:38.816Z] ---> cb9291ce218e [2021-03-23T06:34:38.816Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-23T06:34:38.816Z] ---> Running in 76d082b93564 [2021-03-23T06:34:41.438Z] Removing intermediate container 76d082b93564 [2021-03-23T06:34:41.438Z] ---> 33e98608d3b2 [2021-03-23T06:34:41.438Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-23T06:34:41.438Z] ---> Running in 4c186a8fc112 [2021-03-23T06:34:42.032Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-23T06:34:43.007Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-23T06:34:43.602Z] OK: 142 MiB in 39 packages [2021-03-23T06:34:44.596Z] Removing intermediate container 4c186a8fc112 [2021-03-23T06:34:44.596Z] ---> cae6253666fd [2021-03-23T06:34:44.596Z] Step 8/24 : COPY . . [2021-03-23T06:34:46.026Z] ---> 0d3f75693e72 [2021-03-23T06:34:46.026Z] Step 9/24 : RUN ${MAKE} [2021-03-23T06:34:46.026Z] ---> Running in 296634ec5b8d [2021-03-23T06:34:47.008Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.27" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-23T06:35:13.834Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-23T06:35:15.275Z] Removing intermediate container 296634ec5b8d [2021-03-23T06:35:15.275Z] ---> 304d76149b30 [2021-03-23T06:35:15.275Z] Step 10/24 : FROM scratch [2021-03-23T06:35:15.275Z] ---> [2021-03-23T06:35:15.275Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-23T06:35:15.275Z] ---> Running in 9170b7313729 [2021-03-23T06:35:15.548Z] Removing intermediate container 9170b7313729 [2021-03-23T06:35:15.548Z] ---> 87be8caeafd2 [2021-03-23T06:35:15.548Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-23T06:35:15.822Z] ---> Running in 3f3a8100f2e7 [2021-03-23T06:35:16.094Z] Removing intermediate container 3f3a8100f2e7 [2021-03-23T06:35:16.094Z] ---> 2a37cd26e5f1 [2021-03-23T06:35:16.094Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-23T06:35:16.368Z] ---> Running in ce7c01287d61 [2021-03-23T06:35:16.651Z] Removing intermediate container ce7c01287d61 [2021-03-23T06:35:16.651Z] ---> 6ae49ef6ef22 [2021-03-23T06:35:16.651Z] Step 14/24 : WORKDIR / [2021-03-23T06:35:16.651Z] ---> Running in 301eb1769cb1 [2021-03-23T06:35:17.251Z] Removing intermediate container 301eb1769cb1 [2021-03-23T06:35:17.251Z] ---> 133cde82deb4 [2021-03-23T06:35:17.251Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-23T06:35:18.231Z] ---> 3d9a3f619182 [2021-03-23T06:35:18.231Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-23T06:35:19.211Z] ---> fa6e22ae0e4d [2021-03-23T06:35:19.212Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-23T06:35:19.808Z] ---> 377c695cf9d0 [2021-03-23T06:35:19.808Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-23T06:35:20.791Z] ---> 558fcf1d88dc [2021-03-23T06:35:20.791Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-23T06:35:21.387Z] ---> ef6912a86233 [2021-03-23T06:35:21.387Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-23T06:35:21.387Z] ---> Running in 26fcb6f5ed78 [2021-03-23T06:35:21.657Z] Removing intermediate container 26fcb6f5ed78 [2021-03-23T06:35:21.657Z] ---> 52c1b11573a2 [2021-03-23T06:35:21.657Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-23T06:35:21.927Z] ---> Running in 49708458a1cd [2021-03-23T06:35:22.199Z] Removing intermediate container 49708458a1cd [2021-03-23T06:35:22.199Z] ---> ac2af2c75dd6 [2021-03-23T06:35:22.199Z] Step 22/24 : LABEL arch=arm64 [2021-03-23T06:35:22.474Z] ---> Running in 01848703d69d [2021-03-23T06:35:22.753Z] Removing intermediate container 01848703d69d [2021-03-23T06:35:22.753Z] ---> 4bfa0156fc12 [2021-03-23T06:35:22.753Z] Step 23/24 : LABEL git_sha=e522836f5d508ce20413c5d2a08a926bd2b9771b [2021-03-23T06:35:23.026Z] ---> Running in 9e5c00c3b723 [2021-03-23T06:35:23.304Z] Removing intermediate container 9e5c00c3b723 [2021-03-23T06:35:23.304Z] ---> 55cb518a9dd4 [2021-03-23T06:35:23.304Z] Step 24/24 : LABEL version=2.0.0-dev.27 [2021-03-23T06:35:23.576Z] ---> Running in 64684ea7937d [2021-03-23T06:35:24.171Z] Removing intermediate container 64684ea7937d [2021-03-23T06:35:24.171Z] ---> 84b9d74c2e0d [2021-03-23T06:35:24.171Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-23T06:35:24.171Z] Successfully built 84b9d74c2e0d [2021-03-23T06:35:24.171Z] 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-03-23T06:35:25.043Z] ---> job-cost.sh [2021-03-23T06:35:25.044Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mB62 [2021-03-23T06:36:03.994Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-23T06:37:40.744Z] lf-activate-venv(): INFO: Adding /tmp/venv-mB62/bin to PATH [2021-03-23T06:37:40.744Z] INFO: No Stack... [2021-03-23T06:37:40.744Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-23T06:37:40.744Z] INFO: Archiving Costs [Pipeline] sh [2021-03-23T06:37:41.081Z] + + catcut /w/workspace/device-sdk-go/132/archives/cost.csv -d, [2021-03-23T06:37:41.081Z] -f6 [Pipeline] lock [2021-03-23T06:37:41.191Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-132-stack-cost] [2021-03-23T06:37:41.200Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-132-stack-cost] did not exist. Created. [2021-03-23T06:37:41.200Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-23T06:37:41.656Z] /w/workspace/device-sdk-go/132@tmp/durable-cf8de6af/script.sh: 1: /w/workspace/device-sdk-go/132@tmp/durable-cf8de6af/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-23T06:37:42.005Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-23T06:37:42.026Z] Warning: overwriting stash ‘stack-cost’ [2021-03-23T06:37:42.182Z] Stashed 1 file(s) [Pipeline] } [2021-03-23T06:37:42.195Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-132-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-03-23T06:37:43.335Z] provisioning config files... [2021-03-23T06:37:43.355Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8641565210157487319tmp [Pipeline] { [Pipeline] sh [2021-03-23T06:37:43.795Z] + set +x [2021-03-23T06:37:43.795Z] + curl -s https://codecov.io/bash [2021-03-23T06:37:43.795Z] + bash -s -- [2021-03-23T06:37:44.071Z] [2021-03-23T06:37:44.071Z] _____ _ [2021-03-23T06:37:44.071Z] / ____| | | [2021-03-23T06:37:44.071Z] | | ___ __| | ___ ___ _____ __ [2021-03-23T06:37:44.071Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-23T06:37:44.071Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-23T06:37:44.071Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-23T06:37:44.071Z] Bash-20210309-2b87ace [2021-03-23T06:37:44.071Z] [2021-03-23T06:37:44.071Z] [2021-03-23T06:37:44.071Z] ==> git version 2.24.3 found [2021-03-23T06:37:44.071Z] ==> 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-03-23T06:37:44.071Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-23T06:37:44.071Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-23T06:37:44.071Z] ==> Jenkins CI detected. [2021-03-23T06:37:44.071Z] project root: . [2021-03-23T06:37:44.071Z] --> token set from env [2021-03-23T06:37:44.071Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-23T06:37:44.344Z] ==> Running gcov in . (disable via -X gcov) [2021-03-23T06:37:44.344Z] ==> Python coveragepy not found [2021-03-23T06:37:44.344Z] ==> Searching for coverage reports in: [2021-03-23T06:37:44.344Z] + . [2021-03-23T06:37:44.344Z] -> Found 1 reports [2021-03-23T06:37:44.344Z] ==> Detecting git/mercurial file structure [2021-03-23T06:37:44.344Z] ==> Reading reports [2021-03-23T06:37:44.344Z] + ./coverage.out bytes=99588 [2021-03-23T06:37:44.344Z] ==> Appending adjustments [2021-03-23T06:37:44.344Z] https://docs.codecov.io/docs/fixing-reports [2021-03-23T06:37:44.925Z] + Found adjustments [2021-03-23T06:37:44.925Z] ==> Gzipping contents [2021-03-23T06:37:44.925Z] 16K /tmp/codecov.lsFWxq.gz [2021-03-23T06:37:44.925Z] ==> Uploading reports [2021-03-23T06:37:44.925Z] url: https://codecov.io [2021-03-23T06:37:44.925Z] query: branch=master&commit=e522836f5d508ce20413c5d2a08a926bd2b9771b&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-23T06:37:44.925Z] -> Pinging Codecov [2021-03-23T06:37:44.925Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=e522836f5d508ce20413c5d2a08a926bd2b9771b&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-23T06:37:45.518Z] -> Uploading to [2021-03-23T06:37:45.518Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-23/7E55EF52A471D76F132DFD9A03CDDE97/e522836f5d508ce20413c5d2a08a926bd2b9771b/281d0613-9a5d-4459-92ed-4d89fb21a6c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210323T063745Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1b587ed796de35528156c1cf6961ff83d692070287b1775f0cbfa084c4456537 [2021-03-23T06:37:45.518Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-23T06:37:45.518Z] Dload Upload Total Spent Left Speed [2021-03-23T06:37:45.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13430 0 0 100 13430 0 22397 --:--:-- --:--:-- --:--:-- 22383 100 13430 0 0 100 13430 0 22386 --:--:-- --:--:-- --:--:-- 22383 [2021-03-23T06:37:46.196Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e522836f5d508ce20413c5d2a08a926bd2b9771b [Pipeline] } [2021-03-23T06:37:46.218Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-23T06:37:47.134Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-23T06:37:47.192Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:37:47.660Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-23T06:37:47.660Z] [2021-03-23T06:37:47.660Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:37:48.042Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-23T06:37:48.043Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-23T06:37:48.043Z] 188c0c94c7c5: Pulling fs layer [2021-03-23T06:37:48.043Z] 0ef7d3d256c8: Pulling fs layer [2021-03-23T06:37:48.043Z] de9db76c5a1d: Pulling fs layer [2021-03-23T06:37:48.043Z] 0eba1c9be4d2: Pulling fs layer [2021-03-23T06:37:48.043Z] 0d57e429df01: Pulling fs layer [2021-03-23T06:37:48.043Z] 4e4be7b47b0d: Pulling fs layer [2021-03-23T06:37:48.043Z] e1f770b5df2f: Pulling fs layer [2021-03-23T06:37:48.043Z] 85a0685a4137: Pulling fs layer [2021-03-23T06:37:48.043Z] 0d57e429df01: Waiting [2021-03-23T06:37:48.043Z] 4e4be7b47b0d: Waiting [2021-03-23T06:37:48.043Z] 0eba1c9be4d2: Waiting [2021-03-23T06:37:48.043Z] e1f770b5df2f: Waiting [2021-03-23T06:37:48.043Z] 85a0685a4137: Waiting [2021-03-23T06:37:48.043Z] de9db76c5a1d: Verifying Checksum [2021-03-23T06:37:48.043Z] de9db76c5a1d: Download complete [2021-03-23T06:37:48.043Z] 0ef7d3d256c8: Download complete [2021-03-23T06:37:48.043Z] 0d57e429df01: Download complete [2021-03-23T06:37:48.043Z] 188c0c94c7c5: Verifying Checksum [2021-03-23T06:37:48.043Z] 188c0c94c7c5: Download complete [2021-03-23T06:37:48.043Z] 4e4be7b47b0d: Verifying Checksum [2021-03-23T06:37:48.043Z] 4e4be7b47b0d: Download complete [2021-03-23T06:37:49.036Z] 188c0c94c7c5: Pull complete [2021-03-23T06:37:49.306Z] 0ef7d3d256c8: Pull complete [2021-03-23T06:37:49.575Z] de9db76c5a1d: Pull complete [2021-03-23T06:37:51.584Z] e1f770b5df2f: Verifying Checksum [2021-03-23T06:37:51.584Z] e1f770b5df2f: Download complete [2021-03-23T06:37:54.218Z] 0eba1c9be4d2: Verifying Checksum [2021-03-23T06:37:54.218Z] 0eba1c9be4d2: Download complete [2021-03-23T06:37:55.214Z] 85a0685a4137: Verifying Checksum [2021-03-23T06:37:55.214Z] 85a0685a4137: Download complete [2021-03-23T06:38:05.356Z] 0eba1c9be4d2: Pull complete [2021-03-23T06:38:05.356Z] 0d57e429df01: Pull complete [2021-03-23T06:38:05.356Z] 4e4be7b47b0d: Pull complete [2021-03-23T06:38:06.807Z] e1f770b5df2f: Pull complete [2021-03-23T06:38:22.192Z] 85a0685a4137: Pull complete [2021-03-23T06:38:22.192Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-23T06:38:22.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-23T06:38:22.192Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-23T06:38:22.439Z] prd-centos7-docker-4c-2g-31032 does not seem to be running inside a container [2021-03-23T06:38:22.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-23T06:38:24.478Z] $ docker top a06c3e6dfbbfd81de5644d6ba1db873d3f427da8aadba8cd8ce328439a510aa6 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-23T06:38:24.931Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-23T06:38:25.268Z] + set -o pipefail [2021-03-23T06:38:25.268Z] + snyk monitor '--org=edgex-jenkins' [2021-03-23T06:38:43.785Z] [2021-03-23T06:38:43.785Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-03-23T06:38:43.785Z] [2021-03-23T06:38:43.785Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/141f3d3c-8552-484c-a6c8-a1e092feda72 [2021-03-23T06:38:43.785Z] [2021-03-23T06:38:43.785Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-23T06:38:43.785Z] [2021-03-23T06:38:43.785Z] [Pipeline] } [2021-03-23T06:38:43.802Z] $ docker stop --time=1 a06c3e6dfbbfd81de5644d6ba1db873d3f427da8aadba8cd8ce328439a510aa6 [2021-03-23T06:38:47.010Z] $ docker rm -f a06c3e6dfbbfd81de5644d6ba1db873d3f427da8aadba8cd8ce328439a510aa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-03-23T06:38:48.985Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-23T06:38:49.041Z] provisioning config files... [2021-03-23T06:38:49.055Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1133543417222561192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:38:49.502Z] --> edgex-publish-swagger.sh [2021-03-23T06:38:49.502Z] === Publish openapi/v1 API === [2021-03-23T06:38:49.502Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-03-23T06:38:49.502Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-03-23T06:38:49.502Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-23T06:38:49.502Z] Dload Upload Total Spent Left Speed [2021-03-23T06:38:50.498Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 25310 --:--:-- --:--:-- --:--:-- 25313 100 19947 0 0 100 19947 0 25299 --:--:-- --:--:-- --:--:-- 25313 [2021-03-23T06:38:50.499Z] [2021-03-23T06:38:50.499Z] [2021-03-23T06:38:50.499Z] === Publish openapi/v2 API === [2021-03-23T06:38:50.499Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-23T06:38:50.499Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-03-23T06:38:50.499Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-23T06:38:50.499Z] Dload Upload Total Spent Left Speed [2021-03-23T06:38:51.085Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 65607 --:--:-- --:--:-- --:--:-- 65583 100 51483 0 0 100 51483 0 65579 --:--:-- --:--:-- --:--:-- 65583 [2021-03-23T06:38:51.085Z] [2021-03-23T06:38:51.085Z] [Pipeline] } [2021-03-23T06:38:51.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-23T06:38:51.952Z] + git log --format=format:%s -1 e522836f5d508ce20413c5d2a08a926bd2b9771b [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:38:52.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T06:38:52.305Z] . [Pipeline] withDockerContainer [2021-03-23T06:38:52.508Z] prd-centos7-docker-4c-2g-31032 does not seem to be running inside a container [2021-03-23T06:38:52.640Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-23T06:38:53.773Z] $ docker top 94b0cd29b246d87c9315e9941f6db624ed08bc886da1f92aaff5f212d086c547 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-23T06:38:54.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T06:38:54.684Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T06:38:55.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T06:38:55.518Z] $ docker exec 94b0cd29b246d87c9315e9941f6db624ed08bc886da1f92aaff5f212d086c547 ssh-agent [2021-03-23T06:38:55.798Z] SSH_AUTH_SOCK=/tmp/ssh-f1YrJ1CukW1C/agent.11 [2021-03-23T06:38:55.798Z] SSH_AGENT_PID=16 [2021-03-23T06:38:55.806Z] Running ssh-add (command line suppressed) [2021-03-23T06:38:56.026Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7664853683603804660.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7664853683603804660.key) [2021-03-23T06:38:56.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T06:38:56.842Z] + git semver tag [2021-03-23T06:38:57.251Z] # -> Open(): unable to determine branch for HEAD [2021-03-23T06:38:57.251Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-23T06:38:57.251Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-23T06:38:57.251Z] # $SEMVER_REMOTE_NAME = origin [2021-03-23T06:38:57.251Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-23T06:38:57.251Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-23T06:38:57.251Z] # $SEMVER_BRANCH = master [2021-03-23T06:38:57.251Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-23T06:38:57.251Z] # e522836f5d508ce20413c5d2a08a926bd2b9771b HEAD [2021-03-23T06:38:57.251Z] # -> Force: false [2021-03-23T06:38:57.251Z] # 105646a4d1721bc4897e6677bb16182e7ee43231 refs/tags/v2.0.0-dev.27 [Pipeline] } [2021-03-23T06:38:57.368Z] $ docker exec --env ******** --env ******** 94b0cd29b246d87c9315e9941f6db624ed08bc886da1f92aaff5f212d086c547 ssh-agent -k [2021-03-23T06:38:57.671Z] unset SSH_AUTH_SOCK; [2021-03-23T06:38:57.671Z] unset SSH_AGENT_PID; [2021-03-23T06:38:57.671Z] echo Agent pid 16 killed; [2021-03-23T06:38:57.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-23T06:38:59.270Z] + git semver [Pipeline] } [2021-03-23T06:38:59.369Z] $ docker stop --time=1 94b0cd29b246d87c9315e9941f6db624ed08bc886da1f92aaff5f212d086c547 [2021-03-23T06:39:01.319Z] $ docker rm -f 94b0cd29b246d87c9315e9941f6db624ed08bc886da1f92aaff5f212d086c547 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:39:02.312Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-23T06:39:02.974Z] [2021-03-23T06:39:02.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:39:03.460Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-23T06:39:03.727Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-23T06:39:03.727Z] ab5ef0e58194: Pulling fs layer [2021-03-23T06:39:03.727Z] 9712f1f96733: Pulling fs layer [2021-03-23T06:39:03.727Z] 63f879dbbcfc: Pulling fs layer [2021-03-23T06:39:03.727Z] 0d9ebad4ef96: Pulling fs layer [2021-03-23T06:39:03.727Z] e9a5061849ea: Pulling fs layer [2021-03-23T06:39:03.727Z] d747dcd14b5f: Pulling fs layer [2021-03-23T06:39:03.727Z] 2de7ff778b66: Pulling fs layer [2021-03-23T06:39:03.727Z] e9a5061849ea: Waiting [2021-03-23T06:39:03.727Z] d747dcd14b5f: Waiting [2021-03-23T06:39:03.727Z] 2de7ff778b66: Waiting [2021-03-23T06:39:03.727Z] 0d9ebad4ef96: Waiting [2021-03-23T06:39:03.727Z] 9712f1f96733: Verifying Checksum [2021-03-23T06:39:03.727Z] 9712f1f96733: Download complete [2021-03-23T06:39:06.348Z] 63f879dbbcfc: Download complete [2021-03-23T06:39:06.348Z] e9a5061849ea: Verifying Checksum [2021-03-23T06:39:06.348Z] e9a5061849ea: Download complete [2021-03-23T06:39:06.348Z] d747dcd14b5f: Download complete [2021-03-23T06:39:06.974Z] 2de7ff778b66: Verifying Checksum [2021-03-23T06:39:06.974Z] 2de7ff778b66: Download complete [2021-03-23T06:39:07.564Z] 0d9ebad4ef96: Verifying Checksum [2021-03-23T06:39:07.564Z] 0d9ebad4ef96: Download complete [2021-03-23T06:39:07.564Z] ab5ef0e58194: Verifying Checksum [2021-03-23T06:39:07.564Z] ab5ef0e58194: Download complete [2021-03-23T06:39:20.074Z] ab5ef0e58194: Pull complete [2021-03-23T06:39:20.074Z] 9712f1f96733: Pull complete [2021-03-23T06:39:21.049Z] 63f879dbbcfc: Pull complete [2021-03-23T06:39:33.606Z] 0d9ebad4ef96: Pull complete [2021-03-23T06:39:38.106Z] e9a5061849ea: Pull complete [2021-03-23T06:39:38.107Z] d747dcd14b5f: Pull complete [2021-03-23T06:39:41.599Z] 2de7ff778b66: Pull complete [2021-03-23T06:39:41.866Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-23T06:39:41.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-23T06:39:41.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-23T06:39:42.261Z] prd-centos7-docker-4c-2g-31032 does not seem to be running inside a container [2021-03-23T06:39:42.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-23T06:39:46.759Z] $ docker top cc11912a8e15557fdbbcb62b583bd0a80a1a6339377d50e68e37abade8a5e2d8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-23T06:39:47.168Z] provisioning config files... [2021-03-23T06:39:47.185Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1708220188978928168tmp [2021-03-23T06:39:47.212Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6211680294159852804tmp [2021-03-23T06:39:47.236Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7749136641831728886tmp [Pipeline] { [Pipeline] echo [2021-03-23T06:39:47.298Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:39:47.611Z] ---> sigul-configuration.sh [2021-03-23T06:39:47.899Z] gpg: directory `/root/.gnupg' created [2021-03-23T06:39:47.899Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-23T06:39:47.899Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-23T06:39:47.899Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-23T06:39:47.899Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-23T06:39:47.899Z] gpg: CAST5 encrypted data [2021-03-23T06:39:48.171Z] gpg: encrypted with 1 passphrase [2021-03-23T06:39:48.171Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-23T06:39:48.480Z] + mkdir /home/jenkins [2021-03-23T06:39:48.480Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-23T06:39:48.787Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-03-23T06:39:48.800Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:39:49.113Z] ---> sigul-install.sh [2021-03-23T06:40:01.583Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-23T06:40:02.310Z] + git tag --list [2021-03-23T06:40:02.310Z] 0.7.1 [2021-03-23T06:40:02.310Z] delhi-tag [2021-03-23T06:40:02.310Z] v1.0.0 [2021-03-23T06:40:02.310Z] v1.1.0 [2021-03-23T06:40:02.310Z] v1.1.1 [2021-03-23T06:40:02.310Z] v1.1.2 [2021-03-23T06:40:02.310Z] v1.2.0 [2021-03-23T06:40:02.310Z] v1.2.1 [2021-03-23T06:40:02.310Z] v1.2.2 [2021-03-23T06:40:02.310Z] v1.2.3 [2021-03-23T06:40:02.310Z] v1.3.0 [2021-03-23T06:40:02.310Z] v1.4.0 [2021-03-23T06:40:02.310Z] v2.0.0-dev.1 [2021-03-23T06:40:02.310Z] v2.0.0-dev.10 [2021-03-23T06:40:02.310Z] v2.0.0-dev.11 [2021-03-23T06:40:02.310Z] v2.0.0-dev.12 [2021-03-23T06:40:02.310Z] v2.0.0-dev.13 [2021-03-23T06:40:02.310Z] v2.0.0-dev.14 [2021-03-23T06:40:02.310Z] v2.0.0-dev.15 [2021-03-23T06:40:02.310Z] v2.0.0-dev.16 [2021-03-23T06:40:02.310Z] v2.0.0-dev.17 [2021-03-23T06:40:02.310Z] v2.0.0-dev.18 [2021-03-23T06:40:02.310Z] v2.0.0-dev.19 [2021-03-23T06:40:02.310Z] v2.0.0-dev.2 [2021-03-23T06:40:02.310Z] v2.0.0-dev.20 [2021-03-23T06:40:02.310Z] v2.0.0-dev.21 [2021-03-23T06:40:02.310Z] v2.0.0-dev.22 [2021-03-23T06:40:02.310Z] v2.0.0-dev.23 [2021-03-23T06:40:02.310Z] v2.0.0-dev.24 [2021-03-23T06:40:02.310Z] v2.0.0-dev.25 [2021-03-23T06:40:02.310Z] v2.0.0-dev.26 [2021-03-23T06:40:02.310Z] v2.0.0-dev.27 [2021-03-23T06:40:02.310Z] v2.0.0-dev.3 [2021-03-23T06:40:02.310Z] v2.0.0-dev.4 [2021-03-23T06:40:02.310Z] v2.0.0-dev.5 [2021-03-23T06:40:02.310Z] v2.0.0-dev.6 [2021-03-23T06:40:02.310Z] v2.0.0-dev.7 [2021-03-23T06:40:02.310Z] v2.0.0-dev.8 [2021-03-23T06:40:02.310Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-23T06:40:02.972Z] + lftools sign git-tag v2.0.0-dev.27 [2021-03-23T06:40:05.639Z] Signing Git tag with Sigul... [2021-03-23T06:40:05.639Z] Signing v2.0.0-dev.27 [Pipeline] echo [2021-03-23T06:40:06.664Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:40:07.323Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-23T06:40:07.339Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-23T06:40:07.432Z] $ docker stop --time=1 cc11912a8e15557fdbbcb62b583bd0a80a1a6339377d50e68e37abade8a5e2d8 [2021-03-23T06:40:09.786Z] $ docker rm -f cc11912a8e15557fdbbcb62b583bd0a80a1a6339377d50e68e37abade8a5e2d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:40:11.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T06:40:11.004Z] . [Pipeline] withDockerContainer [2021-03-23T06:40:11.146Z] prd-centos7-docker-4c-2g-31032 does not seem to be running inside a container [2021-03-23T06:40:11.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-23T06:40:12.542Z] $ docker top 54457956e54e409d6349a3ab0e5c4d5086387bb533fc425ae939269a8281e043 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-23T06:40:12.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T06:40:12.883Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T06:40:13.234Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T06:40:13.238Z] $ docker exec 54457956e54e409d6349a3ab0e5c4d5086387bb533fc425ae939269a8281e043 ssh-agent [2021-03-23T06:40:13.582Z] SSH_AUTH_SOCK=/tmp/ssh-FiK1wxzb44cY/agent.11 [2021-03-23T06:40:13.582Z] SSH_AGENT_PID=16 [2021-03-23T06:40:13.590Z] Running ssh-add (command line suppressed) [2021-03-23T06:40:13.788Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7556868520274790370.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7556868520274790370.key) [2021-03-23T06:40:13.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T06:40:14.504Z] + git semver bump pre [2021-03-23T06:40:14.504Z] # -> Open(): unable to determine branch for HEAD [2021-03-23T06:40:14.504Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-23T06:40:14.504Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-23T06:40:14.504Z] # $SEMVER_REMOTE_NAME = origin [2021-03-23T06:40:14.504Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-23T06:40:14.504Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-23T06:40:14.504Z] # $SEMVER_BRANCH = master [2021-03-23T06:40:14.504Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-23T06:40:14.819Z] 2.0.0-dev.28 [Pipeline] } [2021-03-23T06:40:14.894Z] $ docker exec --env ******** --env ******** 54457956e54e409d6349a3ab0e5c4d5086387bb533fc425ae939269a8281e043 ssh-agent -k [2021-03-23T06:40:15.168Z] unset SSH_AUTH_SOCK; [2021-03-23T06:40:15.168Z] unset SSH_AGENT_PID; [2021-03-23T06:40:15.169Z] echo Agent pid 16 killed; [2021-03-23T06:40:15.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-23T06:40:15.843Z] + git semver [Pipeline] } [2021-03-23T06:40:15.865Z] $ docker stop --time=1 54457956e54e409d6349a3ab0e5c4d5086387bb533fc425ae939269a8281e043 [2021-03-23T06:40:17.488Z] $ docker rm -f 54457956e54e409d6349a3ab0e5c4d5086387bb533fc425ae939269a8281e043 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:40:18.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-23T06:40:18.159Z] . [Pipeline] withDockerContainer [2021-03-23T06:40:18.410Z] prd-centos7-docker-4c-2g-31032 does not seem to be running inside a container [2021-03-23T06:40:18.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-23T06:40:19.551Z] $ docker top af4ff438cd09834198c49c1f42ceabeb367fdc656768cbbf8e4f96cd492d5862 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-23T06:40:19.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-23T06:40:19.882Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-23T06:40:20.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-23T06:40:20.182Z] $ docker exec af4ff438cd09834198c49c1f42ceabeb367fdc656768cbbf8e4f96cd492d5862 ssh-agent [2021-03-23T06:40:20.475Z] SSH_AUTH_SOCK=/tmp/ssh-dzVv1wn5OEat/agent.11 [2021-03-23T06:40:20.475Z] SSH_AGENT_PID=17 [2021-03-23T06:40:20.485Z] Running ssh-add (command line suppressed) [2021-03-23T06:40:20.751Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_151909252133332605.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_151909252133332605.key) [2021-03-23T06:40:21.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-23T06:40:21.517Z] + git semver push [2021-03-23T06:40:21.517Z] # -> Open(): unable to determine branch for HEAD [2021-03-23T06:40:21.517Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-23T06:40:21.517Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-23T06:40:21.517Z] # $SEMVER_REMOTE_NAME = origin [2021-03-23T06:40:21.517Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-23T06:40:21.517Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-23T06:40:21.517Z] # $SEMVER_BRANCH = master [2021-03-23T06:40:21.517Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-23T06:40:26.874Z] $ docker exec --env ******** --env ******** af4ff438cd09834198c49c1f42ceabeb367fdc656768cbbf8e4f96cd492d5862 ssh-agent -k [2021-03-23T06:40:27.078Z] unset SSH_AUTH_SOCK; [2021-03-23T06:40:27.081Z] unset SSH_AGENT_PID; [2021-03-23T06:40:27.081Z] echo Agent pid 17 killed; [2021-03-23T06:40:27.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-23T06:40:28.020Z] + git semver [Pipeline] } [2021-03-23T06:40:28.093Z] $ docker stop --time=1 af4ff438cd09834198c49c1f42ceabeb367fdc656768cbbf8e4f96cd492d5862 [2021-03-23T06:40:29.556Z] $ docker rm -f af4ff438cd09834198c49c1f42ceabeb367fdc656768cbbf8e4f96cd492d5862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-03-23T06:40:31.114Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:40:32.545Z] ---> package-listing.sh [2021-03-23T06:40:32.545Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-23T06:40:32.545Z] ++ facter osfamily [2021-03-23T06:40:32.828Z] + OS_FAMILY=redhat [2021-03-23T06:40:32.828Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-03-23T06:40:32.828Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-23T06:40:32.828Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-23T06:40:32.828Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-23T06:40:32.828Z] + PACKAGES=/tmp/packages_start.txt [2021-03-23T06:40:32.828Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-23T06:40:32.828Z] + PACKAGES=/tmp/packages_end.txt [2021-03-23T06:40:32.828Z] + case "${OS_FAMILY}" in [2021-03-23T06:40:32.828Z] + rpm -qa [2021-03-23T06:40:32.828Z] + sort [2021-03-23T06:40:41.164Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-23T06:40:41.164Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-23T06:40:41.164Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-23T06:40:41.164Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-23T06:40:41.164Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-03-23T06:40:41.164Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2021-03-23T06:40:41.202Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-03-23T06:40:41.541Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:40:42.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T06:40:42.415Z] [2021-03-23T06:40:42.415Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-23T06:40:42.856Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T06:40:42.856Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-23T06:40:42.856Z] df20fa9351a1: Pulling fs layer [2021-03-23T06:40:42.856Z] 36b3adc4ff6f: Pulling fs layer [2021-03-23T06:40:42.856Z] 8ad3a11d3b57: Pulling fs layer [2021-03-23T06:40:42.856Z] 46f8f816bc3b: Pulling fs layer [2021-03-23T06:40:42.856Z] 93b61091891f: Pulling fs layer [2021-03-23T06:40:42.856Z] 93b9cdb0e59b: Pulling fs layer [2021-03-23T06:40:42.856Z] 5e14af77c1be: Pulling fs layer [2021-03-23T06:40:42.856Z] 01666e4c0597: Pulling fs layer [2021-03-23T06:40:42.856Z] aa168da1d23b: Pulling fs layer [2021-03-23T06:40:42.856Z] 93b61091891f: Waiting [2021-03-23T06:40:42.856Z] 93b9cdb0e59b: Waiting [2021-03-23T06:40:42.856Z] 5e14af77c1be: Waiting [2021-03-23T06:40:42.856Z] 01666e4c0597: Waiting [2021-03-23T06:40:42.856Z] aa168da1d23b: Waiting [2021-03-23T06:40:42.856Z] 46f8f816bc3b: Waiting [2021-03-23T06:40:42.856Z] 36b3adc4ff6f: Verifying Checksum [2021-03-23T06:40:42.856Z] 36b3adc4ff6f: Download complete [2021-03-23T06:40:42.856Z] 46f8f816bc3b: Verifying Checksum [2021-03-23T06:40:42.856Z] 46f8f816bc3b: Download complete [2021-03-23T06:40:43.134Z] df20fa9351a1: Verifying Checksum [2021-03-23T06:40:43.134Z] 93b9cdb0e59b: Verifying Checksum [2021-03-23T06:40:43.134Z] 93b9cdb0e59b: Download complete [2021-03-23T06:40:43.134Z] 5e14af77c1be: Verifying Checksum [2021-03-23T06:40:43.134Z] 5e14af77c1be: Download complete [2021-03-23T06:40:43.134Z] 93b61091891f: Download complete [2021-03-23T06:40:43.134Z] 01666e4c0597: Verifying Checksum [2021-03-23T06:40:43.134Z] 01666e4c0597: Download complete [2021-03-23T06:40:43.412Z] 8ad3a11d3b57: Verifying Checksum [2021-03-23T06:40:43.412Z] 8ad3a11d3b57: Download complete [2021-03-23T06:40:43.692Z] df20fa9351a1: Pull complete [2021-03-23T06:40:43.970Z] 36b3adc4ff6f: Pull complete [2021-03-23T06:40:46.032Z] 8ad3a11d3b57: Pull complete [2021-03-23T06:40:46.330Z] 46f8f816bc3b: Pull complete [2021-03-23T06:40:47.507Z] aa168da1d23b: Verifying Checksum [2021-03-23T06:40:47.507Z] aa168da1d23b: Download complete [2021-03-23T06:40:47.507Z] 93b61091891f: Pull complete [2021-03-23T06:40:47.782Z] 93b9cdb0e59b: Pull complete [2021-03-23T06:40:48.070Z] 5e14af77c1be: Pull complete [2021-03-23T06:40:48.348Z] 01666e4c0597: Pull complete [2021-03-23T06:41:00.789Z] aa168da1d23b: Pull complete [2021-03-23T06:41:00.789Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-23T06:41:00.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-23T06:41:00.789Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-23T06:41:01.021Z] prd-centos7-docker-4c-2g-31032 does not seem to be running inside a container [2021-03-23T06:41:01.091Z] $ 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_master/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_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-23T06:41:05.614Z] $ docker top 8f870fe7553a8c06ad64e0ec0dded16d23aae7476eee5e224e8688101970672c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-23T06:41:06.323Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-23T06:41:06.706Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-23T06:41:07.625Z] + ls /var/log/sa-host [2021-03-23T06:41:07.625Z] + sadf -c /var/log/sa-host/sa23 [2021-03-23T06:41:07.625Z] file_magic: OK [2021-03-23T06:41:07.625Z] HZ: Using current value: 100 [2021-03-23T06:41:07.625Z] file_header: OK [2021-03-23T06:41:07.625Z] 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-03-23T06:41:07.625Z] Statistics: [2021-03-23T06:41:07.626Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-23T06:41:07.626Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-23T06:41:07.851Z] provisioning config files... [2021-03-23T06:41:07.877Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2621720687165128166tmp [Pipeline] { [Pipeline] echo [2021-03-23T06:41:07.966Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:41:08.303Z] ---> create-netrc.sh [Pipeline] } [2021-03-23T06:41:08.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-23T06:41:08.404Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:41:08.728Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-23T06:41:08.791Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:41:09.262Z] ---> sudo-logs.sh [2021-03-23T06:41:09.262Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-23T06:41:09.359Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:41:09.795Z] ---> job-cost.sh [2021-03-23T06:41:10.063Z] lf-activate-venv: SKIPPING [2021-03-23T06:41:10.063Z] DEBUG: total: 0.20999999344348907 [2021-03-23T06:41:10.063Z] INFO: Retrieving Stack Cost... [2021-03-23T06:41:11.031Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-23T06:41:11.613Z] INFO: Archiving Costs [Pipeline] echo [2021-03-23T06:41:11.632Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-23T06:41:11.947Z] ---> logs-deploy.sh [2021-03-23T06:41:11.947Z] lf-activate-venv: SKIPPING [2021-03-23T06:41:11.947Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/132 [2021-03-23T06:41:11.947Z] INFO: archiving workspace using pattern(s): [2021-03-23T06:41:14.597Z] Archives upload complete. [2021-03-23T06:41:14.866Z] INFO: archiving logs to Nexus