Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e34679e4f02bbc164353b5eb88e70f6c516b0d21 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-30152 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 Checking out Revision e34679e4f02bbc164353b5eb88e70f6c516b0d21 (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 Commit message: "Merge pull request #820 from hahattan/remove-v2" > git rev-list --no-walk 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-03-17T12:02:56.005Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-03-17T12:02:56.307Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-03-17T12:02:56.411Z] ========================================================= [2021-03-17T12:02:56.411Z] EdgeX Global Pipelines Version Info [2021-03-17T12:02:56.411Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:02:57.908Z] ------------------- [2021-03-17T12:02:57.908Z] stable info: [2021-03-17T12:02:57.908Z] ------------------- [2021-03-17T12:02:57.908Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-03-17T12:02:57.908Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-17T12:02:57.908Z] Message: update stable to v1.0.184 [2021-03-17T12:02:58.855Z] ------------------- [2021-03-17T12:02:58.855Z] experimental info: [2021-03-17T12:02:58.855Z] ------------------- [2021-03-17T12:02:58.855Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-03-17T12:02:58.855Z] Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [2021-03-17T12:02:58.855Z] Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-03-17T12:02:59.177Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-03-17T12:02:59.279Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-03-17T12:02:59.370Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-03-17T12:02:59.456Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-03-17T12:02:59.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-03-17T12:02:59.631Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-03-17T12:02:59.712Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-03-17T12:02:59.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-03-17T12:02:59.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-03-17T12:02:59.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-03-17T12:03:00.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-03-17T12:03:00.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-03-17T12:03:00.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-03-17T12:03:00.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-03-17T12:03:00.725Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-03-17T12:03:00.815Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T12:03:00.950Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T12:03:01.045Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-03-17T12:03:01.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-03-17T12:03:01.223Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-03-17T12:03:01.312Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-03-17T12:03:01.401Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-03-17T12:03:01.486Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-03-17T12:03:01.571Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-03-17T12:03:01.664Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-03-17T12:03:01.755Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-03-17T12:03:01.849Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-03-17T12:03:01.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-03-17T12:03:02.063Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-03-17T12:03:02.149Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e34679e4f02bbc164353b5eb88e70f6c516b0d21 [Pipeline] echo [2021-03-17T12:03:02.263Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e34679e [Pipeline] echo [2021-03-17T12:03:02.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T12:03:02.540Z] provisioning config files... [2021-03-17T12:03:02.592Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5383697786378672973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:03:02.947Z] ---> docker-login.sh [2021-03-17T12:03:02.947Z] nexus3.edgexfoundry.org:10001 [2021-03-17T12:03:03.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:03:03.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:03:03.471Z] Configure a credential helper to remove this warning. See [2021-03-17T12:03:03.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:03:03.471Z] [2021-03-17T12:03:03.471Z] Login Succeeded [2021-03-17T12:03:03.471Z] nexus3.edgexfoundry.org:10002 [2021-03-17T12:03:03.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:03:03.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:03:03.736Z] Configure a credential helper to remove this warning. See [2021-03-17T12:03:03.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:03:03.736Z] [2021-03-17T12:03:03.736Z] Login Succeeded [2021-03-17T12:03:03.736Z] nexus3.edgexfoundry.org:10003 [2021-03-17T12:03:03.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:03:03.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:03:03.736Z] Configure a credential helper to remove this warning. See [2021-03-17T12:03:03.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:03:03.736Z] [2021-03-17T12:03:03.736Z] Login Succeeded [2021-03-17T12:03:03.736Z] nexus3.edgexfoundry.org:10004 [2021-03-17T12:03:03.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:03:03.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:03:03.998Z] Configure a credential helper to remove this warning. See [2021-03-17T12:03:03.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:03:03.998Z] [2021-03-17T12:03:03.998Z] Login Succeeded [2021-03-17T12:03:03.998Z] docker.io [2021-03-17T12:03:03.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:03:04.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:03:04.265Z] Configure a credential helper to remove this warning. See [2021-03-17T12:03:04.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:03:04.265Z] [2021-03-17T12:03:04.265Z] Login Succeeded [2021-03-17T12:03:04.265Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T12:03:04.275Z] 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-17T12:03:05.113Z] + git log --format=format:%s -1 e34679e4f02bbc164353b5eb88e70f6c516b0d21 [Pipeline] echo [2021-03-17T12:03:05.181Z] GIT_COMMIT: e34679e4f02bbc164353b5eb88e70f6c516b0d21, Commit Message: Merge pull request #820 from hahattan/remove-v2 [Pipeline] echo [2021-03-17T12:03:05.224Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:03:06.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T12:03:06.190Z] [2021-03-17T12:03:06.190Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:03:06.545Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T12:03:06.545Z] latest: Pulling from edgex-devops/git-semver [2021-03-17T12:03:06.545Z] 31603596830f: Pulling fs layer [2021-03-17T12:03:06.545Z] 2a8b12db71e7: Pulling fs layer [2021-03-17T12:03:06.545Z] 6ca5941a6612: Pulling fs layer [2021-03-17T12:03:06.545Z] ecc8261a40a4: Pulling fs layer [2021-03-17T12:03:06.545Z] 2a8b12db71e7: Download complete [2021-03-17T12:03:06.545Z] 31603596830f: Verifying Checksum [2021-03-17T12:03:06.545Z] 31603596830f: Download complete [2021-03-17T12:03:06.808Z] 6ca5941a6612: Verifying Checksum [2021-03-17T12:03:06.808Z] 6ca5941a6612: Download complete [2021-03-17T12:03:06.808Z] ecc8261a40a4: Verifying Checksum [2021-03-17T12:03:06.808Z] ecc8261a40a4: Download complete [2021-03-17T12:03:07.073Z] 31603596830f: Pull complete [2021-03-17T12:03:07.073Z] 2a8b12db71e7: Pull complete [2021-03-17T12:03:08.026Z] 6ca5941a6612: Pull complete [2021-03-17T12:03:08.289Z] ecc8261a40a4: Pull complete [2021-03-17T12:03:08.289Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-03-17T12:03:08.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T12:03:08.289Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-03-17T12:03:08.466Z] prd-centos7-docker-4c-2g-30152 does not seem to be running inside a container [2021-03-17T12:03:08.516Z] $ 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-17T12:03:11.047Z] $ docker top c1ff44577b62c970c85ca566466acf99c256480051ac1fa7d1a34e1425cd5da6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-17T12:03:11.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T12:03:11.351Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T12:03:11.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T12:03:11.575Z] $ docker exec c1ff44577b62c970c85ca566466acf99c256480051ac1fa7d1a34e1425cd5da6 ssh-agent [2021-03-17T12:03:11.742Z] SSH_AUTH_SOCK=/tmp/ssh-qKikJsRG3Zs1/agent.12 [2021-03-17T12:03:11.742Z] SSH_AGENT_PID=17 [2021-03-17T12:03:11.755Z] Running ssh-add (command line suppressed) [2021-03-17T12:03:11.873Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_470678972377954050.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_470678972377954050.key) [2021-03-17T12:03:11.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T12:03:12.261Z] + git tag --points-at HEAD [Pipeline] } [2021-03-17T12:03:12.284Z] $ docker exec --env ******** --env ******** c1ff44577b62c970c85ca566466acf99c256480051ac1fa7d1a34e1425cd5da6 ssh-agent -k [2021-03-17T12:03:12.406Z] unset SSH_AUTH_SOCK; [2021-03-17T12:03:12.407Z] unset SSH_AGENT_PID; [2021-03-17T12:03:12.407Z] echo Agent pid 17 killed; [2021-03-17T12:03:12.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-03-17T12:03:12.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T12:03:12.626Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T12:03:12.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T12:03:12.794Z] $ docker exec c1ff44577b62c970c85ca566466acf99c256480051ac1fa7d1a34e1425cd5da6 ssh-agent [2021-03-17T12:03:12.954Z] SSH_AUTH_SOCK=/tmp/ssh-uHvmCH2M9akM/agent.46 [2021-03-17T12:03:12.954Z] SSH_AGENT_PID=51 [2021-03-17T12:03:12.961Z] Running ssh-add (command line suppressed) [2021-03-17T12:03:13.081Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4909911966863647520.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4909911966863647520.key) [2021-03-17T12:03:13.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T12:03:13.468Z] + git semver init [2021-03-17T12:03:13.468Z] # -> Open(): unable to determine branch for HEAD [2021-03-17T12:03:13.468Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-17T12:03:13.468Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-17T12:03:13.468Z] # $SEMVER_REMOTE_NAME = origin [2021-03-17T12:03:13.468Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-17T12:03:13.468Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-17T12:03:13.468Z] # $SEMVER_BRANCH = master [2021-03-17T12:03:13.468Z] # $SEMVER_TEMP = /tmp/semver-566268503 [2021-03-17T12:03:13.468Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-03-17T12:03:14.418Z] # '/tmp/semver-566268503' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-03-17T12:03:14.418Z] # -> Force: false [2021-03-17T12:03:14.418Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-17T12:03:14.432Z] $ docker exec --env ******** --env ******** c1ff44577b62c970c85ca566466acf99c256480051ac1fa7d1a34e1425cd5da6 ssh-agent -k [2021-03-17T12:03:14.541Z] unset SSH_AUTH_SOCK; [2021-03-17T12:03:14.541Z] unset SSH_AGENT_PID; [2021-03-17T12:03:14.541Z] echo Agent pid 51 killed; [2021-03-17T12:03:14.588Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-17T12:03:15.074Z] + git semver [Pipeline] } [2021-03-17T12:03:15.097Z] $ docker stop --time=1 c1ff44577b62c970c85ca566466acf99c256480051ac1fa7d1a34e1425cd5da6 [2021-03-17T12:03:16.454Z] $ docker rm -f c1ff44577b62c970c85ca566466acf99c256480051ac1fa7d1a34e1425cd5da6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T12:03:16.941Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-03-17T12:03:17.383Z] Stashed 1 file(s) [Pipeline] echo [2021-03-17T12:03:17.389Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.24 [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-17T12:03:32.963Z] Still waiting to schedule task [2021-03-17T12:03:32.963Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30152’ [2021-03-17T12:03:32.965Z] Still waiting to schedule task [2021-03-17T12:03:32.965Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-03-17T12:05:11.002Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30155 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-17T12:05:11.113Z] Running in /w/workspace/device-sdk-go/129 [Pipeline] { [Pipeline] checkout [2021-03-17T12:05:16.608Z] using credential edgex-jenkins-ssh [2021-03-17T12:05:16.662Z] Cloning the remote Git repository [2021-03-17T12:05:16.720Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:05:16.827Z] > git init /w/workspace/device-sdk-go/129 # timeout=10 [2021-03-17T12:05:16.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:05:16.916Z] > git --version # timeout=10 [2021-03-17T12:05:16.943Z] > git --version # 'git version 2.17.1' [2021-03-17T12:05:16.945Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:05:17.000Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T12:05:18.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T12:05:18.201Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T12:05:18.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T12:05:18.281Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:05:18.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:05:18.294Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-17T12:05:18.902Z] Checking out Revision e34679e4f02bbc164353b5eb88e70f6c516b0d21 (master) [2021-03-17T12:05:18.926Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T12:05:18.950Z] > git checkout -f e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 [2021-03-17T12:05:23.204Z] Commit message: "Merge pull request #820 from hahattan/remove-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T12:05:24.635Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-03-17T12:05:25.047Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-17T12:05:25.400Z] + true [2021-03-17T12:05:25.400Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T12:05:27.537Z] provisioning config files... [2021-03-17T12:05:27.573Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/129@tmp/config4978117844620749575tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:05:27.988Z] ---> docker-login.sh [2021-03-17T12:05:27.988Z] nexus3.edgexfoundry.org:10001 [2021-03-17T12:05:28.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:29.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:29.568Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:29.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:29.568Z] [2021-03-17T12:05:29.568Z] Login Succeeded [2021-03-17T12:05:29.568Z] nexus3.edgexfoundry.org:10002 [2021-03-17T12:05:29.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:29.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:29.840Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:29.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:29.840Z] [2021-03-17T12:05:29.840Z] Login Succeeded [2021-03-17T12:05:29.840Z] nexus3.edgexfoundry.org:10003 [2021-03-17T12:05:30.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:30.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:30.439Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:30.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:30.439Z] [2021-03-17T12:05:30.439Z] Login Succeeded [2021-03-17T12:05:30.439Z] nexus3.edgexfoundry.org:10004 [2021-03-17T12:05:31.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:31.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:31.041Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:31.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:31.041Z] [2021-03-17T12:05:31.041Z] Login Succeeded [2021-03-17T12:05:31.041Z] docker.io [2021-03-17T12:05:31.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:31.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:31.915Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:31.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:31.915Z] [2021-03-17T12:05:31.915Z] Login Succeeded [2021-03-17T12:05:31.915Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T12:05:31.932Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-17T12:05:32.387Z] ========================================================= [2021-03-17T12:05:32.387Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-03-17T12:05:32.387Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:05:32.767Z] + 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-17T12:05:33.047Z] Sending build context to Docker daemon 2.289MB [2021-03-17T12:05:33.320Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T12:05:33.320Z] Step 2/8 : FROM ${BASE} [2021-03-17T12:05:33.320Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-03-17T12:05:33.320Z] 5f621e34cdf4: Pulling fs layer [2021-03-17T12:05:33.320Z] a4357932f1b6: Pulling fs layer [2021-03-17T12:05:33.320Z] 18c013af1878: Pulling fs layer [2021-03-17T12:05:33.320Z] 00ac8860ef70: Pulling fs layer [2021-03-17T12:05:33.320Z] 63d7cb157983: Pulling fs layer [2021-03-17T12:05:33.320Z] b116817d02f9: Pulling fs layer [2021-03-17T12:05:33.320Z] 745a02a5169b: Pulling fs layer [2021-03-17T12:05:33.320Z] 63d7cb157983: Waiting [2021-03-17T12:05:33.320Z] b116817d02f9: Waiting [2021-03-17T12:05:33.320Z] 00ac8860ef70: Waiting [2021-03-17T12:05:33.320Z] 745a02a5169b: Waiting [2021-03-17T12:05:33.320Z] 18c013af1878: Download complete [2021-03-17T12:05:33.320Z] a4357932f1b6: Verifying Checksum [2021-03-17T12:05:33.320Z] a4357932f1b6: Download complete [2021-03-17T12:05:33.596Z] 63d7cb157983: Download complete [2021-03-17T12:05:33.596Z] 5f621e34cdf4: Verifying Checksum [2021-03-17T12:05:33.596Z] b116817d02f9: Verifying Checksum [2021-03-17T12:05:33.596Z] b116817d02f9: Download complete [2021-03-17T12:05:34.214Z] 5f621e34cdf4: Pull complete [2021-03-17T12:05:34.812Z] a4357932f1b6: Pull complete [2021-03-17T12:05:35.086Z] 18c013af1878: Pull complete [2021-03-17T12:05:36.516Z] 745a02a5169b: Download complete [2021-03-17T12:05:37.495Z] 00ac8860ef70: Verifying Checksum [2021-03-17T12:05:37.495Z] 00ac8860ef70: Download complete [2021-03-17T12:05:43.186Z] Running on prd-centos7-docker-4c-2g-30157 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-03-17T12:05:43.237Z] Running in /w/workspace/device-sdk-go/129 [Pipeline] { [Pipeline] checkout [2021-03-17T12:05:45.582Z] using credential edgex-jenkins-ssh [2021-03-17T12:05:45.635Z] Cloning the remote Git repository [2021-03-17T12:05:45.586Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:05:45.658Z] > git init /w/workspace/device-sdk-go/129 # timeout=10 [2021-03-17T12:05:45.721Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:05:45.722Z] > git --version # timeout=10 [2021-03-17T12:05:45.730Z] > git --version # 'git version 2.24.3' [2021-03-17T12:05:45.731Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:05:45.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T12:05:46.995Z] Checking out Revision e34679e4f02bbc164353b5eb88e70f6c516b0d21 (master) [2021-03-17T12:05:47.698Z] 00ac8860ef70: Pull complete [2021-03-17T12:05:46.595Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T12:05:46.601Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-03-17T12:05:46.614Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-03-17T12:05:46.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-03-17T12:05:46.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-03-17T12:05:46.635Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-03-17T12:05:47.004Z] > git config core.sparsecheckout # timeout=10 [2021-03-17T12:05:47.012Z] > git checkout -f e34679e4f02bbc164353b5eb88e70f6c516b0d21 # timeout=10 [2021-03-17T12:05:48.295Z] 63d7cb157983: Pull complete [2021-03-17T12:05:48.596Z] b116817d02f9: Pull complete [2021-03-17T12:05:50.642Z] Commit message: "Merge pull request #820 from hahattan/remove-v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T12:05:51.707Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-03-17T12:05:52.032Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-03-17T12:05:52.333Z] + sudo service docker restart [2021-03-17T12:05:52.333Z] + true [2021-03-17T12:05:52.333Z] Redirecting to /bin/systemctl restart docker.service [2021-03-17T12:05:52.914Z] 745a02a5169b: Pull complete [2021-03-17T12:05:52.914Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-03-17T12:05:52.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-03-17T12:05:52.914Z] ---> b7e6874047d6 [2021-03-17T12:05:52.914Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-03-17T12:05:53.370Z] provisioning config files... [2021-03-17T12:05:53.407Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/129@tmp/config8608325555679853688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:05:53.772Z] ---> docker-login.sh [2021-03-17T12:05:53.772Z] nexus3.edgexfoundry.org:10001 [2021-03-17T12:05:54.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:54.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:54.034Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:54.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:54.034Z] [2021-03-17T12:05:54.034Z] Login Succeeded [2021-03-17T12:05:54.034Z] nexus3.edgexfoundry.org:10002 [2021-03-17T12:05:54.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:54.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:54.297Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:54.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:54.297Z] [2021-03-17T12:05:54.297Z] Login Succeeded [2021-03-17T12:05:54.297Z] nexus3.edgexfoundry.org:10003 [2021-03-17T12:05:54.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:54.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:54.560Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:54.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:54.560Z] [2021-03-17T12:05:54.560Z] Login Succeeded [2021-03-17T12:05:54.560Z] nexus3.edgexfoundry.org:10004 [2021-03-17T12:05:54.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:54.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:54.822Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:54.822Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:54.822Z] [2021-03-17T12:05:54.822Z] Login Succeeded [2021-03-17T12:05:54.822Z] docker.io [2021-03-17T12:05:54.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-03-17T12:05:55.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-03-17T12:05:55.084Z] Configure a credential helper to remove this warning. See [2021-03-17T12:05:55.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-03-17T12:05:55.084Z] [2021-03-17T12:05:55.084Z] Login Succeeded [2021-03-17T12:05:55.084Z] ---> docker-login.sh ends [Pipeline] } [2021-03-17T12:05:55.096Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-03-17T12:05:55.443Z] ========================================================= [2021-03-17T12:05:55.443Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-03-17T12:05:55.443Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:05:55.533Z] ---> Running in 59bf22c9014c [2021-03-17T12:05:55.796Z] + 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-17T12:05:55.796Z] Sending build context to Docker daemon 2.298MB [2021-03-17T12:05:55.796Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T12:05:55.796Z] Step 2/8 : FROM ${BASE} [2021-03-17T12:05:55.811Z] Removing intermediate container 59bf22c9014c [2021-03-17T12:05:55.811Z] ---> 33c807a60674 [2021-03-17T12:05:55.811Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T12:05:55.811Z] ---> Running in d56f0d8aac3e [2021-03-17T12:05:56.065Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-03-17T12:05:56.065Z] 188c0c94c7c5: Pulling fs layer [2021-03-17T12:05:56.065Z] 0ef7d3d256c8: Pulling fs layer [2021-03-17T12:05:56.065Z] de9db76c5a1d: Pulling fs layer [2021-03-17T12:05:56.065Z] bca2f99d35d6: Pulling fs layer [2021-03-17T12:05:56.065Z] 93359f2a8cfa: Pulling fs layer [2021-03-17T12:05:56.065Z] 7c6f9722023f: Pulling fs layer [2021-03-17T12:05:56.065Z] a35cf1a2eb13: Pulling fs layer [2021-03-17T12:05:56.065Z] 93359f2a8cfa: Waiting [2021-03-17T12:05:56.065Z] 7c6f9722023f: Waiting [2021-03-17T12:05:56.065Z] a35cf1a2eb13: Waiting [2021-03-17T12:05:56.065Z] bca2f99d35d6: Waiting [2021-03-17T12:05:56.065Z] de9db76c5a1d: Verifying Checksum [2021-03-17T12:05:56.065Z] de9db76c5a1d: Download complete [2021-03-17T12:05:56.065Z] 0ef7d3d256c8: Download complete [2021-03-17T12:05:56.065Z] 93359f2a8cfa: Verifying Checksum [2021-03-17T12:05:56.065Z] 93359f2a8cfa: Download complete [2021-03-17T12:05:56.065Z] 7c6f9722023f: Download complete [2021-03-17T12:05:56.065Z] 188c0c94c7c5: Verifying Checksum [2021-03-17T12:05:56.065Z] 188c0c94c7c5: Download complete [2021-03-17T12:05:56.333Z] 188c0c94c7c5: Pull complete [2021-03-17T12:05:56.595Z] 0ef7d3d256c8: Pull complete [2021-03-17T12:05:56.595Z] de9db76c5a1d: Pull complete [2021-03-17T12:05:57.984Z] a35cf1a2eb13: Verifying Checksum [2021-03-17T12:05:57.984Z] a35cf1a2eb13: Download complete [2021-03-17T12:05:58.460Z] Removing intermediate container d56f0d8aac3e [2021-03-17T12:05:58.460Z] ---> 8f0888ffe10d [2021-03-17T12:05:58.460Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-17T12:05:58.460Z] ---> Running in 22599ab017db [2021-03-17T12:05:58.599Z] bca2f99d35d6: Download complete [2021-03-17T12:05:59.442Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-17T12:06:00.872Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-17T12:06:02.317Z] OK: 142 MiB in 39 packages [2021-03-17T12:06:03.295Z] Removing intermediate container 22599ab017db [2021-03-17T12:06:03.295Z] ---> 0110c56b553c [2021-03-17T12:06:03.295Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-17T12:06:03.568Z] ---> Running in b73f1b1fd2c7 [2021-03-17T12:06:03.951Z] bca2f99d35d6: Pull complete [2021-03-17T12:06:03.951Z] 93359f2a8cfa: Pull complete [2021-03-17T12:06:03.951Z] 7c6f9722023f: Pull complete [2021-03-17T12:06:04.161Z] Removing intermediate container b73f1b1fd2c7 [2021-03-17T12:06:04.161Z] ---> c6c16fcfa65a [2021-03-17T12:06:04.161Z] Step 7/8 : COPY . . [2021-03-17T12:06:05.141Z] ---> 92ac2fb7172c [2021-03-17T12:06:05.141Z] Step 8/8 : RUN go mod download [2021-03-17T12:06:05.413Z] ---> Running in de54db3ea7e6 [2021-03-17T12:06:12.127Z] a35cf1a2eb13: Pull complete [2021-03-17T12:06:12.127Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-03-17T12:06:12.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-03-17T12:06:12.127Z] ---> a62c8e92a672 [2021-03-17T12:06:12.127Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:06:12.127Z] ---> Running in 2f61a2fbad65 [2021-03-17T12:06:12.127Z] Removing intermediate container 2f61a2fbad65 [2021-03-17T12:06:12.127Z] ---> 86572661f26f [2021-03-17T12:06:12.127Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T12:06:12.127Z] ---> Running in 4f073ee76b74 [2021-03-17T12:06:13.082Z] Removing intermediate container 4f073ee76b74 [2021-03-17T12:06:13.082Z] ---> 8388b2feef8a [2021-03-17T12:06:13.082Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-03-17T12:06:13.344Z] ---> Running in 11de48f30d8e [2021-03-17T12:06:13.608Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-17T12:06:15.000Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-17T12:06:15.948Z] OK: 166 MiB in 39 packages [2021-03-17T12:06:16.210Z] Removing intermediate container 11de48f30d8e [2021-03-17T12:06:16.210Z] ---> 082461cbee94 [2021-03-17T12:06:16.210Z] Step 6/8 : WORKDIR /device-sdk-go [2021-03-17T12:06:16.210Z] ---> Running in bfd55e33ca26 [2021-03-17T12:06:16.473Z] Removing intermediate container bfd55e33ca26 [2021-03-17T12:06:16.473Z] ---> 53f6d43768ab [2021-03-17T12:06:16.473Z] Step 7/8 : COPY . . [2021-03-17T12:06:17.420Z] ---> d2b547c9d934 [2021-03-17T12:06:17.420Z] Step 8/8 : RUN go mod download [2021-03-17T12:06:17.420Z] ---> Running in e39d5c0de92b [2021-03-17T12:06:32.204Z] Removing intermediate container de54db3ea7e6 [2021-03-17T12:06:32.204Z] ---> e9eb33328e35 [2021-03-17T12:06:32.204Z] Successfully built e9eb33328e35 [2021-03-17T12:06:32.204Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:06:32.542Z] + docker inspect -f . ci-base-image-arm64 [2021-03-17T12:06:32.543Z] . [Pipeline] withDockerContainer [2021-03-17T12:06:32.785Z] prd-ubuntu18.04-docker-arm64-4c-16g-30155 does not seem to be running inside a container [2021-03-17T12:06:32.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/129 -v /w/workspace/device-sdk-go/129:/w/workspace/device-sdk-go/129:rw,z -v /w/workspace/device-sdk-go/129@tmp:/w/workspace/device-sdk-go/129@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 ******** ci-base-image-arm64 cat [2021-03-17T12:06:34.285Z] $ docker top dffe50937bcd3ad45e44ce4c4e43fa6d707e913066bfd8ca0cec7e8684427ebf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T12:06:35.307Z] + go version [2021-03-17T12:06:35.307Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-03-17T12:06:35.330Z] $ docker stop --time=1 dffe50937bcd3ad45e44ce4c4e43fa6d707e913066bfd8ca0cec7e8684427ebf [2021-03-17T12:06:37.245Z] $ docker rm -f dffe50937bcd3ad45e44ce4c4e43fa6d707e913066bfd8ca0cec7e8684427ebf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:06:38.225Z] + docker inspect -f . ci-base-image-arm64 [2021-03-17T12:06:38.225Z] . [Pipeline] withDockerContainer [2021-03-17T12:06:38.482Z] prd-ubuntu18.04-docker-arm64-4c-16g-30155 does not seem to be running inside a container [2021-03-17T12:06:38.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/129 -v /w/workspace/device-sdk-go/129:/w/workspace/device-sdk-go/129:rw,z -v /w/workspace/device-sdk-go/129@tmp:/w/workspace/device-sdk-go/129@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 ******** ci-base-image-arm64 cat [2021-03-17T12:06:39.436Z] Removing intermediate container e39d5c0de92b [2021-03-17T12:06:39.436Z] ---> b5496e197648 [2021-03-17T12:06:39.436Z] Successfully built b5496e197648 [2021-03-17T12:06:39.436Z] Successfully tagged ci-base-image-x86_64:latest [2021-03-17T12:06:40.115Z] $ docker top 614ed15c2f6aa0c4778bb8d48c89f7355a21ab015320e2aa28e140df290488f4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:06:40.883Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-17T12:06:40.883Z] . [Pipeline] withDockerContainer [2021-03-17T12:06:41.144Z] + make test [2021-03-17T12:06:41.144Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-17T12:06:41.236Z] prd-centos7-docker-4c-2g-30157 does not seem to be running inside a container [2021-03-17T12:06:41.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/129 -v /w/workspace/device-sdk-go/129:/w/workspace/device-sdk-go/129:rw,z -v /w/workspace/device-sdk-go/129@tmp:/w/workspace/device-sdk-go/129@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-17T12:06:42.486Z] $ docker top 93d3655dc7308d507c7f1253f0b1401e45be436c9447232226195d949896edd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T12:06:42.975Z] + go version [2021-03-17T12:06:42.975Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-03-17T12:06:42.991Z] $ docker stop --time=1 93d3655dc7308d507c7f1253f0b1401e45be436c9447232226195d949896edd4 [2021-03-17T12:06:44.338Z] $ docker rm -f 93d3655dc7308d507c7f1253f0b1401e45be436c9447232226195d949896edd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:06:45.099Z] + docker inspect -f . ci-base-image-x86_64 [2021-03-17T12:06:45.100Z] . [Pipeline] withDockerContainer [2021-03-17T12:06:45.200Z] prd-centos7-docker-4c-2g-30157 does not seem to be running inside a container [2021-03-17T12:06:45.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/129 -v /w/workspace/device-sdk-go/129:/w/workspace/device-sdk-go/129:rw,z -v /w/workspace/device-sdk-go/129@tmp:/w/workspace/device-sdk-go/129@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-17T12:06:45.819Z] $ docker top e237d4b02a22159340fb595f1fabcc0a3a9b035e37fcaeebd12e5a96358a5270 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T12:06:46.299Z] + make test [2021-03-17T12:06:46.299Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-03-17T12:06:52.947Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-17T12:07:03.336Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-03-17T12:07:07.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-17T12:07:07.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-17T12:07:07.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-17T12:07:07.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-17T12:07:10.565Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 25.5% of statements [2021-03-17T12:07:10.565Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 81.2% of statements [2021-03-17T12:07:42.362Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-03-17T12:07:42.362Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-03-17T12:07:42.362Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-03-17T12:07:42.362Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-03-17T12:07:42.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.051s coverage: 10.5% of statements [2021-03-17T12:07:42.759Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-17T12:07:42.759Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-17T12:07:42.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 32.5% of statements [2021-03-17T12:07:42.759Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-17T12:07:42.759Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-17T12:07:42.759Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-17T12:07:42.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 57.3% of statements [2021-03-17T12:07:42.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.143s coverage: 6.6% of statements [2021-03-17T12:07:42.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.1% of statements [2021-03-17T12:07:42.759Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-17T12:07:42.759Z] GO111MODULE=on go vet ./... [2021-03-17T12:07:49.445Z] gofmt -l . [2021-03-17T12:07:49.445Z] [ "`gofmt -l .`" = "" ] [2021-03-17T12:07:49.445Z] ./bin/test-attribution-txt.sh [2021-03-17T12:07:49.445Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-17T12:07:49.724Z] $ docker stop --time=1 e237d4b02a22159340fb595f1fabcc0a3a9b035e37fcaeebd12e5a96358a5270 [2021-03-17T12:07:50.656Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 25.5% of statements [2021-03-17T12:07:50.936Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.188s coverage: 81.2% of statements [2021-03-17T12:07:51.649Z] $ docker rm -f e237d4b02a22159340fb595f1fabcc0a3a9b035e37fcaeebd12e5a96358a5270 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T12:07:52.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-17T12:07:52.640Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-03-17T12:07:55.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-17T12:07:55.676Z] + ls -al . [2021-03-17T12:07:55.677Z] total 184 [2021-03-17T12:07:55.677Z] drwxrwxr-x. 10 jenkins jenkins 4096 Mar 17 12:07 . [2021-03-17T12:07:55.677Z] drwxrwxr-x. 4 jenkins jenkins 32 Mar 17 12:05 .. [2021-03-17T12:07:55.677Z] drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 12:05 bin [2021-03-17T12:07:55.677Z] -rw-r--r--. 1 jenkins jenkins 100014 Mar 17 12:07 coverage.out [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 949 Mar 17 12:05 Dockerfile.build [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 12:05 .dockerignore [2021-03-17T12:07:55.677Z] drwxrwxr-x. 4 jenkins jenkins 48 Mar 17 12:05 example [2021-03-17T12:07:55.677Z] drwxrwxr-x. 8 jenkins jenkins 162 Mar 17 12:05 .git [2021-03-17T12:07:55.677Z] drwxrwxr-x. 2 jenkins jenkins 103 Mar 17 12:05 .github [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 12:05 .gitignore [2021-03-17T12:07:55.677Z] -rw-r--r--. 1 jenkins jenkins 479 Mar 17 12:07 go.mod [2021-03-17T12:07:55.677Z] -rw-r--r--. 1 jenkins jenkins 17490 Mar 17 12:07 go.sum [2021-03-17T12:07:55.677Z] drwxrwxr-x. 13 jenkins jenkins 193 Mar 17 12:05 internal [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 901 Mar 17 12:05 Jenkinsfile [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 12:05 LICENSE [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 1016 Mar 17 12:05 Makefile [2021-03-17T12:07:55.677Z] drwxrwxr-x. 4 jenkins jenkins 26 Mar 17 12:05 openapi [2021-03-17T12:07:55.677Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 17 12:05 pkg [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 5897 Mar 17 12:05 README.md [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 6616 Mar 17 12:05 RELEASE-NOTES.txt [2021-03-17T12:07:55.677Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 12:05 snap [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 12 Mar 17 12:03 VERSION [2021-03-17T12:07:55.677Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 12:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:07:56.001Z] + 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=e34679e4f02bbc164353b5eb88e70f6c516b0d21 --label arch=amd64 --label version=2.0.0-dev.24 . [2021-03-17T12:07:56.268Z] Sending build context to Docker daemon 2.399MB [2021-03-17T12:07:56.268Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T12:07:56.268Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-17T12:07:56.268Z] ---> b5496e197648 [2021-03-17T12:07:56.268Z] Step 3/24 : ARG MAKE='make build' [2021-03-17T12:07:56.536Z] ---> Running in 2194a0f4b54c [2021-03-17T12:07:56.806Z] Removing intermediate container 2194a0f4b54c [2021-03-17T12:07:56.806Z] ---> 2811c25ddadb [2021-03-17T12:07:56.806Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-17T12:07:56.806Z] ---> Running in a37469550464 [2021-03-17T12:07:57.068Z] Removing intermediate container a37469550464 [2021-03-17T12:07:57.068Z] ---> 1097f957961c [2021-03-17T12:07:57.068Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:07:57.068Z] ---> Running in 160bebcd7b2f [2021-03-17T12:07:57.331Z] Removing intermediate container 160bebcd7b2f [2021-03-17T12:07:57.331Z] ---> 0d709afa704c [2021-03-17T12:07:57.331Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T12:07:57.331Z] ---> Running in c6fa8e941869 [2021-03-17T12:07:58.300Z] Removing intermediate container c6fa8e941869 [2021-03-17T12:07:58.300Z] ---> 79ebd40d60c5 [2021-03-17T12:07:58.300Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-17T12:07:58.300Z] ---> Running in 3e0b11fb40d1 [2021-03-17T12:07:58.882Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-03-17T12:07:59.831Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-03-17T12:08:00.777Z] OK: 166 MiB in 39 packages [2021-03-17T12:08:01.353Z] Removing intermediate container 3e0b11fb40d1 [2021-03-17T12:08:01.353Z] ---> 75d4f0d2659c [2021-03-17T12:08:01.353Z] Step 8/24 : COPY . . [2021-03-17T12:08:02.301Z] ---> 71e61559e022 [2021-03-17T12:08:02.301Z] Step 9/24 : RUN ${MAKE} [2021-03-17T12:08:02.301Z] ---> Running in 1474d2ca0d2c [2021-03-17T12:08:02.566Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.24" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-17T12:08:10.839Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-17T12:08:13.391Z] Removing intermediate container 1474d2ca0d2c [2021-03-17T12:08:13.391Z] ---> b3ca309f50c7 [2021-03-17T12:08:13.391Z] Step 10/24 : FROM scratch [2021-03-17T12:08:13.391Z] ---> [2021-03-17T12:08:13.391Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:08:13.656Z] ---> Running in bdbcaf11764c [2021-03-17T12:08:13.656Z] Removing intermediate container bdbcaf11764c [2021-03-17T12:08:13.656Z] ---> d6efb854329a [2021-03-17T12:08:13.656Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-17T12:08:13.656Z] ---> Running in 7c5b43a6b9ae [2021-03-17T12:08:13.922Z] Removing intermediate container 7c5b43a6b9ae [2021-03-17T12:08:13.922Z] ---> ec8cc1f13e6e [2021-03-17T12:08:13.922Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-17T12:08:13.922Z] ---> Running in 91e5af3de56f [2021-03-17T12:08:14.186Z] Removing intermediate container 91e5af3de56f [2021-03-17T12:08:14.186Z] ---> b701719b11e0 [2021-03-17T12:08:14.186Z] Step 14/24 : WORKDIR / [2021-03-17T12:08:14.186Z] ---> Running in 2184ff601e1f [2021-03-17T12:08:14.186Z] Removing intermediate container 2184ff601e1f [2021-03-17T12:08:14.186Z] ---> a72433efab24 [2021-03-17T12:08:14.186Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-17T12:08:14.768Z] ---> 39115a7f163d [2021-03-17T12:08:14.768Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-17T12:08:15.030Z] ---> b0f22acbdf02 [2021-03-17T12:08:15.030Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-17T12:08:15.292Z] ---> e2e8d05fac0f [2021-03-17T12:08:15.292Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-17T12:08:15.555Z] ---> ca638d141114 [2021-03-17T12:08:15.555Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-17T12:08:15.555Z] ---> f5477b85fc6d [2021-03-17T12:08:15.555Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-17T12:08:15.818Z] ---> Running in df8cccbbd73d [2021-03-17T12:08:15.818Z] Removing intermediate container df8cccbbd73d [2021-03-17T12:08:15.818Z] ---> a940203ba2b8 [2021-03-17T12:08:15.818Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-17T12:08:16.080Z] ---> Running in 9bb83244a821 [2021-03-17T12:08:16.080Z] Removing intermediate container 9bb83244a821 [2021-03-17T12:08:16.080Z] ---> ace7e61c298c [2021-03-17T12:08:16.080Z] Step 22/24 : LABEL arch=amd64 [2021-03-17T12:08:16.080Z] ---> Running in 1c37d249d212 [2021-03-17T12:08:16.344Z] Removing intermediate container 1c37d249d212 [2021-03-17T12:08:16.344Z] ---> 8b2abe704ebe [2021-03-17T12:08:16.344Z] Step 23/24 : LABEL git_sha=e34679e4f02bbc164353b5eb88e70f6c516b0d21 [2021-03-17T12:08:16.344Z] ---> Running in 3ef8661136de [2021-03-17T12:08:16.607Z] Removing intermediate container 3ef8661136de [2021-03-17T12:08:16.607Z] ---> 12c824219e04 [2021-03-17T12:08:16.607Z] Step 24/24 : LABEL version=2.0.0-dev.24 [2021-03-17T12:08:16.607Z] ---> Running in 3dc37744b4f7 [2021-03-17T12:08:16.871Z] Removing intermediate container 3dc37744b4f7 [2021-03-17T12:08:16.872Z] ---> 1bf580a30b7f [2021-03-17T12:08:16.872Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-17T12:08:16.872Z] Successfully built 1bf580a30b7f [2021-03-17T12:08:16.872Z] 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-17T12:08:17.741Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.105s coverage: 10.5% of statements [2021-03-17T12:08:17.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-03-17T12:08:17.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-03-17T12:08:17.741Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.256s coverage: 32.5% of statements [2021-03-17T12:08:17.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-03-17T12:08:17.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-03-17T12:08:17.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-03-17T12:08:17.741Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.299s coverage: 57.3% of statements [2021-03-17T12:08:17.741Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.016s coverage: 6.6% of statements [2021-03-17T12:08:17.741Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.1% of statements [2021-03-17T12:08:17.741Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-03-17T12:08:17.741Z] GO111MODULE=on go vet ./... [2021-03-17T12:08:17.872Z] ---> job-cost.sh [2021-03-17T12:08:17.872Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RmGX [2021-03-17T12:08:32.830Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-17T12:08:50.126Z] gofmt -l . [2021-03-17T12:08:50.126Z] [ "`gofmt -l .`" = "" ] [2021-03-17T12:08:50.126Z] ./bin/test-attribution-txt.sh [2021-03-17T12:08:50.126Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-03-17T12:08:50.151Z] $ docker stop --time=1 614ed15c2f6aa0c4778bb8d48c89f7355a21ab015320e2aa28e140df290488f4 [2021-03-17T12:08:52.292Z] $ docker rm -f 614ed15c2f6aa0c4778bb8d48c89f7355a21ab015320e2aa28e140df290488f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-03-17T12:08:53.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-03-17T12:08:53.432Z] Warning: overwriting stash ‘coverage-report’ [2021-03-17T12:08:54.218Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-03-17T12:08:54.877Z] lf-activate-venv(): INFO: Adding /tmp/venv-RmGX/bin to PATH [2021-03-17T12:08:54.878Z] INFO: No Stack... [2021-03-17T12:08:54.892Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-03-17T12:08:55.279Z] + ls -al . [2021-03-17T12:08:55.279Z] total 220 [2021-03-17T12:08:55.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 12:08 . [2021-03-17T12:08:55.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:05 .. [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 12:05 .dockerignore [2021-03-17T12:08:55.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 12:05 .git [2021-03-17T12:08:55.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:05 .github [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 12:05 .gitignore [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 949 Mar 17 12:05 Dockerfile.build [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 901 Mar 17 12:05 Jenkinsfile [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 12:05 LICENSE [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 1016 Mar 17 12:05 Makefile [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 5897 Mar 17 12:05 README.md [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 6616 Mar 17 12:05 RELEASE-NOTES.txt [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 12:03 VERSION [2021-03-17T12:08:55.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 12:05 bin [2021-03-17T12:08:55.279Z] -rw-r--r-- 1 jenkins jenkins 100014 Mar 17 12:08 coverage.out [2021-03-17T12:08:55.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:05 example [2021-03-17T12:08:55.279Z] -rw-r--r-- 1 jenkins jenkins 479 Mar 17 12:08 go.mod [2021-03-17T12:08:55.279Z] -rw-r--r-- 1 jenkins jenkins 17490 Mar 17 12:08 go.sum [2021-03-17T12:08:55.279Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 17 12:05 internal [2021-03-17T12:08:55.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:05 openapi [2021-03-17T12:08:55.279Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 12:05 pkg [2021-03-17T12:08:55.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 12:05 snap [2021-03-17T12:08:55.279Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 12:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:08:55.641Z] + 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=e34679e4f02bbc164353b5eb88e70f6c516b0d21 --label arch=arm64 --label version=2.0.0-dev.24 . [2021-03-17T12:08:55.922Z] Sending build context to Docker daemon 2.39MB [2021-03-17T12:08:56.220Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-03-17T12:08:56.220Z] Step 2/24 : FROM ${BASE} AS builder [2021-03-17T12:08:56.220Z] ---> e9eb33328e35 [2021-03-17T12:08:56.220Z] Step 3/24 : ARG MAKE='make build' [2021-03-17T12:08:56.498Z] ---> Running in 5753ce885b2c [2021-03-17T12:08:56.787Z] Removing intermediate container 5753ce885b2c [2021-03-17T12:08:56.787Z] ---> cc43f290ee34 [2021-03-17T12:08:56.787Z] Step 4/24 : WORKDIR /device-sdk-go [2021-03-17T12:08:56.806Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-17T12:08:57.074Z] ---> Running in 1a421441683e [2021-03-17T12:08:57.666Z] Removing intermediate container 1a421441683e [2021-03-17T12:08:57.666Z] ---> 7d4b5a734859 [2021-03-17T12:08:57.666Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:08:57.666Z] ---> Running in 075e54604f4c [2021-03-17T12:08:57.753Z] INFO: Archiving Costs [Pipeline] sh [2021-03-17T12:08:57.937Z] Removing intermediate container 075e54604f4c [2021-03-17T12:08:57.937Z] ---> c261ebb6b888 [2021-03-17T12:08:57.937Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-03-17T12:08:58.063Z] + cat /w/workspace/device-sdk-go/129/archives/cost.csv [2021-03-17T12:08:58.063Z] + cut -d, -f6 [Pipeline] lock [2021-03-17T12:08:58.157Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-129-stack-cost] [2021-03-17T12:08:58.168Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-129-stack-cost] did not exist. Created. [2021-03-17T12:08:58.168Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-129-stack-cost] [Pipeline] { [2021-03-17T12:08:58.207Z] ---> Running in 0f675aa56938 [Pipeline] unstash [Pipeline] sh [2021-03-17T12:08:58.566Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-03-17T12:08:58.661Z] Stashed 1 file(s) [Pipeline] } [2021-03-17T12:08:58.675Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-129-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-03-17T12:09:00.198Z] Removing intermediate container 0f675aa56938 [2021-03-17T12:09:00.198Z] ---> 7deb41936e48 [2021-03-17T12:09:00.198Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-03-17T12:09:00.198Z] ---> Running in 2dbb64844ad2 [2021-03-17T12:09:01.190Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-03-17T12:09:04.568Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-03-17T12:09:07.176Z] OK: 142 MiB in 39 packages [2021-03-17T12:09:08.162Z] Removing intermediate container 2dbb64844ad2 [2021-03-17T12:09:08.162Z] ---> 6ee79f03f6df [2021-03-17T12:09:08.162Z] Step 8/24 : COPY . . [2021-03-17T12:09:09.600Z] ---> 2dc5e6787a30 [2021-03-17T12:09:09.600Z] Step 9/24 : RUN ${MAKE} [2021-03-17T12:09:09.600Z] ---> Running in 7d842cf94580 [2021-03-17T12:09:11.053Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.24" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-03-17T12:09:37.864Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-03-17T12:09:40.483Z] Removing intermediate container 7d842cf94580 [2021-03-17T12:09:40.483Z] ---> f654d979489a [2021-03-17T12:09:40.483Z] Step 10/24 : FROM scratch [2021-03-17T12:09:40.483Z] ---> [2021-03-17T12:09:40.483Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-03-17T12:09:40.483Z] ---> Running in f6163eea1dc7 [2021-03-17T12:09:40.483Z] Removing intermediate container f6163eea1dc7 [2021-03-17T12:09:40.483Z] ---> d52618729db5 [2021-03-17T12:09:40.483Z] Step 12/24 : ENV APP_PORT=49990 [2021-03-17T12:09:40.769Z] ---> Running in 968a77be5af2 [2021-03-17T12:09:41.041Z] Removing intermediate container 968a77be5af2 [2021-03-17T12:09:41.041Z] ---> 931422534488 [2021-03-17T12:09:41.041Z] Step 13/24 : EXPOSE $APP_PORT [2021-03-17T12:09:41.041Z] ---> Running in c0b32d034327 [2021-03-17T12:09:41.636Z] Removing intermediate container c0b32d034327 [2021-03-17T12:09:41.636Z] ---> 52601b0969c6 [2021-03-17T12:09:41.636Z] Step 14/24 : WORKDIR / [2021-03-17T12:09:41.909Z] ---> Running in f25e64da9449 [2021-03-17T12:09:42.183Z] Removing intermediate container f25e64da9449 [2021-03-17T12:09:42.183Z] ---> 81b127fcf918 [2021-03-17T12:09:42.183Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-03-17T12:09:43.617Z] ---> e0ef8088dbb8 [2021-03-17T12:09:43.617Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-03-17T12:09:44.212Z] ---> 4ca8d8450d42 [2021-03-17T12:09:44.212Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-03-17T12:09:45.188Z] ---> 84c063990c98 [2021-03-17T12:09:45.188Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-03-17T12:09:45.782Z] ---> 986736a95b3d [2021-03-17T12:09:45.782Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-03-17T12:09:46.382Z] ---> 055c849e361d [2021-03-17T12:09:46.382Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-03-17T12:09:46.655Z] ---> Running in d7c00440823c [2021-03-17T12:09:46.931Z] Removing intermediate container d7c00440823c [2021-03-17T12:09:46.931Z] ---> bd38b0a09652 [2021-03-17T12:09:46.931Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-03-17T12:09:47.204Z] ---> Running in bccf38309690 [2021-03-17T12:09:47.798Z] Removing intermediate container bccf38309690 [2021-03-17T12:09:47.798Z] ---> f84dfc5a9ca0 [2021-03-17T12:09:47.798Z] Step 22/24 : LABEL arch=arm64 [2021-03-17T12:09:48.392Z] ---> Running in a142c87cb6f0 [2021-03-17T12:09:48.986Z] Removing intermediate container a142c87cb6f0 [2021-03-17T12:09:48.986Z] ---> 8a6005164c05 [2021-03-17T12:09:48.986Z] Step 23/24 : LABEL git_sha=e34679e4f02bbc164353b5eb88e70f6c516b0d21 [2021-03-17T12:09:48.986Z] ---> Running in 95316034e272 [2021-03-17T12:09:49.581Z] Removing intermediate container 95316034e272 [2021-03-17T12:09:49.581Z] ---> ada66309fc84 [2021-03-17T12:09:49.581Z] Step 24/24 : LABEL version=2.0.0-dev.24 [2021-03-17T12:09:49.581Z] ---> Running in 914f56f60076 [2021-03-17T12:09:50.179Z] Removing intermediate container 914f56f60076 [2021-03-17T12:09:50.179Z] ---> 1401e4248a0c [2021-03-17T12:09:50.179Z] [Warning] One or more build-args [ARCH] were not consumed [2021-03-17T12:09:50.179Z] Successfully built 1401e4248a0c [2021-03-17T12:09:50.179Z] 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-17T12:09:51.055Z] ---> job-cost.sh [2021-03-17T12:09:51.056Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JQPC [2021-03-17T12:10:37.992Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-03-17T12:12:29.790Z] lf-activate-venv(): INFO: Adding /tmp/venv-JQPC/bin to PATH [2021-03-17T12:12:29.790Z] INFO: No Stack... [2021-03-17T12:12:29.790Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-03-17T12:12:29.790Z] INFO: Archiving Costs [Pipeline] sh [2021-03-17T12:12:30.128Z] + cut -d, -f6 [2021-03-17T12:12:30.128Z] + cat /w/workspace/device-sdk-go/129/archives/cost.csv [Pipeline] lock [2021-03-17T12:12:30.257Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-129-stack-cost] [2021-03-17T12:12:30.285Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-129-stack-cost] did not exist. Created. [2021-03-17T12:12:30.285Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-03-17T12:12:30.736Z] /w/workspace/device-sdk-go/129@tmp/durable-ffcef60d/script.sh: 1: /w/workspace/device-sdk-go/129@tmp/durable-ffcef60d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-03-17T12:12:31.088Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-03-17T12:12:31.108Z] Warning: overwriting stash ‘stack-cost’ [2021-03-17T12:12:31.281Z] Stashed 1 file(s) [Pipeline] } [2021-03-17T12:12:31.294Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-129-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-17T12:12:32.564Z] provisioning config files... [2021-03-17T12:12:32.582Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6721920781676102991tmp [Pipeline] { [Pipeline] sh [2021-03-17T12:12:32.956Z] + set +x [2021-03-17T12:12:32.956Z] + curl -s https://codecov.io/bash [2021-03-17T12:12:32.956Z] + bash -s -- [2021-03-17T12:12:33.219Z] [2021-03-17T12:12:33.219Z] _____ _ [2021-03-17T12:12:33.219Z] / ____| | | [2021-03-17T12:12:33.219Z] | | ___ __| | ___ ___ _____ __ [2021-03-17T12:12:33.219Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-03-17T12:12:33.219Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-03-17T12:12:33.219Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-03-17T12:12:33.219Z] Bash-20210309-2b87ace [2021-03-17T12:12:33.219Z] [2021-03-17T12:12:33.219Z] [2021-03-17T12:12:33.219Z] ==> git version 2.24.3 found [2021-03-17T12:12:33.219Z] ==> 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-17T12:12:33.219Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-03-17T12:12:33.219Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-03-17T12:12:33.219Z] ==> Jenkins CI detected. [2021-03-17T12:12:33.219Z] project root: . [2021-03-17T12:12:33.219Z] --> token set from env [2021-03-17T12:12:33.219Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-03-17T12:12:33.219Z] ==> Running gcov in . (disable via -X gcov) [2021-03-17T12:12:33.219Z] ==> Python coveragepy not found [2021-03-17T12:12:33.219Z] ==> Searching for coverage reports in: [2021-03-17T12:12:33.219Z] + . [2021-03-17T12:12:33.219Z] -> Found 1 reports [2021-03-17T12:12:33.219Z] ==> Detecting git/mercurial file structure [2021-03-17T12:12:33.219Z] ==> Reading reports [2021-03-17T12:12:33.219Z] + ./coverage.out bytes=100014 [2021-03-17T12:12:33.219Z] ==> Appending adjustments [2021-03-17T12:12:33.219Z] https://docs.codecov.io/docs/fixing-reports [2021-03-17T12:12:33.482Z] + Found adjustments [2021-03-17T12:12:33.482Z] ==> Gzipping contents [2021-03-17T12:12:33.482Z] 16K /tmp/codecov.Pj8tej.gz [2021-03-17T12:12:33.745Z] ==> Uploading reports [2021-03-17T12:12:33.745Z] url: https://codecov.io [2021-03-17T12:12:33.745Z] query: branch=master&commit=e34679e4f02bbc164353b5eb88e70f6c516b0d21&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-17T12:12:33.745Z] -> Pinging Codecov [2021-03-17T12:12:33.745Z] https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=master&commit=e34679e4f02bbc164353b5eb88e70f6c516b0d21&build=129&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F129%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-03-17T12:12:34.320Z] -> Uploading to [2021-03-17T12:12:34.320Z] https://storage.googleapis.com/codecov/v4/raw/2021-03-17/7E55EF52A471D76F132DFD9A03CDDE97/e34679e4f02bbc164353b5eb88e70f6c516b0d21/d8cae90e-d35b-4f40-ae04-95c668216388.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210317T121234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04131ebf19c3cd708a732b84041083d235983a8d83d33f5bbc07bd7a3714dc48 [2021-03-17T12:12:34.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-17T12:12:34.320Z] Dload Upload Total Spent Left Speed [2021-03-17T12:12:34.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13452 0 0 100 13452 0 36415 --:--:-- --:--:-- --:--:-- 36455 [2021-03-17T12:12:34.583Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e34679e4f02bbc164353b5eb88e70f6c516b0d21 [Pipeline] } [2021-03-17T12:12:34.600Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-03-17T12:12:35.479Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-03-17T12:12:35.538Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:12:35.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-17T12:12:35.884Z] [2021-03-17T12:12:35.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:12:36.249Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-17T12:12:36.249Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-03-17T12:12:36.249Z] 188c0c94c7c5: Pulling fs layer [2021-03-17T12:12:36.249Z] 0ef7d3d256c8: Pulling fs layer [2021-03-17T12:12:36.249Z] de9db76c5a1d: Pulling fs layer [2021-03-17T12:12:36.249Z] 0eba1c9be4d2: Pulling fs layer [2021-03-17T12:12:36.249Z] 0d57e429df01: Pulling fs layer [2021-03-17T12:12:36.249Z] 4e4be7b47b0d: Pulling fs layer [2021-03-17T12:12:36.249Z] e1f770b5df2f: Pulling fs layer [2021-03-17T12:12:36.249Z] 85a0685a4137: Pulling fs layer [2021-03-17T12:12:36.249Z] 0d57e429df01: Waiting [2021-03-17T12:12:36.249Z] 4e4be7b47b0d: Waiting [2021-03-17T12:12:36.249Z] e1f770b5df2f: Waiting [2021-03-17T12:12:36.249Z] 0eba1c9be4d2: Waiting [2021-03-17T12:12:36.249Z] 85a0685a4137: Waiting [2021-03-17T12:12:36.249Z] 0ef7d3d256c8: Verifying Checksum [2021-03-17T12:12:36.249Z] 0ef7d3d256c8: Download complete [2021-03-17T12:12:36.249Z] de9db76c5a1d: Verifying Checksum [2021-03-17T12:12:36.249Z] de9db76c5a1d: Download complete [2021-03-17T12:12:36.249Z] 0d57e429df01: Verifying Checksum [2021-03-17T12:12:36.249Z] 0d57e429df01: Download complete [2021-03-17T12:12:36.249Z] 188c0c94c7c5: Verifying Checksum [2021-03-17T12:12:36.249Z] 188c0c94c7c5: Download complete [2021-03-17T12:12:36.249Z] 4e4be7b47b0d: Verifying Checksum [2021-03-17T12:12:36.249Z] 4e4be7b47b0d: Download complete [2021-03-17T12:12:36.834Z] 188c0c94c7c5: Pull complete [2021-03-17T12:12:36.834Z] 0ef7d3d256c8: Pull complete [2021-03-17T12:12:37.099Z] de9db76c5a1d: Pull complete [2021-03-17T12:12:37.362Z] e1f770b5df2f: Verifying Checksum [2021-03-17T12:12:37.362Z] e1f770b5df2f: Download complete [2021-03-17T12:12:39.932Z] 0eba1c9be4d2: Verifying Checksum [2021-03-17T12:12:39.932Z] 0eba1c9be4d2: Download complete [2021-03-17T12:12:39.932Z] 85a0685a4137: Verifying Checksum [2021-03-17T12:12:39.932Z] 85a0685a4137: Download complete [2021-03-17T12:12:45.243Z] 0eba1c9be4d2: Pull complete [2021-03-17T12:12:45.243Z] 0d57e429df01: Pull complete [2021-03-17T12:12:45.243Z] 4e4be7b47b0d: Pull complete [2021-03-17T12:12:47.177Z] e1f770b5df2f: Pull complete [2021-03-17T12:12:55.352Z] 85a0685a4137: Pull complete [2021-03-17T12:12:55.352Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-03-17T12:12:55.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-03-17T12:12:55.352Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-03-17T12:12:55.553Z] prd-centos7-docker-4c-2g-30152 does not seem to be running inside a container [2021-03-17T12:12:55.602Z] $ 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-17T12:12:56.613Z] $ docker top 21dbe012400e24db8bc3f62ba98d3a5e3a3d69f5fca2b86edaa78a8d9d8d250f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-03-17T12:12:56.956Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-03-17T12:12:57.246Z] + set -o pipefail [2021-03-17T12:12:57.246Z] + snyk monitor '--org=edgex-jenkins' [2021-03-17T12:13:12.171Z] [2021-03-17T12:13:12.171Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-03-17T12:13:12.171Z] [2021-03-17T12:13:12.171Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/01b4acd6-deef-4aef-a7d4-84240e44dca3 [2021-03-17T12:13:12.171Z] [2021-03-17T12:13:12.171Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-03-17T12:13:12.171Z] [2021-03-17T12:13:12.171Z] [Pipeline] } [2021-03-17T12:13:12.186Z] $ docker stop --time=1 21dbe012400e24db8bc3f62ba98d3a5e3a3d69f5fca2b86edaa78a8d9d8d250f [2021-03-17T12:13:14.973Z] $ docker rm -f 21dbe012400e24db8bc3f62ba98d3a5e3a3d69f5fca2b86edaa78a8d9d8d250f [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-17T12:13:16.032Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-17T12:13:16.087Z] provisioning config files... [2021-03-17T12:13:16.097Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1446583583667824643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:13:16.481Z] --> edgex-publish-swagger.sh [2021-03-17T12:13:16.481Z] === Publish openapi/v1 API === [2021-03-17T12:13:16.481Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-03-17T12:13:16.481Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-03-17T12:13:16.481Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-17T12:13:16.481Z] Dload Upload Total Spent Left Speed [2021-03-17T12:13:17.320Z] 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 26742 --:--:-- --:--:-- --:--:-- 26738 [2021-03-17T12:13:17.320Z] [2021-03-17T12:13:17.320Z] [2021-03-17T12:13:17.320Z] === Publish openapi/v2 API === [2021-03-17T12:13:17.320Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-03-17T12:13:17.320Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-03-17T12:13:17.320Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-03-17T12:13:17.320Z] Dload Upload Total Spent Left Speed [2021-03-17T12:13:17.894Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51483 0 0 100 51483 0 71441 --:--:-- --:--:-- --:--:-- 71404 100 51483 0 0 100 51483 0 71422 --:--:-- --:--:-- --:--:-- 71404 [2021-03-17T12:13:17.894Z] [2021-03-17T12:13:17.894Z] [Pipeline] } [2021-03-17T12:13:17.903Z] 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-17T12:13:18.770Z] + git log --format=format:%s -1 e34679e4f02bbc164353b5eb88e70f6c516b0d21 [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:13:19.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T12:13:19.080Z] . [Pipeline] withDockerContainer [2021-03-17T12:13:19.186Z] prd-centos7-docker-4c-2g-30152 does not seem to be running inside a container [2021-03-17T12:13:19.281Z] $ 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-17T12:13:20.116Z] $ docker top a7d40a287bebb8693397ec5f95a6f033e9744792069b9c1639a82cb7a4072432 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-17T12:13:20.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T12:13:20.426Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T12:13:20.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T12:13:20.679Z] $ docker exec a7d40a287bebb8693397ec5f95a6f033e9744792069b9c1639a82cb7a4072432 ssh-agent [2021-03-17T12:13:20.861Z] SSH_AUTH_SOCK=/tmp/ssh-pMrNt0xXpI2U/agent.11 [2021-03-17T12:13:20.861Z] SSH_AGENT_PID=16 [2021-03-17T12:13:20.869Z] Running ssh-add (command line suppressed) [2021-03-17T12:13:21.002Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1850085615781877295.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1850085615781877295.key) [2021-03-17T12:13:21.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T12:13:21.474Z] + git semver tag [2021-03-17T12:13:21.474Z] # -> Open(): unable to determine branch for HEAD [2021-03-17T12:13:21.474Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-17T12:13:21.474Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-17T12:13:21.474Z] # $SEMVER_REMOTE_NAME = origin [2021-03-17T12:13:21.474Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-17T12:13:21.474Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-17T12:13:21.474Z] # $SEMVER_BRANCH = master [2021-03-17T12:13:21.474Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-17T12:13:21.474Z] # e34679e4f02bbc164353b5eb88e70f6c516b0d21 HEAD [2021-03-17T12:13:21.760Z] # -> Force: false [2021-03-17T12:13:21.760Z] # 50ec710c4e1974a7ffb606e217f7d30ec2ae66c2 refs/tags/v2.0.0-dev.24 [Pipeline] } [2021-03-17T12:13:21.777Z] $ docker exec --env ******** --env ******** a7d40a287bebb8693397ec5f95a6f033e9744792069b9c1639a82cb7a4072432 ssh-agent -k [2021-03-17T12:13:21.945Z] unset SSH_AUTH_SOCK; [2021-03-17T12:13:21.945Z] unset SSH_AGENT_PID; [2021-03-17T12:13:21.945Z] echo Agent pid 16 killed; [2021-03-17T12:13:22.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-17T12:13:22.532Z] + git semver [Pipeline] } [2021-03-17T12:13:22.558Z] $ docker stop --time=1 a7d40a287bebb8693397ec5f95a6f033e9744792069b9c1639a82cb7a4072432 [2021-03-17T12:13:23.978Z] $ docker rm -f a7d40a287bebb8693397ec5f95a6f033e9744792069b9c1639a82cb7a4072432 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:13:24.609Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-17T12:13:24.610Z] [2021-03-17T12:13:24.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:13:24.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-17T12:13:24.959Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-03-17T12:13:24.959Z] ab5ef0e58194: Pulling fs layer [2021-03-17T12:13:24.959Z] 9712f1f96733: Pulling fs layer [2021-03-17T12:13:24.959Z] 63f879dbbcfc: Pulling fs layer [2021-03-17T12:13:24.959Z] 0d9ebad4ef96: Pulling fs layer [2021-03-17T12:13:24.959Z] e9a5061849ea: Pulling fs layer [2021-03-17T12:13:24.959Z] d747dcd14b5f: Pulling fs layer [2021-03-17T12:13:24.959Z] 2de7ff778b66: Pulling fs layer [2021-03-17T12:13:24.959Z] e9a5061849ea: Waiting [2021-03-17T12:13:24.959Z] d747dcd14b5f: Waiting [2021-03-17T12:13:24.959Z] 2de7ff778b66: Waiting [2021-03-17T12:13:24.959Z] 0d9ebad4ef96: Waiting [2021-03-17T12:13:24.959Z] 9712f1f96733: Verifying Checksum [2021-03-17T12:13:24.959Z] 9712f1f96733: Download complete [2021-03-17T12:13:26.359Z] 63f879dbbcfc: Verifying Checksum [2021-03-17T12:13:26.359Z] 63f879dbbcfc: Download complete [2021-03-17T12:13:26.622Z] e9a5061849ea: Verifying Checksum [2021-03-17T12:13:26.622Z] e9a5061849ea: Download complete [2021-03-17T12:13:26.622Z] d747dcd14b5f: Download complete [2021-03-17T12:13:27.208Z] 2de7ff778b66: Verifying Checksum [2021-03-17T12:13:27.208Z] 2de7ff778b66: Download complete [2021-03-17T12:13:27.208Z] 0d9ebad4ef96: Verifying Checksum [2021-03-17T12:13:27.208Z] 0d9ebad4ef96: Download complete [2021-03-17T12:13:27.208Z] ab5ef0e58194: Verifying Checksum [2021-03-17T12:13:27.208Z] ab5ef0e58194: Download complete [2021-03-17T12:13:31.460Z] ab5ef0e58194: Pull complete [2021-03-17T12:13:31.460Z] 9712f1f96733: Pull complete [2021-03-17T12:13:34.024Z] 63f879dbbcfc: Pull complete [2021-03-17T12:13:40.657Z] 0d9ebad4ef96: Pull complete [2021-03-17T12:13:42.582Z] e9a5061849ea: Pull complete [2021-03-17T12:13:42.582Z] d747dcd14b5f: Pull complete [2021-03-17T12:13:45.144Z] 2de7ff778b66: Pull complete [2021-03-17T12:13:45.144Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-03-17T12:13:45.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-03-17T12:13:45.144Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-03-17T12:13:45.332Z] prd-centos7-docker-4c-2g-30152 does not seem to be running inside a container [2021-03-17T12:13:45.382Z] $ 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-17T12:13:48.322Z] $ docker top af90a8df76d30730c2941ca6b26bb1466d6c8be45f4b3709c2ccbc8c9858ecdc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-03-17T12:13:48.508Z] provisioning config files... [2021-03-17T12:13:48.521Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5665835928942245517tmp [2021-03-17T12:13:48.538Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config71253264737818243tmp [2021-03-17T12:13:48.554Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1905461816020724471tmp [Pipeline] { [Pipeline] echo [2021-03-17T12:13:48.619Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:13:48.921Z] ---> sigul-configuration.sh [2021-03-17T12:13:48.921Z] gpg: directory `/root/.gnupg' created [2021-03-17T12:13:48.921Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-03-17T12:13:48.921Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-03-17T12:13:48.921Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-03-17T12:13:48.921Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-03-17T12:13:48.921Z] gpg: CAST5 encrypted data [2021-03-17T12:13:49.182Z] gpg: encrypted with 1 passphrase [2021-03-17T12:13:49.182Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-03-17T12:13:49.482Z] + mkdir /home/jenkins [2021-03-17T12:13:49.483Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-03-17T12:13:49.782Z] + 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-17T12:13:49.794Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:13:50.088Z] ---> sigul-install.sh [2021-03-17T12:13:56.689Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-03-17T12:13:56.996Z] + git tag --list [2021-03-17T12:13:56.996Z] 0.7.1 [2021-03-17T12:13:56.996Z] delhi-tag [2021-03-17T12:13:56.996Z] v1.0.0 [2021-03-17T12:13:56.996Z] v1.1.0 [2021-03-17T12:13:56.996Z] v1.1.1 [2021-03-17T12:13:56.996Z] v1.1.2 [2021-03-17T12:13:56.996Z] v1.2.0 [2021-03-17T12:13:56.996Z] v1.2.1 [2021-03-17T12:13:56.996Z] v1.2.2 [2021-03-17T12:13:56.996Z] v1.2.3 [2021-03-17T12:13:56.996Z] v1.3.0 [2021-03-17T12:13:56.996Z] v1.4.0 [2021-03-17T12:13:56.996Z] v2.0.0-dev.1 [2021-03-17T12:13:56.996Z] v2.0.0-dev.10 [2021-03-17T12:13:56.996Z] v2.0.0-dev.11 [2021-03-17T12:13:56.996Z] v2.0.0-dev.12 [2021-03-17T12:13:56.996Z] v2.0.0-dev.13 [2021-03-17T12:13:56.996Z] v2.0.0-dev.14 [2021-03-17T12:13:56.996Z] v2.0.0-dev.15 [2021-03-17T12:13:56.996Z] v2.0.0-dev.16 [2021-03-17T12:13:56.996Z] v2.0.0-dev.17 [2021-03-17T12:13:56.996Z] v2.0.0-dev.18 [2021-03-17T12:13:56.996Z] v2.0.0-dev.19 [2021-03-17T12:13:56.996Z] v2.0.0-dev.2 [2021-03-17T12:13:56.996Z] v2.0.0-dev.20 [2021-03-17T12:13:56.996Z] v2.0.0-dev.21 [2021-03-17T12:13:56.996Z] v2.0.0-dev.22 [2021-03-17T12:13:56.996Z] v2.0.0-dev.23 [2021-03-17T12:13:56.996Z] v2.0.0-dev.24 [2021-03-17T12:13:56.996Z] v2.0.0-dev.3 [2021-03-17T12:13:56.996Z] v2.0.0-dev.4 [2021-03-17T12:13:56.996Z] v2.0.0-dev.5 [2021-03-17T12:13:56.996Z] v2.0.0-dev.6 [2021-03-17T12:13:56.996Z] v2.0.0-dev.7 [2021-03-17T12:13:56.996Z] v2.0.0-dev.8 [2021-03-17T12:13:56.996Z] v2.0.0-dev.9 [Pipeline] sh [2021-03-17T12:13:57.301Z] + lftools sign git-tag v2.0.0-dev.24 [2021-03-17T12:13:58.695Z] Signing Git tag with Sigul... [2021-03-17T12:13:58.695Z] Signing v2.0.0-dev.24 [Pipeline] echo [2021-03-17T12:13:59.656Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:13:59.956Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-03-17T12:13:59.966Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-03-17T12:14:00.075Z] $ docker stop --time=1 af90a8df76d30730c2941ca6b26bb1466d6c8be45f4b3709c2ccbc8c9858ecdc [2021-03-17T12:14:02.214Z] $ docker rm -f af90a8df76d30730c2941ca6b26bb1466d6c8be45f4b3709c2ccbc8c9858ecdc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:14:03.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T12:14:03.135Z] . [Pipeline] withDockerContainer [2021-03-17T12:14:03.270Z] prd-centos7-docker-4c-2g-30152 does not seem to be running inside a container [2021-03-17T12:14:03.317Z] $ 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-17T12:14:04.084Z] $ docker top f4c06a087cc9bc7a884bea6ede279d3c6d4c9968db482bffcf9d51ef8088b7e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-17T12:14:04.371Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T12:14:04.372Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T12:14:04.606Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T12:14:04.609Z] $ docker exec f4c06a087cc9bc7a884bea6ede279d3c6d4c9968db482bffcf9d51ef8088b7e3 ssh-agent [2021-03-17T12:14:04.788Z] SSH_AUTH_SOCK=/tmp/ssh-gZTIfdlk11FG/agent.12 [2021-03-17T12:14:04.788Z] SSH_AGENT_PID=18 [2021-03-17T12:14:04.796Z] Running ssh-add (command line suppressed) [2021-03-17T12:14:04.923Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6019012405136388880.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6019012405136388880.key) [2021-03-17T12:14:04.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T12:14:05.316Z] + git semver bump pre [2021-03-17T12:14:05.316Z] # -> Open(): unable to determine branch for HEAD [2021-03-17T12:14:05.316Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-17T12:14:05.316Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-17T12:14:05.316Z] # $SEMVER_REMOTE_NAME = origin [2021-03-17T12:14:05.316Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-17T12:14:05.316Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-17T12:14:05.316Z] # $SEMVER_BRANCH = master [2021-03-17T12:14:05.316Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-03-17T12:14:05.316Z] 2.0.0-dev.25 [Pipeline] } [2021-03-17T12:14:05.328Z] $ docker exec --env ******** --env ******** f4c06a087cc9bc7a884bea6ede279d3c6d4c9968db482bffcf9d51ef8088b7e3 ssh-agent -k [2021-03-17T12:14:05.446Z] unset SSH_AUTH_SOCK; [2021-03-17T12:14:05.448Z] unset SSH_AGENT_PID; [2021-03-17T12:14:05.448Z] echo Agent pid 18 killed; [2021-03-17T12:14:05.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-17T12:14:05.972Z] + git semver [Pipeline] } [2021-03-17T12:14:05.989Z] $ docker stop --time=1 f4c06a087cc9bc7a884bea6ede279d3c6d4c9968db482bffcf9d51ef8088b7e3 [2021-03-17T12:14:07.392Z] $ docker rm -f f4c06a087cc9bc7a884bea6ede279d3c6d4c9968db482bffcf9d51ef8088b7e3 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:14:07.987Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-03-17T12:14:07.987Z] . [Pipeline] withDockerContainer [2021-03-17T12:14:08.249Z] prd-centos7-docker-4c-2g-30152 does not seem to be running inside a container [2021-03-17T12:14:08.295Z] $ 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-17T12:14:08.874Z] $ docker top d66343c5fb5f8a299baac301b1a17502844daa9f8bf27e8a67ec00e4cca31f45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-03-17T12:14:09.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-03-17T12:14:09.189Z] [ssh-agent] Looking for ssh-agent implementation... [2021-03-17T12:14:09.372Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-03-17T12:14:09.374Z] $ docker exec d66343c5fb5f8a299baac301b1a17502844daa9f8bf27e8a67ec00e4cca31f45 ssh-agent [2021-03-17T12:14:09.549Z] SSH_AUTH_SOCK=/tmp/ssh-qAA2AxJeoLy5/agent.13 [2021-03-17T12:14:09.549Z] SSH_AGENT_PID=19 [2021-03-17T12:14:09.558Z] Running ssh-add (command line suppressed) [2021-03-17T12:14:09.686Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6021167054806575359.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_6021167054806575359.key) [2021-03-17T12:14:09.743Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-03-17T12:14:10.086Z] + git semver push [2021-03-17T12:14:10.086Z] # -> Open(): unable to determine branch for HEAD [2021-03-17T12:14:10.086Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-03-17T12:14:10.086Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-03-17T12:14:10.086Z] # $SEMVER_REMOTE_NAME = origin [2021-03-17T12:14:10.086Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-03-17T12:14:10.086Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-03-17T12:14:10.086Z] # $SEMVER_BRANCH = master [2021-03-17T12:14:10.086Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-03-17T12:14:14.325Z] $ docker exec --env ******** --env ******** d66343c5fb5f8a299baac301b1a17502844daa9f8bf27e8a67ec00e4cca31f45 ssh-agent -k [2021-03-17T12:14:14.450Z] unset SSH_AUTH_SOCK; [2021-03-17T12:14:14.450Z] unset SSH_AGENT_PID; [2021-03-17T12:14:14.450Z] echo Agent pid 19 killed; [2021-03-17T12:14:14.505Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-03-17T12:14:14.965Z] + git semver [Pipeline] } [2021-03-17T12:14:14.981Z] $ docker stop --time=1 d66343c5fb5f8a299baac301b1a17502844daa9f8bf27e8a67ec00e4cca31f45 [2021-03-17T12:14:16.337Z] $ docker rm -f d66343c5fb5f8a299baac301b1a17502844daa9f8bf27e8a67ec00e4cca31f45 [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-17T12:14:17.921Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:14:18.490Z] ---> package-listing.sh [2021-03-17T12:14:18.490Z] ++ facter osfamily [2021-03-17T12:14:18.490Z] ++ tr '[:upper:]' '[:lower:]' [2021-03-17T12:14:18.490Z] + OS_FAMILY=redhat [2021-03-17T12:14:18.490Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-03-17T12:14:18.490Z] + START_PACKAGES=/tmp/packages_start.txt [2021-03-17T12:14:18.490Z] + END_PACKAGES=/tmp/packages_end.txt [2021-03-17T12:14:18.490Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-03-17T12:14:18.490Z] + PACKAGES=/tmp/packages_start.txt [2021-03-17T12:14:18.490Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-17T12:14:18.490Z] + PACKAGES=/tmp/packages_end.txt [2021-03-17T12:14:18.490Z] + case "${OS_FAMILY}" in [2021-03-17T12:14:18.490Z] + rpm -qa [2021-03-17T12:14:18.490Z] + sort [2021-03-17T12:14:23.794Z] + '[' -f /tmp/packages_start.txt ']' [2021-03-17T12:14:23.794Z] + '[' -f /tmp/packages_end.txt ']' [2021-03-17T12:14:23.794Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-03-17T12:14:23.794Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-03-17T12:14:23.794Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-03-17T12:14:23.794Z] + 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-17T12:14:23.811Z] 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-17T12:14:24.106Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:14:24.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T12:14:24.423Z] [2021-03-17T12:14:24.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-03-17T12:14:24.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T12:14:24.769Z] alpine: Pulling from edgex-lftools-log-publisher [2021-03-17T12:14:24.769Z] df20fa9351a1: Pulling fs layer [2021-03-17T12:14:24.769Z] 36b3adc4ff6f: Pulling fs layer [2021-03-17T12:14:24.769Z] 8ad3a11d3b57: Pulling fs layer [2021-03-17T12:14:24.769Z] 46f8f816bc3b: Pulling fs layer [2021-03-17T12:14:24.769Z] 93b61091891f: Pulling fs layer [2021-03-17T12:14:24.769Z] 93b9cdb0e59b: Pulling fs layer [2021-03-17T12:14:24.769Z] 5e14af77c1be: Pulling fs layer [2021-03-17T12:14:24.769Z] 01666e4c0597: Pulling fs layer [2021-03-17T12:14:24.769Z] aa168da1d23b: Pulling fs layer [2021-03-17T12:14:24.769Z] 93b9cdb0e59b: Waiting [2021-03-17T12:14:24.769Z] 5e14af77c1be: Waiting [2021-03-17T12:14:24.769Z] 46f8f816bc3b: Waiting [2021-03-17T12:14:24.769Z] 93b61091891f: Waiting [2021-03-17T12:14:24.769Z] aa168da1d23b: Waiting [2021-03-17T12:14:24.769Z] 01666e4c0597: Waiting [2021-03-17T12:14:24.769Z] 36b3adc4ff6f: Verifying Checksum [2021-03-17T12:14:24.769Z] 36b3adc4ff6f: Download complete [2021-03-17T12:14:24.769Z] 46f8f816bc3b: Verifying Checksum [2021-03-17T12:14:24.769Z] 46f8f816bc3b: Download complete [2021-03-17T12:14:25.034Z] df20fa9351a1: Verifying Checksum [2021-03-17T12:14:25.034Z] df20fa9351a1: Download complete [2021-03-17T12:14:25.034Z] 93b9cdb0e59b: Verifying Checksum [2021-03-17T12:14:25.034Z] 93b9cdb0e59b: Download complete [2021-03-17T12:14:25.034Z] 5e14af77c1be: Verifying Checksum [2021-03-17T12:14:25.034Z] 5e14af77c1be: Download complete [2021-03-17T12:14:25.034Z] 93b61091891f: Download complete [2021-03-17T12:14:25.034Z] 01666e4c0597: Verifying Checksum [2021-03-17T12:14:25.034Z] 01666e4c0597: Download complete [2021-03-17T12:14:25.034Z] 8ad3a11d3b57: Verifying Checksum [2021-03-17T12:14:25.034Z] 8ad3a11d3b57: Download complete [2021-03-17T12:14:25.296Z] df20fa9351a1: Pull complete [2021-03-17T12:14:25.561Z] 36b3adc4ff6f: Pull complete [2021-03-17T12:14:26.521Z] 8ad3a11d3b57: Pull complete [2021-03-17T12:14:27.098Z] aa168da1d23b: Verifying Checksum [2021-03-17T12:14:27.098Z] aa168da1d23b: Download complete [2021-03-17T12:14:27.098Z] 46f8f816bc3b: Pull complete [2021-03-17T12:14:27.362Z] 93b61091891f: Pull complete [2021-03-17T12:14:27.625Z] 93b9cdb0e59b: Pull complete [2021-03-17T12:14:27.625Z] 5e14af77c1be: Pull complete [2021-03-17T12:14:27.892Z] 01666e4c0597: Pull complete [2021-03-17T12:14:36.077Z] aa168da1d23b: Pull complete [2021-03-17T12:14:36.077Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-03-17T12:14:36.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-03-17T12:14:36.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-03-17T12:14:36.209Z] prd-centos7-docker-4c-2g-30152 does not seem to be running inside a container [2021-03-17T12:14:36.257Z] $ 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-17T12:14:38.705Z] $ docker top 8bc484d92550293eb93b92df11ab53b509b1d3ee27beba723814174f165812d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-03-17T12:14:39.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-03-17T12:14:39.564Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-03-17T12:14:39.869Z] + ls /var/log/sa-host [2021-03-17T12:14:39.869Z] + sadf -c /var/log/sa-host/sa17 [2021-03-17T12:14:39.869Z] file_magic: OK [2021-03-17T12:14:39.869Z] HZ: Using current value: 100 [2021-03-17T12:14:39.869Z] file_header: OK [2021-03-17T12:14:39.869Z] 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-17T12:14:39.869Z] Statistics: [2021-03-17T12:14:39.869Z] 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-17T12:14:39.869Z] File successfully converted to sysstat format version 12.2.1 [2021-03-17T12:14:39.869Z] + sadf -c /var/log/sa-host/sa23 [2021-03-17T12:14:39.869Z] file_magic: OK [2021-03-17T12:14:39.869Z] HZ: Using current value: 100 [2021-03-17T12:14:39.869Z] file_header: OK [2021-03-17T12:14:39.869Z] 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-17T12:14:39.869Z] Statistics: [2021-03-17T12:14:39.869Z] Hnuu...uuuununununu... [2021-03-17T12:14:39.869Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-03-17T12:14:40.534Z] provisioning config files... [2021-03-17T12:14:40.550Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3694670278290362405tmp [Pipeline] { [Pipeline] echo [2021-03-17T12:14:40.626Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:14:40.928Z] ---> create-netrc.sh [Pipeline] } [2021-03-17T12:14:40.940Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-03-17T12:14:41.233Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:14:41.531Z] ---> python-tools-install.sh [Pipeline] echo [2021-03-17T12:14:41.543Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:14:41.841Z] ---> sudo-logs.sh [2021-03-17T12:14:41.841Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-03-17T12:14:42.198Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:14:42.501Z] ---> job-cost.sh [2021-03-17T12:14:42.501Z] lf-activate-venv: SKIPPING [2021-03-17T12:14:42.501Z] DEBUG: total: 0.20999999344348907 [2021-03-17T12:14:42.501Z] INFO: Retrieving Stack Cost... [2021-03-17T12:14:43.475Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-03-17T12:14:43.737Z] INFO: Archiving Costs [Pipeline] echo [2021-03-17T12:14:43.752Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-03-17T12:14:44.050Z] ---> logs-deploy.sh [2021-03-17T12:14:44.050Z] lf-activate-venv: SKIPPING [2021-03-17T12:14:44.050Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/129 [2021-03-17T12:14:44.050Z] INFO: archiving workspace using pattern(s): [2021-03-17T12:14:45.970Z] Archives upload complete. [2021-03-17T12:14:45.970Z] INFO: archiving logs to Nexus