Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3f52f3a581500e7b2ce611731b922cb421169e9f 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-29791 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 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 Checking out Revision 3f52f3a581500e7b2ce611731b922cb421169e9f (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 Commit message: "feat: validate set command parameters against maximum/minimum and refactor transformer package (#813)" > git rev-list --no-walk 3a78cb9bf8b7553c4c832ded1e5b92bc4e1fc828 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-15T06:55:35.473Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-15T06:55:35.787Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-15T06:55:35.909Z] ========================================================= [2021-03-15T06:55:35.909Z] EdgeX Global Pipelines Version Info [2021-03-15T06:55:35.909Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-15T06:55:37.423Z] ------------------- [2021-03-15T06:55:37.423Z] stable info: [2021-03-15T06:55:37.423Z] ------------------- [2021-03-15T06:55:37.423Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-15T06:55:37.423Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T06:55:37.423Z] Message: update stable to v1.0.184 [2021-03-15T06:55:38.370Z] ------------------- [2021-03-15T06:55:38.370Z] experimental info: [2021-03-15T06:55:38.370Z] ------------------- [2021-03-15T06:55:38.370Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-15T06:55:38.370Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-15T06:55:38.370Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-15T06:55:38.683Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-15T06:55:38.793Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-15T06:55:38.948Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-15T06:55:39.058Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-15T06:55:39.165Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-15T06:55:39.340Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-15T06:55:39.534Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-15T06:55:39.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-15T06:55:39.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-15T06:55:39.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-15T06:55:39.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-15T06:55:40.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-15T06:55:40.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-15T06:55:40.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-15T06:55:40.418Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-15T06:55:40.520Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T06:55:40.622Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T06:55:40.748Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-15T06:55:40.877Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-15T06:55:40.984Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-15T06:55:41.088Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-15T06:55:41.211Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-15T06:55:41.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-15T06:55:41.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-15T06:55:41.557Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-15T06:55:41.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-15T06:55:41.801Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-15T06:55:41.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-15T06:55:42.060Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-15T06:55:42.185Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f52f3a581500e7b2ce611731b922cb421169e9f [Pipeline] echo [2021-03-15T06:55:42.310Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f52f3a [Pipeline] echo [2021-03-15T06:55:42.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T06:55:42.734Z] provisioning config files... [2021-03-15T06:55:42.782Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3664398709955067414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T06:55:43.158Z] ---> docker-login.sh [2021-03-15T06:55:43.159Z] nexus3.edgexfoundry.org:10001 [2021-03-15T06:55:43.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:55:43.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:55:43.683Z] Configure a credential helper to remove this warning. See [2021-03-15T06:55:43.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:55:43.683Z] [2021-03-15T06:55:43.683Z] Login Succeeded [2021-03-15T06:55:43.683Z] nexus3.edgexfoundry.org:10002 [2021-03-15T06:55:43.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:55:43.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:55:43.683Z] Configure a credential helper to remove this warning. See [2021-03-15T06:55:43.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:55:43.683Z] [2021-03-15T06:55:43.683Z] Login Succeeded [2021-03-15T06:55:43.946Z] nexus3.edgexfoundry.org:10003 [2021-03-15T06:55:43.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:55:43.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:55:43.946Z] Configure a credential helper to remove this warning. See [2021-03-15T06:55:43.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:55:43.947Z] [2021-03-15T06:55:43.947Z] Login Succeeded [2021-03-15T06:55:43.947Z] nexus3.edgexfoundry.org:10004 [2021-03-15T06:55:44.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:55:44.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:55:44.210Z] Configure a credential helper to remove this warning. See [2021-03-15T06:55:44.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:55:44.210Z] [2021-03-15T06:55:44.210Z] Login Succeeded [2021-03-15T06:55:44.210Z] docker.io [2021-03-15T06:55:44.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:55:44.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:55:44.784Z] Configure a credential helper to remove this warning. See [2021-03-15T06:55:44.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:55:44.784Z] [2021-03-15T06:55:44.784Z] Login Succeeded [2021-03-15T06:55:44.784Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T06:55:44.794Z] 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-15T06:55:45.708Z] + git log --format=format:%s -1 3f52f3a581500e7b2ce611731b922cb421169e9f [Pipeline] echo [2021-03-15T06:55:45.770Z] GIT_COMMIT: 3f52f3a581500e7b2ce611731b922cb421169e9f, Commit Message: feat: validate set command parameters against maximum/minimum and refactor transformer package (#813) [Pipeline] echo [2021-03-15T06:55:45.822Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-15T06:55:46.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T06:55:46.832Z] [2021-03-15T06:55:46.832Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T06:55:47.178Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T06:55:47.178Z] latest: Pulling from edgex-devops/git-semver [2021-03-15T06:55:47.178Z] 31603596830f: Pulling fs layer [2021-03-15T06:55:47.178Z] 2a8b12db71e7: Pulling fs layer [2021-03-15T06:55:47.178Z] 6ca5941a6612: Pulling fs layer [2021-03-15T06:55:47.178Z] ecc8261a40a4: Pulling fs layer [2021-03-15T06:55:47.178Z] ecc8261a40a4: Waiting [2021-03-15T06:55:47.178Z] 2a8b12db71e7: Verifying Checksum [2021-03-15T06:55:47.178Z] 2a8b12db71e7: Download complete [2021-03-15T06:55:47.178Z] 31603596830f: Verifying Checksum [2021-03-15T06:55:47.178Z] 31603596830f: Download complete [2021-03-15T06:55:47.443Z] ecc8261a40a4: Verifying Checksum [2021-03-15T06:55:47.444Z] ecc8261a40a4: Download complete [2021-03-15T06:55:47.444Z] 6ca5941a6612: Verifying Checksum [2021-03-15T06:55:47.444Z] 6ca5941a6612: Download complete [2021-03-15T06:55:47.705Z] 31603596830f: Pull complete [2021-03-15T06:55:47.705Z] 2a8b12db71e7: Pull complete [2021-03-15T06:55:48.675Z] 6ca5941a6612: Pull complete [2021-03-15T06:55:48.938Z] ecc8261a40a4: Pull complete [2021-03-15T06:55:48.938Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-15T06:55:48.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T06:55:48.938Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-15T06:55:49.056Z] prd-centos7-docker-4c-2g-29791 does not seem to be running inside a container [2021-03-15T06:55:49.102Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-15T06:55:51.453Z] $ docker top a1361eb2da369c5f62a4b0d617719bf9b33a389b23229a268ce69ba418616967 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T06:55:51.801Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T06:55:51.801Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T06:55:52.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T06:55:52.025Z] $ docker exec a1361eb2da369c5f62a4b0d617719bf9b33a389b23229a268ce69ba418616967 ssh-agent [2021-03-15T06:55:52.204Z] SSH_AUTH_SOCK=/tmp/ssh-DRuwQBVxLyyj/agent.11 [2021-03-15T06:55:52.204Z] SSH_AGENT_PID=17 [2021-03-15T06:55:52.213Z] Running ssh-add (command line suppressed) [2021-03-15T06:55:52.340Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7957960295690351468.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7957960295690351468.key) [2021-03-15T06:55:52.393Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T06:55:52.732Z] + git tag --points-at HEAD [Pipeline] } [2021-03-15T06:55:52.754Z] $ docker exec --env ******** --env ******** a1361eb2da369c5f62a4b0d617719bf9b33a389b23229a268ce69ba418616967 ssh-agent -k [2021-03-15T06:55:52.876Z] unset SSH_AUTH_SOCK; [2021-03-15T06:55:52.876Z] unset SSH_AGENT_PID; [2021-03-15T06:55:52.876Z] echo Agent pid 17 killed; [2021-03-15T06:55:52.924Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-15T06:55:53.119Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T06:55:53.119Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T06:55:53.281Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T06:55:53.285Z] $ docker exec a1361eb2da369c5f62a4b0d617719bf9b33a389b23229a268ce69ba418616967 ssh-agent [2021-03-15T06:55:53.449Z] SSH_AUTH_SOCK=/tmp/ssh-CE6WAfMBye9L/agent.45 [2021-03-15T06:55:53.449Z] SSH_AGENT_PID=50 [2021-03-15T06:55:53.455Z] Running ssh-add (command line suppressed) [2021-03-15T06:55:53.571Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7575130725811879317.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7575130725811879317.key) [2021-03-15T06:55:53.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T06:55:53.962Z] + git semver init [2021-03-15T06:55:53.962Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T06:55:53.962Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-15T06:55:53.962Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T06:55:53.962Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T06:55:53.962Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T06:55:53.962Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T06:55:53.962Z] # $SEMVER_BRANCH = master [2021-03-15T06:55:53.962Z] # $SEMVER_TEMP = /tmp/semver-753067177 [2021-03-15T06:55:53.962Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-15T06:55:54.535Z] # '/tmp/semver-753067177' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-03-15T06:55:54.536Z] # -> Force: false [2021-03-15T06:55:54.536Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-15T06:55:54.548Z] $ docker exec --env ******** --env ******** a1361eb2da369c5f62a4b0d617719bf9b33a389b23229a268ce69ba418616967 ssh-agent -k [2021-03-15T06:55:54.670Z] unset SSH_AUTH_SOCK; [2021-03-15T06:55:54.670Z] unset SSH_AGENT_PID; [2021-03-15T06:55:54.670Z] echo Agent pid 50 killed; [2021-03-15T06:55:54.721Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T06:55:55.220Z] + git semver [Pipeline] } [2021-03-15T06:55:55.237Z] $ docker stop --time=1 a1361eb2da369c5f62a4b0d617719bf9b33a389b23229a268ce69ba418616967 [2021-03-15T06:55:56.616Z] $ docker rm -f a1361eb2da369c5f62a4b0d617719bf9b33a389b23229a268ce69ba418616967 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T06:55:57.115Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-15T06:55:57.528Z] Stashed 1 file(s) [Pipeline] echo [2021-03-15T06:55:57.531Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.20 [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-15T06:56:13.072Z] Still waiting to schedule task [2021-03-15T06:56:13.072Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-29791’ [2021-03-15T06:56:13.074Z] Still waiting to schedule task [2021-03-15T06:56:13.074Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-15T06:57:59.092Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-29792 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-15T06:57:59.210Z] Running in /w/workspace/device-sdk-go/125 [Pipeline] { [Pipeline] checkout [2021-03-15T06:58:04.415Z] using credential edgex-jenkins-ssh [2021-03-15T06:58:04.498Z] Cloning the remote Git repository [2021-03-15T06:58:04.565Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T06:58:04.686Z] > git init /w/workspace/device-sdk-go/125 # timeout=10 [2021-03-15T06:58:04.772Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T06:58:04.773Z] > git --version # timeout=10 [2021-03-15T06:58:04.794Z] > git --version # 'git version 2.17.1' [2021-03-15T06:58:04.797Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T06:58:04.891Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T06:58:06.608Z] Checking out Revision 3f52f3a581500e7b2ce611731b922cb421169e9f (master) [2021-03-15T06:58:06.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T06:58:06.049Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T06:58:06.074Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T06:58:06.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T06:58:06.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T06:58:06.121Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T06:58:06.626Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T06:58:06.647Z] > git checkout -f 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 [2021-03-15T06:58:11.098Z] Commit message: "feat: validate set command parameters against maximum/minimum and refactor transformer package (#813)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T06:58:12.707Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-15T06:58:13.120Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T06:58:13.468Z] + sudo service docker restart [2021-03-15T06:58:13.468Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T06:58:16.175Z] provisioning config files... [2021-03-15T06:58:16.217Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/125@tmp/config3631608204577029019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T06:58:16.745Z] ---> docker-login.sh [2021-03-15T06:58:16.745Z] nexus3.edgexfoundry.org:10001 [2021-03-15T06:58:17.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:58:18.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:58:18.014Z] Configure a credential helper to remove this warning. See [2021-03-15T06:58:18.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:58:18.014Z] [2021-03-15T06:58:18.014Z] Login Succeeded [2021-03-15T06:58:18.014Z] nexus3.edgexfoundry.org:10002 [2021-03-15T06:58:18.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:58:18.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:58:18.574Z] Configure a credential helper to remove this warning. See [2021-03-15T06:58:18.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:58:18.574Z] [2021-03-15T06:58:18.574Z] Login Succeeded [2021-03-15T06:58:18.574Z] nexus3.edgexfoundry.org:10003 [2021-03-15T06:58:18.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:58:19.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:58:19.123Z] Configure a credential helper to remove this warning. See [2021-03-15T06:58:19.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:58:19.123Z] [2021-03-15T06:58:19.123Z] Login Succeeded [2021-03-15T06:58:19.123Z] nexus3.edgexfoundry.org:10004 [2021-03-15T06:58:19.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:58:19.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:58:19.681Z] Configure a credential helper to remove this warning. See [2021-03-15T06:58:19.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:58:19.681Z] [2021-03-15T06:58:19.681Z] Login Succeeded [2021-03-15T06:58:19.681Z] docker.io [2021-03-15T06:58:19.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:58:20.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:58:20.231Z] Configure a credential helper to remove this warning. See [2021-03-15T06:58:20.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:58:20.231Z] [2021-03-15T06:58:20.231Z] Login Succeeded [2021-03-15T06:58:20.503Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T06:58:20.524Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T06:58:21.036Z] ========================================================= [2021-03-15T06:58:21.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-15T06:58:21.036Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T06:58:21.471Z] + 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-15T06:58:21.757Z] Sending build context to Docker daemon 2.235MB [2021-03-15T06:58:21.757Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T06:58:21.757Z] Step 2/8 : FROM ${BASE} [2021-03-15T06:58:22.033Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-15T06:58:22.033Z] 5f621e34cdf4: Pulling fs layer [2021-03-15T06:58:22.033Z] a4357932f1b6: Pulling fs layer [2021-03-15T06:58:22.033Z] 18c013af1878: Pulling fs layer [2021-03-15T06:58:22.033Z] 00ac8860ef70: Pulling fs layer [2021-03-15T06:58:22.033Z] 63d7cb157983: Pulling fs layer [2021-03-15T06:58:22.033Z] b116817d02f9: Pulling fs layer [2021-03-15T06:58:22.033Z] 745a02a5169b: Pulling fs layer [2021-03-15T06:58:22.033Z] 63d7cb157983: Waiting [2021-03-15T06:58:22.033Z] b116817d02f9: Waiting [2021-03-15T06:58:22.033Z] 00ac8860ef70: Waiting [2021-03-15T06:58:22.033Z] 745a02a5169b: Waiting [2021-03-15T06:58:22.033Z] 18c013af1878: Download complete [2021-03-15T06:58:22.033Z] a4357932f1b6: Verifying Checksum [2021-03-15T06:58:22.033Z] a4357932f1b6: Download complete [2021-03-15T06:58:22.033Z] 63d7cb157983: Verifying Checksum [2021-03-15T06:58:22.033Z] 63d7cb157983: Download complete [2021-03-15T06:58:22.033Z] b116817d02f9: Verifying Checksum [2021-03-15T06:58:22.033Z] b116817d02f9: Download complete [2021-03-15T06:58:22.033Z] 5f621e34cdf4: Verifying Checksum [2021-03-15T06:58:22.033Z] 5f621e34cdf4: Download complete [2021-03-15T06:58:22.640Z] 5f621e34cdf4: Pull complete [2021-03-15T06:58:23.242Z] a4357932f1b6: Pull complete [2021-03-15T06:58:23.517Z] 18c013af1878: Pull complete [2021-03-15T06:58:24.496Z] 745a02a5169b: Verifying Checksum [2021-03-15T06:58:24.496Z] 745a02a5169b: Download complete [2021-03-15T06:58:25.474Z] 00ac8860ef70: Verifying Checksum [2021-03-15T06:58:25.474Z] 00ac8860ef70: Download complete [2021-03-15T06:58:35.655Z] 00ac8860ef70: Pull complete [2021-03-15T06:58:35.655Z] 63d7cb157983: Pull complete [2021-03-15T06:58:35.655Z] b116817d02f9: Pull complete [2021-03-15T06:58:39.076Z] 745a02a5169b: Pull complete [2021-03-15T06:58:39.076Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-15T06:58:39.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-15T06:58:39.076Z] ---> b7e6874047d6 [2021-03-15T06:58:39.076Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T06:58:41.730Z] ---> Running in b7d90567b211 [2021-03-15T06:58:42.326Z] Removing intermediate container b7d90567b211 [2021-03-15T06:58:42.326Z] ---> 230776c7915e [2021-03-15T06:58:42.326Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T06:58:42.326Z] ---> Running in 69af01fc23f0 [2021-03-15T06:58:44.983Z] Removing intermediate container 69af01fc23f0 [2021-03-15T06:58:44.983Z] ---> 07de2d9bedb8 [2021-03-15T06:58:44.983Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T06:58:44.983Z] ---> Running in fc175441a515 [2021-03-15T06:58:45.976Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T06:58:46.571Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T06:58:47.171Z] OK: 142 MiB in 39 packages [2021-03-15T06:58:48.623Z] Removing intermediate container fc175441a515 [2021-03-15T06:58:48.623Z] ---> 50683b75c3ec [2021-03-15T06:58:48.623Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T06:58:48.623Z] ---> Running in 7d1cc446d27b [2021-03-15T06:58:48.997Z] Running on prd-centos7-docker-4c-2g-29793 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-15T06:58:49.087Z] Running in /w/workspace/device-sdk-go/125 [Pipeline] { [Pipeline] checkout [2021-03-15T06:58:49.229Z] Removing intermediate container 7d1cc446d27b [2021-03-15T06:58:49.229Z] ---> 26fcf5c640f9 [2021-03-15T06:58:49.229Z] Step 7/8 : COPY . . [2021-03-15T06:58:50.229Z] ---> 7d9ef620d301 [2021-03-15T06:58:50.229Z] Step 8/8 : RUN go mod download [2021-03-15T06:58:50.501Z] ---> Running in 4b149e42e5ad [2021-03-15T06:58:51.752Z] using credential edgex-jenkins-ssh [2021-03-15T06:58:51.811Z] Cloning the remote Git repository [2021-03-15T06:58:51.839Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T06:58:51.905Z] > git init /w/workspace/device-sdk-go/125 # timeout=10 [2021-03-15T06:58:51.969Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T06:58:51.969Z] > git --version # timeout=10 [2021-03-15T06:58:51.976Z] > git --version # 'git version 2.24.3' [2021-03-15T06:58:51.977Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T06:58:52.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T06:58:53.194Z] Checking out Revision 3f52f3a581500e7b2ce611731b922cb421169e9f (master) [2021-03-15T06:58:52.785Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T06:58:52.790Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-15T06:58:52.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-15T06:58:52.820Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-15T06:58:52.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-15T06:58:52.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-15T06:58:53.203Z] > git config core.sparsecheckout # timeout=10 [2021-03-15T06:58:53.208Z] > git checkout -f 3f52f3a581500e7b2ce611731b922cb421169e9f # timeout=10 [2021-03-15T06:58:56.920Z] Commit message: "feat: validate set command parameters against maximum/minimum and refactor transformer package (#813)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T06:58:58.070Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-15T06:58:58.395Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-15T06:58:58.702Z] + sudo service docker restart [2021-03-15T06:58:58.702Z] + true [2021-03-15T06:58:58.702Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-15T06:58:59.715Z] provisioning config files... [2021-03-15T06:58:59.756Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/125@tmp/config1455613013162348562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T06:59:00.166Z] ---> docker-login.sh [2021-03-15T06:59:00.166Z] nexus3.edgexfoundry.org:10001 [2021-03-15T06:59:00.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:59:00.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:59:00.434Z] Configure a credential helper to remove this warning. See [2021-03-15T06:59:00.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:59:00.434Z] [2021-03-15T06:59:00.434Z] Login Succeeded [2021-03-15T06:59:00.434Z] nexus3.edgexfoundry.org:10002 [2021-03-15T06:59:00.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:59:00.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:59:00.699Z] Configure a credential helper to remove this warning. See [2021-03-15T06:59:00.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:59:00.699Z] [2021-03-15T06:59:00.699Z] Login Succeeded [2021-03-15T06:59:00.699Z] nexus3.edgexfoundry.org:10003 [2021-03-15T06:59:00.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:59:00.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:59:00.969Z] Configure a credential helper to remove this warning. See [2021-03-15T06:59:00.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:59:00.969Z] [2021-03-15T06:59:00.969Z] Login Succeeded [2021-03-15T06:59:00.969Z] nexus3.edgexfoundry.org:10004 [2021-03-15T06:59:00.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:59:00.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:59:00.969Z] Configure a credential helper to remove this warning. See [2021-03-15T06:59:00.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:59:00.969Z] [2021-03-15T06:59:00.969Z] Login Succeeded [2021-03-15T06:59:00.969Z] docker.io [2021-03-15T06:59:01.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-15T06:59:01.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-15T06:59:01.495Z] Configure a credential helper to remove this warning. See [2021-03-15T06:59:01.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-15T06:59:01.495Z] [2021-03-15T06:59:01.495Z] Login Succeeded [2021-03-15T06:59:01.495Z] ---> docker-login.sh ends [Pipeline] } [2021-03-15T06:59:01.505Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-15T06:59:01.918Z] ========================================================= [2021-03-15T06:59:01.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-15T06:59:01.918Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-15T06:59:02.267Z] + 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-15T06:59:02.267Z] Sending build context to Docker daemon 2.245MB [2021-03-15T06:59:02.267Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T06:59:02.267Z] Step 2/8 : FROM ${BASE} [2021-03-15T06:59:02.530Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-15T06:59:02.530Z] 188c0c94c7c5: Pulling fs layer [2021-03-15T06:59:02.530Z] 0ef7d3d256c8: Pulling fs layer [2021-03-15T06:59:02.530Z] de9db76c5a1d: Pulling fs layer [2021-03-15T06:59:02.530Z] bca2f99d35d6: Pulling fs layer [2021-03-15T06:59:02.530Z] 93359f2a8cfa: Pulling fs layer [2021-03-15T06:59:02.530Z] 7c6f9722023f: Pulling fs layer [2021-03-15T06:59:02.530Z] a35cf1a2eb13: Pulling fs layer [2021-03-15T06:59:02.530Z] bca2f99d35d6: Waiting [2021-03-15T06:59:02.530Z] 7c6f9722023f: Waiting [2021-03-15T06:59:02.530Z] 93359f2a8cfa: Waiting [2021-03-15T06:59:02.530Z] a35cf1a2eb13: Waiting [2021-03-15T06:59:02.530Z] de9db76c5a1d: Download complete [2021-03-15T06:59:02.530Z] 0ef7d3d256c8: Verifying Checksum [2021-03-15T06:59:02.530Z] 0ef7d3d256c8: Download complete [2021-03-15T06:59:02.530Z] 93359f2a8cfa: Verifying Checksum [2021-03-15T06:59:02.530Z] 93359f2a8cfa: Download complete [2021-03-15T06:59:02.530Z] 7c6f9722023f: Download complete [2021-03-15T06:59:02.530Z] 188c0c94c7c5: Verifying Checksum [2021-03-15T06:59:02.530Z] 188c0c94c7c5: Download complete [2021-03-15T06:59:02.795Z] 188c0c94c7c5: Pull complete [2021-03-15T06:59:03.057Z] 0ef7d3d256c8: Pull complete [2021-03-15T06:59:03.057Z] de9db76c5a1d: Pull complete [2021-03-15T06:59:04.457Z] a35cf1a2eb13: Verifying Checksum [2021-03-15T06:59:05.036Z] bca2f99d35d6: Download complete [2021-03-15T06:59:10.401Z] bca2f99d35d6: Pull complete [2021-03-15T06:59:10.401Z] 93359f2a8cfa: Pull complete [2021-03-15T06:59:10.401Z] 7c6f9722023f: Pull complete [2021-03-15T06:59:14.665Z] a35cf1a2eb13: Pull complete [2021-03-15T06:59:14.665Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-15T06:59:14.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-15T06:59:14.665Z] ---> a62c8e92a672 [2021-03-15T06:59:14.665Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T06:59:14.665Z] ---> Running in 997c2434f31a [2021-03-15T06:59:14.665Z] Removing intermediate container 997c2434f31a [2021-03-15T06:59:14.665Z] ---> 8e07421234de [2021-03-15T06:59:14.665Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T06:59:14.665Z] ---> Running in 4203b9954eb1 [2021-03-15T06:59:15.632Z] Removing intermediate container 4203b9954eb1 [2021-03-15T06:59:15.632Z] ---> 307b4f94148d [2021-03-15T06:59:15.632Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-15T06:59:15.632Z] ---> Running in b65cad66ba56 [2021-03-15T06:59:16.599Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T06:59:17.184Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T06:59:17.350Z] Removing intermediate container 4b149e42e5ad [2021-03-15T06:59:17.350Z] ---> 599930af3f94 [2021-03-15T06:59:17.350Z] Successfully built 599930af3f94 [2021-03-15T06:59:17.350Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T06:59:17.698Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T06:59:17.698Z] . [Pipeline] withDockerContainer [2021-03-15T06:59:17.767Z] OK: 166 MiB in 39 packages [2021-03-15T06:59:17.970Z] prd-ubuntu18.04-docker-arm64-4c-16g-29792 does not seem to be running inside a container [2021-03-15T06:59:18.029Z] Removing intermediate container b65cad66ba56 [2021-03-15T06:59:18.029Z] ---> dce52a493b89 [2021-03-15T06:59:18.029Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-15T06:59:18.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/125 -v /w/workspace/device-sdk-go/125:/w/workspace/device-sdk-go/125:rw,z -v /w/workspace/device-sdk-go/125@tmp:/w/workspace/device-sdk-go/125@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-15T06:59:18.292Z] ---> Running in 1862fc2f61f7 [2021-03-15T06:59:18.292Z] Removing intermediate container 1862fc2f61f7 [2021-03-15T06:59:18.292Z] ---> 390c164fef7b [2021-03-15T06:59:18.292Z] Step 7/8 : COPY . . [2021-03-15T06:59:19.605Z] $ docker top 14870f3c737a0782e63b5f75e702ae667a379fb03b52a0d01756103661183096 -eo pid,comm [2021-03-15T06:59:19.692Z] ---> be7e53543677 [2021-03-15T06:59:19.692Z] Step 8/8 : RUN go mod download [2021-03-15T06:59:19.692Z] ---> Running in 2d789020b0d9 [Pipeline] { [Pipeline] sh [2021-03-15T06:59:20.646Z] + go version [2021-03-15T06:59:20.646Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-15T06:59:20.666Z] $ docker stop --time=1 14870f3c737a0782e63b5f75e702ae667a379fb03b52a0d01756103661183096 [2021-03-15T06:59:22.668Z] $ docker rm -f 14870f3c737a0782e63b5f75e702ae667a379fb03b52a0d01756103661183096 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T06:59:23.884Z] + docker inspect -f . ci-base-image-arm64 [2021-03-15T06:59:23.884Z] . [Pipeline] withDockerContainer [2021-03-15T06:59:24.145Z] prd-ubuntu18.04-docker-arm64-4c-16g-29792 does not seem to be running inside a container [2021-03-15T06:59:24.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/125 -v /w/workspace/device-sdk-go/125:/w/workspace/device-sdk-go/125:rw,z -v /w/workspace/device-sdk-go/125@tmp:/w/workspace/device-sdk-go/125@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-15T06:59:25.742Z] $ docker top 32ad482e990a3847b4984bdfcb34e69b887bb9b30947ba5b00bfd08607b3e1ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T06:59:26.785Z] + make test [2021-03-15T06:59:26.785Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T06:59:41.740Z] Removing intermediate container 2d789020b0d9 [2021-03-15T06:59:41.740Z] ---> fc1652d9bf27 [2021-03-15T06:59:41.740Z] Successfully built fc1652d9bf27 [2021-03-15T06:59:41.740Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-15T06:59:42.067Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T06:59:42.068Z] . [Pipeline] withDockerContainer [2021-03-15T06:59:42.196Z] prd-centos7-docker-4c-2g-29793 does not seem to be running inside a container [2021-03-15T06:59:42.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/125 -v /w/workspace/device-sdk-go/125:/w/workspace/device-sdk-go/125:rw,z -v /w/workspace/device-sdk-go/125@tmp:/w/workspace/device-sdk-go/125@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-15T06:59:42.987Z] $ docker top 7ce1fcf6f76c936073755722a4ad2796ee494c403611b6c17fbd912583ede5ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T06:59:43.529Z] + go version [2021-03-15T06:59:43.529Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-15T06:59:43.544Z] $ docker stop --time=1 7ce1fcf6f76c936073755722a4ad2796ee494c403611b6c17fbd912583ede5ee [2021-03-15T06:59:44.892Z] $ docker rm -f 7ce1fcf6f76c936073755722a4ad2796ee494c403611b6c17fbd912583ede5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T06:59:45.768Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-15T06:59:45.768Z] . [Pipeline] withDockerContainer [2021-03-15T06:59:45.864Z] prd-centos7-docker-4c-2g-29793 does not seem to be running inside a container [2021-03-15T06:59:45.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/125 -v /w/workspace/device-sdk-go/125:/w/workspace/device-sdk-go/125:rw,z -v /w/workspace/device-sdk-go/125@tmp:/w/workspace/device-sdk-go/125@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-15T06:59:46.604Z] $ docker top cee94c13d09e5f030448f98ad881a9acd9eb43dfa452d347b07ea2fbfd6cf126 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T06:59:47.114Z] + make test [2021-03-15T06:59:47.114Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-15T06:59:49.006Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T06:59:54.078Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-15T07:00:09.089Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T07:00:09.089Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T07:00:09.089Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T07:00:11.677Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 25.5% of statements [2021-03-15T07:00:36.047Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-15T07:00:36.047Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-15T07:00:36.047Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-15T07:00:36.047Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 25.5% of statements [2021-03-15T07:00:43.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.051s coverage: 10.5% of statements [2021-03-15T07:00:43.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.050s coverage: 12.5% of statements [2021-03-15T07:00:43.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T07:00:43.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.075s coverage: 84.8% of statements [2021-03-15T07:00:43.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T07:00:43.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T07:00:43.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T07:00:43.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.110s coverage: 57.3% of statements [2021-03-15T07:00:43.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T07:00:43.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.077s coverage: 81.3% of statements [2021-03-15T07:00:43.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.081s coverage: 24.8% of statements [2021-03-15T07:00:43.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.124s coverage: 6.4% of statements [2021-03-15T07:00:43.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 5.2% of statements [2021-03-15T07:00:43.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T07:00:43.845Z] GO111MODULE=on go vet ./... [2021-03-15T07:00:50.516Z] gofmt -l . [2021-03-15T07:00:50.516Z] [ "`gofmt -l .`" = "" ] [2021-03-15T07:00:50.516Z] ./bin/test-attribution-txt.sh [2021-03-15T07:00:51.096Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T07:00:51.377Z] $ docker stop --time=1 cee94c13d09e5f030448f98ad881a9acd9eb43dfa452d347b07ea2fbfd6cf126 [2021-03-15T07:00:53.424Z] $ docker rm -f cee94c13d09e5f030448f98ad881a9acd9eb43dfa452d347b07ea2fbfd6cf126 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T07:00:54.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T07:00:54.527Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-15T07:00:57.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T07:00:57.719Z] + ls -al . [2021-03-15T07:00:57.719Z] total 188 [2021-03-15T07:00:57.719Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 15 07:00 . [2021-03-15T07:00:57.719Z] drwxrwxr-x. 4 jenkins jenkins 32 Mar 15 06:58 .. [2021-03-15T07:00:57.719Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 15 06:58 bin [2021-03-15T07:00:57.719Z] -rw-r--r--. 1 jenkins jenkins 103669 Mar 15 07:00 coverage.out [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 15 06:58 Dockerfile.build [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 15 06:58 .dockerignore [2021-03-15T07:00:57.719Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 15 06:58 example [2021-03-15T07:00:57.719Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 15 06:58 .git [2021-03-15T07:00:57.719Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 15 06:58 .github [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 15 06:58 .gitignore [2021-03-15T07:00:57.719Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 15 07:00 go.mod [2021-03-15T07:00:57.719Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 15 07:00 go.sum [2021-03-15T07:00:57.719Z] drwxrwxr-x. 12 jenkins jenkins 171 Mar 15 06:58 internal [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 15 06:58 Jenkinsfile [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 15 06:58 LICENSE [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 15 06:58 Makefile [2021-03-15T07:00:57.719Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 15 06:58 openapi [2021-03-15T07:00:57.719Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 15 06:58 pkg [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 15 06:58 README.md [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 15 06:58 RELEASE-NOTES.txt [2021-03-15T07:00:57.719Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 15 06:58 snap [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 15 06:55 VERSION [2021-03-15T07:00:57.719Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 15 06:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:00:58.029Z] + 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=3f52f3a581500e7b2ce611731b922cb421169e9f --label arch=amd64 --label version=2.0.0-dev.20 . [2021-03-15T07:00:58.291Z] Sending build context to Docker daemon 2.349MB [2021-03-15T07:00:58.291Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T07:00:58.291Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T07:00:58.291Z] ---> fc1652d9bf27 [2021-03-15T07:00:58.291Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T07:00:58.555Z] ---> Running in 0193d2f84e62 [2021-03-15T07:00:58.817Z] Removing intermediate container 0193d2f84e62 [2021-03-15T07:00:58.817Z] ---> 7b5b68ce6b21 [2021-03-15T07:00:58.817Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T07:00:58.817Z] ---> Running in 91cf367784a3 [2021-03-15T07:00:59.080Z] Removing intermediate container 91cf367784a3 [2021-03-15T07:00:59.080Z] ---> ccd1dd0b5108 [2021-03-15T07:00:59.080Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:00:59.080Z] ---> Running in eea324464e74 [2021-03-15T07:00:59.344Z] Removing intermediate container eea324464e74 [2021-03-15T07:00:59.344Z] ---> 37bb49a88754 [2021-03-15T07:00:59.344Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T07:00:59.344Z] ---> Running in e843a46ee1e2 [2021-03-15T07:01:00.293Z] Removing intermediate container e843a46ee1e2 [2021-03-15T07:01:00.293Z] ---> c651bc3274c5 [2021-03-15T07:01:00.293Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T07:01:00.293Z] ---> Running in 91920a04ff49 [2021-03-15T07:01:00.556Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-15T07:01:01.134Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-15T07:01:01.712Z] OK: 166 MiB in 39 packages [2021-03-15T07:01:02.293Z] Removing intermediate container 91920a04ff49 [2021-03-15T07:01:02.293Z] ---> 53e40009d63b [2021-03-15T07:01:02.293Z] Step 8/24 : COPY . . [2021-03-15T07:01:02.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.149s coverage: 10.5% of statements [2021-03-15T07:01:02.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.137s coverage: 12.5% of statements [2021-03-15T07:01:02.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-15T07:01:02.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.150s coverage: 84.8% of statements [2021-03-15T07:01:02.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-03-15T07:01:02.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-15T07:01:02.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-15T07:01:02.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.262s coverage: 57.3% of statements [2021-03-15T07:01:02.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-03-15T07:01:02.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.152s coverage: 81.3% of statements [2021-03-15T07:01:02.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.170s coverage: 24.8% of statements [2021-03-15T07:01:02.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.903s coverage: 6.4% of statements [2021-03-15T07:01:02.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 5.2% of statements [2021-03-15T07:01:02.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-15T07:01:02.835Z] GO111MODULE=on go vet ./... [2021-03-15T07:01:03.244Z] ---> 7e856794ee7c [2021-03-15T07:01:03.244Z] Step 9/24 : RUN ${MAKE} [2021-03-15T07:01:03.244Z] ---> Running in 432d6fdb2ac4 [2021-03-15T07:01:03.832Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-15T07:01:12.157Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T07:01:14.712Z] Removing intermediate container 432d6fdb2ac4 [2021-03-15T07:01:14.712Z] ---> 22bd54b47ed4 [2021-03-15T07:01:14.712Z] Step 10/24 : FROM scratch [2021-03-15T07:01:14.712Z] ---> [2021-03-15T07:01:14.712Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:01:14.712Z] ---> Running in 54e9f0f44fac [2021-03-15T07:01:14.974Z] Removing intermediate container 54e9f0f44fac [2021-03-15T07:01:14.974Z] ---> 1ad28479dad4 [2021-03-15T07:01:14.974Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T07:01:14.974Z] ---> Running in 1a600d1f5797 [2021-03-15T07:01:15.237Z] Removing intermediate container 1a600d1f5797 [2021-03-15T07:01:15.237Z] ---> a1b7991b9247 [2021-03-15T07:01:15.237Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T07:01:15.237Z] ---> Running in 7900703adaa9 [2021-03-15T07:01:15.237Z] Removing intermediate container 7900703adaa9 [2021-03-15T07:01:15.237Z] ---> d2061bddb976 [2021-03-15T07:01:15.237Z] Step 14/24 : WORKDIR / [2021-03-15T07:01:15.501Z] ---> Running in d7a8541e73fe [2021-03-15T07:01:15.501Z] Removing intermediate container d7a8541e73fe [2021-03-15T07:01:15.501Z] ---> 9b86b5629e74 [2021-03-15T07:01:15.501Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T07:01:16.076Z] ---> 90f7dda84860 [2021-03-15T07:01:16.076Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T07:01:16.339Z] ---> 2625942bb58b [2021-03-15T07:01:16.339Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T07:01:16.339Z] ---> 583d3f13389a [2021-03-15T07:01:16.339Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T07:01:16.603Z] ---> 0a05beab73bd [2021-03-15T07:01:16.603Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T07:01:16.866Z] ---> 92f4d478ba26 [2021-03-15T07:01:16.866Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T07:01:16.866Z] ---> Running in efcad0f01693 [2021-03-15T07:01:17.130Z] Removing intermediate container efcad0f01693 [2021-03-15T07:01:17.131Z] ---> bad998da7dcb [2021-03-15T07:01:17.131Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T07:01:17.131Z] ---> Running in 9942e0bc7e0a [2021-03-15T07:01:17.394Z] Removing intermediate container 9942e0bc7e0a [2021-03-15T07:01:17.394Z] ---> b638b82c0dd7 [2021-03-15T07:01:17.394Z] Step 22/24 : LABEL arch=amd64 [2021-03-15T07:01:17.394Z] ---> Running in bdd8ffdbdbb7 [2021-03-15T07:01:17.394Z] Removing intermediate container bdd8ffdbdbb7 [2021-03-15T07:01:17.394Z] ---> 0856b9c910e4 [2021-03-15T07:01:17.394Z] Step 23/24 : LABEL git_sha=3f52f3a581500e7b2ce611731b922cb421169e9f [2021-03-15T07:01:17.657Z] ---> Running in 0f2454f20197 [2021-03-15T07:01:17.657Z] Removing intermediate container 0f2454f20197 [2021-03-15T07:01:17.657Z] ---> 6326247f98d0 [2021-03-15T07:01:17.657Z] Step 24/24 : LABEL version=2.0.0-dev.20 [2021-03-15T07:01:17.657Z] ---> Running in adcb85fcc7b8 [2021-03-15T07:01:17.920Z] Removing intermediate container adcb85fcc7b8 [2021-03-15T07:01:17.920Z] ---> 7dd872baa8b7 [2021-03-15T07:01:17.920Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T07:01:17.920Z] Successfully built 7dd872baa8b7 [2021-03-15T07:01:17.920Z] 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-15T07:01:19.091Z] ---> job-cost.sh [2021-03-15T07:01:19.091Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pcdy [2021-03-15T07:01:34.055Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T07:01:35.217Z] gofmt -l . [2021-03-15T07:01:35.217Z] [ "`gofmt -l .`" = "" ] [2021-03-15T07:01:35.217Z] ./bin/test-attribution-txt.sh [2021-03-15T07:01:36.203Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-15T07:01:36.495Z] $ docker stop --time=1 32ad482e990a3847b4984bdfcb34e69b887bb9b30947ba5b00bfd08607b3e1ba [2021-03-15T07:01:38.832Z] $ docker rm -f 32ad482e990a3847b4984bdfcb34e69b887bb9b30947ba5b00bfd08607b3e1ba [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-15T07:01:40.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-15T07:01:40.167Z] Warning: overwriting stash ‘coverage-report’ [2021-03-15T07:01:41.167Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-15T07:01:41.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-15T07:01:42.306Z] + ls -al . [2021-03-15T07:01:42.306Z] total 224 [2021-03-15T07:01:42.306Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 07:01 . [2021-03-15T07:01:42.306Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 06:58 .. [2021-03-15T07:01:42.306Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 06:58 .dockerignore [2021-03-15T07:01:42.306Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 06:58 .git [2021-03-15T07:01:42.306Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 06:58 .github [2021-03-15T07:01:42.306Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 15 06:58 .gitignore [2021-03-15T07:01:42.306Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 15 06:58 Dockerfile.build [2021-03-15T07:01:42.306Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 15 06:58 Jenkinsfile [2021-03-15T07:01:42.306Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 06:58 LICENSE [2021-03-15T07:01:42.306Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 15 06:58 Makefile [2021-03-15T07:01:42.306Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 15 06:58 README.md [2021-03-15T07:01:42.307Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 15 06:58 RELEASE-NOTES.txt [2021-03-15T07:01:42.307Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 06:55 VERSION [2021-03-15T07:01:42.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 06:58 bin [2021-03-15T07:01:42.307Z] -rw-r--r-- 1 jenkins jenkins 103668 Mar 15 07:01 coverage.out [2021-03-15T07:01:42.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 06:58 example [2021-03-15T07:01:42.307Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 15 07:01 go.mod [2021-03-15T07:01:42.307Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 15 07:01 go.sum [2021-03-15T07:01:42.307Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 06:58 internal [2021-03-15T07:01:42.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 06:58 openapi [2021-03-15T07:01:42.307Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 06:58 pkg [2021-03-15T07:01:42.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 06:58 snap [2021-03-15T07:01:42.307Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 06:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:01:42.676Z] + 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=3f52f3a581500e7b2ce611731b922cb421169e9f --label arch=arm64 --label version=2.0.0-dev.20 . [2021-03-15T07:01:43.279Z] Sending build context to Docker daemon 2.34MB [2021-03-15T07:01:43.279Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-15T07:01:43.279Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-15T07:01:43.279Z] ---> 599930af3f94 [2021-03-15T07:01:43.279Z] Step 3/24 : ARG MAKE='make build' [2021-03-15T07:01:43.553Z] ---> Running in 67a8bb947ae0 [2021-03-15T07:01:44.149Z] Removing intermediate container 67a8bb947ae0 [2021-03-15T07:01:44.149Z] ---> 79ff80be8c59 [2021-03-15T07:01:44.149Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-15T07:01:44.149Z] ---> Running in 0ed3b4b6f8be [2021-03-15T07:01:44.754Z] Removing intermediate container 0ed3b4b6f8be [2021-03-15T07:01:44.754Z] ---> 7a112088a9c1 [2021-03-15T07:01:44.754Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:01:44.754Z] ---> Running in a6292258bb11 [2021-03-15T07:01:45.351Z] Removing intermediate container a6292258bb11 [2021-03-15T07:01:45.351Z] ---> d58ddd1f5947 [2021-03-15T07:01:45.351Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-15T07:01:45.351Z] ---> Running in e4567480a497 [2021-03-15T07:01:47.340Z] Removing intermediate container e4567480a497 [2021-03-15T07:01:47.340Z] ---> bcdac9df79bd [2021-03-15T07:01:47.340Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-15T07:01:47.617Z] ---> Running in ac3e171a7fb6 [2021-03-15T07:01:48.597Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-15T07:01:49.190Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-15T07:01:49.783Z] OK: 142 MiB in 39 packages [2021-03-15T07:01:51.219Z] Removing intermediate container ac3e171a7fb6 [2021-03-15T07:01:51.219Z] ---> 9b4a17b7a79f [2021-03-15T07:01:51.219Z] Step 8/24 : COPY . . [2021-03-15T07:01:52.196Z] ---> f7f58186dfb4 [2021-03-15T07:01:52.196Z] Step 9/24 : RUN ${MAKE} [2021-03-15T07:01:52.471Z] ---> Running in 6473482f3770 [2021-03-15T07:01:53.476Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-15T07:02:00.687Z] lf-activate-venv(): INFO: Adding /tmp/venv-pcdy/bin to PATH [2021-03-15T07:02:00.687Z] INFO: No Stack... [2021-03-15T07:02:01.263Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T07:02:01.839Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T07:02:02.155Z] + cat /w/workspace/device-sdk-go/125/archives/cost.csv [2021-03-15T07:02:02.155Z] + cut -d, -f6 [Pipeline] lock [2021-03-15T07:02:02.236Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-125-stack-cost] [2021-03-15T07:02:02.245Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-125-stack-cost] did not exist. Created. [2021-03-15T07:02:02.245Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T07:02:02.655Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-15T07:02:02.784Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T07:02:02.796Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-125-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-15T07:02:20.321Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-15T07:02:21.783Z] Removing intermediate container 6473482f3770 [2021-03-15T07:02:21.783Z] ---> 26b30a504053 [2021-03-15T07:02:21.783Z] Step 10/24 : FROM scratch [2021-03-15T07:02:21.783Z] ---> [2021-03-15T07:02:21.783Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-15T07:02:21.783Z] ---> Running in 42de8d1431f9 [2021-03-15T07:02:22.059Z] Removing intermediate container 42de8d1431f9 [2021-03-15T07:02:22.059Z] ---> 7310d5cb3bfd [2021-03-15T07:02:22.059Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-15T07:02:22.059Z] ---> Running in c394bcd5e66e [2021-03-15T07:02:22.654Z] Removing intermediate container c394bcd5e66e [2021-03-15T07:02:22.654Z] ---> fc84032e3613 [2021-03-15T07:02:22.654Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-15T07:02:22.654Z] ---> Running in 4c779c78db8e [2021-03-15T07:02:23.251Z] Removing intermediate container 4c779c78db8e [2021-03-15T07:02:23.251Z] ---> b5a398faef46 [2021-03-15T07:02:23.251Z] Step 14/24 : WORKDIR / [2021-03-15T07:02:23.251Z] ---> Running in fc370d3439a6 [2021-03-15T07:02:23.853Z] Removing intermediate container fc370d3439a6 [2021-03-15T07:02:23.853Z] ---> 88e203724f5f [2021-03-15T07:02:23.853Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-15T07:02:24.835Z] ---> 6c882c3e0bac [2021-03-15T07:02:24.835Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-15T07:02:25.432Z] ---> eb5a86ebca38 [2021-03-15T07:02:25.432Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-15T07:02:26.408Z] ---> 383e1d7bc183 [2021-03-15T07:02:26.408Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-15T07:02:27.000Z] ---> 385257887a8e [2021-03-15T07:02:27.000Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-15T07:02:27.976Z] ---> e717da4c65e8 [2021-03-15T07:02:27.976Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-15T07:02:27.976Z] ---> Running in 59fa58de0b31 [2021-03-15T07:02:28.251Z] Removing intermediate container 59fa58de0b31 [2021-03-15T07:02:28.252Z] ---> 805f5a6444b3 [2021-03-15T07:02:28.252Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-15T07:02:28.524Z] ---> Running in 848f5155a72f [2021-03-15T07:02:29.117Z] Removing intermediate container 848f5155a72f [2021-03-15T07:02:29.117Z] ---> 3b7a68d77325 [2021-03-15T07:02:29.117Z] Step 22/24 : LABEL arch=arm64 [2021-03-15T07:02:29.117Z] ---> Running in a0124487e916 [2021-03-15T07:02:29.709Z] Removing intermediate container a0124487e916 [2021-03-15T07:02:29.709Z] ---> 8fdb064c003f [2021-03-15T07:02:29.709Z] Step 23/24 : LABEL git_sha=3f52f3a581500e7b2ce611731b922cb421169e9f [2021-03-15T07:02:29.709Z] ---> Running in bf8eaf610a82 [2021-03-15T07:02:30.304Z] Removing intermediate container bf8eaf610a82 [2021-03-15T07:02:30.304Z] ---> 47d0493387d9 [2021-03-15T07:02:30.304Z] Step 24/24 : LABEL version=2.0.0-dev.20 [2021-03-15T07:02:30.304Z] ---> Running in 443b24112f7e [2021-03-15T07:02:30.897Z] Removing intermediate container 443b24112f7e [2021-03-15T07:02:30.897Z] ---> dabc5266bca9 [2021-03-15T07:02:30.897Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-15T07:02:30.897Z] Successfully built dabc5266bca9 [2021-03-15T07:02:30.897Z] 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-15T07:02:31.772Z] ---> job-cost.sh [2021-03-15T07:02:31.772Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-glGx [2021-03-15T07:03:10.727Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-15T07:04:47.473Z] lf-activate-venv(): INFO: Adding /tmp/venv-glGx/bin to PATH [2021-03-15T07:04:47.473Z] INFO: No Stack... [2021-03-15T07:04:47.473Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-15T07:04:47.473Z] INFO: Archiving Costs [Pipeline] sh [2021-03-15T07:04:47.817Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/125/archives/cost.csv [2021-03-15T07:04:47.817Z] [Pipeline] lock [2021-03-15T07:04:47.935Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-125-stack-cost] [2021-03-15T07:04:47.944Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-125-stack-cost] did not exist. Created. [2021-03-15T07:04:47.944Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-15T07:04:48.480Z] /w/workspace/device-sdk-go/125@tmp/durable-a613a6bf/script.sh: 1: /w/workspace/device-sdk-go/125@tmp/durable-a613a6bf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-15T07:04:48.832Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-15T07:04:48.907Z] Warning: overwriting stash ‘stack-cost’ [2021-03-15T07:04:49.083Z] Stashed 1 file(s) [Pipeline] } [2021-03-15T07:04:49.096Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-125-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-15T07:04:50.728Z] provisioning config files... [2021-03-15T07:04:50.744Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3859733482970258600tmp [Pipeline] { [Pipeline] sh [2021-03-15T07:04:51.176Z] + set +x [2021-03-15T07:04:51.176Z] + curl -s https://codecov.io/bash [2021-03-15T07:04:51.176Z] + bash -s -- [2021-03-15T07:04:51.440Z] [2021-03-15T07:04:51.440Z] _____ _ [2021-03-15T07:04:51.440Z] / ____| | | [2021-03-15T07:04:51.440Z] | | ___ __| | ___ ___ _____ __ [2021-03-15T07:04:51.440Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-15T07:04:51.440Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-15T07:04:51.440Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-15T07:04:51.440Z] Bash-20210309-2b87ace [2021-03-15T07:04:51.440Z] [2021-03-15T07:04:51.440Z] [2021-03-15T07:04:51.440Z] ==> git version 2.24.3 found [2021-03-15T07:04:51.440Z] ==> 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-15T07:04:51.440Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-15T07:04:51.440Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-15T07:04:51.440Z] ==> Jenkins CI detected. [2021-03-15T07:04:51.440Z] project root: . [2021-03-15T07:04:51.440Z] --> token set from env [2021-03-15T07:04:51.440Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-15T07:04:51.440Z] ==> Running gcov in . (disable via -X gcov) [2021-03-15T07:04:51.440Z] ==> Python coveragepy not found [2021-03-15T07:04:51.440Z] ==> Searching for coverage reports in: [2021-03-15T07:04:51.440Z] + . [2021-03-15T07:04:51.440Z] -> Found 1 reports [2021-03-15T07:04:51.440Z] ==> Detecting git/mercurial file structure [2021-03-15T07:04:51.440Z] ==> Reading reports [2021-03-15T07:04:51.440Z] + ./coverage.out bytes=103668 [2021-03-15T07:04:51.440Z] ==> Appending adjustments [2021-03-15T07:04:51.440Z] https://docs.codecov.io/docs/fixing-reports [2021-03-15T07:04:51.703Z] + Found adjustments [2021-03-15T07:04:51.966Z] ==> Gzipping contents [2021-03-15T07:04:51.966Z] 16K /tmp/codecov.U29OSj.gz [2021-03-15T07:04:51.966Z] ==> Uploading reports [2021-03-15T07:04:51.966Z] url: https://codecov.io [2021-03-15T07:04:51.966Z] query: branch=master&commit=3f52f3a581500e7b2ce611731b922cb421169e9f&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-15T07:04:51.966Z] -> Pinging Codecov [2021-03-15T07:04:51.966Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=3f52f3a581500e7b2ce611731b922cb421169e9f&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-15T07:04:52.229Z] -> Uploading to [2021-03-15T07:04:52.229Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-15/7E55EF52A471D76F132DFD9A03CDDE97/3f52f3a581500e7b2ce611731b922cb421169e9f/93b9913d-caa5-46dd-852a-eb6b64339c5e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210315T070452Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c2cf395d91f69b21aa47e9d14016dbdbbc72edb1a3af6c3729cad856acab1e6 [2021-03-15T07:04:52.229Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T07:04:52.229Z] Dload Upload Total Spent Left Speed [2021-03-15T07:04:53.382Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13901 0 0 100 13901 0 13948 --:--:-- --:--:-- --:--:-- 13942 [2021-03-15T07:04:53.382Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3f52f3a581500e7b2ce611731b922cb421169e9f [Pipeline] } [2021-03-15T07:04:53.392Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-15T07:04:54.319Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-15T07:04:54.387Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:04:54.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-15T07:04:54.744Z] [2021-03-15T07:04:54.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:04:55.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-15T07:04:55.109Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-15T07:04:55.109Z] 188c0c94c7c5: Pulling fs layer [2021-03-15T07:04:55.109Z] 0ef7d3d256c8: Pulling fs layer [2021-03-15T07:04:55.109Z] de9db76c5a1d: Pulling fs layer [2021-03-15T07:04:55.109Z] 0eba1c9be4d2: Pulling fs layer [2021-03-15T07:04:55.109Z] 0d57e429df01: Pulling fs layer [2021-03-15T07:04:55.109Z] 4e4be7b47b0d: Pulling fs layer [2021-03-15T07:04:55.109Z] e1f770b5df2f: Pulling fs layer [2021-03-15T07:04:55.109Z] 85a0685a4137: Pulling fs layer [2021-03-15T07:04:55.109Z] 0eba1c9be4d2: Waiting [2021-03-15T07:04:55.109Z] 0d57e429df01: Waiting [2021-03-15T07:04:55.109Z] 4e4be7b47b0d: Waiting [2021-03-15T07:04:55.109Z] e1f770b5df2f: Waiting [2021-03-15T07:04:55.109Z] 85a0685a4137: Waiting [2021-03-15T07:04:55.109Z] de9db76c5a1d: Verifying Checksum [2021-03-15T07:04:55.109Z] de9db76c5a1d: Download complete [2021-03-15T07:04:55.109Z] 0ef7d3d256c8: Download complete [2021-03-15T07:04:55.371Z] 0d57e429df01: Verifying Checksum [2021-03-15T07:04:55.371Z] 0d57e429df01: Download complete [2021-03-15T07:04:55.957Z] 188c0c94c7c5: Verifying Checksum [2021-03-15T07:04:55.957Z] 4e4be7b47b0d: Verifying Checksum [2021-03-15T07:04:55.957Z] 4e4be7b47b0d: Download complete [2021-03-15T07:04:56.531Z] 188c0c94c7c5: Pull complete [2021-03-15T07:04:56.531Z] 0ef7d3d256c8: Pull complete [2021-03-15T07:04:56.799Z] de9db76c5a1d: Pull complete [2021-03-15T07:04:57.378Z] e1f770b5df2f: Verifying Checksum [2021-03-15T07:04:57.378Z] e1f770b5df2f: Download complete [2021-03-15T07:04:59.944Z] 0eba1c9be4d2: Verifying Checksum [2021-03-15T07:04:59.944Z] 0eba1c9be4d2: Download complete [2021-03-15T07:04:59.944Z] 85a0685a4137: Verifying Checksum [2021-03-15T07:04:59.944Z] 85a0685a4137: Download complete [2021-03-15T07:05:05.274Z] 0eba1c9be4d2: Pull complete [2021-03-15T07:05:05.274Z] 0d57e429df01: Pull complete [2021-03-15T07:05:05.274Z] 4e4be7b47b0d: Pull complete [2021-03-15T07:05:07.233Z] e1f770b5df2f: Pull complete [2021-03-15T07:05:15.426Z] 85a0685a4137: Pull complete [2021-03-15T07:05:15.426Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-15T07:05:15.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-15T07:05:15.426Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-15T07:05:15.647Z] prd-centos7-docker-4c-2g-29791 does not seem to be running inside a container [2021-03-15T07:05:15.703Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-03-15T07:05:16.720Z] $ docker top d639341982600e4e1bf128562940d86c4b7af0ca5466797b87858359218952ed -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-15T07:05:16.974Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-15T07:05:17.271Z] + set -o pipefail [2021-03-15T07:05:17.271Z] + snyk monitor '--org=edgex-jenkins' [2021-03-15T07:05:43.896Z] [2021-03-15T07:05:43.896Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-03-15T07:05:43.896Z] [2021-03-15T07:05:43.896Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/741d840e-ba92-4c4e-9c90-a061f1db3b0c [2021-03-15T07:05:43.896Z] [2021-03-15T07:05:43.896Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-15T07:05:43.896Z] [2021-03-15T07:05:43.896Z] [Pipeline] } [2021-03-15T07:05:43.916Z] $ docker stop --time=1 d639341982600e4e1bf128562940d86c4b7af0ca5466797b87858359218952ed [2021-03-15T07:05:46.662Z] $ docker rm -f d639341982600e4e1bf128562940d86c4b7af0ca5466797b87858359218952ed [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-15T07:05:47.995Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-15T07:05:48.095Z] provisioning config files... [2021-03-15T07:05:48.107Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config32794871428675734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:05:48.496Z] --> edgex-publish-swagger.sh [2021-03-15T07:05:48.496Z] === Publish openapi/v1 API === [2021-03-15T07:05:48.496Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-03-15T07:05:48.496Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-03-15T07:05:48.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T07:05:48.496Z] Dload Upload Total Spent Left Speed [2021-03-15T07:05:49.337Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 23651 --:--:-- --:--:-- --:--:-- 23661 [2021-03-15T07:05:49.337Z] [2021-03-15T07:05:49.337Z] [2021-03-15T07:05:49.337Z] === Publish openapi/v2 API === [2021-03-15T07:05:49.337Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-15T07:05:49.337Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-03-15T07:05:49.337Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-15T07:05:49.337Z] Dload Upload Total Spent Left Speed [2021-03-15T07:05:50.286Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 65925 --:--:-- --:--:-- --:--:-- 65896 100 52256 0 0 100 52256 0 65907 --:--:-- --:--:-- --:--:-- 65896 [2021-03-15T07:05:50.286Z] [2021-03-15T07:05:50.286Z] [Pipeline] } [2021-03-15T07:05:50.297Z] 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-15T07:05:51.320Z] + git log --format=format:%s -1 3f52f3a581500e7b2ce611731b922cb421169e9f [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:05:51.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T07:05:51.634Z] . [Pipeline] withDockerContainer [2021-03-15T07:05:51.739Z] prd-centos7-docker-4c-2g-29791 does not seem to be running inside a container [2021-03-15T07:05:51.787Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-15T07:05:52.827Z] $ docker top 07f446e1d678bda14acafa225be87e396f9c89b67bbc9ac2e2a60b303c8c03ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T07:05:53.143Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T07:05:53.143Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T07:05:53.401Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T07:05:53.404Z] $ docker exec 07f446e1d678bda14acafa225be87e396f9c89b67bbc9ac2e2a60b303c8c03ff ssh-agent [2021-03-15T07:05:53.589Z] SSH_AUTH_SOCK=/tmp/ssh-Gws39X1uMDUv/agent.13 [2021-03-15T07:05:53.589Z] SSH_AGENT_PID=19 [2021-03-15T07:05:53.597Z] Running ssh-add (command line suppressed) [2021-03-15T07:05:53.752Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_185940095660325089.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_185940095660325089.key) [2021-03-15T07:05:53.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T07:05:54.152Z] + git semver tag [2021-03-15T07:05:54.152Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T07:05:54.152Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-15T07:05:54.152Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T07:05:54.152Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T07:05:54.152Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T07:05:54.152Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T07:05:54.152Z] # $SEMVER_BRANCH = master [2021-03-15T07:05:54.152Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-15T07:05:54.152Z] # 3f52f3a581500e7b2ce611731b922cb421169e9f HEAD [2021-03-15T07:05:54.152Z] # -> Force: false [2021-03-15T07:05:54.152Z] # a7668c6fe3566f2e774ee7f11b75afa5fd310d8b refs/tags/v2.0.0-dev.20 [Pipeline] } [2021-03-15T07:05:54.165Z] $ docker exec --env ******** --env ******** 07f446e1d678bda14acafa225be87e396f9c89b67bbc9ac2e2a60b303c8c03ff ssh-agent -k [2021-03-15T07:05:54.286Z] unset SSH_AUTH_SOCK; [2021-03-15T07:05:54.287Z] unset SSH_AGENT_PID; [2021-03-15T07:05:54.287Z] echo Agent pid 19 killed; [2021-03-15T07:05:54.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T07:05:54.837Z] + git semver [Pipeline] } [2021-03-15T07:05:54.855Z] $ docker stop --time=1 07f446e1d678bda14acafa225be87e396f9c89b67bbc9ac2e2a60b303c8c03ff [2021-03-15T07:05:56.215Z] $ docker rm -f 07f446e1d678bda14acafa225be87e396f9c89b67bbc9ac2e2a60b303c8c03ff [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:05:56.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-15T07:05:56.879Z] [2021-03-15T07:05:56.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:05:57.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-15T07:05:57.234Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-15T07:05:57.234Z] ab5ef0e58194: Pulling fs layer [2021-03-15T07:05:57.234Z] 9712f1f96733: Pulling fs layer [2021-03-15T07:05:57.234Z] 63f879dbbcfc: Pulling fs layer [2021-03-15T07:05:57.234Z] 0d9ebad4ef96: Pulling fs layer [2021-03-15T07:05:57.234Z] e9a5061849ea: Pulling fs layer [2021-03-15T07:05:57.234Z] d747dcd14b5f: Pulling fs layer [2021-03-15T07:05:57.234Z] 2de7ff778b66: Pulling fs layer [2021-03-15T07:05:57.234Z] e9a5061849ea: Waiting [2021-03-15T07:05:57.234Z] d747dcd14b5f: Waiting [2021-03-15T07:05:57.234Z] 2de7ff778b66: Waiting [2021-03-15T07:05:57.234Z] 0d9ebad4ef96: Waiting [2021-03-15T07:05:57.234Z] 9712f1f96733: Verifying Checksum [2021-03-15T07:05:57.234Z] 9712f1f96733: Download complete [2021-03-15T07:05:59.163Z] 63f879dbbcfc: Verifying Checksum [2021-03-15T07:05:59.163Z] 63f879dbbcfc: Download complete [2021-03-15T07:05:59.163Z] e9a5061849ea: Verifying Checksum [2021-03-15T07:05:59.163Z] e9a5061849ea: Download complete [2021-03-15T07:05:59.163Z] d747dcd14b5f: Verifying Checksum [2021-03-15T07:05:59.163Z] d747dcd14b5f: Download complete [2021-03-15T07:05:59.753Z] 2de7ff778b66: Verifying Checksum [2021-03-15T07:05:59.753Z] 2de7ff778b66: Download complete [2021-03-15T07:05:59.753Z] 0d9ebad4ef96: Verifying Checksum [2021-03-15T07:05:59.753Z] 0d9ebad4ef96: Download complete [2021-03-15T07:06:00.016Z] ab5ef0e58194: Verifying Checksum [2021-03-15T07:06:00.016Z] ab5ef0e58194: Download complete [2021-03-15T07:06:05.351Z] ab5ef0e58194: Pull complete [2021-03-15T07:06:05.351Z] 9712f1f96733: Pull complete [2021-03-15T07:06:06.755Z] 63f879dbbcfc: Pull complete [2021-03-15T07:06:13.558Z] 0d9ebad4ef96: Pull complete [2021-03-15T07:06:15.045Z] e9a5061849ea: Pull complete [2021-03-15T07:06:15.045Z] d747dcd14b5f: Pull complete [2021-03-15T07:06:17.143Z] 2de7ff778b66: Pull complete [2021-03-15T07:06:17.143Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-15T07:06:17.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-15T07:06:17.143Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-15T07:06:17.371Z] prd-centos7-docker-4c-2g-29791 does not seem to be running inside a container [2021-03-15T07:06:17.418Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-03-15T07:06:21.378Z] $ docker top 6eb3d42017f18de657c4b2f4afc0dd96c03c1e12d4a0ab4e8eeddb7fdb8b080e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-15T07:06:21.710Z] provisioning config files... [2021-03-15T07:06:21.721Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8976285167087680142tmp [2021-03-15T07:06:21.737Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4307492011521290250tmp [2021-03-15T07:06:21.753Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6481924448483303604tmp [Pipeline] { [Pipeline] echo [2021-03-15T07:06:21.852Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:06:22.155Z] ---> sigul-configuration.sh [2021-03-15T07:06:22.155Z] gpg: directory `/root/.gnupg' created [2021-03-15T07:06:22.155Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-15T07:06:22.155Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-15T07:06:22.155Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-15T07:06:22.155Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-15T07:06:22.155Z] gpg: CAST5 encrypted data [2021-03-15T07:06:22.420Z] gpg: encrypted with 1 passphrase [2021-03-15T07:06:22.420Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-15T07:06:22.719Z] + mkdir /home/jenkins [2021-03-15T07:06:22.719Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-15T07:06:23.022Z] + 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-15T07:06:23.034Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:06:23.331Z] ---> sigul-install.sh [2021-03-15T07:06:29.943Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-15T07:06:30.257Z] + git tag --list [2021-03-15T07:06:30.257Z] 0.7.1 [2021-03-15T07:06:30.257Z] delhi-tag [2021-03-15T07:06:30.257Z] v1.0.0 [2021-03-15T07:06:30.257Z] v1.1.0 [2021-03-15T07:06:30.257Z] v1.1.1 [2021-03-15T07:06:30.257Z] v1.1.2 [2021-03-15T07:06:30.257Z] v1.2.0 [2021-03-15T07:06:30.257Z] v1.2.1 [2021-03-15T07:06:30.257Z] v1.2.2 [2021-03-15T07:06:30.257Z] v1.2.3 [2021-03-15T07:06:30.257Z] v1.3.0 [2021-03-15T07:06:30.257Z] v1.4.0 [2021-03-15T07:06:30.257Z] v2.0.0-dev.1 [2021-03-15T07:06:30.257Z] v2.0.0-dev.10 [2021-03-15T07:06:30.257Z] v2.0.0-dev.11 [2021-03-15T07:06:30.257Z] v2.0.0-dev.12 [2021-03-15T07:06:30.257Z] v2.0.0-dev.13 [2021-03-15T07:06:30.257Z] v2.0.0-dev.14 [2021-03-15T07:06:30.257Z] v2.0.0-dev.15 [2021-03-15T07:06:30.257Z] v2.0.0-dev.16 [2021-03-15T07:06:30.257Z] v2.0.0-dev.17 [2021-03-15T07:06:30.257Z] v2.0.0-dev.18 [2021-03-15T07:06:30.257Z] v2.0.0-dev.19 [2021-03-15T07:06:30.257Z] v2.0.0-dev.2 [2021-03-15T07:06:30.257Z] v2.0.0-dev.20 [2021-03-15T07:06:30.257Z] v2.0.0-dev.3 [2021-03-15T07:06:30.257Z] v2.0.0-dev.4 [2021-03-15T07:06:30.257Z] v2.0.0-dev.5 [2021-03-15T07:06:30.257Z] v2.0.0-dev.6 [2021-03-15T07:06:30.257Z] v2.0.0-dev.7 [2021-03-15T07:06:30.257Z] v2.0.0-dev.8 [2021-03-15T07:06:30.257Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-15T07:06:30.558Z] + lftools sign git-tag v2.0.0-dev.20 [2021-03-15T07:06:31.948Z] Signing Git tag with Sigul... [2021-03-15T07:06:31.948Z] Signing v2.0.0-dev.20 [Pipeline] echo [2021-03-15T07:06:32.907Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:06:33.208Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-15T07:06:33.218Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-15T07:06:33.389Z] $ docker stop --time=1 6eb3d42017f18de657c4b2f4afc0dd96c03c1e12d4a0ab4e8eeddb7fdb8b080e [2021-03-15T07:06:35.223Z] $ docker rm -f 6eb3d42017f18de657c4b2f4afc0dd96c03c1e12d4a0ab4e8eeddb7fdb8b080e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:06:36.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T07:06:36.230Z] . [Pipeline] withDockerContainer [2021-03-15T07:06:36.345Z] prd-centos7-docker-4c-2g-29791 does not seem to be running inside a container [2021-03-15T07:06:36.396Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-15T07:06:37.044Z] $ docker top 759ef1f4765596b69f54a4f4fc3a316f7695010edb4fb23b89c35318f9f187dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T07:06:37.371Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T07:06:37.371Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T07:06:37.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T07:06:37.576Z] $ docker exec 759ef1f4765596b69f54a4f4fc3a316f7695010edb4fb23b89c35318f9f187dd ssh-agent [2021-03-15T07:06:37.756Z] SSH_AUTH_SOCK=/tmp/ssh-7MwFoLpJb6qL/agent.12 [2021-03-15T07:06:37.756Z] SSH_AGENT_PID=18 [2021-03-15T07:06:37.764Z] Running ssh-add (command line suppressed) [2021-03-15T07:06:37.886Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5051295583836328919.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5051295583836328919.key) [2021-03-15T07:06:37.943Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T07:06:38.286Z] + git semver bump pre [2021-03-15T07:06:38.286Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T07:06:38.286Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-15T07:06:38.286Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T07:06:38.286Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T07:06:38.286Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T07:06:38.286Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T07:06:38.286Z] # $SEMVER_BRANCH = master [2021-03-15T07:06:38.286Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-15T07:06:38.286Z] 2.0.0-dev.21 [Pipeline] } [2021-03-15T07:06:38.301Z] $ docker exec --env ******** --env ******** 759ef1f4765596b69f54a4f4fc3a316f7695010edb4fb23b89c35318f9f187dd ssh-agent -k [2021-03-15T07:06:38.422Z] unset SSH_AUTH_SOCK; [2021-03-15T07:06:38.423Z] unset SSH_AGENT_PID; [2021-03-15T07:06:38.423Z] echo Agent pid 18 killed; [2021-03-15T07:06:38.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T07:06:38.956Z] + git semver [Pipeline] } [2021-03-15T07:06:38.974Z] $ docker stop --time=1 759ef1f4765596b69f54a4f4fc3a316f7695010edb4fb23b89c35318f9f187dd [2021-03-15T07:06:40.330Z] $ docker rm -f 759ef1f4765596b69f54a4f4fc3a316f7695010edb4fb23b89c35318f9f187dd [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:06:40.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-15T07:06:40.999Z] . [Pipeline] withDockerContainer [2021-03-15T07:06:41.111Z] prd-centos7-docker-4c-2g-29791 does not seem to be running inside a container [2021-03-15T07:06:41.158Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-03-15T07:06:41.780Z] $ docker top 61e3874d9556a49b621b85c1cf20ddaf57ac87c8f52ed161a306ca2d6c61303b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-15T07:06:42.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-15T07:06:42.127Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-15T07:06:42.315Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-15T07:06:42.318Z] $ docker exec 61e3874d9556a49b621b85c1cf20ddaf57ac87c8f52ed161a306ca2d6c61303b ssh-agent [2021-03-15T07:06:42.489Z] SSH_AUTH_SOCK=/tmp/ssh-7mcjx9CV7zYK/agent.11 [2021-03-15T07:06:42.489Z] SSH_AGENT_PID=16 [2021-03-15T07:06:42.496Z] Running ssh-add (command line suppressed) [2021-03-15T07:06:42.627Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8891709932710174462.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8891709932710174462.key) [2021-03-15T07:06:42.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-15T07:06:43.028Z] + git semver push [2021-03-15T07:06:43.028Z] # -> Open(): unable to determine branch for HEAD [2021-03-15T07:06:43.028Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-15T07:06:43.028Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T07:06:43.028Z] # $SEMVER_REMOTE_NAME = origin [2021-03-15T07:06:43.028Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-15T07:06:43.028Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-15T07:06:43.028Z] # $SEMVER_BRANCH = master [2021-03-15T07:06:43.028Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-15T07:06:47.264Z] $ docker exec --env ******** --env ******** 61e3874d9556a49b621b85c1cf20ddaf57ac87c8f52ed161a306ca2d6c61303b ssh-agent -k [2021-03-15T07:06:47.386Z] unset SSH_AUTH_SOCK; [2021-03-15T07:06:47.386Z] unset SSH_AGENT_PID; [2021-03-15T07:06:47.387Z] echo Agent pid 16 killed; [2021-03-15T07:06:47.438Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-15T07:06:47.914Z] + git semver [Pipeline] } [2021-03-15T07:06:47.932Z] $ docker stop --time=1 61e3874d9556a49b621b85c1cf20ddaf57ac87c8f52ed161a306ca2d6c61303b [2021-03-15T07:06:49.288Z] $ docker rm -f 61e3874d9556a49b621b85c1cf20ddaf57ac87c8f52ed161a306ca2d6c61303b [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-15T07:06:51.047Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:06:51.623Z] ---> package-listing.sh [2021-03-15T07:06:51.623Z] ++ facter osfamily [2021-03-15T07:06:51.623Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-15T07:06:51.623Z] + OS_FAMILY=redhat [2021-03-15T07:06:51.623Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-03-15T07:06:51.623Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-15T07:06:51.623Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-15T07:06:51.623Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-15T07:06:51.623Z] + PACKAGES=/tmp/packages_start.txt [2021-03-15T07:06:51.623Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-15T07:06:51.623Z] + PACKAGES=/tmp/packages_end.txt [2021-03-15T07:06:51.623Z] + case "${OS_FAMILY}" in [2021-03-15T07:06:51.623Z] + rpm -qa [2021-03-15T07:06:51.623Z] + sort [2021-03-15T07:06:56.932Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-15T07:06:56.932Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-15T07:06:56.932Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-15T07:06:56.932Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-15T07:06:56.932Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-03-15T07:06:56.932Z] + 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-15T07:06:56.947Z] 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-15T07:06:57.387Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:06:57.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T07:06:57.777Z] [2021-03-15T07:06:57.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-15T07:06:58.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T07:06:58.161Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-15T07:06:58.161Z] df20fa9351a1: Pulling fs layer [2021-03-15T07:06:58.161Z] 36b3adc4ff6f: Pulling fs layer [2021-03-15T07:06:58.161Z] 8ad3a11d3b57: Pulling fs layer [2021-03-15T07:06:58.161Z] 46f8f816bc3b: Pulling fs layer [2021-03-15T07:06:58.161Z] 93b61091891f: Pulling fs layer [2021-03-15T07:06:58.161Z] 93b9cdb0e59b: Pulling fs layer [2021-03-15T07:06:58.161Z] 5e14af77c1be: Pulling fs layer [2021-03-15T07:06:58.161Z] 01666e4c0597: Pulling fs layer [2021-03-15T07:06:58.161Z] aa168da1d23b: Pulling fs layer [2021-03-15T07:06:58.161Z] 93b9cdb0e59b: Waiting [2021-03-15T07:06:58.161Z] 01666e4c0597: Waiting [2021-03-15T07:06:58.161Z] 5e14af77c1be: Waiting [2021-03-15T07:06:58.161Z] 46f8f816bc3b: Waiting [2021-03-15T07:06:58.161Z] 93b61091891f: Waiting [2021-03-15T07:06:58.161Z] aa168da1d23b: Waiting [2021-03-15T07:06:58.161Z] 36b3adc4ff6f: Verifying Checksum [2021-03-15T07:06:58.161Z] 36b3adc4ff6f: Download complete [2021-03-15T07:06:58.161Z] 46f8f816bc3b: Verifying Checksum [2021-03-15T07:06:58.162Z] 46f8f816bc3b: Download complete [2021-03-15T07:06:58.428Z] df20fa9351a1: Verifying Checksum [2021-03-15T07:06:58.428Z] df20fa9351a1: Download complete [2021-03-15T07:06:58.428Z] 93b9cdb0e59b: Verifying Checksum [2021-03-15T07:06:58.428Z] 93b9cdb0e59b: Download complete [2021-03-15T07:06:58.428Z] 5e14af77c1be: Verifying Checksum [2021-03-15T07:06:58.428Z] 5e14af77c1be: Download complete [2021-03-15T07:06:58.428Z] 93b61091891f: Verifying Checksum [2021-03-15T07:06:58.428Z] 93b61091891f: Download complete [2021-03-15T07:06:58.428Z] 01666e4c0597: Download complete [2021-03-15T07:06:58.428Z] 8ad3a11d3b57: Verifying Checksum [2021-03-15T07:06:58.428Z] 8ad3a11d3b57: Download complete [2021-03-15T07:06:58.697Z] df20fa9351a1: Pull complete [2021-03-15T07:06:58.960Z] 36b3adc4ff6f: Pull complete [2021-03-15T07:06:59.920Z] 8ad3a11d3b57: Pull complete [2021-03-15T07:07:00.183Z] 46f8f816bc3b: Pull complete [2021-03-15T07:07:00.447Z] aa168da1d23b: Verifying Checksum [2021-03-15T07:07:00.447Z] aa168da1d23b: Download complete [2021-03-15T07:07:01.023Z] 93b61091891f: Pull complete [2021-03-15T07:07:01.287Z] 93b9cdb0e59b: Pull complete [2021-03-15T07:07:01.287Z] 5e14af77c1be: Pull complete [2021-03-15T07:07:01.556Z] 01666e4c0597: Pull complete [2021-03-15T07:07:09.751Z] aa168da1d23b: Pull complete [2021-03-15T07:07:09.751Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-15T07:07:09.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-15T07:07:09.751Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-15T07:07:09.942Z] prd-centos7-docker-4c-2g-29791 does not seem to be running inside a container [2021-03-15T07:07:09.988Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-03-15T07:07:12.779Z] $ docker top 406df144722eb97074440bbdd6db2008f1b1aad94e478d7a884e5ce2fa6560fa -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-15T07:07:13.336Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-15T07:07:13.639Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-15T07:07:13.940Z] + ls /var/log/sa-host [2021-03-15T07:07:13.940Z] + sadf -c /var/log/sa-host/sa15 [2021-03-15T07:07:13.940Z] file_magic: OK [2021-03-15T07:07:13.940Z] HZ: Using current value: 100 [2021-03-15T07:07:13.940Z] file_header: OK [2021-03-15T07:07:13.940Z] 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-15T07:07:13.940Z] Statistics: [2021-03-15T07:07:13.940Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-03-15T07:07:13.940Z] File successfully converted to sysstat format version 12.2.1 [2021-03-15T07:07:13.940Z] + sadf -c /var/log/sa-host/sa23 [2021-03-15T07:07:13.940Z] file_magic: OK [2021-03-15T07:07:13.940Z] HZ: Using current value: 100 [2021-03-15T07:07:13.940Z] file_header: OK [2021-03-15T07:07:13.941Z] 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-15T07:07:13.941Z] Statistics: [2021-03-15T07:07:13.941Z] Hnuu...uuuununununu... [2021-03-15T07:07:13.941Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-15T07:07:14.633Z] provisioning config files... [2021-03-15T07:07:14.655Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2788396188715324834tmp [Pipeline] { [Pipeline] echo [2021-03-15T07:07:14.731Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:07:15.026Z] ---> create-netrc.sh [Pipeline] } [2021-03-15T07:07:15.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-15T07:07:15.135Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:07:15.433Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-15T07:07:15.443Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:07:15.771Z] ---> sudo-logs.sh [2021-03-15T07:07:15.771Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-15T07:07:15.843Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:07:16.137Z] ---> job-cost.sh [2021-03-15T07:07:16.137Z] lf-activate-venv: SKIPPING [2021-03-15T07:07:16.137Z] DEBUG: total: 0.20999999344348907 [2021-03-15T07:07:16.137Z] INFO: Retrieving Stack Cost... [2021-03-15T07:07:17.528Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-15T07:07:17.790Z] INFO: Archiving Costs [Pipeline] echo [2021-03-15T07:07:17.804Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-15T07:07:18.100Z] ---> logs-deploy.sh [2021-03-15T07:07:18.100Z] lf-activate-venv: SKIPPING [2021-03-15T07:07:18.100Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/125 [2021-03-15T07:07:18.100Z] INFO: archiving workspace using pattern(s): [2021-03-15T07:07:20.020Z] Archives upload complete. [2021-03-15T07:07:20.020Z] INFO: archiving logs to Nexus