Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 619f260ee4c0648af817c78e3551f454d78ccf58 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-20442 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 619f260ee4c0648af817c78e3551f454d78ccf58 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 Commit message: "Merge pull request #701 from weichou1229/issue-700" > git rev-list --no-walk 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-15T08:52:09.805Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-15T08:52:10.088Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-15T08:52:10.239Z] ========================================================= [2021-01-15T08:52:10.239Z] EdgeX Global Pipelines Version Info [2021-01-15T08:52:10.239Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-15T08:52:11.728Z] ------------------- [2021-01-15T08:52:11.728Z] stable info: [2021-01-15T08:52:11.728Z] ------------------- [2021-01-15T08:52:11.728Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-15T08:52:11.728Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T08:52:11.728Z] Message: update stable to v1.0.177 [2021-01-15T08:52:12.685Z] ------------------- [2021-01-15T08:52:12.685Z] experimental info: [2021-01-15T08:52:12.685Z] ------------------- [2021-01-15T08:52:12.685Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-01-15T08:52:12.685Z] Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d [2021-01-15T08:52:12.685Z] Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-15T08:52:12.939Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-15T08:52:13.028Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-15T08:52:13.116Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-15T08:52:14.411Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-15T08:52:14.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-15T08:52:14.588Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-15T08:52:14.680Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-15T08:52:14.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-15T08:52:14.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-15T08:52:14.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-15T08:52:15.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-15T08:52:15.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-15T08:52:15.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-15T08:52:15.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-15T08:52:15.418Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-15T08:52:15.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T08:52:15.589Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T08:52:15.679Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-15T08:52:15.767Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-15T08:52:15.855Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-15T08:52:16.012Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-15T08:52:16.096Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-15T08:52:16.182Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-15T08:52:16.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-15T08:52:16.358Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-15T08:52:16.464Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-15T08:52:16.545Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-15T08:52:16.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-15T08:52:16.731Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-15T08:52:16.813Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-15T08:52:16.897Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 619f260ee4c0648af817c78e3551f454d78ccf58 [Pipeline] echo [2021-01-15T08:52:16.982Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 619f260 [Pipeline] echo [2021-01-15T08:52:17.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T08:52:17.238Z] provisioning config files... [2021-01-15T08:52:17.272Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1113521514797407585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T08:52:17.641Z] ---> docker-login.sh [2021-01-15T08:52:17.642Z] nexus3.edgexfoundry.org:10001 [2021-01-15T08:52:17.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:52:18.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:52:18.168Z] Configure a credential helper to remove this warning. See [2021-01-15T08:52:18.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:52:18.168Z] [2021-01-15T08:52:18.168Z] Login Succeeded [2021-01-15T08:52:18.168Z] nexus3.edgexfoundry.org:10002 [2021-01-15T08:52:18.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:52:18.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:52:18.433Z] Configure a credential helper to remove this warning. See [2021-01-15T08:52:18.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:52:18.433Z] [2021-01-15T08:52:18.433Z] Login Succeeded [2021-01-15T08:52:18.433Z] nexus3.edgexfoundry.org:10003 [2021-01-15T08:52:18.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:52:18.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:52:18.433Z] Configure a credential helper to remove this warning. See [2021-01-15T08:52:18.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:52:18.433Z] [2021-01-15T08:52:18.433Z] Login Succeeded [2021-01-15T08:52:18.433Z] nexus3.edgexfoundry.org:10004 [2021-01-15T08:52:18.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:52:18.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:52:18.703Z] Configure a credential helper to remove this warning. See [2021-01-15T08:52:18.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:52:18.703Z] [2021-01-15T08:52:18.703Z] Login Succeeded [2021-01-15T08:52:18.703Z] docker.io [2021-01-15T08:52:18.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:52:19.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:52:19.232Z] Configure a credential helper to remove this warning. See [2021-01-15T08:52:19.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:52:19.232Z] [2021-01-15T08:52:19.232Z] Login Succeeded [2021-01-15T08:52:19.232Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T08:52:19.242Z] 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-15T08:52:20.058Z] + git log --format=format:%s -1 619f260ee4c0648af817c78e3551f454d78ccf58 [Pipeline] echo [2021-01-15T08:52:20.133Z] GIT_COMMIT: 619f260ee4c0648af817c78e3551f454d78ccf58, Commit Message: Merge pull request #701 from weichou1229/issue-700 [Pipeline] echo [2021-01-15T08:52:20.182Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-15T08:52:21.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T08:52:21.622Z] [2021-01-15T08:52:21.622Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T08:52:21.990Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T08:52:21.990Z] latest: Pulling from edgex-devops/git-semver [2021-01-15T08:52:21.990Z] 31603596830f: Pulling fs layer [2021-01-15T08:52:21.990Z] 2a8b12db71e7: Pulling fs layer [2021-01-15T08:52:21.990Z] 6ca5941a6612: Pulling fs layer [2021-01-15T08:52:21.990Z] ecc8261a40a4: Pulling fs layer [2021-01-15T08:52:21.990Z] ecc8261a40a4: Waiting [2021-01-15T08:52:21.990Z] 2a8b12db71e7: Download complete [2021-01-15T08:52:21.990Z] 31603596830f: Verifying Checksum [2021-01-15T08:52:21.990Z] 31603596830f: Download complete [2021-01-15T08:52:22.261Z] ecc8261a40a4: Verifying Checksum [2021-01-15T08:52:22.261Z] ecc8261a40a4: Download complete [2021-01-15T08:52:22.261Z] 6ca5941a6612: Verifying Checksum [2021-01-15T08:52:22.261Z] 6ca5941a6612: Download complete [2021-01-15T08:52:22.528Z] 31603596830f: Pull complete [2021-01-15T08:52:22.799Z] 2a8b12db71e7: Pull complete [2021-01-15T08:52:23.749Z] 6ca5941a6612: Pull complete [2021-01-15T08:52:23.749Z] ecc8261a40a4: Pull complete [2021-01-15T08:52:23.749Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-15T08:52:23.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T08:52:23.749Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-15T08:52:23.861Z] prd-centos7-docker-4c-2g-20442 does not seem to be running inside a container [2021-01-15T08:52:23.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-15T08:52:26.038Z] $ docker top 7d14543286b94ecd52b07b54d2aaa5b91e38c82c8890509e91137e0b47fe6501 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T08:52:26.390Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T08:52:26.390Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T08:52:26.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T08:52:26.620Z] $ docker exec 7d14543286b94ecd52b07b54d2aaa5b91e38c82c8890509e91137e0b47fe6501 ssh-agent [2021-01-15T08:52:26.792Z] SSH_AUTH_SOCK=/tmp/ssh-7BDZRyY0XNJY/agent.13 [2021-01-15T08:52:26.792Z] SSH_AGENT_PID=19 [2021-01-15T08:52:26.802Z] Running ssh-add (command line suppressed) [2021-01-15T08:52:26.941Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1596128163822295417.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1596128163822295417.key) [2021-01-15T08:52:26.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T08:52:27.333Z] + git tag --points-at HEAD [Pipeline] } [2021-01-15T08:52:27.352Z] $ docker exec --env ******** --env ******** 7d14543286b94ecd52b07b54d2aaa5b91e38c82c8890509e91137e0b47fe6501 ssh-agent -k [2021-01-15T08:52:27.475Z] unset SSH_AUTH_SOCK; [2021-01-15T08:52:27.475Z] unset SSH_AGENT_PID; [2021-01-15T08:52:27.475Z] echo Agent pid 19 killed; [2021-01-15T08:52:27.532Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-15T08:52:27.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T08:52:27.677Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T08:52:27.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T08:52:27.853Z] $ docker exec 7d14543286b94ecd52b07b54d2aaa5b91e38c82c8890509e91137e0b47fe6501 ssh-agent [2021-01-15T08:52:28.027Z] SSH_AUTH_SOCK=/tmp/ssh-d2ukteasnYWK/agent.50 [2021-01-15T08:52:28.027Z] SSH_AGENT_PID=56 [2021-01-15T08:52:28.034Z] Running ssh-add (command line suppressed) [2021-01-15T08:52:28.165Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_883157034882887543.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_883157034882887543.key) [2021-01-15T08:52:28.226Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T08:52:28.588Z] + git semver init [2021-01-15T08:52:28.588Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T08:52:28.588Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-15T08:52:28.588Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T08:52:28.588Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T08:52:28.588Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T08:52:28.588Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T08:52:28.588Z] # $SEMVER_BRANCH = master [2021-01-15T08:52:28.588Z] # $SEMVER_TEMP = /tmp/semver-105847661 [2021-01-15T08:52:28.588Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-15T08:52:29.164Z] # '/tmp/semver-105847661' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-15T08:52:29.164Z] # -> Force: false [2021-01-15T08:52:29.164Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-15T08:52:29.174Z] $ docker exec --env ******** --env ******** 7d14543286b94ecd52b07b54d2aaa5b91e38c82c8890509e91137e0b47fe6501 ssh-agent -k [2021-01-15T08:52:29.288Z] unset SSH_AUTH_SOCK; [2021-01-15T08:52:29.288Z] unset SSH_AGENT_PID; [2021-01-15T08:52:29.289Z] echo Agent pid 56 killed; [2021-01-15T08:52:29.338Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T08:52:29.804Z] + git semver [Pipeline] } [2021-01-15T08:52:29.818Z] $ docker stop --time=1 7d14543286b94ecd52b07b54d2aaa5b91e38c82c8890509e91137e0b47fe6501 [2021-01-15T08:52:31.433Z] $ docker rm -f 7d14543286b94ecd52b07b54d2aaa5b91e38c82c8890509e91137e0b47fe6501 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T08:52:31.903Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-15T08:52:32.289Z] Stashed 1 file(s) [Pipeline] echo [2021-01-15T08:52:32.292Z] [edgeXSemver]: initialized semver on version 1.4.1-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-15T08:52:47.807Z] Still waiting to schedule task [2021-01-15T08:52:47.807Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-01-15T08:52:47.811Z] Still waiting to schedule task [2021-01-15T08:52:47.811Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-15T08:55:34.212Z] Running on prd-centos7-docker-4c-2g-20443 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-15T08:55:34.265Z] Running in /w/workspace/device-sdk-go/105 [Pipeline] { [Pipeline] checkout [2021-01-15T08:55:36.587Z] using credential edgex-jenkins-ssh [2021-01-15T08:55:36.648Z] Cloning the remote Git repository [2021-01-15T08:55:36.593Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T08:55:36.671Z] > git init /w/workspace/device-sdk-go/105 # timeout=10 [2021-01-15T08:55:36.734Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T08:55:36.734Z] > git --version # timeout=10 [2021-01-15T08:55:36.742Z] > git --version # 'git version 2.24.3' [2021-01-15T08:55:36.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T08:55:36.775Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T08:55:38.282Z] Checking out Revision 619f260ee4c0648af817c78e3551f454d78ccf58 (master) [2021-01-15T08:55:37.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T08:55:37.765Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T08:55:37.779Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T08:55:37.795Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T08:55:37.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T08:55:37.801Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T08:55:38.291Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T08:55:38.296Z] > git checkout -f 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 [2021-01-15T08:55:42.086Z] Commit message: "Merge pull request #701 from weichou1229/issue-700" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T08:55:43.551Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-15T08:55:43.883Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T08:55:44.190Z] + sudo service docker restart [2021-01-15T08:55:44.190Z] + true [2021-01-15T08:55:44.190Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T08:55:45.197Z] provisioning config files... [2021-01-15T08:55:45.222Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/105@tmp/config7116872794291184523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T08:55:45.608Z] ---> docker-login.sh [2021-01-15T08:55:45.608Z] nexus3.edgexfoundry.org:10001 [2021-01-15T08:55:45.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:55:46.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:55:46.133Z] Configure a credential helper to remove this warning. See [2021-01-15T08:55:46.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:55:46.133Z] [2021-01-15T08:55:46.133Z] Login Succeeded [2021-01-15T08:55:46.133Z] nexus3.edgexfoundry.org:10002 [2021-01-15T08:55:46.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:55:46.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:55:46.133Z] Configure a credential helper to remove this warning. See [2021-01-15T08:55:46.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:55:46.133Z] [2021-01-15T08:55:46.133Z] Login Succeeded [2021-01-15T08:55:46.133Z] nexus3.edgexfoundry.org:10003 [2021-01-15T08:55:46.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:55:46.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:55:46.396Z] Configure a credential helper to remove this warning. See [2021-01-15T08:55:46.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:55:46.396Z] [2021-01-15T08:55:46.396Z] Login Succeeded [2021-01-15T08:55:46.396Z] nexus3.edgexfoundry.org:10004 [2021-01-15T08:55:46.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:55:46.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:55:46.658Z] Configure a credential helper to remove this warning. See [2021-01-15T08:55:46.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:55:46.658Z] [2021-01-15T08:55:46.658Z] Login Succeeded [2021-01-15T08:55:46.658Z] docker.io [2021-01-15T08:55:46.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:55:46.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:55:46.922Z] Configure a credential helper to remove this warning. See [2021-01-15T08:55:46.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:55:46.922Z] [2021-01-15T08:55:46.922Z] Login Succeeded [2021-01-15T08:55:46.922Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T08:55:46.935Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T08:55:47.294Z] ========================================================= [2021-01-15T08:55:47.294Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-15T08:55:47.294Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T08:55:47.645Z] + 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-15T08:55:47.645Z] Sending build context to Docker daemon 2.487MB [2021-01-15T08:55:47.645Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T08:55:47.645Z] Step 2/8 : FROM ${BASE} [2021-01-15T08:55:47.909Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-15T08:55:47.909Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T08:55:47.909Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T08:55:47.909Z] de9db76c5a1d: Pulling fs layer [2021-01-15T08:55:47.909Z] bca2f99d35d6: Pulling fs layer [2021-01-15T08:55:47.909Z] 93359f2a8cfa: Pulling fs layer [2021-01-15T08:55:47.909Z] 7c6f9722023f: Pulling fs layer [2021-01-15T08:55:47.909Z] a35cf1a2eb13: Pulling fs layer [2021-01-15T08:55:47.909Z] bca2f99d35d6: Waiting [2021-01-15T08:55:47.909Z] 93359f2a8cfa: Waiting [2021-01-15T08:55:47.909Z] 7c6f9722023f: Waiting [2021-01-15T08:55:47.909Z] a35cf1a2eb13: Waiting [2021-01-15T08:55:47.909Z] de9db76c5a1d: Verifying Checksum [2021-01-15T08:55:47.909Z] de9db76c5a1d: Download complete [2021-01-15T08:55:47.909Z] 0ef7d3d256c8: Verifying Checksum [2021-01-15T08:55:47.909Z] 0ef7d3d256c8: Download complete [2021-01-15T08:55:47.909Z] 93359f2a8cfa: Verifying Checksum [2021-01-15T08:55:47.909Z] 93359f2a8cfa: Download complete [2021-01-15T08:55:47.909Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T08:55:47.909Z] 7c6f9722023f: Download complete [2021-01-15T08:55:48.174Z] 188c0c94c7c5: Pull complete [2021-01-15T08:55:48.440Z] 0ef7d3d256c8: Pull complete [2021-01-15T08:55:48.440Z] de9db76c5a1d: Pull complete [2021-01-15T08:55:49.847Z] a35cf1a2eb13: Download complete [2021-01-15T08:55:50.427Z] bca2f99d35d6: Verifying Checksum [2021-01-15T08:55:50.427Z] bca2f99d35d6: Download complete [2021-01-15T08:55:55.764Z] bca2f99d35d6: Pull complete [2021-01-15T08:55:55.764Z] 93359f2a8cfa: Pull complete [2021-01-15T08:55:55.764Z] 7c6f9722023f: Pull complete [2021-01-15T08:56:05.823Z] a35cf1a2eb13: Pull complete [2021-01-15T08:56:05.823Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-15T08:56:05.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-15T08:56:05.823Z] ---> a62c8e92a672 [2021-01-15T08:56:05.823Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T08:56:05.823Z] ---> Running in bede03b62c1a [2021-01-15T08:56:05.823Z] Removing intermediate container bede03b62c1a [2021-01-15T08:56:05.823Z] ---> 0bfe1d9f6ee5 [2021-01-15T08:56:05.823Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T08:56:05.823Z] ---> Running in 352644e5f565 [2021-01-15T08:56:06.401Z] Removing intermediate container 352644e5f565 [2021-01-15T08:56:06.401Z] ---> 0245861f2ae2 [2021-01-15T08:56:06.401Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T08:56:06.673Z] ---> Running in 8e843ca539c4 [2021-01-15T08:56:07.631Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T08:56:08.208Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T08:56:08.784Z] OK: 166 MiB in 39 packages [2021-01-15T08:56:09.374Z] Removing intermediate container 8e843ca539c4 [2021-01-15T08:56:09.374Z] ---> e8d16b9c040b [2021-01-15T08:56:09.374Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T08:56:09.374Z] ---> Running in a4af5cc91108 [2021-01-15T08:56:09.639Z] Removing intermediate container a4af5cc91108 [2021-01-15T08:56:09.639Z] ---> fd00620957cb [2021-01-15T08:56:09.639Z] Step 7/8 : COPY . . [2021-01-15T08:56:11.053Z] ---> 599671c4d861 [2021-01-15T08:56:11.053Z] Step 8/8 : RUN go mod download [2021-01-15T08:56:11.053Z] ---> Running in f0884394e879 [2021-01-15T08:56:29.232Z] Removing intermediate container f0884394e879 [2021-01-15T08:56:29.232Z] ---> b5960d4702b5 [2021-01-15T08:56:29.232Z] Successfully built b5960d4702b5 [2021-01-15T08:56:29.232Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T08:56:29.572Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T08:56:29.572Z] . [Pipeline] withDockerContainer [2021-01-15T08:56:29.839Z] prd-centos7-docker-4c-2g-20443 does not seem to be running inside a container [2021-01-15T08:56:30.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T08:56:30.928Z] $ docker top 7bb29d2c517ff398d8ea51d89356b7627cf1ef66e338ed19e17fc7d520cf38b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T08:56:31.423Z] + go version [2021-01-15T08:56:31.423Z] go version go1.15.5 linux/amd64 [2021-01-15T08:56:31.425Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-20444 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] } [2021-01-15T08:56:31.479Z] $ docker stop --time=1 7bb29d2c517ff398d8ea51d89356b7627cf1ef66e338ed19e17fc7d520cf38b9 [2021-01-15T08:56:32.894Z] $ docker rm -f 7bb29d2c517ff398d8ea51d89356b7627cf1ef66e338ed19e17fc7d520cf38b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] ws [2021-01-15T08:56:33.027Z] Running in /w/workspace/device-sdk-go/105 [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] checkout [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T08:56:33.800Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-15T08:56:33.800Z] . [Pipeline] withDockerContainer [2021-01-15T08:56:33.930Z] prd-centos7-docker-4c-2g-20443 does not seem to be running inside a container [2021-01-15T08:56:33.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-01-15T08:56:34.629Z] $ docker top 509977e9d63479f0fea6b1f884d43223efa6d5c5ec6d8ebdf79a5ebee8471756 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T08:56:35.107Z] + make test [2021-01-15T08:56:35.107Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T08:56:38.048Z] using credential edgex-jenkins-ssh [2021-01-15T08:56:38.124Z] Cloning the remote Git repository [2021-01-15T08:56:38.207Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T08:56:38.329Z] > git init /w/workspace/device-sdk-go/105 # timeout=10 [2021-01-15T08:56:38.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T08:56:38.409Z] > git --version # timeout=10 [2021-01-15T08:56:38.436Z] > git --version # 'git version 2.17.1' [2021-01-15T08:56:38.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T08:56:38.532Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T08:56:40.241Z] Checking out Revision 619f260ee4c0648af817c78e3551f454d78ccf58 (master) [2021-01-15T08:56:39.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T08:56:39.660Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-15T08:56:39.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-15T08:56:39.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-15T08:56:39.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-15T08:56:39.754Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-15T08:56:40.275Z] > git config core.sparsecheckout # timeout=10 [2021-01-15T08:56:40.297Z] > git checkout -f 619f260ee4c0648af817c78e3551f454d78ccf58 # timeout=10 [2021-01-15T08:56:41.749Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-15T08:56:44.919Z] Commit message: "Merge pull request #701 from weichou1229/issue-700" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T08:56:46.400Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-15T08:56:46.815Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-15T08:56:47.155Z] + sudo service docker restart [2021-01-15T08:56:47.155Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-15T08:56:49.870Z] provisioning config files... [2021-01-15T08:56:49.922Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/105@tmp/config4912241181779198676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T08:56:50.389Z] ---> docker-login.sh [2021-01-15T08:56:50.389Z] nexus3.edgexfoundry.org:10001 [2021-01-15T08:56:51.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:56:51.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:56:51.646Z] Configure a credential helper to remove this warning. See [2021-01-15T08:56:51.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:56:51.646Z] [2021-01-15T08:56:51.646Z] Login Succeeded [2021-01-15T08:56:51.646Z] nexus3.edgexfoundry.org:10002 [2021-01-15T08:56:51.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:56:52.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:56:52.195Z] Configure a credential helper to remove this warning. See [2021-01-15T08:56:52.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:56:52.195Z] [2021-01-15T08:56:52.195Z] Login Succeeded [2021-01-15T08:56:52.195Z] nexus3.edgexfoundry.org:10003 [2021-01-15T08:56:52.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:56:52.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:56:52.744Z] Configure a credential helper to remove this warning. See [2021-01-15T08:56:52.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:56:52.744Z] [2021-01-15T08:56:52.744Z] Login Succeeded [2021-01-15T08:56:52.744Z] nexus3.edgexfoundry.org:10004 [2021-01-15T08:56:53.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:56:53.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:56:53.295Z] Configure a credential helper to remove this warning. See [2021-01-15T08:56:53.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:56:53.295Z] [2021-01-15T08:56:53.295Z] Login Succeeded [2021-01-15T08:56:53.295Z] docker.io [2021-01-15T08:56:53.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-15T08:56:54.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-15T08:56:54.163Z] Configure a credential helper to remove this warning. See [2021-01-15T08:56:54.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-15T08:56:54.163Z] [2021-01-15T08:56:54.163Z] Login Succeeded [2021-01-15T08:56:54.163Z] ---> docker-login.sh ends [Pipeline] } [2021-01-15T08:56:54.181Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-15T08:56:54.641Z] ========================================================= [2021-01-15T08:56:54.641Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-15T08:56:54.641Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-15T08:56:55.017Z] + 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-15T08:56:55.633Z] Sending build context to Docker daemon 2.485MB [2021-01-15T08:56:55.633Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T08:56:55.633Z] Step 2/8 : FROM ${BASE} [2021-01-15T08:56:55.633Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-15T08:56:55.633Z] 5f621e34cdf4: Pulling fs layer [2021-01-15T08:56:55.633Z] a4357932f1b6: Pulling fs layer [2021-01-15T08:56:55.633Z] 18c013af1878: Pulling fs layer [2021-01-15T08:56:55.633Z] 00ac8860ef70: Pulling fs layer [2021-01-15T08:56:55.633Z] 63d7cb157983: Pulling fs layer [2021-01-15T08:56:55.633Z] b116817d02f9: Pulling fs layer [2021-01-15T08:56:55.633Z] 745a02a5169b: Pulling fs layer [2021-01-15T08:56:55.634Z] 63d7cb157983: Waiting [2021-01-15T08:56:55.634Z] b116817d02f9: Waiting [2021-01-15T08:56:55.634Z] 00ac8860ef70: Waiting [2021-01-15T08:56:55.634Z] 745a02a5169b: Waiting [2021-01-15T08:56:55.634Z] 18c013af1878: Verifying Checksum [2021-01-15T08:56:55.634Z] 18c013af1878: Download complete [2021-01-15T08:56:55.634Z] a4357932f1b6: Verifying Checksum [2021-01-15T08:56:55.634Z] a4357932f1b6: Download complete [2021-01-15T08:56:55.634Z] 63d7cb157983: Verifying Checksum [2021-01-15T08:56:55.634Z] 63d7cb157983: Download complete [2021-01-15T08:56:56.231Z] b116817d02f9: Verifying Checksum [2021-01-15T08:56:56.231Z] b116817d02f9: Download complete [2021-01-15T08:56:56.231Z] 5f621e34cdf4: Download complete [2021-01-15T08:56:56.810Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-15T08:56:56.810Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-15T08:56:56.810Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-15T08:56:56.810Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.052s coverage: 19.4% of statements [2021-01-15T08:56:56.841Z] 5f621e34cdf4: Pull complete [2021-01-15T08:56:57.447Z] a4357932f1b6: Pull complete [2021-01-15T08:56:58.053Z] 18c013af1878: Pull complete [2021-01-15T08:56:58.659Z] 745a02a5169b: Verifying Checksum [2021-01-15T08:56:58.659Z] 745a02a5169b: Download complete [2021-01-15T08:56:59.394Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.482s coverage: 97.1% of statements [2021-01-15T08:56:59.641Z] 00ac8860ef70: Verifying Checksum [2021-01-15T08:56:59.641Z] 00ac8860ef70: Download complete [2021-01-15T08:57:09.833Z] 00ac8860ef70: Pull complete [2021-01-15T08:57:09.833Z] 63d7cb157983: Pull complete [2021-01-15T08:57:10.106Z] b116817d02f9: Pull complete [2021-01-15T08:57:14.451Z] 745a02a5169b: Pull complete [2021-01-15T08:57:14.451Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-15T08:57:14.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-15T08:57:14.451Z] ---> b7e6874047d6 [2021-01-15T08:57:14.451Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T08:57:17.097Z] ---> Running in 189ddadaadee [2021-01-15T08:57:17.097Z] Removing intermediate container 189ddadaadee [2021-01-15T08:57:17.097Z] ---> 68f5618e8e85 [2021-01-15T08:57:17.097Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T08:57:17.097Z] ---> Running in 7210a62a657b [2021-01-15T08:57:19.737Z] Removing intermediate container 7210a62a657b [2021-01-15T08:57:19.737Z] ---> 3f080aac353f [2021-01-15T08:57:19.737Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-15T08:57:19.737Z] ---> Running in 4cf0b5aabb75 [2021-01-15T08:57:20.718Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T08:57:21.694Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T08:57:22.286Z] OK: 142 MiB in 39 packages [2021-01-15T08:57:23.726Z] Removing intermediate container 4cf0b5aabb75 [2021-01-15T08:57:23.726Z] ---> 044ecc0fc13b [2021-01-15T08:57:23.726Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-15T08:57:23.726Z] ---> Running in 134805f7c1c9 [2021-01-15T08:57:24.320Z] Removing intermediate container 134805f7c1c9 [2021-01-15T08:57:24.320Z] ---> 83dc992072cb [2021-01-15T08:57:24.320Z] Step 7/8 : COPY . . [2021-01-15T08:57:25.757Z] ---> e79752a81b09 [2021-01-15T08:57:25.757Z] Step 8/8 : RUN go mod download [2021-01-15T08:57:25.757Z] ---> Running in bd8824aa19ab [2021-01-15T08:57:31.620Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 9.4% of statements [2021-01-15T08:57:31.620Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.049s coverage: 21.7% of statements [2021-01-15T08:57:31.620Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-15T08:57:31.620Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.236s coverage: 42.9% of statements [2021-01-15T08:57:31.620Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-15T08:57:31.620Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.286s coverage: 68.9% of statements [2021-01-15T08:57:31.620Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-15T08:57:31.620Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-15T08:57:31.620Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-15T08:57:31.620Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-15T08:57:31.620Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 53.8% of statements [2021-01-15T08:57:31.620Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-15T08:57:31.620Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-15T08:57:31.620Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.065s coverage: 30.4% of statements [2021-01-15T08:57:31.620Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.320s coverage: 68.9% of statements [2021-01-15T08:57:31.620Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements [2021-01-15T08:57:31.620Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-15T08:57:31.620Z] GO111MODULE=on go vet ./... [2021-01-15T08:57:38.309Z] gofmt -l . [2021-01-15T08:57:38.309Z] [ "`gofmt -l .`" = "" ] [2021-01-15T08:57:38.309Z] ./bin/test-attribution-txt.sh [2021-01-15T08:57:38.889Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T08:57:38.910Z] $ docker stop --time=1 509977e9d63479f0fea6b1f884d43223efa6d5c5ec6d8ebdf79a5ebee8471756 [2021-01-15T08:57:40.847Z] $ docker rm -f 509977e9d63479f0fea6b1f884d43223efa6d5c5ec6d8ebdf79a5ebee8471756 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T08:57:41.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T08:57:42.044Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-15T08:57:45.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T08:57:45.429Z] + ls -al . [2021-01-15T08:57:45.429Z] total 216 [2021-01-15T08:57:45.429Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 15 08:57 . [2021-01-15T08:57:45.429Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 15 08:55 .. [2021-01-15T08:57:45.429Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 15 08:55 bin [2021-01-15T08:57:45.429Z] -rw-r--r--. 1 jenkins jenkins 137957 Jan 15 08:57 coverage.out [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 15 08:55 Dockerfile.build [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 15 08:55 .dockerignore [2021-01-15T08:57:45.429Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 15 08:55 example [2021-01-15T08:57:45.429Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 15 08:55 .git [2021-01-15T08:57:45.429Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 15 08:55 .github [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 15 08:55 .gitignore [2021-01-15T08:57:45.429Z] -rw-r--r--. 1 jenkins jenkins 488 Jan 15 08:57 go.mod [2021-01-15T08:57:45.429Z] -rw-r--r--. 1 jenkins jenkins 14124 Jan 15 08:57 go.sum [2021-01-15T08:57:45.429Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 15 08:55 internal [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 15 08:55 Jenkinsfile [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 15 08:55 LICENSE [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 1013 Jan 15 08:55 Makefile [2021-01-15T08:57:45.429Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 15 08:55 openapi [2021-01-15T08:57:45.429Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 15 08:55 pkg [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 15 08:55 README.md [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 15 08:55 RELEASE-NOTES.txt [2021-01-15T08:57:45.429Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 15 08:55 snap [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 15 08:52 VERSION [2021-01-15T08:57:45.429Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 15 08:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T08:57:45.738Z] + 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=619f260ee4c0648af817c78e3551f454d78ccf58 --label arch=amd64 --label version=1.4.1-dev.7 . [2021-01-15T08:57:46.000Z] Sending build context to Docker daemon 2.626MB [2021-01-15T08:57:46.000Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T08:57:46.000Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T08:57:46.000Z] ---> b5960d4702b5 [2021-01-15T08:57:46.000Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T08:57:46.578Z] ---> Running in 35ee597b744b [2021-01-15T08:57:46.578Z] Removing intermediate container 35ee597b744b [2021-01-15T08:57:46.578Z] ---> d482b5065ccf [2021-01-15T08:57:46.578Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T08:57:46.841Z] ---> Running in bc1a7cee3fe7 [2021-01-15T08:57:47.104Z] Removing intermediate container bc1a7cee3fe7 [2021-01-15T08:57:47.104Z] ---> 5550636f31d2 [2021-01-15T08:57:47.104Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T08:57:47.104Z] ---> Running in 80a6f8c74cd9 [2021-01-15T08:57:47.104Z] Removing intermediate container 80a6f8c74cd9 [2021-01-15T08:57:47.104Z] ---> 2a213dd5ea34 [2021-01-15T08:57:47.104Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T08:57:47.367Z] ---> Running in 89867bdf4934 [2021-01-15T08:57:47.955Z] Removing intermediate container bd8824aa19ab [2021-01-15T08:57:47.955Z] ---> 16c83d5c8e74 [2021-01-15T08:57:47.955Z] Successfully built 16c83d5c8e74 [2021-01-15T08:57:47.955Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-15T08:57:48.299Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T08:57:48.300Z] . [2021-01-15T08:57:48.313Z] Removing intermediate container 89867bdf4934 [2021-01-15T08:57:48.313Z] ---> 6a07d3b35738 [2021-01-15T08:57:48.313Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T08:57:48.313Z] ---> Running in 291914a5adaf [Pipeline] withDockerContainer [2021-01-15T08:57:48.537Z] prd-ubuntu18.04-docker-arm64-4c-16g-20444 does not seem to be running inside a container [2021-01-15T08:57:48.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@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-15T08:57:48.889Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-15T08:57:49.465Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-15T08:57:50.044Z] OK: 166 MiB in 39 packages [2021-01-15T08:57:50.136Z] $ docker top 7703daa12472832395f6602f44566603e6d1b0140dff679e042f368fd2028af7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T08:57:50.622Z] Removing intermediate container 291914a5adaf [2021-01-15T08:57:50.622Z] ---> ee539e4243d0 [2021-01-15T08:57:50.622Z] Step 8/24 : COPY . . [2021-01-15T08:57:51.150Z] + go version [2021-01-15T08:57:51.150Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-15T08:57:51.184Z] $ docker stop --time=1 7703daa12472832395f6602f44566603e6d1b0140dff679e042f368fd2028af7 [2021-01-15T08:57:51.577Z] ---> a8790d3e376d [2021-01-15T08:57:51.577Z] Step 9/24 : RUN ${MAKE} [2021-01-15T08:57:51.577Z] ---> Running in da19c038d9c8 [2021-01-15T08:57:52.166Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.4.1-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-15T08:57:53.148Z] $ docker rm -f 7703daa12472832395f6602f44566603e6d1b0140dff679e042f368fd2028af7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T08:57:54.096Z] + docker inspect -f . ci-base-image-arm64 [2021-01-15T08:57:54.096Z] . [Pipeline] withDockerContainer [2021-01-15T08:57:54.312Z] prd-ubuntu18.04-docker-arm64-4c-16g-20444 does not seem to be running inside a container [2021-01-15T08:57:54.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@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-15T08:57:55.820Z] $ docker top 50c2d636c492b95acb384dbc4b53a66ee10a5cdc909da777572bc3d58b9f99f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T08:57:56.856Z] + make test [2021-01-15T08:57:56.856Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-15T08:58:00.420Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T08:58:03.765Z] Removing intermediate container da19c038d9c8 [2021-01-15T08:58:03.765Z] ---> 804d6bc55873 [2021-01-15T08:58:03.765Z] Step 10/24 : FROM scratch [2021-01-15T08:58:03.765Z] ---> [2021-01-15T08:58:03.765Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T08:58:03.765Z] ---> Running in 40dab4718ba1 [2021-01-15T08:58:03.765Z] Removing intermediate container 40dab4718ba1 [2021-01-15T08:58:03.765Z] ---> 3e087bca1e83 [2021-01-15T08:58:03.765Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T08:58:03.765Z] ---> Running in c75247d7db0c [2021-01-15T08:58:03.765Z] Removing intermediate container c75247d7db0c [2021-01-15T08:58:03.765Z] ---> 4edf2446cffe [2021-01-15T08:58:03.765Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T08:58:03.765Z] ---> Running in 085ff9116225 [2021-01-15T08:58:04.033Z] Removing intermediate container 085ff9116225 [2021-01-15T08:58:04.033Z] ---> 591e202e9eb6 [2021-01-15T08:58:04.033Z] Step 14/24 : WORKDIR / [2021-01-15T08:58:04.033Z] ---> Running in 88c550b84ebe [2021-01-15T08:58:04.299Z] Removing intermediate container 88c550b84ebe [2021-01-15T08:58:04.299Z] ---> 811fc08eca63 [2021-01-15T08:58:04.299Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T08:58:04.561Z] ---> 49ec15e1076a [2021-01-15T08:58:04.561Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T08:58:04.824Z] ---> b06c7c9056a7 [2021-01-15T08:58:04.824Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T08:58:05.087Z] ---> 031afbd92ec1 [2021-01-15T08:58:05.087Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T08:58:05.350Z] ---> 041fa38f76e9 [2021-01-15T08:58:05.350Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T08:58:05.612Z] ---> 16d4f972299a [2021-01-15T08:58:05.612Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T08:58:05.878Z] ---> Running in 1f165f5d8d59 [2021-01-15T08:58:05.878Z] Removing intermediate container 1f165f5d8d59 [2021-01-15T08:58:05.878Z] ---> 6d232923ed30 [2021-01-15T08:58:05.878Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T08:58:05.878Z] ---> Running in 4f4256e20f5c [2021-01-15T08:58:06.140Z] Removing intermediate container 4f4256e20f5c [2021-01-15T08:58:06.140Z] ---> 5ce8ed7cb80b [2021-01-15T08:58:06.140Z] Step 22/24 : LABEL arch=amd64 [2021-01-15T08:58:06.140Z] ---> Running in 9930153a26a7 [2021-01-15T08:58:06.407Z] Removing intermediate container 9930153a26a7 [2021-01-15T08:58:06.407Z] ---> ce8e080e23c3 [2021-01-15T08:58:06.407Z] Step 23/24 : LABEL git_sha=619f260ee4c0648af817c78e3551f454d78ccf58 [2021-01-15T08:58:06.407Z] ---> Running in da35e51d87ee [2021-01-15T08:58:06.674Z] Removing intermediate container da35e51d87ee [2021-01-15T08:58:06.674Z] ---> 0a4c18b1b793 [2021-01-15T08:58:06.674Z] Step 24/24 : LABEL version=1.4.1-dev.7 [2021-01-15T08:58:06.674Z] ---> Running in b484194734b0 [2021-01-15T08:58:06.942Z] Removing intermediate container b484194734b0 [2021-01-15T08:58:06.942Z] ---> fe037f201329 [2021-01-15T08:58:06.942Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T08:58:06.942Z] Successfully built fe037f201329 [2021-01-15T08:58:06.942Z] 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] } [2021-01-15T08:58:19.061Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2021-01-15T08:58:58.138Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2021-01-15T08:58:58.138Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2021-01-15T08:58:58.138Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2021-01-15T08:58:58.138Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.164s coverage: 19.4% of statements [2021-01-15T08:59:03.569Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.259s coverage: 97.1% of statements [2021-01-15T08:59:30.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.179s coverage: 9.4% of statements [2021-01-15T08:59:30.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.138s coverage: 21.7% of statements [2021-01-15T08:59:30.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2021-01-15T08:59:30.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.613s coverage: 42.9% of statements [2021-01-15T08:59:30.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2021-01-15T08:59:30.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.799s coverage: 68.9% of statements [2021-01-15T08:59:30.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2021-01-15T08:59:30.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2021-01-15T08:59:30.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2021-01-15T08:59:30.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2021-01-15T08:59:30.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.183s coverage: 53.8% of statements [2021-01-15T08:59:30.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2021-01-15T08:59:30.427Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2021-01-15T08:59:30.427Z] ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.212s coverage: 30.4% of statements [2021-01-15T08:59:30.427Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.671s coverage: 68.9% of statements [2021-01-15T08:59:30.427Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.142s coverage: 4.2% of statements [2021-01-15T08:59:30.427Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2021-01-15T08:59:30.427Z] GO111MODULE=on go vet ./... [2021-01-15T09:00:02.871Z] gofmt -l . [2021-01-15T09:00:02.871Z] [ "`gofmt -l .`" = "" ] [2021-01-15T09:00:03.474Z] ./bin/test-attribution-txt.sh [2021-01-15T09:00:04.457Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-15T09:00:04.765Z] $ docker stop --time=1 50c2d636c492b95acb384dbc4b53a66ee10a5cdc909da777572bc3d58b9f99f4 [2021-01-15T09:00:07.078Z] $ docker rm -f 50c2d636c492b95acb384dbc4b53a66ee10a5cdc909da777572bc3d58b9f99f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-15T09:00:08.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-15T09:00:08.166Z] Warning: overwriting stash ‘coverage-report’ [2021-01-15T09:00:09.102Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-15T09:00:09.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-15T09:00:10.216Z] + ls -al . [2021-01-15T09:00:10.216Z] total 252 [2021-01-15T09:00:10.216Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 15 09:00 . [2021-01-15T09:00:10.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 08:56 .. [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 15 08:56 .dockerignore [2021-01-15T09:00:10.216Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 15 08:56 .git [2021-01-15T09:00:10.216Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 08:56 .github [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 15 08:56 .gitignore [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 15 08:56 Dockerfile.build [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 15 08:56 Jenkinsfile [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 15 08:56 LICENSE [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 1013 Jan 15 08:56 Makefile [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 15 08:56 README.md [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 15 08:56 RELEASE-NOTES.txt [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 15 08:52 VERSION [2021-01-15T09:00:10.216Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 15 08:56 bin [2021-01-15T09:00:10.216Z] -rw-r--r-- 1 jenkins jenkins 137957 Jan 15 08:59 coverage.out [2021-01-15T09:00:10.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 08:56 example [2021-01-15T09:00:10.216Z] -rw-r--r-- 1 jenkins jenkins 488 Jan 15 09:00 go.mod [2021-01-15T09:00:10.216Z] -rw-r--r-- 1 jenkins jenkins 14124 Jan 15 09:00 go.sum [2021-01-15T09:00:10.216Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 15 08:56 internal [2021-01-15T09:00:10.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 08:56 openapi [2021-01-15T09:00:10.216Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 15 08:56 pkg [2021-01-15T09:00:10.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 15 08:56 snap [2021-01-15T09:00:10.216Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 15 08:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:00:10.664Z] + 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=619f260ee4c0648af817c78e3551f454d78ccf58 --label arch=arm64 --label version=1.4.1-dev.7 . [2021-01-15T09:00:11.301Z] Sending build context to Docker daemon 2.623MB [2021-01-15T09:00:11.576Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-15T09:00:11.576Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-15T09:00:11.576Z] ---> 16c83d5c8e74 [2021-01-15T09:00:11.576Z] Step 3/24 : ARG MAKE='make build' [2021-01-15T09:00:11.854Z] ---> Running in d03c19ba8f64 [2021-01-15T09:00:12.453Z] Removing intermediate container d03c19ba8f64 [2021-01-15T09:00:12.453Z] ---> 9971216424e5 [2021-01-15T09:00:12.453Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-15T09:00:12.453Z] ---> Running in 785515a1e36e [2021-01-15T09:00:13.054Z] Removing intermediate container 785515a1e36e [2021-01-15T09:00:13.054Z] ---> a56915f5e9aa [2021-01-15T09:00:13.054Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T09:00:13.054Z] ---> Running in 3682babfd510 [2021-01-15T09:00:13.368Z] Removing intermediate container 3682babfd510 [2021-01-15T09:00:13.368Z] ---> 8b4ccc08d47e [2021-01-15T09:00:13.368Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-15T09:00:13.643Z] ---> Running in a8c2519db18e [2021-01-15T09:00:15.630Z] Removing intermediate container a8c2519db18e [2021-01-15T09:00:15.630Z] ---> a5bc40723e43 [2021-01-15T09:00:15.630Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-15T09:00:15.630Z] ---> Running in 957f0365eb43 [2021-01-15T09:00:16.612Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-15T09:00:17.589Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-15T09:00:18.193Z] OK: 142 MiB in 39 packages [2021-01-15T09:00:19.180Z] Removing intermediate container 957f0365eb43 [2021-01-15T09:00:19.180Z] ---> fdf93feaaada [2021-01-15T09:00:19.180Z] Step 8/24 : COPY . . [2021-01-15T09:00:20.625Z] ---> 4f71ae6eb807 [2021-01-15T09:00:20.625Z] Step 9/24 : RUN ${MAKE} [2021-01-15T09:00:20.625Z] ---> Running in f60faa025dce [2021-01-15T09:00:21.614Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.4.1-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-15T09:00:45.381Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-15T09:00:48.781Z] Removing intermediate container f60faa025dce [2021-01-15T09:00:48.781Z] ---> 5a4e4a2bcdcb [2021-01-15T09:00:48.781Z] Step 10/24 : FROM scratch [2021-01-15T09:00:48.781Z] ---> [2021-01-15T09:00:48.781Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-15T09:00:48.781Z] ---> Running in f8a10bf4e16b [2021-01-15T09:00:49.059Z] Removing intermediate container f8a10bf4e16b [2021-01-15T09:00:49.059Z] ---> 80daf95fd774 [2021-01-15T09:00:49.059Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-15T09:00:49.059Z] ---> Running in 6c7409f9e932 [2021-01-15T09:00:49.660Z] Removing intermediate container 6c7409f9e932 [2021-01-15T09:00:49.660Z] ---> 8990b727776b [2021-01-15T09:00:49.660Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-15T09:00:49.660Z] ---> Running in 5098d0a7bd93 [2021-01-15T09:00:50.260Z] Removing intermediate container 5098d0a7bd93 [2021-01-15T09:00:50.260Z] ---> 0bd281b20a63 [2021-01-15T09:00:50.260Z] Step 14/24 : WORKDIR / [2021-01-15T09:00:50.260Z] ---> Running in a75bb35f3c04 [2021-01-15T09:00:50.854Z] Removing intermediate container a75bb35f3c04 [2021-01-15T09:00:50.854Z] ---> 4dab7e3b4057 [2021-01-15T09:00:50.854Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-15T09:00:51.833Z] ---> 5f8f0892ca68 [2021-01-15T09:00:51.833Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-15T09:00:52.427Z] ---> 44a0daa9951b [2021-01-15T09:00:52.427Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-15T09:00:53.040Z] ---> 6fb9908d4817 [2021-01-15T09:00:53.040Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-15T09:00:53.634Z] ---> be9a826851ba [2021-01-15T09:00:53.634Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-15T09:00:54.233Z] ---> bd6b46a5267a [2021-01-15T09:00:54.233Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-15T09:00:54.517Z] ---> Running in 24358e065ea2 [2021-01-15T09:00:54.792Z] Removing intermediate container 24358e065ea2 [2021-01-15T09:00:54.792Z] ---> 3f63fcb2dcb0 [2021-01-15T09:00:54.792Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-15T09:00:55.066Z] ---> Running in 007c737bb818 [2021-01-15T09:00:55.346Z] Removing intermediate container 007c737bb818 [2021-01-15T09:00:55.346Z] ---> 238b7c106524 [2021-01-15T09:00:55.346Z] Step 22/24 : LABEL arch=arm64 [2021-01-15T09:00:55.638Z] ---> Running in b04b0b8683ed [2021-01-15T09:00:55.926Z] Removing intermediate container b04b0b8683ed [2021-01-15T09:00:55.926Z] ---> 10e33ea4df13 [2021-01-15T09:00:55.926Z] Step 23/24 : LABEL git_sha=619f260ee4c0648af817c78e3551f454d78ccf58 [2021-01-15T09:00:56.198Z] ---> Running in c6c7d9174119 [2021-01-15T09:00:56.473Z] Removing intermediate container c6c7d9174119 [2021-01-15T09:00:56.473Z] ---> 92a41c008016 [2021-01-15T09:00:56.473Z] Step 24/24 : LABEL version=1.4.1-dev.7 [2021-01-15T09:00:56.769Z] ---> Running in c13e89676eba [2021-01-15T09:00:57.048Z] Removing intermediate container c13e89676eba [2021-01-15T09:00:57.048Z] ---> 3c59ed093d02 [2021-01-15T09:00:57.048Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-15T09:00:57.322Z] Successfully built 3c59ed093d02 [2021-01-15T09:00:57.322Z] 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] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-15T09:00:58.845Z] provisioning config files... [2021-01-15T09:00:58.872Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config9151911025557958458tmp [Pipeline] { [Pipeline] sh [2021-01-15T09:00:59.302Z] + set +x [2021-01-15T09:00:59.302Z] + curl -s https://codecov.io/bash [2021-01-15T09:00:59.302Z] + bash -s -- [2021-01-15T09:00:59.567Z] [2021-01-15T09:00:59.567Z] _____ _ [2021-01-15T09:00:59.567Z] / ____| | | [2021-01-15T09:00:59.567Z] | | ___ __| | ___ ___ _____ __ [2021-01-15T09:00:59.567Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-15T09:00:59.567Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-15T09:00:59.567Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-15T09:00:59.567Z] Bash-20201231-23d4836 [2021-01-15T09:00:59.567Z] [2021-01-15T09:00:59.567Z] [2021-01-15T09:00:59.567Z] ==> git version 2.24.3 found [2021-01-15T09:00:59.567Z] ==> 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-15T09:00:59.567Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-15T09:00:59.567Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-15T09:00:59.567Z] ==> Jenkins CI detected. [2021-01-15T09:00:59.567Z] project root: . [2021-01-15T09:00:59.567Z] --> token set from env [2021-01-15T09:00:59.567Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-15T09:00:59.567Z] ==> Running gcov in . (disable via -X gcov) [2021-01-15T09:00:59.567Z] ==> Python coveragepy not found [2021-01-15T09:00:59.567Z] ==> Searching for coverage reports in: [2021-01-15T09:00:59.567Z] + . [2021-01-15T09:00:59.567Z] -> Found 1 reports [2021-01-15T09:00:59.567Z] ==> Detecting git/mercurial file structure [2021-01-15T09:00:59.567Z] ==> Reading reports [2021-01-15T09:00:59.567Z] + ./coverage.out bytes=137957 [2021-01-15T09:00:59.831Z] ==> Appending adjustments [2021-01-15T09:00:59.831Z] https://docs.codecov.io/docs/fixing-reports [2021-01-15T09:01:00.094Z] + Found adjustments [2021-01-15T09:01:00.094Z] ==> Gzipping contents [2021-01-15T09:01:00.094Z] 24K /tmp/codecov.BUsehJ.gz [2021-01-15T09:01:00.094Z] ==> Uploading reports [2021-01-15T09:01:00.094Z] url: https://codecov.io [2021-01-15T09:01:00.094Z] query: branch=master&commit=619f260ee4c0648af817c78e3551f454d78ccf58&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-15T09:01:00.094Z] -> Pinging Codecov [2021-01-15T09:01:00.094Z] https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=619f260ee4c0648af817c78e3551f454d78ccf58&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-15T09:01:00.673Z] -> Uploading to [2021-01-15T09:01:00.673Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-15/7E55EF52A471D76F132DFD9A03CDDE97/619f260ee4c0648af817c78e3551f454d78ccf58/c1e396dc-0603-4c22-80e4-026f2c986688.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210115T090100Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23d7252db245fafa0fa65b6921d4ac1ffc8854bdceea008edd2686eea9a7a597 [2021-01-15T09:01:00.673Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T09:01:00.673Z] Dload Upload Total Spent Left Speed [2021-01-15T09:01:01.198Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22076 0 0 100 22076 0 39457 --:--:-- --:--:-- --:--:-- 39421 [2021-01-15T09:01:01.198Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/619f260ee4c0648af817c78e3551f454d78ccf58 [Pipeline] } [2021-01-15T09:01:01.211Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-15T09:01:01.690Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-15T09:01:01.746Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:01:02.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-15T09:01:02.097Z] [2021-01-15T09:01:02.097Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:01:02.484Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-15T09:01:02.484Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-15T09:01:02.484Z] 188c0c94c7c5: Pulling fs layer [2021-01-15T09:01:02.484Z] 0ef7d3d256c8: Pulling fs layer [2021-01-15T09:01:02.484Z] de9db76c5a1d: Pulling fs layer [2021-01-15T09:01:02.484Z] 0eba1c9be4d2: Pulling fs layer [2021-01-15T09:01:02.484Z] 0d57e429df01: Pulling fs layer [2021-01-15T09:01:02.484Z] 4e4be7b47b0d: Pulling fs layer [2021-01-15T09:01:02.484Z] e1f770b5df2f: Pulling fs layer [2021-01-15T09:01:02.484Z] 85a0685a4137: Pulling fs layer [2021-01-15T09:01:02.484Z] 0eba1c9be4d2: Waiting [2021-01-15T09:01:02.484Z] 0d57e429df01: Waiting [2021-01-15T09:01:02.484Z] 4e4be7b47b0d: Waiting [2021-01-15T09:01:02.484Z] e1f770b5df2f: Waiting [2021-01-15T09:01:02.484Z] 85a0685a4137: Waiting [2021-01-15T09:01:02.484Z] de9db76c5a1d: Verifying Checksum [2021-01-15T09:01:02.484Z] de9db76c5a1d: Download complete [2021-01-15T09:01:02.484Z] 0ef7d3d256c8: Verifying Checksum [2021-01-15T09:01:02.484Z] 0ef7d3d256c8: Download complete [2021-01-15T09:01:02.484Z] 0d57e429df01: Verifying Checksum [2021-01-15T09:01:02.484Z] 0d57e429df01: Download complete [2021-01-15T09:01:02.484Z] 188c0c94c7c5: Verifying Checksum [2021-01-15T09:01:02.484Z] 188c0c94c7c5: Download complete [2021-01-15T09:01:02.484Z] 4e4be7b47b0d: Verifying Checksum [2021-01-15T09:01:02.484Z] 4e4be7b47b0d: Download complete [2021-01-15T09:01:03.060Z] 188c0c94c7c5: Pull complete [2021-01-15T09:01:03.326Z] 0ef7d3d256c8: Pull complete [2021-01-15T09:01:03.326Z] de9db76c5a1d: Pull complete [2021-01-15T09:01:03.589Z] e1f770b5df2f: Verifying Checksum [2021-01-15T09:01:03.589Z] e1f770b5df2f: Download complete [2021-01-15T09:01:07.823Z] 0eba1c9be4d2: Verifying Checksum [2021-01-15T09:01:07.823Z] 0eba1c9be4d2: Download complete [2021-01-15T09:01:08.786Z] 85a0685a4137: Verifying Checksum [2021-01-15T09:01:08.786Z] 85a0685a4137: Download complete [2021-01-15T09:01:14.133Z] 0eba1c9be4d2: Pull complete [2021-01-15T09:01:14.133Z] 0d57e429df01: Pull complete [2021-01-15T09:01:14.133Z] 4e4be7b47b0d: Pull complete [2021-01-15T09:01:16.059Z] e1f770b5df2f: Pull complete [2021-01-15T09:01:24.256Z] 85a0685a4137: Pull complete [2021-01-15T09:01:24.256Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-15T09:01:24.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-15T09:01:24.256Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-15T09:01:24.477Z] prd-centos7-docker-4c-2g-20442 does not seem to be running inside a container [2021-01-15T09:01:24.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-15T09:01:25.551Z] $ docker top 7fdf44382ccb9059df2293536cf9ebe728b2a15122a7ddcdc1b20deb50b3ed17 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-15T09:01:25.808Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-15T09:01:26.110Z] + set -o pipefail [2021-01-15T09:01:26.110Z] + snyk monitor '--org=edgex-jenkins' [2021-01-15T09:01:36.137Z] [2021-01-15T09:01:36.137Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2021-01-15T09:01:36.137Z] [2021-01-15T09:01:36.137Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/99ddddf2-f774-4549-beee-b6fc288b977d [2021-01-15T09:01:36.137Z] [2021-01-15T09:01:36.137Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-15T09:01:36.137Z] [2021-01-15T09:01:36.137Z] [Pipeline] } [2021-01-15T09:01:36.149Z] $ docker stop --time=1 7fdf44382ccb9059df2293536cf9ebe728b2a15122a7ddcdc1b20deb50b3ed17 [2021-01-15T09:01:38.712Z] $ docker rm -f 7fdf44382ccb9059df2293536cf9ebe728b2a15122a7ddcdc1b20deb50b3ed17 [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-15T09:01:39.967Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T09:01:40.018Z] provisioning config files... [2021-01-15T09:01:40.028Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8073435396539923961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:01:40.403Z] --> edgex-publish-swagger.sh [2021-01-15T09:01:40.403Z] === Publish openapi/v1 API === [2021-01-15T09:01:40.403Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-15T09:01:40.403Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-01-15T09:01:40.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T09:01:40.403Z] Dload Upload Total Spent Left Speed [2021-01-15T09:01:40.978Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 28500 --:--:-- --:--:-- --:--:-- 28495 100 19947 0 0 100 19947 0 28491 --:--:-- --:--:-- --:--:-- 28495 [2021-01-15T09:01:40.978Z] [2021-01-15T09:01:40.978Z] [2021-01-15T09:01:40.978Z] === Publish openapi/v2 API === [2021-01-15T09:01:40.978Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-15T09:01:40.978Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-01-15T09:01:40.978Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-15T09:01:40.978Z] Dload Upload Total Spent Left Speed [2021-01-15T09:01:41.930Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52084 0 0 100 52084 0 81507 --:--:-- --:--:-- --:--:-- 81636 [2021-01-15T09:01:41.930Z] [2021-01-15T09:01:41.930Z] [Pipeline] } [2021-01-15T09:01:41.958Z] 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-15T09:01:42.830Z] + git log --format=format:%s -1 619f260ee4c0648af817c78e3551f454d78ccf58 [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:01:43.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T09:01:43.137Z] . [Pipeline] withDockerContainer [2021-01-15T09:01:43.240Z] prd-centos7-docker-4c-2g-20442 does not seem to be running inside a container [2021-01-15T09:01:43.283Z] $ 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-15T09:01:44.162Z] $ docker top b81d1c1311f03dd292c79ac939b00487d1e96420c5a5c9d9eb50953f7a53cc97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T09:01:44.490Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T09:01:44.490Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T09:01:44.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T09:01:44.753Z] $ docker exec b81d1c1311f03dd292c79ac939b00487d1e96420c5a5c9d9eb50953f7a53cc97 ssh-agent [2021-01-15T09:01:44.934Z] SSH_AUTH_SOCK=/tmp/ssh-GfV46EkOFZvC/agent.11 [2021-01-15T09:01:44.934Z] SSH_AGENT_PID=17 [2021-01-15T09:01:44.941Z] Running ssh-add (command line suppressed) [2021-01-15T09:01:45.069Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7718157525997244450.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7718157525997244450.key) [2021-01-15T09:01:45.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T09:01:45.518Z] + git semver tag [2021-01-15T09:01:45.518Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T09:01:45.518Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-15T09:01:45.518Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T09:01:45.518Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T09:01:45.518Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T09:01:45.518Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T09:01:45.518Z] # $SEMVER_BRANCH = master [2021-01-15T09:01:45.518Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-15T09:01:45.518Z] # 619f260ee4c0648af817c78e3551f454d78ccf58 HEAD [2021-01-15T09:01:45.801Z] # -> Force: false [2021-01-15T09:01:45.801Z] # 793a9f9c3cd44266fb353ca434210ff47c6ca9c4 refs/tags/v1.4.1-dev.7 [Pipeline] } [2021-01-15T09:01:45.823Z] $ docker exec --env ******** --env ******** b81d1c1311f03dd292c79ac939b00487d1e96420c5a5c9d9eb50953f7a53cc97 ssh-agent -k [2021-01-15T09:01:45.979Z] unset SSH_AUTH_SOCK; [2021-01-15T09:01:45.979Z] unset SSH_AGENT_PID; [2021-01-15T09:01:45.979Z] echo Agent pid 17 killed; [2021-01-15T09:01:46.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T09:01:46.563Z] + git semver [Pipeline] } [2021-01-15T09:01:46.580Z] $ docker stop --time=1 b81d1c1311f03dd292c79ac939b00487d1e96420c5a5c9d9eb50953f7a53cc97 [2021-01-15T09:01:47.930Z] $ docker rm -f b81d1c1311f03dd292c79ac939b00487d1e96420c5a5c9d9eb50953f7a53cc97 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:01:48.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-15T09:01:48.547Z] [2021-01-15T09:01:48.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:01:48.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-15T09:01:48.891Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-15T09:01:48.891Z] ab5ef0e58194: Pulling fs layer [2021-01-15T09:01:48.891Z] 9712f1f96733: Pulling fs layer [2021-01-15T09:01:48.891Z] 63f879dbbcfc: Pulling fs layer [2021-01-15T09:01:48.891Z] 0d9ebad4ef96: Pulling fs layer [2021-01-15T09:01:48.891Z] e9a5061849ea: Pulling fs layer [2021-01-15T09:01:48.891Z] d747dcd14b5f: Pulling fs layer [2021-01-15T09:01:48.891Z] 2de7ff778b66: Pulling fs layer [2021-01-15T09:01:48.891Z] e9a5061849ea: Waiting [2021-01-15T09:01:48.891Z] d747dcd14b5f: Waiting [2021-01-15T09:01:48.891Z] 2de7ff778b66: Waiting [2021-01-15T09:01:48.891Z] 0d9ebad4ef96: Waiting [2021-01-15T09:01:48.891Z] 9712f1f96733: Verifying Checksum [2021-01-15T09:01:48.891Z] 9712f1f96733: Download complete [2021-01-15T09:01:50.840Z] 63f879dbbcfc: Verifying Checksum [2021-01-15T09:01:50.840Z] 63f879dbbcfc: Download complete [2021-01-15T09:01:50.840Z] e9a5061849ea: Verifying Checksum [2021-01-15T09:01:50.840Z] e9a5061849ea: Download complete [2021-01-15T09:01:50.840Z] d747dcd14b5f: Verifying Checksum [2021-01-15T09:01:51.103Z] 2de7ff778b66: Verifying Checksum [2021-01-15T09:01:51.103Z] 2de7ff778b66: Download complete [2021-01-15T09:01:51.367Z] 0d9ebad4ef96: Verifying Checksum [2021-01-15T09:01:51.367Z] 0d9ebad4ef96: Download complete [2021-01-15T09:01:51.367Z] ab5ef0e58194: Verifying Checksum [2021-01-15T09:01:51.367Z] ab5ef0e58194: Download complete [2021-01-15T09:01:55.608Z] ab5ef0e58194: Pull complete [2021-01-15T09:01:55.873Z] 9712f1f96733: Pull complete [2021-01-15T09:01:58.439Z] 63f879dbbcfc: Pull complete [2021-01-15T09:02:05.066Z] 0d9ebad4ef96: Pull complete [2021-01-15T09:02:08.382Z] e9a5061849ea: Pull complete [2021-01-15T09:02:08.382Z] d747dcd14b5f: Pull complete [2021-01-15T09:02:09.779Z] 2de7ff778b66: Pull complete [2021-01-15T09:02:09.779Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-15T09:02:09.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-15T09:02:09.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-15T09:02:10.011Z] prd-centos7-docker-4c-2g-20442 does not seem to be running inside a container [2021-01-15T09:02:10.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-15T09:02:13.628Z] $ docker top f05aa3df696ee7bc31e0cebacff25bc52b345f18a73a946ae6dae4652e6215d5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-15T09:02:13.918Z] provisioning config files... [2021-01-15T09:02:13.931Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3961331109973846111tmp [2021-01-15T09:02:13.949Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1963638411000921746tmp [2021-01-15T09:02:13.964Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8214766587061990690tmp [Pipeline] { [Pipeline] echo [2021-01-15T09:02:14.017Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:02:14.327Z] ---> sigul-configuration.sh [2021-01-15T09:02:14.327Z] gpg: directory `/root/.gnupg' created [2021-01-15T09:02:14.327Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-15T09:02:14.327Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-15T09:02:14.327Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-15T09:02:14.327Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-15T09:02:14.327Z] gpg: CAST5 encrypted data [2021-01-15T09:02:14.592Z] gpg: encrypted with 1 passphrase [2021-01-15T09:02:14.592Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-15T09:02:14.891Z] + mkdir /home/jenkins [2021-01-15T09:02:14.892Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-15T09:02:15.192Z] + 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-15T09:02:15.205Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:02:15.505Z] ---> sigul-install.sh [2021-01-15T09:02:20.811Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-15T09:02:21.373Z] + git tag --list [2021-01-15T09:02:21.373Z] 0.7.1 [2021-01-15T09:02:21.373Z] delhi-tag [2021-01-15T09:02:21.373Z] v1.0.0 [2021-01-15T09:02:21.373Z] v1.1.0 [2021-01-15T09:02:21.373Z] v1.1.1 [2021-01-15T09:02:21.373Z] v1.1.2 [2021-01-15T09:02:21.373Z] v1.2.0 [2021-01-15T09:02:21.373Z] v1.2.1 [2021-01-15T09:02:21.373Z] v1.2.2 [2021-01-15T09:02:21.373Z] v1.2.3 [2021-01-15T09:02:21.373Z] v1.2.4-dev.1 [2021-01-15T09:02:21.373Z] v1.2.4-dev.10 [2021-01-15T09:02:21.373Z] v1.2.4-dev.11 [2021-01-15T09:02:21.373Z] v1.2.4-dev.12 [2021-01-15T09:02:21.373Z] v1.2.4-dev.13 [2021-01-15T09:02:21.373Z] v1.2.4-dev.14 [2021-01-15T09:02:21.373Z] v1.2.4-dev.15 [2021-01-15T09:02:21.373Z] v1.2.4-dev.16 [2021-01-15T09:02:21.373Z] v1.2.4-dev.17 [2021-01-15T09:02:21.373Z] v1.2.4-dev.18 [2021-01-15T09:02:21.373Z] v1.2.4-dev.19 [2021-01-15T09:02:21.373Z] v1.2.4-dev.2 [2021-01-15T09:02:21.373Z] v1.2.4-dev.20 [2021-01-15T09:02:21.373Z] v1.2.4-dev.21 [2021-01-15T09:02:21.373Z] v1.2.4-dev.22 [2021-01-15T09:02:21.373Z] v1.2.4-dev.23 [2021-01-15T09:02:21.373Z] v1.2.4-dev.24 [2021-01-15T09:02:21.373Z] v1.2.4-dev.25 [2021-01-15T09:02:21.373Z] v1.2.4-dev.26 [2021-01-15T09:02:21.373Z] v1.2.4-dev.27 [2021-01-15T09:02:21.373Z] v1.2.4-dev.28 [2021-01-15T09:02:21.373Z] v1.2.4-dev.29 [2021-01-15T09:02:21.373Z] v1.2.4-dev.3 [2021-01-15T09:02:21.373Z] v1.2.4-dev.30 [2021-01-15T09:02:21.373Z] v1.2.4-dev.31 [2021-01-15T09:02:21.373Z] v1.2.4-dev.32 [2021-01-15T09:02:21.373Z] v1.2.4-dev.33 [2021-01-15T09:02:21.373Z] v1.2.4-dev.34 [2021-01-15T09:02:21.373Z] v1.2.4-dev.35 [2021-01-15T09:02:21.373Z] v1.2.4-dev.4 [2021-01-15T09:02:21.373Z] v1.2.4-dev.5 [2021-01-15T09:02:21.373Z] v1.2.4-dev.6 [2021-01-15T09:02:21.373Z] v1.2.4-dev.7 [2021-01-15T09:02:21.373Z] v1.2.4-dev.8 [2021-01-15T09:02:21.373Z] v1.2.4-dev.9 [2021-01-15T09:02:21.373Z] v1.3.0 [2021-01-15T09:02:21.373Z] v1.3.1-dev.1 [2021-01-15T09:02:21.373Z] v1.3.1-dev.10 [2021-01-15T09:02:21.373Z] v1.3.1-dev.2 [2021-01-15T09:02:21.373Z] v1.3.1-dev.3 [2021-01-15T09:02:21.373Z] v1.3.1-dev.4 [2021-01-15T09:02:21.373Z] v1.3.1-dev.5 [2021-01-15T09:02:21.373Z] v1.3.1-dev.6 [2021-01-15T09:02:21.373Z] v1.3.1-dev.7 [2021-01-15T09:02:21.373Z] v1.3.1-dev.8 [2021-01-15T09:02:21.373Z] v1.3.1-dev.9 [2021-01-15T09:02:21.373Z] v1.4.0 [2021-01-15T09:02:21.373Z] v1.4.1-dev.1 [2021-01-15T09:02:21.373Z] v1.4.1-dev.2 [2021-01-15T09:02:21.373Z] v1.4.1-dev.3 [2021-01-15T09:02:21.373Z] v1.4.1-dev.4 [2021-01-15T09:02:21.373Z] v1.4.1-dev.5 [2021-01-15T09:02:21.373Z] v1.4.1-dev.6 [2021-01-15T09:02:21.373Z] v1.4.1-dev.7 [Pipeline] sh [2021-01-15T09:02:21.674Z] + lftools sign git-tag v1.4.1-dev.7 [2021-01-15T09:02:23.065Z] Signing Git tag with Sigul... [2021-01-15T09:02:23.065Z] Signing v1.4.1-dev.7 [Pipeline] echo [2021-01-15T09:02:24.467Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:02:24.766Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-15T09:02:24.775Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-15T09:02:24.863Z] $ docker stop --time=1 f05aa3df696ee7bc31e0cebacff25bc52b345f18a73a946ae6dae4652e6215d5 [2021-01-15T09:02:26.932Z] $ docker rm -f f05aa3df696ee7bc31e0cebacff25bc52b345f18a73a946ae6dae4652e6215d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:02:27.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T09:02:27.829Z] . [Pipeline] withDockerContainer [2021-01-15T09:02:27.944Z] prd-centos7-docker-4c-2g-20442 does not seem to be running inside a container [2021-01-15T09:02:27.995Z] $ 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-15T09:02:28.773Z] $ docker top 90eb8a6bb8af02da9d034e57f3b009e01d53399f55d0e6eed0538527567f5280 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T09:02:29.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T09:02:29.177Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T09:02:29.414Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T09:02:29.417Z] $ docker exec 90eb8a6bb8af02da9d034e57f3b009e01d53399f55d0e6eed0538527567f5280 ssh-agent [2021-01-15T09:02:29.614Z] SSH_AUTH_SOCK=/tmp/ssh-8dPUrSxMMqen/agent.12 [2021-01-15T09:02:29.614Z] SSH_AGENT_PID=18 [2021-01-15T09:02:29.623Z] Running ssh-add (command line suppressed) [2021-01-15T09:02:29.782Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9091835733359359746.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9091835733359359746.key) [2021-01-15T09:02:29.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T09:02:30.217Z] + git semver bump pre [2021-01-15T09:02:30.217Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T09:02:30.217Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-15T09:02:30.217Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T09:02:30.217Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T09:02:30.217Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T09:02:30.217Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T09:02:30.217Z] # $SEMVER_BRANCH = master [2021-01-15T09:02:30.217Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-15T09:02:30.217Z] 1.4.1-dev.8 [Pipeline] } [2021-01-15T09:02:30.229Z] $ docker exec --env ******** --env ******** 90eb8a6bb8af02da9d034e57f3b009e01d53399f55d0e6eed0538527567f5280 ssh-agent -k [2021-01-15T09:02:30.395Z] unset SSH_AUTH_SOCK; [2021-01-15T09:02:30.396Z] unset SSH_AGENT_PID; [2021-01-15T09:02:30.396Z] echo Agent pid 18 killed; [2021-01-15T09:02:30.469Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T09:02:31.029Z] + git semver [Pipeline] } [2021-01-15T09:02:31.054Z] $ docker stop --time=1 90eb8a6bb8af02da9d034e57f3b009e01d53399f55d0e6eed0538527567f5280 [2021-01-15T09:02:32.530Z] $ docker rm -f 90eb8a6bb8af02da9d034e57f3b009e01d53399f55d0e6eed0538527567f5280 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:02:33.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-15T09:02:33.050Z] . [Pipeline] withDockerContainer [2021-01-15T09:02:33.159Z] prd-centos7-docker-4c-2g-20442 does not seem to be running inside a container [2021-01-15T09:02:33.210Z] $ 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-15T09:02:33.931Z] $ docker top 4781e56a1dfba5e536ef5c238e362e4b4d5a53b1ca9b17f2fb3a7247c1fde905 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-15T09:02:34.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-15T09:02:34.242Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-15T09:02:34.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-15T09:02:34.438Z] $ docker exec 4781e56a1dfba5e536ef5c238e362e4b4d5a53b1ca9b17f2fb3a7247c1fde905 ssh-agent [2021-01-15T09:02:34.625Z] SSH_AUTH_SOCK=/tmp/ssh-O6BgrtWddvck/agent.12 [2021-01-15T09:02:34.625Z] SSH_AGENT_PID=17 [2021-01-15T09:02:34.632Z] Running ssh-add (command line suppressed) [2021-01-15T09:02:34.760Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3190653529865915565.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_3190653529865915565.key) [2021-01-15T09:02:34.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-15T09:02:35.158Z] + git semver push [2021-01-15T09:02:35.158Z] # -> Open(): unable to determine branch for HEAD [2021-01-15T09:02:35.158Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-15T09:02:35.158Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T09:02:35.158Z] # $SEMVER_REMOTE_NAME = origin [2021-01-15T09:02:35.158Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-15T09:02:35.158Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-15T09:02:35.158Z] # $SEMVER_BRANCH = master [2021-01-15T09:02:35.158Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-15T09:02:41.780Z] $ docker exec --env ******** --env ******** 4781e56a1dfba5e536ef5c238e362e4b4d5a53b1ca9b17f2fb3a7247c1fde905 ssh-agent -k [2021-01-15T09:02:41.943Z] unset SSH_AUTH_SOCK; [2021-01-15T09:02:41.944Z] unset SSH_AGENT_PID; [2021-01-15T09:02:41.944Z] echo Agent pid 17 killed; [2021-01-15T09:02:42.013Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-15T09:02:42.509Z] + git semver [Pipeline] } [2021-01-15T09:02:42.525Z] $ docker stop --time=1 4781e56a1dfba5e536ef5c238e362e4b4d5a53b1ca9b17f2fb3a7247c1fde905 [2021-01-15T09:02:43.922Z] $ docker rm -f 4781e56a1dfba5e536ef5c238e362e4b4d5a53b1ca9b17f2fb3a7247c1fde905 [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-15T09:02:45.416Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:02:45.991Z] ---> package-listing.sh [2021-01-15T09:02:45.991Z] ++ facter osfamily [2021-01-15T09:02:45.991Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-15T09:02:45.991Z] + OS_FAMILY=redhat [2021-01-15T09:02:45.991Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-15T09:02:45.991Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-15T09:02:45.991Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-15T09:02:45.991Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-15T09:02:45.991Z] + PACKAGES=/tmp/packages_start.txt [2021-01-15T09:02:45.991Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-15T09:02:45.991Z] + PACKAGES=/tmp/packages_end.txt [2021-01-15T09:02:45.991Z] + case "${OS_FAMILY}" in [2021-01-15T09:02:45.991Z] + rpm -qa [2021-01-15T09:02:45.991Z] + sort [2021-01-15T09:02:51.306Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-15T09:02:51.306Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-15T09:02:51.306Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-15T09:02:51.306Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-15T09:02:51.306Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-15T09:02:51.306Z] + 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-15T09:02:51.321Z] 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-15T09:02:51.622Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:02:51.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T09:02:51.933Z] [2021-01-15T09:02:51.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-15T09:02:52.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T09:02:52.308Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-15T09:02:52.308Z] df20fa9351a1: Pulling fs layer [2021-01-15T09:02:52.308Z] 36b3adc4ff6f: Pulling fs layer [2021-01-15T09:02:52.308Z] 8ad3a11d3b57: Pulling fs layer [2021-01-15T09:02:52.308Z] 46f8f816bc3b: Pulling fs layer [2021-01-15T09:02:52.308Z] 93b61091891f: Pulling fs layer [2021-01-15T09:02:52.308Z] 93b9cdb0e59b: Pulling fs layer [2021-01-15T09:02:52.308Z] 5e14af77c1be: Pulling fs layer [2021-01-15T09:02:52.308Z] 01666e4c0597: Pulling fs layer [2021-01-15T09:02:52.308Z] aa168da1d23b: Pulling fs layer [2021-01-15T09:02:52.308Z] 46f8f816bc3b: Waiting [2021-01-15T09:02:52.308Z] 93b61091891f: Waiting [2021-01-15T09:02:52.308Z] 93b9cdb0e59b: Waiting [2021-01-15T09:02:52.308Z] 5e14af77c1be: Waiting [2021-01-15T09:02:52.308Z] aa168da1d23b: Waiting [2021-01-15T09:02:52.308Z] 01666e4c0597: Waiting [2021-01-15T09:02:52.308Z] 36b3adc4ff6f: Download complete [2021-01-15T09:02:52.308Z] 46f8f816bc3b: Verifying Checksum [2021-01-15T09:02:52.308Z] 46f8f816bc3b: Download complete [2021-01-15T09:02:52.569Z] df20fa9351a1: Verifying Checksum [2021-01-15T09:02:52.569Z] df20fa9351a1: Download complete [2021-01-15T09:02:52.569Z] 93b9cdb0e59b: Verifying Checksum [2021-01-15T09:02:52.569Z] 93b9cdb0e59b: Download complete [2021-01-15T09:02:52.569Z] 5e14af77c1be: Verifying Checksum [2021-01-15T09:02:52.569Z] 5e14af77c1be: Download complete [2021-01-15T09:02:52.569Z] 93b61091891f: Verifying Checksum [2021-01-15T09:02:52.569Z] 93b61091891f: Download complete [2021-01-15T09:02:52.569Z] 01666e4c0597: Verifying Checksum [2021-01-15T09:02:52.569Z] 01666e4c0597: Download complete [2021-01-15T09:02:52.835Z] df20fa9351a1: Pull complete [2021-01-15T09:02:53.412Z] 36b3adc4ff6f: Pull complete [2021-01-15T09:02:53.412Z] 8ad3a11d3b57: Download complete [2021-01-15T09:02:54.818Z] 8ad3a11d3b57: Pull complete [2021-01-15T09:02:54.818Z] 46f8f816bc3b: Pull complete [2021-01-15T09:02:55.080Z] aa168da1d23b: Verifying Checksum [2021-01-15T09:02:55.080Z] aa168da1d23b: Download complete [2021-01-15T09:02:55.662Z] 93b61091891f: Pull complete [2021-01-15T09:02:55.663Z] 93b9cdb0e59b: Pull complete [2021-01-15T09:02:55.925Z] 5e14af77c1be: Pull complete [2021-01-15T09:02:55.925Z] 01666e4c0597: Pull complete [2021-01-15T09:03:04.146Z] aa168da1d23b: Pull complete [2021-01-15T09:03:04.146Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-15T09:03:04.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-15T09:03:04.146Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-15T09:03:04.362Z] prd-centos7-docker-4c-2g-20442 does not seem to be running inside a container [2021-01-15T09:03:04.417Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-15T09:03:07.417Z] $ docker top f8d3ff1afa02e5db87888fbc519810ab6571f374f4af036cf2a1105774699593 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-15T09:03:07.998Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-15T09:03:08.299Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-15T09:03:08.625Z] + ls /var/log/sa-host [2021-01-15T09:03:08.625Z] + sadf -c /var/log/sa-host/sa15 [2021-01-15T09:03:08.625Z] file_magic: OK [2021-01-15T09:03:08.625Z] HZ: Using current value: 100 [2021-01-15T09:03:08.625Z] file_header: OK [2021-01-15T09:03:08.625Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-15T09:03:08.625Z] Statistics: [2021-01-15T09:03:08.625Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-15T09:03:08.625Z] File successfully converted to sysstat format version 12.2.1 [2021-01-15T09:03:08.625Z] + sadf -c /var/log/sa-host/sa23 [2021-01-15T09:03:08.625Z] file_magic: OK [2021-01-15T09:03:08.625Z] HZ: Using current value: 100 [2021-01-15T09:03:08.625Z] file_header: OK [2021-01-15T09:03:08.625Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-01-15T09:03:08.625Z] Statistics: [2021-01-15T09:03:08.625Z] Hnuu...uuuununununu... [2021-01-15T09:03:08.625Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-15T09:03:08.864Z] provisioning config files... [2021-01-15T09:03:08.882Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7608562023927092405tmp [Pipeline] { [Pipeline] echo [2021-01-15T09:03:08.948Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:03:09.251Z] ---> create-netrc.sh [Pipeline] } [2021-01-15T09:03:09.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-15T09:03:09.351Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:03:09.647Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-15T09:03:09.659Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:03:09.963Z] ---> sudo-logs.sh [2021-01-15T09:03:09.963Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-15T09:03:09.975Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:03:10.271Z] ---> job-cost.sh [2021-01-15T09:03:10.271Z] lf-activate-venv: SKIPPING [2021-01-15T09:03:10.271Z] INFO: No Stack... [2021-01-15T09:03:11.400Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-15T09:03:11.662Z] INFO: Archiving Costs [Pipeline] echo [2021-01-15T09:03:11.678Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-15T09:03:12.020Z] ---> logs-deploy.sh [2021-01-15T09:03:12.020Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/105 [2021-01-15T09:03:12.021Z] INFO: archiving workspace using pattern(s): [2021-01-15T09:03:13.943Z] Archives upload complete. [2021-01-15T09:03:13.943Z] INFO: archiving logs to Nexus