Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 76d059c2e27a3d5d488ff0022063f09e99d334bf 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-22826 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 76d059c2e27a3d5d488ff0022063f09e99d334bf (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 Commit message: "Merge pull request #759 from hahattan/issue-758" > git rev-list --no-walk 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-26T11:40:30.807Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-26T11:40:31.119Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-26T11:40:31.224Z] ========================================================= [2021-01-26T11:40:31.224Z] EdgeX Global Pipelines Version Info [2021-01-26T11:40:31.224Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:40:32.705Z] ------------------- [2021-01-26T11:40:32.705Z] stable info: [2021-01-26T11:40:32.705Z] ------------------- [2021-01-26T11:40:32.705Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T11:40:32.705Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T11:40:32.705Z] Message: update stable to v1.0.179 [2021-01-26T11:40:33.648Z] ------------------- [2021-01-26T11:40:33.648Z] experimental info: [2021-01-26T11:40:33.648Z] ------------------- [2021-01-26T11:40:33.648Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-26T11:40:33.648Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-26T11:40:33.648Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-26T11:40:33.961Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-26T11:40:34.073Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-26T11:40:34.177Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-26T11:40:34.332Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-26T11:40:34.426Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-26T11:40:34.522Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-26T11:40:34.617Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-26T11:40:34.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-26T11:40:34.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-26T11:40:34.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-26T11:40:35.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-26T11:40:35.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-26T11:40:35.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-26T11:40:35.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-26T11:40:35.421Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-26T11:40:35.512Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T11:40:35.632Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T11:40:35.724Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-26T11:40:35.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-26T11:40:35.925Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-26T11:40:36.042Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-26T11:40:36.136Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-26T11:40:36.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-26T11:40:36.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-26T11:40:36.442Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-26T11:40:36.530Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-26T11:40:36.713Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-26T11:40:36.823Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-26T11:40:36.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-26T11:40:37.000Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-26T11:40:37.088Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76d059c2e27a3d5d488ff0022063f09e99d334bf [Pipeline] echo [2021-01-26T11:40:37.179Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76d059c [Pipeline] echo [2021-01-26T11:40:37.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T11:40:37.465Z] provisioning config files... [2021-01-26T11:40:37.493Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3228582066679739945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:40:37.843Z] ---> docker-login.sh [2021-01-26T11:40:37.843Z] nexus3.edgexfoundry.org:10001 [2021-01-26T11:40:38.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:40:38.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:40:38.108Z] Configure a credential helper to remove this warning. See [2021-01-26T11:40:38.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:40:38.108Z] [2021-01-26T11:40:38.108Z] Login Succeeded [2021-01-26T11:40:38.108Z] nexus3.edgexfoundry.org:10002 [2021-01-26T11:40:38.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:40:38.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:40:38.369Z] Configure a credential helper to remove this warning. See [2021-01-26T11:40:38.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:40:38.369Z] [2021-01-26T11:40:38.369Z] Login Succeeded [2021-01-26T11:40:38.369Z] nexus3.edgexfoundry.org:10003 [2021-01-26T11:40:38.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:40:38.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:40:38.631Z] Configure a credential helper to remove this warning. See [2021-01-26T11:40:38.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:40:38.631Z] [2021-01-26T11:40:38.631Z] Login Succeeded [2021-01-26T11:40:38.631Z] nexus3.edgexfoundry.org:10004 [2021-01-26T11:40:38.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:40:38.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:40:38.631Z] Configure a credential helper to remove this warning. See [2021-01-26T11:40:38.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:40:38.631Z] [2021-01-26T11:40:38.631Z] Login Succeeded [2021-01-26T11:40:38.631Z] docker.io [2021-01-26T11:40:38.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:40:39.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:40:39.155Z] Configure a credential helper to remove this warning. See [2021-01-26T11:40:39.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:40:39.155Z] [2021-01-26T11:40:39.155Z] Login Succeeded [2021-01-26T11:40:39.155Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T11:40:39.164Z] 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-01-26T11:40:39.994Z] + git log --format=format:%s -1 76d059c2e27a3d5d488ff0022063f09e99d334bf [Pipeline] echo [2021-01-26T11:40:40.103Z] GIT_COMMIT: 76d059c2e27a3d5d488ff0022063f09e99d334bf, Commit Message: Merge pull request #759 from hahattan/issue-758 [Pipeline] echo [2021-01-26T11:40:40.148Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:40:41.291Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T11:40:41.291Z] [2021-01-26T11:40:41.291Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:40:41.645Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T11:40:41.645Z] latest: Pulling from edgex-devops/git-semver [2021-01-26T11:40:41.645Z] 31603596830f: Pulling fs layer [2021-01-26T11:40:41.645Z] 2a8b12db71e7: Pulling fs layer [2021-01-26T11:40:41.645Z] 6ca5941a6612: Pulling fs layer [2021-01-26T11:40:41.645Z] ecc8261a40a4: Pulling fs layer [2021-01-26T11:40:41.645Z] ecc8261a40a4: Waiting [2021-01-26T11:40:41.645Z] 2a8b12db71e7: Verifying Checksum [2021-01-26T11:40:41.645Z] 2a8b12db71e7: Download complete [2021-01-26T11:40:41.908Z] 31603596830f: Verifying Checksum [2021-01-26T11:40:41.908Z] 31603596830f: Download complete [2021-01-26T11:40:41.908Z] 6ca5941a6612: Verifying Checksum [2021-01-26T11:40:41.908Z] 6ca5941a6612: Download complete [2021-01-26T11:40:41.908Z] ecc8261a40a4: Verifying Checksum [2021-01-26T11:40:41.908Z] ecc8261a40a4: Download complete [2021-01-26T11:40:42.170Z] 31603596830f: Pull complete [2021-01-26T11:40:42.170Z] 2a8b12db71e7: Pull complete [2021-01-26T11:40:43.120Z] 6ca5941a6612: Pull complete [2021-01-26T11:40:43.120Z] ecc8261a40a4: Pull complete [2021-01-26T11:40:43.120Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-26T11:40:43.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T11:40:43.120Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-26T11:40:43.239Z] prd-centos7-docker-4c-2g-22826 does not seem to be running inside a container [2021-01-26T11:40:43.288Z] $ 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-01-26T11:40:45.234Z] $ docker top f95d08bbbdece8abeddff74d7c1ac506e2ebd5a0511e0c270c87822a89e0a20f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T11:40:45.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T11:40:45.520Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T11:40:45.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T11:40:45.706Z] $ docker exec f95d08bbbdece8abeddff74d7c1ac506e2ebd5a0511e0c270c87822a89e0a20f ssh-agent [2021-01-26T11:40:45.857Z] SSH_AUTH_SOCK=/tmp/ssh-IPDIYhJhavmb/agent.12 [2021-01-26T11:40:45.857Z] SSH_AGENT_PID=18 [2021-01-26T11:40:45.866Z] Running ssh-add (command line suppressed) [2021-01-26T11:40:45.986Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2556943043423831996.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2556943043423831996.key) [2021-01-26T11:40:46.033Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T11:40:46.364Z] + git tag --points-at HEAD [Pipeline] } [2021-01-26T11:40:46.383Z] $ docker exec --env ******** --env ******** f95d08bbbdece8abeddff74d7c1ac506e2ebd5a0511e0c270c87822a89e0a20f ssh-agent -k [2021-01-26T11:40:46.493Z] unset SSH_AUTH_SOCK; [2021-01-26T11:40:46.493Z] unset SSH_AGENT_PID; [2021-01-26T11:40:46.493Z] echo Agent pid 18 killed; [2021-01-26T11:40:46.536Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-26T11:40:46.683Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T11:40:46.683Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T11:40:46.837Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T11:40:46.841Z] $ docker exec f95d08bbbdece8abeddff74d7c1ac506e2ebd5a0511e0c270c87822a89e0a20f ssh-agent [2021-01-26T11:40:47.000Z] SSH_AUTH_SOCK=/tmp/ssh-EZnIBpOXUnim/agent.48 [2021-01-26T11:40:47.000Z] SSH_AGENT_PID=53 [2021-01-26T11:40:47.006Z] Running ssh-add (command line suppressed) [2021-01-26T11:40:47.126Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4954149623294139772.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4954149623294139772.key) [2021-01-26T11:40:47.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T11:40:47.520Z] + git semver init [2021-01-26T11:40:47.520Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T11:40:47.520Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-26T11:40:47.520Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-26T11:40:47.520Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T11:40:47.520Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T11:40:47.520Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T11:40:47.520Z] # $SEMVER_BRANCH = master [2021-01-26T11:40:47.520Z] # $SEMVER_TEMP = /tmp/semver-942789882 [2021-01-26T11:40:47.520Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-26T11:40:48.094Z] # '/tmp/semver-942789882' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-26T11:40:48.356Z] # -> Force: false [2021-01-26T11:40:48.356Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-26T11:40:48.366Z] $ docker exec --env ******** --env ******** f95d08bbbdece8abeddff74d7c1ac506e2ebd5a0511e0c270c87822a89e0a20f ssh-agent -k [2021-01-26T11:40:48.472Z] unset SSH_AUTH_SOCK; [2021-01-26T11:40:48.473Z] unset SSH_AGENT_PID; [2021-01-26T11:40:48.473Z] echo Agent pid 53 killed; [2021-01-26T11:40:48.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T11:40:49.119Z] + git semver [Pipeline] } [2021-01-26T11:40:49.135Z] $ docker stop --time=1 f95d08bbbdece8abeddff74d7c1ac506e2ebd5a0511e0c270c87822a89e0a20f [2021-01-26T11:40:50.515Z] $ docker rm -f f95d08bbbdece8abeddff74d7c1ac506e2ebd5a0511e0c270c87822a89e0a20f [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T11:40:50.963Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-26T11:40:51.375Z] Stashed 1 file(s) [Pipeline] echo [2021-01-26T11:40:51.378Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.7 [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-01-26T11:41:06.977Z] Still waiting to schedule task [2021-01-26T11:41:06.977Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-26T11:41:06.979Z] Still waiting to schedule task [2021-01-26T11:41:06.979Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline [2021-01-26T11:42:57.514Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-22827 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-26T11:42:57.572Z] Running in /w/workspace/device-sdk-go/112 [Pipeline] { [Pipeline] checkout [2021-01-26T11:43:02.833Z] using credential edgex-jenkins-ssh [2021-01-26T11:43:02.927Z] Cloning the remote Git repository [2021-01-26T11:43:03.003Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T11:43:03.126Z] > git init /w/workspace/device-sdk-go/112 # timeout=10 [2021-01-26T11:43:03.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T11:43:03.215Z] > git --version # timeout=10 [2021-01-26T11:43:03.232Z] > git --version # 'git version 2.17.1' [2021-01-26T11:43:03.233Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T11:43:03.300Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T11:43:05.945Z] Checking out Revision 76d059c2e27a3d5d488ff0022063f09e99d334bf (master) [2021-01-26T11:43:05.326Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T11:43:05.350Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T11:43:05.377Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T11:43:05.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T11:43:05.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T11:43:05.425Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-26T11:43:05.970Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T11:43:05.991Z] > git checkout -f 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-26T11:43:10.433Z] Commit message: "Merge pull request #759 from hahattan/issue-758" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T11:43:12.244Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-26T11:43:12.658Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T11:43:12.999Z] + true [2021-01-26T11:43:12.999Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T11:43:15.686Z] provisioning config files... [2021-01-26T11:43:15.728Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/112@tmp/config8894380558020708003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:43:16.221Z] ---> docker-login.sh [2021-01-26T11:43:16.221Z] nexus3.edgexfoundry.org:10001 [2021-01-26T11:43:17.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:43:17.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:43:17.482Z] Configure a credential helper to remove this warning. See [2021-01-26T11:43:17.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:43:17.482Z] [2021-01-26T11:43:17.482Z] Login Succeeded [2021-01-26T11:43:17.482Z] nexus3.edgexfoundry.org:10002 [2021-01-26T11:43:17.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:43:18.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:43:18.029Z] Configure a credential helper to remove this warning. See [2021-01-26T11:43:18.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:43:18.029Z] [2021-01-26T11:43:18.029Z] Login Succeeded [2021-01-26T11:43:18.029Z] nexus3.edgexfoundry.org:10003 [2021-01-26T11:43:18.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:43:18.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:43:18.575Z] Configure a credential helper to remove this warning. See [2021-01-26T11:43:18.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:43:18.575Z] [2021-01-26T11:43:18.575Z] Login Succeeded [2021-01-26T11:43:18.575Z] nexus3.edgexfoundry.org:10004 [2021-01-26T11:43:18.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:43:19.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:43:19.131Z] Configure a credential helper to remove this warning. See [2021-01-26T11:43:19.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:43:19.131Z] [2021-01-26T11:43:19.131Z] Login Succeeded [2021-01-26T11:43:19.131Z] docker.io [2021-01-26T11:43:19.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:43:19.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:43:19.673Z] Configure a credential helper to remove this warning. See [2021-01-26T11:43:19.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:43:19.673Z] [2021-01-26T11:43:19.673Z] Login Succeeded [2021-01-26T11:43:19.673Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T11:43:19.688Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-26T11:43:20.134Z] ========================================================= [2021-01-26T11:43:20.134Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-26T11:43:20.134Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:43:20.533Z] + 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-01-26T11:43:21.140Z] Sending build context to Docker daemon 2.568MB [2021-01-26T11:43:21.140Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T11:43:21.140Z] Step 2/8 : FROM ${BASE} [2021-01-26T11:43:21.140Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-26T11:43:21.140Z] 5f621e34cdf4: Pulling fs layer [2021-01-26T11:43:21.140Z] a4357932f1b6: Pulling fs layer [2021-01-26T11:43:21.140Z] 18c013af1878: Pulling fs layer [2021-01-26T11:43:21.140Z] 00ac8860ef70: Pulling fs layer [2021-01-26T11:43:21.140Z] 63d7cb157983: Pulling fs layer [2021-01-26T11:43:21.140Z] b116817d02f9: Pulling fs layer [2021-01-26T11:43:21.140Z] 745a02a5169b: Pulling fs layer [2021-01-26T11:43:21.140Z] 63d7cb157983: Waiting [2021-01-26T11:43:21.140Z] b116817d02f9: Waiting [2021-01-26T11:43:21.140Z] 745a02a5169b: Waiting [2021-01-26T11:43:21.140Z] 00ac8860ef70: Waiting [2021-01-26T11:43:21.140Z] 18c013af1878: Verifying Checksum [2021-01-26T11:43:21.140Z] 18c013af1878: Download complete [2021-01-26T11:43:21.140Z] a4357932f1b6: Download complete [2021-01-26T11:43:21.140Z] 63d7cb157983: Verifying Checksum [2021-01-26T11:43:21.140Z] 63d7cb157983: Download complete [2021-01-26T11:43:21.140Z] b116817d02f9: Verifying Checksum [2021-01-26T11:43:21.140Z] b116817d02f9: Download complete [2021-01-26T11:43:21.140Z] 5f621e34cdf4: Verifying Checksum [2021-01-26T11:43:21.140Z] 5f621e34cdf4: Download complete [2021-01-26T11:43:22.125Z] 5f621e34cdf4: Pull complete [2021-01-26T11:43:22.408Z] a4357932f1b6: Pull complete [2021-01-26T11:43:23.024Z] 18c013af1878: Pull complete [2021-01-26T11:43:23.622Z] 745a02a5169b: Download complete [2021-01-26T11:43:25.062Z] 00ac8860ef70: Verifying Checksum [2021-01-26T11:43:25.062Z] 00ac8860ef70: Download complete [2021-01-26T11:43:35.246Z] 00ac8860ef70: Pull complete [2021-01-26T11:43:35.246Z] 63d7cb157983: Pull complete [2021-01-26T11:43:35.522Z] b116817d02f9: Pull complete [2021-01-26T11:43:39.843Z] 745a02a5169b: Pull complete [2021-01-26T11:43:39.843Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-26T11:43:39.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-26T11:43:39.843Z] ---> b7e6874047d6 [2021-01-26T11:43:39.843Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T11:43:42.454Z] ---> Running in ffc0fa6bcc22 [2021-01-26T11:43:42.454Z] Removing intermediate container ffc0fa6bcc22 [2021-01-26T11:43:42.454Z] ---> c0ec7dc58606 [2021-01-26T11:43:42.454Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T11:43:42.454Z] ---> Running in 02af70df1a87 [2021-01-26T11:43:45.080Z] Removing intermediate container 02af70df1a87 [2021-01-26T11:43:45.080Z] ---> ee700dc28af4 [2021-01-26T11:43:45.080Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-26T11:43:45.080Z] ---> Running in d7c7cefa5c21 [2021-01-26T11:43:46.059Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-26T11:43:47.032Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T11:43:48.001Z] OK: 142 MiB in 39 packages [2021-01-26T11:43:48.997Z] Removing intermediate container d7c7cefa5c21 [2021-01-26T11:43:48.997Z] ---> ad4e34c1ebd8 [2021-01-26T11:43:48.997Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-26T11:43:48.997Z] ---> Running in 8a938f2875e0 [2021-01-26T11:43:49.593Z] Removing intermediate container 8a938f2875e0 [2021-01-26T11:43:49.593Z] ---> 9c8f6135b787 [2021-01-26T11:43:49.593Z] Step 7/8 : COPY . . [2021-01-26T11:43:51.030Z] ---> 3e46cc90cf67 [2021-01-26T11:43:51.030Z] Step 8/8 : RUN go mod download [2021-01-26T11:43:51.030Z] ---> Running in 202a4dfff4fe [2021-01-26T11:44:08.902Z] Running on prd-centos7-docker-4c-2g-22828 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-26T11:44:08.953Z] Running in /w/workspace/device-sdk-go/112 [Pipeline] { [Pipeline] checkout [2021-01-26T11:44:13.220Z] Removing intermediate container 202a4dfff4fe [2021-01-26T11:44:13.220Z] ---> a6153e350e5d [2021-01-26T11:44:13.220Z] Successfully built a6153e350e5d [2021-01-26T11:44:13.220Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:44:13.558Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T11:44:13.558Z] . [Pipeline] withDockerContainer [2021-01-26T11:44:13.843Z] prd-ubuntu18.04-docker-arm64-4c-16g-22827 does not seem to be running inside a container [2021-01-26T11:44:13.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/112 -v /w/workspace/device-sdk-go/112:/w/workspace/device-sdk-go/112:rw,z -v /w/workspace/device-sdk-go/112@tmp:/w/workspace/device-sdk-go/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-26T11:44:14.942Z] using credential edgex-jenkins-ssh [2021-01-26T11:44:14.995Z] Cloning the remote Git repository [2021-01-26T11:44:15.456Z] $ docker top d6aa7aa27488020868eda9ccafabc065faeabffd1bc7c4d53cdf965aab8a3ad4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T11:44:15.048Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T11:44:15.137Z] > git init /w/workspace/device-sdk-go/112 # timeout=10 [2021-01-26T11:44:15.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T11:44:15.265Z] > git --version # timeout=10 [2021-01-26T11:44:15.281Z] > git --version # 'git version 2.24.3' [2021-01-26T11:44:15.282Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T11:44:15.346Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T11:44:16.466Z] + go version [2021-01-26T11:44:16.466Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-26T11:44:16.494Z] $ docker stop --time=1 d6aa7aa27488020868eda9ccafabc065faeabffd1bc7c4d53cdf965aab8a3ad4 [2021-01-26T11:44:16.782Z] Checking out Revision 76d059c2e27a3d5d488ff0022063f09e99d334bf (master) [2021-01-26T11:44:16.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T11:44:16.316Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-26T11:44:16.372Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-26T11:44:16.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-26T11:44:16.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-26T11:44:16.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-26T11:44:16.789Z] > git config core.sparsecheckout # timeout=10 [2021-01-26T11:44:16.799Z] > git checkout -f 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [2021-01-26T11:44:18.442Z] $ docker rm -f d6aa7aa27488020868eda9ccafabc065faeabffd1bc7c4d53cdf965aab8a3ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:44:19.393Z] + docker inspect -f . ci-base-image-arm64 [2021-01-26T11:44:19.393Z] . [Pipeline] withDockerContainer [2021-01-26T11:44:19.614Z] prd-ubuntu18.04-docker-arm64-4c-16g-22827 does not seem to be running inside a container [2021-01-26T11:44:19.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/112 -v /w/workspace/device-sdk-go/112:/w/workspace/device-sdk-go/112:rw,z -v /w/workspace/device-sdk-go/112@tmp:/w/workspace/device-sdk-go/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-01-26T11:44:20.829Z] Commit message: "Merge pull request #759 from hahattan/issue-758" [2021-01-26T11:44:21.019Z] $ docker top 56a317d2f2f8dba4d084e93d960e26b111b2b6e0b750623cd1c124510956867e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T11:44:22.005Z] + make test [2021-01-26T11:44:22.005Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-26T11:44:22.984Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-26T11:44:23.367Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-26T11:44:23.710Z] + sudo service docker restart [2021-01-26T11:44:23.710Z] + true [2021-01-26T11:44:23.710Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-26T11:44:25.217Z] provisioning config files... [2021-01-26T11:44:25.249Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/112@tmp/config1594225294124644312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:44:25.790Z] ---> docker-login.sh [2021-01-26T11:44:25.790Z] nexus3.edgexfoundry.org:10001 [2021-01-26T11:44:26.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:44:26.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:44:26.787Z] Configure a credential helper to remove this warning. See [2021-01-26T11:44:26.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:44:26.787Z] [2021-01-26T11:44:26.787Z] Login Succeeded [2021-01-26T11:44:26.787Z] nexus3.edgexfoundry.org:10002 [2021-01-26T11:44:27.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:44:27.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:44:27.062Z] Configure a credential helper to remove this warning. See [2021-01-26T11:44:27.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:44:27.062Z] [2021-01-26T11:44:27.062Z] Login Succeeded [2021-01-26T11:44:27.062Z] nexus3.edgexfoundry.org:10003 [2021-01-26T11:44:27.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:44:27.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:44:27.370Z] Configure a credential helper to remove this warning. See [2021-01-26T11:44:27.370Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:44:27.370Z] [2021-01-26T11:44:27.370Z] Login Succeeded [2021-01-26T11:44:27.370Z] nexus3.edgexfoundry.org:10004 [2021-01-26T11:44:27.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:44:27.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:44:27.642Z] Configure a credential helper to remove this warning. See [2021-01-26T11:44:27.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:44:27.642Z] [2021-01-26T11:44:27.642Z] Login Succeeded [2021-01-26T11:44:27.939Z] docker.io [2021-01-26T11:44:27.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-26T11:44:28.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-26T11:44:28.238Z] Configure a credential helper to remove this warning. See [2021-01-26T11:44:28.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-26T11:44:28.238Z] [2021-01-26T11:44:28.238Z] Login Succeeded [2021-01-26T11:44:28.238Z] ---> docker-login.sh ends [Pipeline] } [2021-01-26T11:44:28.267Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-26T11:44:28.869Z] ========================================================= [2021-01-26T11:44:28.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-26T11:44:28.869Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:44:29.387Z] + 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-01-26T11:44:29.699Z] Sending build context to Docker daemon 2.562MB [2021-01-26T11:44:29.699Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T11:44:29.699Z] Step 2/8 : FROM ${BASE} [2021-01-26T11:44:29.699Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-26T11:44:29.699Z] 188c0c94c7c5: Pulling fs layer [2021-01-26T11:44:29.699Z] 0ef7d3d256c8: Pulling fs layer [2021-01-26T11:44:29.699Z] de9db76c5a1d: Pulling fs layer [2021-01-26T11:44:29.699Z] bca2f99d35d6: Pulling fs layer [2021-01-26T11:44:29.699Z] 93359f2a8cfa: Pulling fs layer [2021-01-26T11:44:29.699Z] 7c6f9722023f: Pulling fs layer [2021-01-26T11:44:29.699Z] a35cf1a2eb13: Pulling fs layer [2021-01-26T11:44:29.699Z] 93359f2a8cfa: Waiting [2021-01-26T11:44:29.699Z] 7c6f9722023f: Waiting [2021-01-26T11:44:29.699Z] a35cf1a2eb13: Waiting [2021-01-26T11:44:29.699Z] bca2f99d35d6: Waiting [2021-01-26T11:44:29.699Z] de9db76c5a1d: Download complete [2021-01-26T11:44:29.699Z] 0ef7d3d256c8: Verifying Checksum [2021-01-26T11:44:29.699Z] 0ef7d3d256c8: Download complete [2021-01-26T11:44:29.699Z] 93359f2a8cfa: Verifying Checksum [2021-01-26T11:44:29.699Z] 93359f2a8cfa: Download complete [2021-01-26T11:44:29.699Z] 7c6f9722023f: Verifying Checksum [2021-01-26T11:44:29.699Z] 7c6f9722023f: Download complete [2021-01-26T11:44:29.995Z] 188c0c94c7c5: Verifying Checksum [2021-01-26T11:44:29.995Z] 188c0c94c7c5: Download complete [2021-01-26T11:44:30.676Z] 188c0c94c7c5: Pull complete [2021-01-26T11:44:30.968Z] 0ef7d3d256c8: Pull complete [2021-01-26T11:44:31.262Z] de9db76c5a1d: Pull complete [2021-01-26T11:44:35.831Z] a35cf1a2eb13: Verifying Checksum [2021-01-26T11:44:35.831Z] a35cf1a2eb13: Download complete [2021-01-26T11:44:36.831Z] bca2f99d35d6: Verifying Checksum [2021-01-26T11:44:36.831Z] bca2f99d35d6: Download complete [2021-01-26T11:44:44.170Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-26T11:44:47.077Z] bca2f99d35d6: Pull complete [2021-01-26T11:44:47.077Z] 93359f2a8cfa: Pull complete [2021-01-26T11:44:47.077Z] 7c6f9722023f: Pull complete [2021-01-26T11:44:52.681Z] a35cf1a2eb13: Pull complete [2021-01-26T11:44:52.681Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-26T11:44:52.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-26T11:44:52.681Z] ---> a62c8e92a672 [2021-01-26T11:44:52.681Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T11:44:52.681Z] ---> Running in d7b4c45999e2 [2021-01-26T11:44:52.965Z] Removing intermediate container d7b4c45999e2 [2021-01-26T11:44:52.965Z] ---> a6a2d061700e [2021-01-26T11:44:52.965Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T11:44:52.965Z] ---> Running in e764391432c6 [2021-01-26T11:44:54.502Z] Removing intermediate container e764391432c6 [2021-01-26T11:44:54.502Z] ---> c34e9e52ffe4 [2021-01-26T11:44:54.502Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-26T11:44:54.811Z] ---> Running in 980cce887411 [2021-01-26T11:44:55.846Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T11:44:56.820Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T11:44:57.818Z] OK: 166 MiB in 39 packages [2021-01-26T11:44:58.925Z] Removing intermediate container 980cce887411 [2021-01-26T11:44:58.925Z] ---> bbe1fc950729 [2021-01-26T11:44:58.925Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-26T11:44:58.925Z] ---> Running in b153b6bd32ce [2021-01-26T11:44:59.209Z] Removing intermediate container b153b6bd32ce [2021-01-26T11:44:59.209Z] ---> 85fdfdab7ea2 [2021-01-26T11:44:59.209Z] Step 7/8 : COPY . . [2021-01-26T11:45:00.721Z] ---> b1d25d9009f3 [2021-01-26T11:45:00.721Z] Step 8/8 : RUN go mod download [2021-01-26T11:45:00.721Z] ---> Running in 9bc379e4dd78 [2021-01-26T11:45:23.205Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-26T11:45:23.205Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-26T11:45:23.205Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-26T11:45:23.205Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.171s coverage: 19.4% of statements [2021-01-26T11:45:27.708Z] Removing intermediate container 9bc379e4dd78 [2021-01-26T11:45:27.708Z] ---> ef965b50eb37 [2021-01-26T11:45:27.708Z] Successfully built ef965b50eb37 [2021-01-26T11:45:27.708Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:45:28.096Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T11:45:28.367Z] . [Pipeline] withDockerContainer [2021-01-26T11:45:28.683Z] prd-centos7-docker-4c-2g-22828 does not seem to be running inside a container [2021-01-26T11:45:28.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/112 -v /w/workspace/device-sdk-go/112:/w/workspace/device-sdk-go/112:rw,z -v /w/workspace/device-sdk-go/112@tmp:/w/workspace/device-sdk-go/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-26T11:45:29.897Z] $ docker top 19a9fa1945810300349a09dfb9c49ef981956607310d36a5cd74bf1d4db71083 -eo pid,comm [2021-01-26T11:45:29.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.221s coverage: 97.1% of statements [Pipeline] { [Pipeline] sh [2021-01-26T11:45:31.013Z] + go version [2021-01-26T11:45:31.013Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-26T11:45:31.134Z] $ docker stop --time=1 19a9fa1945810300349a09dfb9c49ef981956607310d36a5cd74bf1d4db71083 [2021-01-26T11:45:32.927Z] $ docker rm -f 19a9fa1945810300349a09dfb9c49ef981956607310d36a5cd74bf1d4db71083 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:45:34.022Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-26T11:45:34.022Z] . [Pipeline] withDockerContainer [2021-01-26T11:45:34.408Z] prd-centos7-docker-4c-2g-22828 does not seem to be running inside a container [2021-01-26T11:45:34.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/112 -v /w/workspace/device-sdk-go/112:/w/workspace/device-sdk-go/112:rw,z -v /w/workspace/device-sdk-go/112@tmp:/w/workspace/device-sdk-go/112@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-26T11:45:35.840Z] $ docker top 2cf1f307efef4e480ae83846894c504301daf8663054e1eae67fa75b0574c5b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T11:45:36.429Z] + make test [2021-01-26T11:45:36.430Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-26T11:45:48.986Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-26T11:45:56.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.148s coverage: 9.4% of statements [2021-01-26T11:45:56.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 21.7% of statements [2021-01-26T11:45:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-26T11:45:56.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.560s coverage: 43.2% of statements [2021-01-26T11:45:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-26T11:45:56.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.770s coverage: 68.9% of statements [2021-01-26T11:45:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-26T11:45:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-26T11:45:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-26T11:45:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-26T11:45:56.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.188s coverage: 53.8% of statements [2021-01-26T11:45:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-26T11:45:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-26T11:45:56.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.192s coverage: 26.8% of statements [2021-01-26T11:45:56.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.927s coverage: 83.5% of statements [2021-01-26T11:45:56.769Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 4.2% of statements [2021-01-26T11:45:56.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-26T11:45:56.769Z] GO111MODULE=on go vet ./... [2021-01-26T11:46:22.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-26T11:46:22.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-26T11:46:22.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-26T11:46:22.269Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.136s coverage: 19.4% of statements [2021-01-26T11:46:25.981Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.125s coverage: 97.1% of statements [2021-01-26T11:46:29.141Z] gofmt -l . [2021-01-26T11:46:29.141Z] [ "`gofmt -l .`" = "" ] [2021-01-26T11:46:29.141Z] ./bin/test-attribution-txt.sh [2021-01-26T11:46:30.119Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-26T11:46:30.419Z] $ docker stop --time=1 56a317d2f2f8dba4d084e93d960e26b111b2b6e0b750623cd1c124510956867e [2021-01-26T11:46:32.628Z] $ docker rm -f 56a317d2f2f8dba4d084e93d960e26b111b2b6e0b750623cd1c124510956867e [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T11:46:34.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-26T11:46:35.119Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-26T11:46:37.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-26T11:46:38.077Z] + ls -al . [2021-01-26T11:46:38.078Z] total 252 [2021-01-26T11:46:38.078Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 11:46 . [2021-01-26T11:46:38.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 11:43 .. [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 11:43 .dockerignore [2021-01-26T11:46:38.078Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 11:43 .git [2021-01-26T11:46:38.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 11:43 .github [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 26 11:43 .gitignore [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 26 11:43 Dockerfile.build [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 26 11:43 Jenkinsfile [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 26 11:43 LICENSE [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 26 11:43 Makefile [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 26 11:43 README.md [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 26 11:43 RELEASE-NOTES.txt [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 26 11:40 VERSION [2021-01-26T11:46:38.078Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 11:43 bin [2021-01-26T11:46:38.078Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 26 11:45 coverage.out [2021-01-26T11:46:38.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 11:43 example [2021-01-26T11:46:38.078Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 26 11:46 go.mod [2021-01-26T11:46:38.078Z] -rw-r--r-- 1 jenkins jenkins 14016 Jan 26 11:46 go.sum [2021-01-26T11:46:38.078Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 26 11:43 internal [2021-01-26T11:46:38.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 11:43 openapi [2021-01-26T11:46:38.078Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 26 11:43 pkg [2021-01-26T11:46:38.078Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 11:43 snap [2021-01-26T11:46:38.078Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 26 11:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:46:38.418Z] + 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=76d059c2e27a3d5d488ff0022063f09e99d334bf --label arch=arm64 --label version=2.0.0-dev.7 . [2021-01-26T11:46:38.688Z] Sending build context to Docker daemon 2.705MB [2021-01-26T11:46:38.963Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T11:46:38.963Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-26T11:46:38.963Z] ---> a6153e350e5d [2021-01-26T11:46:38.963Z] Step 3/24 : ARG MAKE='make build' [2021-01-26T11:46:38.963Z] ---> Running in 5cde72a96be2 [2021-01-26T11:46:39.570Z] Removing intermediate container 5cde72a96be2 [2021-01-26T11:46:39.570Z] ---> 7201dca7ea11 [2021-01-26T11:46:39.570Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-26T11:46:39.570Z] ---> Running in fbb3a397864a [2021-01-26T11:46:40.164Z] Removing intermediate container fbb3a397864a [2021-01-26T11:46:40.164Z] ---> e8c2c4e29451 [2021-01-26T11:46:40.164Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T11:46:40.164Z] ---> Running in 953411d4ff13 [2021-01-26T11:46:40.759Z] Removing intermediate container 953411d4ff13 [2021-01-26T11:46:40.759Z] ---> 891568a3c783 [2021-01-26T11:46:40.759Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T11:46:40.759Z] ---> Running in dd2b665c559b [2021-01-26T11:46:42.731Z] Removing intermediate container dd2b665c559b [2021-01-26T11:46:42.731Z] ---> 6bf9440eb2ea [2021-01-26T11:46:42.731Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-26T11:46:43.006Z] ---> Running in c84be1be88ac [2021-01-26T11:46:43.983Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-26T11:46:44.951Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-26T11:46:45.935Z] OK: 142 MiB in 39 packages [2021-01-26T11:46:47.361Z] Removing intermediate container c84be1be88ac [2021-01-26T11:46:47.362Z] ---> f2d9dee0c072 [2021-01-26T11:46:47.362Z] Step 8/24 : COPY . . [2021-01-26T11:46:48.331Z] ---> 4ff46d3f8674 [2021-01-26T11:46:48.331Z] Step 9/24 : RUN ${MAKE} [2021-01-26T11:46:48.331Z] ---> Running in 339b63093a02 [2021-01-26T11:46:49.312Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-26T11:46:58.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.135s coverage: 9.4% of statements [2021-01-26T11:46:58.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.087s coverage: 21.7% of statements [2021-01-26T11:46:58.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-26T11:46:58.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.392s coverage: 43.2% of statements [2021-01-26T11:46:58.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-26T11:46:58.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.591s coverage: 68.9% of statements [2021-01-26T11:46:58.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-26T11:46:58.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-26T11:46:58.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-26T11:46:58.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-26T11:46:58.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.153s coverage: 53.8% of statements [2021-01-26T11:46:58.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-26T11:46:58.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-26T11:46:58.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.103s coverage: 26.8% of statements [2021-01-26T11:46:58.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.129s coverage: 83.5% of statements [2021-01-26T11:46:58.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.135s coverage: 4.2% of statements [2021-01-26T11:46:58.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-26T11:46:58.664Z] GO111MODULE=on go vet ./... [2021-01-26T11:47:16.127Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-26T11:47:16.723Z] Removing intermediate container 339b63093a02 [2021-01-26T11:47:16.723Z] ---> 086af0b7b139 [2021-01-26T11:47:16.723Z] Step 10/24 : FROM scratch [2021-01-26T11:47:16.723Z] ---> [2021-01-26T11:47:16.723Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T11:47:16.723Z] ---> Running in ef519da0db36 [2021-01-26T11:47:16.995Z] Removing intermediate container ef519da0db36 [2021-01-26T11:47:16.995Z] ---> 8b97ad2908e2 [2021-01-26T11:47:16.995Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-26T11:47:17.269Z] ---> Running in 0b398f9f3360 [2021-01-26T11:47:17.389Z] gofmt -l . [2021-01-26T11:47:17.389Z] [ "`gofmt -l .`" = "" ] [2021-01-26T11:47:17.389Z] ./bin/test-attribution-txt.sh [2021-01-26T11:47:17.389Z] ./bin/test-go-mod-tidy.sh [2021-01-26T11:47:17.541Z] Removing intermediate container 0b398f9f3360 [2021-01-26T11:47:17.541Z] ---> c9087e879034 [2021-01-26T11:47:17.541Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-26T11:47:17.813Z] ---> Running in 03c6411ff62b [Pipeline] } [2021-01-26T11:47:18.044Z] $ docker stop --time=1 2cf1f307efef4e480ae83846894c504301daf8663054e1eae67fa75b0574c5b4 [2021-01-26T11:47:18.083Z] Removing intermediate container 03c6411ff62b [2021-01-26T11:47:18.083Z] ---> bed110393469 [2021-01-26T11:47:18.083Z] Step 14/24 : WORKDIR / [2021-01-26T11:47:18.355Z] ---> Running in 1910a1593a47 [2021-01-26T11:47:18.637Z] Removing intermediate container 1910a1593a47 [2021-01-26T11:47:18.637Z] ---> 3d0081e914c2 [2021-01-26T11:47:18.637Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-26T11:47:19.617Z] ---> 4f297d991948 [2021-01-26T11:47:19.617Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-26T11:47:20.603Z] ---> 7e996a4fa356 [2021-01-26T11:47:20.603Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-26T11:47:21.198Z] ---> cfea543e1352 [2021-01-26T11:47:21.198Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-26T11:47:21.512Z] $ docker rm -f 2cf1f307efef4e480ae83846894c504301daf8663054e1eae67fa75b0574c5b4 [2021-01-26T11:47:21.791Z] ---> cf7438816ce6 [2021-01-26T11:47:21.792Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-26T11:47:22.394Z] ---> 9f007ba298e4 [2021-01-26T11:47:22.395Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-26T11:47:22.611Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-26T11:47:22.626Z] Warning: overwriting stash ‘coverage-report’ [2021-01-26T11:47:22.665Z] ---> Running in c60cfa83edcc [2021-01-26T11:47:23.259Z] Removing intermediate container c60cfa83edcc [2021-01-26T11:47:23.259Z] ---> 48a18d7cb1c7 [2021-01-26T11:47:23.259Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-26T11:47:23.259Z] ---> Running in 92d90dabcdc0 [2021-01-26T11:47:23.376Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-26T11:47:23.856Z] Removing intermediate container 92d90dabcdc0 [2021-01-26T11:47:23.856Z] ---> 696f70882218 [2021-01-26T11:47:23.856Z] Step 22/24 : LABEL arch=arm64 [2021-01-26T11:47:23.856Z] ---> Running in 02f056d9d6ac [2021-01-26T11:47:24.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-26T11:47:24.450Z] Removing intermediate container 02f056d9d6ac [2021-01-26T11:47:24.450Z] ---> 27e985907b9a [2021-01-26T11:47:24.450Z] Step 23/24 : LABEL git_sha=76d059c2e27a3d5d488ff0022063f09e99d334bf [2021-01-26T11:47:24.450Z] ---> Running in df4bdbe892d9 [2021-01-26T11:47:24.752Z] + ls -al . [2021-01-26T11:47:24.752Z] total 216 [2021-01-26T11:47:24.752Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 26 11:47 . [2021-01-26T11:47:24.752Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 26 11:44 .. [2021-01-26T11:47:24.752Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 26 11:44 bin [2021-01-26T11:47:24.752Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 26 11:46 coverage.out [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 26 11:44 Dockerfile.build [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 26 11:44 .dockerignore [2021-01-26T11:47:24.752Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 26 11:44 example [2021-01-26T11:47:24.752Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 26 11:44 .git [2021-01-26T11:47:24.752Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 26 11:44 .github [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 26 11:44 .gitignore [2021-01-26T11:47:24.752Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 26 11:47 go.mod [2021-01-26T11:47:24.752Z] -rw-r--r--. 1 jenkins jenkins 14016 Jan 26 11:47 go.sum [2021-01-26T11:47:24.752Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 26 11:44 internal [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 26 11:44 Jenkinsfile [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 26 11:44 LICENSE [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 26 11:44 Makefile [2021-01-26T11:47:24.752Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 26 11:44 openapi [2021-01-26T11:47:24.752Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 26 11:44 pkg [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 26 11:44 README.md [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 26 11:44 RELEASE-NOTES.txt [2021-01-26T11:47:24.752Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 26 11:44 snap [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 26 11:40 VERSION [2021-01-26T11:47:24.752Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 26 11:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:47:25.043Z] Removing intermediate container df4bdbe892d9 [2021-01-26T11:47:25.043Z] ---> 56f38cccd26b [2021-01-26T11:47:25.043Z] Step 24/24 : LABEL version=2.0.0-dev.7 [2021-01-26T11:47:25.043Z] ---> Running in f18188d983e4 [2021-01-26T11:47:25.449Z] + 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=76d059c2e27a3d5d488ff0022063f09e99d334bf --label arch=amd64 --label version=2.0.0-dev.7 . [2021-01-26T11:47:25.638Z] Removing intermediate container f18188d983e4 [2021-01-26T11:47:25.638Z] ---> bbc488760148 [2021-01-26T11:47:25.638Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-26T11:47:25.638Z] Successfully built bbc488760148 [2021-01-26T11:47:25.638Z] 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [2021-01-26T11:47:26.501Z] Sending build context to Docker daemon 2.699MB [2021-01-26T11:47:26.501Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-26T11:47:26.501Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-26T11:47:26.501Z] ---> ef965b50eb37 [2021-01-26T11:47:26.501Z] Step 3/24 : ARG MAKE='make build' [Pipeline] // node [Pipeline] } [Pipeline] // stage [2021-01-26T11:47:26.804Z] ---> Running in 2f02dade5a68 [Pipeline] } [2021-01-26T11:47:27.506Z] Removing intermediate container 2f02dade5a68 [2021-01-26T11:47:27.506Z] ---> 2b93c8b2d10a [2021-01-26T11:47:27.506Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-26T11:47:27.506Z] ---> Running in 5c2ca816092d [2021-01-26T11:47:28.187Z] Removing intermediate container 5c2ca816092d [2021-01-26T11:47:28.187Z] ---> 3e58fd46b124 [2021-01-26T11:47:28.187Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T11:47:28.461Z] ---> Running in a0018c039a38 [2021-01-26T11:47:28.744Z] Removing intermediate container a0018c039a38 [2021-01-26T11:47:28.744Z] ---> 57742a931978 [2021-01-26T11:47:28.744Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-26T11:47:29.048Z] ---> Running in 19dca930f66e [2021-01-26T11:47:31.199Z] Removing intermediate container 19dca930f66e [2021-01-26T11:47:31.200Z] ---> 0085f0c03d0b [2021-01-26T11:47:31.200Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-26T11:47:31.200Z] ---> Running in fe8eb6c252f4 [2021-01-26T11:47:31.821Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-26T11:47:32.456Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-26T11:47:33.717Z] OK: 166 MiB in 39 packages [2021-01-26T11:47:34.401Z] Removing intermediate container fe8eb6c252f4 [2021-01-26T11:47:34.401Z] ---> 3b7c93e2368c [2021-01-26T11:47:34.401Z] Step 8/24 : COPY . . [2021-01-26T11:47:35.652Z] ---> c9b5dedea725 [2021-01-26T11:47:35.653Z] Step 9/24 : RUN ${MAKE} [2021-01-26T11:47:35.653Z] ---> Running in 38af6d36b4c6 [2021-01-26T11:47:37.278Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-26T11:47:55.892Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-26T11:47:56.885Z] Removing intermediate container 38af6d36b4c6 [2021-01-26T11:47:56.885Z] ---> 1717f99edc87 [2021-01-26T11:47:56.885Z] Step 10/24 : FROM scratch [2021-01-26T11:47:56.885Z] ---> [2021-01-26T11:47:56.885Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-26T11:47:56.885Z] ---> Running in 067b2fb3ded7 [2021-01-26T11:47:57.151Z] Removing intermediate container 067b2fb3ded7 [2021-01-26T11:47:57.151Z] ---> 177eea832ff9 [2021-01-26T11:47:57.151Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-26T11:47:57.151Z] ---> Running in f4c9e87c7b0e [2021-01-26T11:47:57.417Z] Removing intermediate container f4c9e87c7b0e [2021-01-26T11:47:57.417Z] ---> 9174260d45ad [2021-01-26T11:47:57.417Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-26T11:47:57.417Z] ---> Running in 8183ddfe5176 [2021-01-26T11:47:57.690Z] Removing intermediate container 8183ddfe5176 [2021-01-26T11:47:57.690Z] ---> cc12f0e92ac2 [2021-01-26T11:47:57.690Z] Step 14/24 : WORKDIR / [2021-01-26T11:47:57.690Z] ---> Running in 8ed9e04eb5d4 [2021-01-26T11:47:57.991Z] Removing intermediate container 8ed9e04eb5d4 [2021-01-26T11:47:57.991Z] ---> 6a279cf51a64 [2021-01-26T11:47:57.991Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-26T11:47:58.587Z] ---> 00efc1564b9c [2021-01-26T11:47:58.587Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-26T11:47:59.191Z] ---> ec54dda9a17f [2021-01-26T11:47:59.191Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-26T11:47:59.791Z] ---> bc28a3dfcfbc [2021-01-26T11:47:59.791Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-26T11:48:00.058Z] ---> 1f7c3dcbfbef [2021-01-26T11:48:00.058Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-26T11:48:00.321Z] ---> a5fae84ada9a [2021-01-26T11:48:00.321Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-26T11:48:00.321Z] ---> Running in b4316e0bb785 [2021-01-26T11:48:00.585Z] Removing intermediate container b4316e0bb785 [2021-01-26T11:48:00.585Z] ---> 379e4702c3a7 [2021-01-26T11:48:00.585Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-26T11:48:00.585Z] ---> Running in 06605d42638f [2021-01-26T11:48:00.852Z] Removing intermediate container 06605d42638f [2021-01-26T11:48:00.852Z] ---> 75fcfa62d619 [2021-01-26T11:48:00.852Z] Step 22/24 : LABEL arch=amd64 [2021-01-26T11:48:00.852Z] ---> Running in 434444260fb3 [2021-01-26T11:48:01.118Z] Removing intermediate container 434444260fb3 [2021-01-26T11:48:01.118Z] ---> 4ec47a623984 [2021-01-26T11:48:01.118Z] Step 23/24 : LABEL git_sha=76d059c2e27a3d5d488ff0022063f09e99d334bf [2021-01-26T11:48:01.391Z] ---> Running in e9e514ffd91c [2021-01-26T11:48:01.667Z] Removing intermediate container e9e514ffd91c [2021-01-26T11:48:01.667Z] ---> d3bb4577b4f5 [2021-01-26T11:48:01.667Z] Step 24/24 : LABEL version=2.0.0-dev.7 [2021-01-26T11:48:01.667Z] ---> Running in c4ad4d6ad750 [2021-01-26T11:48:01.946Z] Removing intermediate container c4ad4d6ad750 [2021-01-26T11:48:01.946Z] ---> 82906bb08915 [2021-01-26T11:48:01.946Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-26T11:48:01.946Z] Successfully built 82906bb08915 [2021-01-26T11:48:01.946Z] 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 [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-01-26T11:48:03.795Z] provisioning config files... [2021-01-26T11:48:03.804Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8359428092418968764tmp [Pipeline] { [Pipeline] sh [2021-01-26T11:48:04.198Z] + set +x [2021-01-26T11:48:04.198Z] + curl -s https://codecov.io/bash [2021-01-26T11:48:04.198Z] + bash -s -- [2021-01-26T11:48:04.459Z] [2021-01-26T11:48:04.460Z] _____ _ [2021-01-26T11:48:04.460Z] / ____| | | [2021-01-26T11:48:04.460Z] | | ___ __| | ___ ___ _____ __ [2021-01-26T11:48:04.460Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-26T11:48:04.460Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-26T11:48:04.460Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-26T11:48:04.460Z] Bash-20210115-cec3c92 [2021-01-26T11:48:04.460Z] [2021-01-26T11:48:04.460Z] [2021-01-26T11:48:04.460Z] ==> git version 2.24.3 found [2021-01-26T11:48:04.460Z] ==> 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-01-26T11:48:04.460Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-26T11:48:04.460Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-26T11:48:04.460Z] ==> Jenkins CI detected. [2021-01-26T11:48:04.460Z] project root: . [2021-01-26T11:48:04.460Z] --> token set from env [2021-01-26T11:48:04.460Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-26T11:48:04.460Z] ==> Running gcov in . (disable via -X gcov) [2021-01-26T11:48:04.460Z] ==> Python coveragepy not found [2021-01-26T11:48:04.460Z] ==> Searching for coverage reports in: [2021-01-26T11:48:04.460Z] + . [2021-01-26T11:48:04.460Z] -> Found 1 reports [2021-01-26T11:48:04.460Z] ==> Detecting git/mercurial file structure [2021-01-26T11:48:04.460Z] ==> Reading reports [2021-01-26T11:48:04.460Z] + ./coverage.out bytes=136842 [2021-01-26T11:48:04.460Z] ==> Appending adjustments [2021-01-26T11:48:04.460Z] https://docs.codecov.io/docs/fixing-reports [2021-01-26T11:48:05.033Z] + Found adjustments [2021-01-26T11:48:05.033Z] ==> Gzipping contents [2021-01-26T11:48:05.033Z] 24K /tmp/codecov.6gagcv.gz [2021-01-26T11:48:05.033Z] ==> Uploading reports [2021-01-26T11:48:05.033Z] url: https://codecov.io [2021-01-26T11:48:05.033Z] query: branch=master&commit=76d059c2e27a3d5d488ff0022063f09e99d334bf&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-26T11:48:05.033Z] -> Pinging Codecov [2021-01-26T11:48:05.033Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=76d059c2e27a3d5d488ff0022063f09e99d334bf&build=112&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F112%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-26T11:48:05.606Z] -> Uploading to [2021-01-26T11:48:05.606Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-26/7E55EF52A471D76F132DFD9A03CDDE97/76d059c2e27a3d5d488ff0022063f09e99d334bf/7c019203-fca3-4ff4-875e-8ceb6322cbff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210126T114805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2aee1e6814736f276f93e487b3088d542e230d9c459d257e8fddc2ce39fc01a [2021-01-26T11:48:05.606Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-26T11:48:05.606Z] Dload Upload Total Spent Left Speed [2021-01-26T11:48:06.177Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21511 0 0 100 21511 0 49810 --:--:-- --:--:-- --:--:-- 49793 100 21511 0 0 100 21511 0 49792 --:--:-- --:--:-- --:--:-- 49793 [2021-01-26T11:48:06.177Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/76d059c2e27a3d5d488ff0022063f09e99d334bf [Pipeline] } [2021-01-26T11:48:06.186Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-26T11:48:07.036Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-26T11:48:07.091Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:48:07.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-26T11:48:07.430Z] [2021-01-26T11:48:07.430Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:48:07.781Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-26T11:48:07.781Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-26T11:48:07.781Z] 188c0c94c7c5: Pulling fs layer [2021-01-26T11:48:07.781Z] 0ef7d3d256c8: Pulling fs layer [2021-01-26T11:48:07.781Z] de9db76c5a1d: Pulling fs layer [2021-01-26T11:48:07.781Z] 0eba1c9be4d2: Pulling fs layer [2021-01-26T11:48:07.781Z] 0d57e429df01: Pulling fs layer [2021-01-26T11:48:07.781Z] 4e4be7b47b0d: Pulling fs layer [2021-01-26T11:48:07.781Z] e1f770b5df2f: Pulling fs layer [2021-01-26T11:48:07.781Z] 85a0685a4137: Pulling fs layer [2021-01-26T11:48:07.781Z] 0d57e429df01: Waiting [2021-01-26T11:48:07.781Z] 4e4be7b47b0d: Waiting [2021-01-26T11:48:07.781Z] e1f770b5df2f: Waiting [2021-01-26T11:48:07.781Z] 85a0685a4137: Waiting [2021-01-26T11:48:07.781Z] 0eba1c9be4d2: Waiting [2021-01-26T11:48:07.781Z] de9db76c5a1d: Download complete [2021-01-26T11:48:07.781Z] 0ef7d3d256c8: Verifying Checksum [2021-01-26T11:48:07.781Z] 0ef7d3d256c8: Download complete [2021-01-26T11:48:07.781Z] 0d57e429df01: Verifying Checksum [2021-01-26T11:48:07.781Z] 0d57e429df01: Download complete [2021-01-26T11:48:07.781Z] 188c0c94c7c5: Verifying Checksum [2021-01-26T11:48:07.781Z] 188c0c94c7c5: Download complete [2021-01-26T11:48:07.781Z] 4e4be7b47b0d: Verifying Checksum [2021-01-26T11:48:07.781Z] 4e4be7b47b0d: Download complete [2021-01-26T11:48:08.044Z] 188c0c94c7c5: Pull complete [2021-01-26T11:48:08.305Z] 0ef7d3d256c8: Pull complete [2021-01-26T11:48:08.305Z] de9db76c5a1d: Pull complete [2021-01-26T11:48:10.225Z] e1f770b5df2f: Verifying Checksum [2021-01-26T11:48:10.225Z] e1f770b5df2f: Download complete [2021-01-26T11:48:12.161Z] 0eba1c9be4d2: Verifying Checksum [2021-01-26T11:48:12.161Z] 0eba1c9be4d2: Download complete [2021-01-26T11:48:12.161Z] 85a0685a4137: Verifying Checksum [2021-01-26T11:48:12.161Z] 85a0685a4137: Download complete [2021-01-26T11:48:17.478Z] 0eba1c9be4d2: Pull complete [2021-01-26T11:48:17.740Z] 0d57e429df01: Pull complete [2021-01-26T11:48:17.740Z] 4e4be7b47b0d: Pull complete [2021-01-26T11:48:21.050Z] e1f770b5df2f: Pull complete [2021-01-26T11:48:27.656Z] 85a0685a4137: Pull complete [2021-01-26T11:48:27.656Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-26T11:48:27.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-26T11:48:27.656Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-26T11:48:27.843Z] prd-centos7-docker-4c-2g-22826 does not seem to be running inside a container [2021-01-26T11:48:27.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-26T11:48:28.884Z] $ docker top d4a5679f67df63cb75f0a03687aedc1e1e085430a5d0aa42de472294e7356a04 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-26T11:48:29.109Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-26T11:48:29.402Z] + set -o pipefail [2021-01-26T11:48:29.403Z] + snyk monitor '--org=edgex-jenkins' [2021-01-26T11:48:39.416Z] [2021-01-26T11:48:39.416Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-01-26T11:48:39.416Z] [2021-01-26T11:48:39.416Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/922aebc8-d445-4808-a9c3-d5ae3304c004 [2021-01-26T11:48:39.416Z] [2021-01-26T11:48:39.416Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-26T11:48:39.416Z] [2021-01-26T11:48:39.416Z] [Pipeline] } [2021-01-26T11:48:39.509Z] $ docker stop --time=1 d4a5679f67df63cb75f0a03687aedc1e1e085430a5d0aa42de472294e7356a04 [2021-01-26T11:48:42.057Z] $ docker rm -f d4a5679f67df63cb75f0a03687aedc1e1e085430a5d0aa42de472294e7356a04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-01-26T11:48:43.334Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-26T11:48:43.413Z] provisioning config files... [2021-01-26T11:48:43.422Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config450836899574035196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:48:43.830Z] --> edgex-publish-swagger.sh [2021-01-26T11:48:43.830Z] === Publish openapi/v1 API === [2021-01-26T11:48:43.830Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-26T11:48:43.830Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-01-26T11:48:43.830Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-26T11:48:43.830Z] Dload Upload Total Spent Left Speed [2021-01-26T11:48:44.777Z] 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 18889 0:00:01 0:00:01 --:--:-- 18907 [2021-01-26T11:48:44.777Z] [2021-01-26T11:48:44.777Z] [2021-01-26T11:48:44.777Z] === Publish openapi/v2 API === [2021-01-26T11:48:44.777Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-26T11:48:44.777Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-01-26T11:48:44.777Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-26T11:48:44.777Z] Dload Upload Total Spent Left Speed [2021-01-26T11:48:45.608Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44473 0 0 100 44473 0 56187 --:--:-- --:--:-- --:--:-- 56152 [2021-01-26T11:48:45.608Z] [2021-01-26T11:48:45.608Z] [Pipeline] } [2021-01-26T11:48:45.616Z] 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-01-26T11:48:46.461Z] + git log --format=format:%s -1 76d059c2e27a3d5d488ff0022063f09e99d334bf [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:48:46.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T11:48:46.766Z] . [Pipeline] withDockerContainer [2021-01-26T11:48:46.873Z] prd-centos7-docker-4c-2g-22826 does not seem to be running inside a container [2021-01-26T11:48:46.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-26T11:48:47.638Z] $ docker top 9e959aef661b5719ff1dba56529909d6b6d63242c2b960d28acd629f541fbde0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T11:48:47.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T11:48:47.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T11:48:48.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T11:48:48.185Z] $ docker exec 9e959aef661b5719ff1dba56529909d6b6d63242c2b960d28acd629f541fbde0 ssh-agent [2021-01-26T11:48:48.372Z] SSH_AUTH_SOCK=/tmp/ssh-EicELwNo9N2K/agent.11 [2021-01-26T11:48:48.372Z] SSH_AGENT_PID=17 [2021-01-26T11:48:48.380Z] Running ssh-add (command line suppressed) [2021-01-26T11:48:48.510Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7824662923634812802.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7824662923634812802.key) [2021-01-26T11:48:48.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T11:48:48.907Z] + git semver tag [2021-01-26T11:48:48.907Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T11:48:48.907Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-26T11:48:48.907Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-26T11:48:48.907Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T11:48:48.907Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T11:48:48.907Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T11:48:48.907Z] # $SEMVER_BRANCH = master [2021-01-26T11:48:48.907Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-26T11:48:48.907Z] # 76d059c2e27a3d5d488ff0022063f09e99d334bf HEAD [2021-01-26T11:48:48.907Z] # -> Force: false [2021-01-26T11:48:48.907Z] # 25a30fafc34992b4a7d2d5ef0571e30158f7e315 refs/tags/v2.0.0-dev.7 [Pipeline] } [2021-01-26T11:48:48.919Z] $ docker exec --env ******** --env ******** 9e959aef661b5719ff1dba56529909d6b6d63242c2b960d28acd629f541fbde0 ssh-agent -k [2021-01-26T11:48:49.037Z] unset SSH_AUTH_SOCK; [2021-01-26T11:48:49.038Z] unset SSH_AGENT_PID; [2021-01-26T11:48:49.038Z] echo Agent pid 17 killed; [2021-01-26T11:48:49.085Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T11:48:49.594Z] + git semver [Pipeline] } [2021-01-26T11:48:49.609Z] $ docker stop --time=1 9e959aef661b5719ff1dba56529909d6b6d63242c2b960d28acd629f541fbde0 [2021-01-26T11:48:50.967Z] $ docker rm -f 9e959aef661b5719ff1dba56529909d6b6d63242c2b960d28acd629f541fbde0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:48:51.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-26T11:48:51.570Z] [2021-01-26T11:48:51.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:48:51.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-26T11:48:51.915Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-26T11:48:51.915Z] ab5ef0e58194: Pulling fs layer [2021-01-26T11:48:51.915Z] 9712f1f96733: Pulling fs layer [2021-01-26T11:48:51.915Z] 63f879dbbcfc: Pulling fs layer [2021-01-26T11:48:51.915Z] 0d9ebad4ef96: Pulling fs layer [2021-01-26T11:48:51.915Z] e9a5061849ea: Pulling fs layer [2021-01-26T11:48:51.915Z] d747dcd14b5f: Pulling fs layer [2021-01-26T11:48:51.915Z] 2de7ff778b66: Pulling fs layer [2021-01-26T11:48:51.915Z] 0d9ebad4ef96: Waiting [2021-01-26T11:48:51.915Z] 2de7ff778b66: Waiting [2021-01-26T11:48:51.915Z] e9a5061849ea: Waiting [2021-01-26T11:48:51.915Z] d747dcd14b5f: Waiting [2021-01-26T11:48:51.915Z] 9712f1f96733: Download complete [2021-01-26T11:48:53.304Z] 63f879dbbcfc: Verifying Checksum [2021-01-26T11:48:53.304Z] 63f879dbbcfc: Download complete [2021-01-26T11:48:53.566Z] e9a5061849ea: Verifying Checksum [2021-01-26T11:48:53.566Z] e9a5061849ea: Download complete [2021-01-26T11:48:53.566Z] d747dcd14b5f: Download complete [2021-01-26T11:48:53.829Z] 2de7ff778b66: Verifying Checksum [2021-01-26T11:48:53.829Z] 2de7ff778b66: Download complete [2021-01-26T11:48:54.403Z] 0d9ebad4ef96: Verifying Checksum [2021-01-26T11:48:54.403Z] 0d9ebad4ef96: Download complete [2021-01-26T11:48:54.403Z] ab5ef0e58194: Verifying Checksum [2021-01-26T11:48:54.403Z] ab5ef0e58194: Download complete [2021-01-26T11:48:58.636Z] ab5ef0e58194: Pull complete [2021-01-26T11:48:58.636Z] 9712f1f96733: Pull complete [2021-01-26T11:49:01.960Z] 63f879dbbcfc: Pull complete [2021-01-26T11:49:07.288Z] 0d9ebad4ef96: Pull complete [2021-01-26T11:49:09.209Z] e9a5061849ea: Pull complete [2021-01-26T11:49:09.209Z] d747dcd14b5f: Pull complete [2021-01-26T11:49:11.774Z] 2de7ff778b66: Pull complete [2021-01-26T11:49:11.774Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-26T11:49:12.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-26T11:49:12.034Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-26T11:49:12.193Z] prd-centos7-docker-4c-2g-22826 does not seem to be running inside a container [2021-01-26T11:49:12.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-26T11:49:16.222Z] $ docker top a8ecabd3b108063c60f120e70c55cb1a60b25d278b0552b19bbf8c609fa1eaec -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-26T11:49:16.505Z] provisioning config files... [2021-01-26T11:49:16.514Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2152101563525723131tmp [2021-01-26T11:49:16.533Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8210673688873061495tmp [2021-01-26T11:49:16.551Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8727788490156933035tmp [Pipeline] { [Pipeline] echo [2021-01-26T11:49:16.605Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:49:17.055Z] ---> sigul-configuration.sh [2021-01-26T11:49:17.055Z] gpg: directory `/root/.gnupg' created [2021-01-26T11:49:17.055Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-26T11:49:17.055Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-26T11:49:17.055Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-26T11:49:17.055Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-26T11:49:17.055Z] gpg: CAST5 encrypted data [2021-01-26T11:49:17.055Z] gpg: encrypted with 1 passphrase [2021-01-26T11:49:17.055Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-26T11:49:17.616Z] + mkdir /home/jenkins [2021-01-26T11:49:17.616Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-26T11:49:17.914Z] + 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-01-26T11:49:17.925Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:49:18.218Z] ---> sigul-install.sh [2021-01-26T11:49:23.510Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-26T11:49:23.805Z] + git tag --list [2021-01-26T11:49:23.805Z] 0.7.1 [2021-01-26T11:49:23.805Z] delhi-tag [2021-01-26T11:49:23.805Z] v1.0.0 [2021-01-26T11:49:23.805Z] v1.1.0 [2021-01-26T11:49:23.805Z] v1.1.1 [2021-01-26T11:49:23.805Z] v1.1.2 [2021-01-26T11:49:23.805Z] v1.2.0 [2021-01-26T11:49:23.805Z] v1.2.1 [2021-01-26T11:49:23.805Z] v1.2.2 [2021-01-26T11:49:23.805Z] v1.2.3 [2021-01-26T11:49:23.805Z] v1.3.0 [2021-01-26T11:49:23.805Z] v1.4.0 [2021-01-26T11:49:23.805Z] v2.0.0-dev.1 [2021-01-26T11:49:23.805Z] v2.0.0-dev.2 [2021-01-26T11:49:23.805Z] v2.0.0-dev.3 [2021-01-26T11:49:23.805Z] v2.0.0-dev.4 [2021-01-26T11:49:23.805Z] v2.0.0-dev.5 [2021-01-26T11:49:23.805Z] v2.0.0-dev.6 [2021-01-26T11:49:23.805Z] v2.0.0-dev.7 [Pipeline] sh [2021-01-26T11:49:24.099Z] + lftools sign git-tag v2.0.0-dev.7 [2021-01-26T11:49:25.483Z] Signing Git tag with Sigul... [2021-01-26T11:49:25.483Z] Signing v2.0.0-dev.7 [Pipeline] echo [2021-01-26T11:49:26.879Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:49:27.172Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-26T11:49:27.182Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-26T11:49:27.278Z] $ docker stop --time=1 a8ecabd3b108063c60f120e70c55cb1a60b25d278b0552b19bbf8c609fa1eaec [2021-01-26T11:49:29.259Z] $ docker rm -f a8ecabd3b108063c60f120e70c55cb1a60b25d278b0552b19bbf8c609fa1eaec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:49:30.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T11:49:30.172Z] . [Pipeline] withDockerContainer [2021-01-26T11:49:30.266Z] prd-centos7-docker-4c-2g-22826 does not seem to be running inside a container [2021-01-26T11:49:30.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-26T11:49:30.972Z] $ docker top e3cd9f0c8c28357a537446a43197a41caa1ad37189eb6487fac2c727dea4bf03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T11:49:31.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T11:49:31.280Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T11:49:31.481Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T11:49:31.483Z] $ docker exec e3cd9f0c8c28357a537446a43197a41caa1ad37189eb6487fac2c727dea4bf03 ssh-agent [2021-01-26T11:49:31.666Z] SSH_AUTH_SOCK=/tmp/ssh-8y8WtoYwbqA1/agent.13 [2021-01-26T11:49:31.666Z] SSH_AGENT_PID=19 [2021-01-26T11:49:31.672Z] Running ssh-add (command line suppressed) [2021-01-26T11:49:31.795Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5850544538549763281.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5850544538549763281.key) [2021-01-26T11:49:31.850Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T11:49:32.183Z] + git semver bump pre [2021-01-26T11:49:32.183Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T11:49:32.183Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-26T11:49:32.183Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-26T11:49:32.183Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T11:49:32.183Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T11:49:32.183Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T11:49:32.183Z] # $SEMVER_BRANCH = master [2021-01-26T11:49:32.183Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-26T11:49:32.183Z] 2.0.0-dev.8 [Pipeline] } [2021-01-26T11:49:32.194Z] $ docker exec --env ******** --env ******** e3cd9f0c8c28357a537446a43197a41caa1ad37189eb6487fac2c727dea4bf03 ssh-agent -k [2021-01-26T11:49:32.313Z] unset SSH_AUTH_SOCK; [2021-01-26T11:49:32.317Z] unset SSH_AGENT_PID; [2021-01-26T11:49:32.317Z] echo Agent pid 19 killed; [2021-01-26T11:49:32.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T11:49:32.834Z] + git semver [Pipeline] } [2021-01-26T11:49:32.848Z] $ docker stop --time=1 e3cd9f0c8c28357a537446a43197a41caa1ad37189eb6487fac2c727dea4bf03 [2021-01-26T11:49:34.185Z] $ docker rm -f e3cd9f0c8c28357a537446a43197a41caa1ad37189eb6487fac2c727dea4bf03 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:49:34.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-26T11:49:34.702Z] . [Pipeline] withDockerContainer [2021-01-26T11:49:34.807Z] prd-centos7-docker-4c-2g-22826 does not seem to be running inside a container [2021-01-26T11:49:34.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-26T11:49:35.469Z] $ docker top 218f04f4894a7932e504d74221e2ce8e0f73604034d4617a2c1e56fa6c75e638 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-26T11:49:35.768Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-26T11:49:35.768Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-26T11:49:35.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-26T11:49:35.976Z] $ docker exec 218f04f4894a7932e504d74221e2ce8e0f73604034d4617a2c1e56fa6c75e638 ssh-agent [2021-01-26T11:49:36.143Z] SSH_AUTH_SOCK=/tmp/ssh-6wKCgA9gpXXw/agent.11 [2021-01-26T11:49:36.143Z] SSH_AGENT_PID=17 [2021-01-26T11:49:36.149Z] Running ssh-add (command line suppressed) [2021-01-26T11:49:36.294Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8523317571957542699.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8523317571957542699.key) [2021-01-26T11:49:36.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-26T11:49:36.719Z] + git semver push [2021-01-26T11:49:36.719Z] # -> Open(): unable to determine branch for HEAD [2021-01-26T11:49:36.719Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-26T11:49:36.719Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-26T11:49:36.719Z] # $SEMVER_REMOTE_NAME = origin [2021-01-26T11:49:36.719Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-26T11:49:36.719Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-26T11:49:36.719Z] # $SEMVER_BRANCH = master [2021-01-26T11:49:36.719Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-26T11:49:43.318Z] $ docker exec --env ******** --env ******** 218f04f4894a7932e504d74221e2ce8e0f73604034d4617a2c1e56fa6c75e638 ssh-agent -k [2021-01-26T11:49:43.435Z] unset SSH_AUTH_SOCK; [2021-01-26T11:49:43.435Z] unset SSH_AGENT_PID; [2021-01-26T11:49:43.435Z] echo Agent pid 17 killed; [2021-01-26T11:49:43.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-26T11:49:43.944Z] + git semver [Pipeline] } [2021-01-26T11:49:43.960Z] $ docker stop --time=1 218f04f4894a7932e504d74221e2ce8e0f73604034d4617a2c1e56fa6c75e638 [2021-01-26T11:49:45.327Z] $ docker rm -f 218f04f4894a7932e504d74221e2ce8e0f73604034d4617a2c1e56fa6c75e638 [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-01-26T11:49:46.929Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:49:47.532Z] ---> package-listing.sh [2021-01-26T11:49:47.533Z] ++ facter osfamily [2021-01-26T11:49:47.533Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-26T11:49:47.533Z] + OS_FAMILY=redhat [2021-01-26T11:49:47.533Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-26T11:49:47.533Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-26T11:49:47.533Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-26T11:49:47.533Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-26T11:49:47.533Z] + PACKAGES=/tmp/packages_start.txt [2021-01-26T11:49:47.533Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-26T11:49:47.533Z] + PACKAGES=/tmp/packages_end.txt [2021-01-26T11:49:47.533Z] + case "${OS_FAMILY}" in [2021-01-26T11:49:47.533Z] + rpm -qa [2021-01-26T11:49:47.533Z] + sort [2021-01-26T11:49:52.873Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-26T11:49:52.873Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-26T11:49:52.873Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-26T11:49:52.873Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-26T11:49:52.873Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-26T11:49:52.873Z] + 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-01-26T11:49:52.892Z] 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-01-26T11:49:53.205Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:49:53.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T11:49:53.531Z] [2021-01-26T11:49:53.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-26T11:49:53.895Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T11:49:53.895Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-26T11:49:53.895Z] df20fa9351a1: Pulling fs layer [2021-01-26T11:49:53.895Z] 36b3adc4ff6f: Pulling fs layer [2021-01-26T11:49:53.895Z] 8ad3a11d3b57: Pulling fs layer [2021-01-26T11:49:53.895Z] 46f8f816bc3b: Pulling fs layer [2021-01-26T11:49:53.895Z] 93b61091891f: Pulling fs layer [2021-01-26T11:49:53.895Z] 93b9cdb0e59b: Pulling fs layer [2021-01-26T11:49:53.895Z] 5e14af77c1be: Pulling fs layer [2021-01-26T11:49:53.895Z] 01666e4c0597: Pulling fs layer [2021-01-26T11:49:53.895Z] aa168da1d23b: Pulling fs layer [2021-01-26T11:49:53.895Z] 93b9cdb0e59b: Waiting [2021-01-26T11:49:53.895Z] 46f8f816bc3b: Waiting [2021-01-26T11:49:53.895Z] 5e14af77c1be: Waiting [2021-01-26T11:49:53.895Z] 01666e4c0597: Waiting [2021-01-26T11:49:53.895Z] 93b61091891f: Waiting [2021-01-26T11:49:53.895Z] 36b3adc4ff6f: Verifying Checksum [2021-01-26T11:49:53.895Z] 36b3adc4ff6f: Download complete [2021-01-26T11:49:53.895Z] 46f8f816bc3b: Verifying Checksum [2021-01-26T11:49:53.895Z] 46f8f816bc3b: Download complete [2021-01-26T11:49:54.157Z] df20fa9351a1: Verifying Checksum [2021-01-26T11:49:54.157Z] 93b61091891f: Verifying Checksum [2021-01-26T11:49:54.157Z] 93b61091891f: Download complete [2021-01-26T11:49:54.157Z] 93b9cdb0e59b: Verifying Checksum [2021-01-26T11:49:54.157Z] 93b9cdb0e59b: Download complete [2021-01-26T11:49:54.157Z] 5e14af77c1be: Verifying Checksum [2021-01-26T11:49:54.157Z] 5e14af77c1be: Download complete [2021-01-26T11:49:54.157Z] 01666e4c0597: Verifying Checksum [2021-01-26T11:49:54.157Z] 01666e4c0597: Download complete [2021-01-26T11:49:54.157Z] 8ad3a11d3b57: Verifying Checksum [2021-01-26T11:49:54.157Z] 8ad3a11d3b57: Download complete [2021-01-26T11:49:54.422Z] df20fa9351a1: Pull complete [2021-01-26T11:49:54.689Z] 36b3adc4ff6f: Pull complete [2021-01-26T11:49:55.661Z] 8ad3a11d3b57: Pull complete [2021-01-26T11:49:55.661Z] 46f8f816bc3b: Pull complete [2021-01-26T11:49:55.930Z] aa168da1d23b: Verifying Checksum [2021-01-26T11:49:55.930Z] aa168da1d23b: Download complete [2021-01-26T11:49:56.908Z] 93b61091891f: Pull complete [2021-01-26T11:49:56.908Z] 93b9cdb0e59b: Pull complete [2021-01-26T11:49:56.908Z] 5e14af77c1be: Pull complete [2021-01-26T11:49:57.169Z] 01666e4c0597: Pull complete [2021-01-26T11:50:05.349Z] aa168da1d23b: Pull complete [2021-01-26T11:50:05.349Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-26T11:50:05.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-26T11:50:05.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-26T11:50:05.484Z] prd-centos7-docker-4c-2g-22826 does not seem to be running inside a container [2021-01-26T11:50:05.524Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-26T11:50:08.396Z] $ docker top f33ef0b582e353372105d17ecbbd4e614065ceacc3c1fdf8259a10b606701a58 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-26T11:50:08.864Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-26T11:50:09.157Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-26T11:50:09.456Z] + ls /var/log/sa-host [2021-01-26T11:50:09.456Z] + sadf -c /var/log/sa-host/sa23 [2021-01-26T11:50:09.456Z] file_magic: OK [2021-01-26T11:50:09.456Z] HZ: Using current value: 100 [2021-01-26T11:50:09.456Z] file_header: OK [2021-01-26T11:50:09.456Z] 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-01-26T11:50:09.456Z] Statistics: [2021-01-26T11:50:09.456Z] Hnuu...uuuununununu... [2021-01-26T11:50:09.456Z] File successfully converted to sysstat format version 12.2.1 [2021-01-26T11:50:09.456Z] + sadf -c /var/log/sa-host/sa26 [2021-01-26T11:50:09.456Z] file_magic: OK [2021-01-26T11:50:09.456Z] HZ: Using current value: 100 [2021-01-26T11:50:09.456Z] file_header: OK [2021-01-26T11:50:09.456Z] 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-01-26T11:50:09.456Z] Statistics: [2021-01-26T11:50:09.456Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-26T11:50:09.456Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-26T11:50:10.116Z] provisioning config files... [2021-01-26T11:50:10.136Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4216674385151272659tmp [Pipeline] { [Pipeline] echo [2021-01-26T11:50:10.237Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:50:10.554Z] ---> create-netrc.sh [Pipeline] } [2021-01-26T11:50:10.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-26T11:50:10.675Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:50:10.977Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-26T11:50:10.988Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:50:11.312Z] ---> sudo-logs.sh [2021-01-26T11:50:11.312Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-26T11:50:11.338Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:50:11.631Z] ---> job-cost.sh [2021-01-26T11:50:11.632Z] lf-activate-venv: SKIPPING [2021-01-26T11:50:11.632Z] INFO: No Stack... [2021-01-26T11:50:12.573Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-26T11:50:13.145Z] INFO: Archiving Costs [Pipeline] echo [2021-01-26T11:50:13.158Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-26T11:50:13.450Z] ---> logs-deploy.sh [2021-01-26T11:50:13.450Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/112 [2021-01-26T11:50:13.450Z] INFO: archiving workspace using pattern(s): [2021-01-26T11:50:14.837Z] Archives upload complete. [2021-01-26T11:50:15.098Z] INFO: archiving logs to Nexus